HP LaserJet M1005 / M1120 / M1132 / M1210 MFP :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
Driver for scanner in MFP1005 ?
Posted by: stefan ()
Date: September 27, 2007 02:23AM

I installed printer driver in Ubuntu 7.04 and it works great. But does anyone have a working solution for a scanner that this device is equip with ?

Options: ReplyQuote
Re: Driver for scanner in MFP1005 ?
Posted by: rickrich ()
Date: February 09, 2008 04:53PM

"The scanner is supported by the hpljm1005 backend in SANE CVS" - anonymous

Options: ReplyQuote
Re: Driver for scanner in MFP1005 ?
Posted by: kjnash ()
Date: March 01, 2008 02:41PM

The hpljm1005 backend for the MFP1005 is now in the latest stable version of sane-backends, 1.0.19. If your distro uses an older version, you will need to install 1.0.19, which may require you to build from source.

Fedora 8 still uses 1.0.18, but 1.0.19 is available from the development tree (which used to be called rawhide). I upgraded Fedora 8 with these binary RPMs with no problem, and no need to rebuild from source.

There are a couple of problems - these may not be specifically with the hpljm1005 backend, they may be problems with sane-backends in general.

(1) the commands "scanimage -L" and "sane-find-scanner" work, and report the scanner, but attempts to scan fail except for user root. This is a permission problem with the device file for the scanner. Look here for hints on fixing this problem. I found on Fedora 8 that the "permanent" fix mentioned there does not work - somewhere udev has to be told to set the file's group owner to the group that is permitted to use the scanner. However, the temporary fix does work: after plugging in and switching on the M1005, and allowing a few seconds for it to be detected, run "scanimage -L" to find out where the scanner is:

$ scanimage -L
device `hpljm1005:libusb:001:017' is a Hewlett-Packard LaserJet M1005 multi-function peripheral

Then use this information to find the device file, which in Fedora 8 is located at
# ls -al /dev/bus/usb/001/017
crw-r--r-- 1 root root 189, 16 2008-03-01 19:05 /dev/bus/usb/001/017

Then make this file writable to a group "scanners" who are allowed to access the scanner:
# chgrp scanners /dev/bus/usb/001/017
# chmod 664 /dev/bus/usb/001/017
# ls -al /dev/bus/usb/001/017
crw-rw-r-- 1 root scanners 189, 16 2008-03-01 19:05 /dev/bus/usb/001/017

Then scanning works for any user who belongs to the group "scanners". Unfortunately this procedure must be repeated whenever the computer is rebooted, or the scanner is plugged in or switched on.

(2) If an application uses the scanner, the device is not released, and is reported to other applications as "busy". A workaround is to close the application that first used the scanner.

man 7 sane has some hints on debugging. For this device the environment variables to set for debugging are:
export SANE_DEBUG_DLL=128
export SANE_DEBUG_HPLJM1005=128
If you set these values in a command shell, and then run your scanning application from that shell, calls to the sane-backend libraries will generate debugging output.

Options: ReplyQuote
Re: Driver for scanner in MFP1005 ?
Posted by: medo2010 ()
Date: March 13, 2008 10:07AM


Options: ReplyQuote
Re: Driver for scanner in MFP1005 ?
Posted by: baijutr ()
Date: July 12, 2012 10:32AM

I am using custumised version of Debian. I have installed Laserjet M1005 MPF and can get print out but not scanner. Using 'scanimage -L'I couldn't detect the scanner. Help me

Options: ReplyQuote

Sorry, only registered users may post in this forum.
This forum powered by Phorum.