[sane-devel] CanoScan LIDE 20 on FreeBSD 5.1 Release

Marcus Schaffry marcusschaffry at yahoo.de
Tue Dec 9 00:58:43 GMT 2003


Thank you very much Brian.

Now my scanner (CanonScan Lide20) is working with the kernel using /dev/
uscanner. (libusb didn't work)

That's what I did:

I added the following line to the file /sys/dev/usb/usbdevs in the CANON 
section:
product CANON Lide20   0x220d   CANOSCAN Lide20

Then I added this line to /sys/dev/usb/uscanner.c: (right place)
{{ USB_VENDOR_CANON, USB_PRODUCT_CANON_Lide20 }, 0 },

Then I did "make -f Makefile.usbdevs", "cd ../../modules/usb" and "make" in /
sys/dev/usb. (see the comment in /sys/dev/usbdevs)

Then I compiled a new kernel with "uscanner".

Reboot

My scanner is now recognized by the kernel:

$ dmesg |grep scanner
uscanner0: Canon CanoScan, rev 1.10/1.00, addr 3


Then I added these lines to /usr/local/etc/sane.d/plustek.conf
[usb] 0x04A9  0x220D
device /dev/uscanner0

And uncommented "plustek" in /usr/local/etc/sane.d/dll.conf

root# scanimage -L
device `plustek:/dev/uscanner0' is a Canon N670U/N676U/LiDE20 USB flatbed 
scanner

That's all.





More information about the sane-devel mailing list