[sane-devel] Canon MF4320-4350

scar scar at drigon.com
Fri May 7 21:15:07 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

m. allan noah @ 05/05/2010 09:18 AM:
> do the 'non-extras' file in both dirs.

cool!  it worked!

i used 'lsusb' to get the vendor/product ID's, and to
/usr/share/hal/fdi/preprobe/10osvendor/20-libsane.fdi i added the following:

      <!-- Canon imageCLASS MF4320-4350 -->
      <match key="usb.vendor_id" int="0x04a9">
        <match key="usb.product_id" int="0x26ee">
          <append key="info.capabilities" type="strlist">scanner</append>
          <merge key="scanner.access_method"
type="string">proprietary</merge>
        </match>
      </match>

i put it after the Canon ImageRunner iR1018 to retain the order of the
vendor/product ID's.

and to /etc/udev/rules.d/z60_libsane.rules i added:

# Canon imageCLASS MF4320-4350
SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="26ee", MODE="0664",
GROUP="scanner", ENV{libsane_matched}="yes"


then i restarted udev and hal:

# /etc/init.d/udev restart
# /etc/init.d/udev-mtab restart
# /etc/init.d/hal restart

re-plugged in the USB cable and xsane started up fine, scanner is
working good so far.

only issue i see is there is no option to use the "Lineart" mode, only
Gray and Color.  if that a limitation of the scanner, is there a way to
convert something to lineart and save as PDF?  maybe GIMP can do that....



-----BEGIN PGP SIGNATURE-----

iEYEAREIAAYFAkvkgtkACgkQXhfCJNu98qC7DQCgoC22xVdnXOTLHX/yPrE/pfcN
GN0AniM9MJAzqGH5g+MTLrZiONRug+ud
=9af9
-----END PGP SIGNATURE-----




More information about the sane-devel mailing list