Scanning with HP LaserJet M1132 MFP for Ubuntu 12.04

I also just recently discovered that Ubuntu 12.04 actually supports scanning with the HP LaserJet M1132 MFP and that it is really easy to use – here is what you do:

(if you are looking for a guide on how to actually install the HP LaserJet M1132 MFP device, then I have also made a guide for that here: LINK)

SCANNING GUIDE:
1. Make sure that the HP LaserJet M1132 MFP is connected to the computer and power is turned on!
2. Open a terminal (pro-tip: press CTRL+ALT+T)
3. Run the following command in the terminal (pro-tip: paste the code into the terminal using CTRL+ALT+V, once you have copied the code from this website):
hp-scan
(don’t worry about the following warning: “warning: No destinations specified. Adding ‘file’ destination by default.“, it just means that the resulting scanned JPG file will be saved in your home directory.)
4. Put whatever you want to scan inside the HP LaserJet M1132 MFP scanning area, facing downwards.
5. Then click the physical scan-button on the HP LaserJet M1132 MFP device – you can see the button on the following image:
HP LaserJet M1132 MFP Scan button
6. Now wait while the terminal receives the scanned image – once that is complete then you can find the scan result as an image file (“hpscan001.png”) in your home directory.

Please write a comment if the guide works for you or if something does not work 🙂

Memory stick duo internal reader @ dell m1330 in Ubuntu 10.10 (Ricoh R5C592)

UPDATE: Ubuntu 12.04 includes the Ricoh internal card reader driver, so I will advice you to upgrade your Ubuntu to minimum 12.04 so you do not have to mess around with installing drivers for the Ricoh internal card reader… However if you are stuck with an old version of Ubuntu less than 12.04, then you can follow the guide below:

This is the essential information needed to install a driver for the Ricoh internal card reader (R5C592) so that it can read memory stick duo. It works for my Dell m1330 laptop.

I have got all information from the following bug thread and if there is any problem with my guide then it is probably a good idea to have a look at that thread (e.g. if the linux kernel is not supported):
link

Lets get started! First we gotta make sure that you have the particular memory stick reader chipset.

type the following command: lspci | grep Ricoh

It should output this (03:01.x can vary):
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
03:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
03:01.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)

Now go ahead and click “download master.tar.gz” from http://gitorious.org/ricoh-kernel/ricoh-kernel/trees/master to download the needed driver. I have also uploaded a version of it here, but it might be outdated for the current kernel: ricoh-kernel-ricoh-kernel-master.tar Then unzip the folder.

Open the unzipped folder in a terminal, open to the subfolder “memstick” and write the following commands (if any of them fails, try preceding them with sudo):
make
make install
make load

Now the drive should be present!!!

Big thanks to the Maxim Levitsky for the driver and guidance!!

EDIT:
Be aware that you need to reinstall the driver each time you update the kernel… But I have made a simple gui based script to make it much faster to reinstall the driver: installMemstickDriver.sh

Just put the file in the root folder of the unzipped file (ricoh-kernel-ricoh-kernel-master.tar), make it executable and run it.

This is my first attempt in shell scripting so please don’t be offended by my newbie mistakes.