Comment 7 for bug 469540

Revision history for this message
Roman Yepishev (rye) wrote :

Attached dpatch for xerox_mfp git20100208.
This is not only config change now but the code has some fixes as well:
 * Additional error check to (stop scanadf) + fix of it[1]
 * Standardize including local sane/ include files[2]

The best possible resolution of the problem is to have sane release new version of sane-backends, otherwise lucid lynx users will need to recompile the package for their scanners to be supported.

The configuration changes are not enough. Each time libsane is updated the udev rules are rewritten w/o any confirmation and confirmation about xerox_mfp.conf replacement is presented to the end user.

Even if the latter is preserved the permissions are not set properly for usb devices for non-root accounts leading to:

rtg@buzz:~$ sane-find-scanner
found USB scanner (vendor=0x0924, product=0x4265) at libusb:001:002
rtg@buzz:~$ scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

[1] http://git.debian.org/?p=sane/sane-backends.git;a=commit;h=dda029430eed0226d0d91188dfd5ffa4cc8b3041
[2] http://git.debian.org/?p=sane/sane-backends.git;a=commit;h=4d9e8138af0f399e72599631854fa266cb18a4da