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

Marcus Schaffry marcusschaffry@yahoo.de
Tue, 9 Dec 2003 01:58:43 +0100

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 
product CANON Lide20   0x220d   CANOSCAN Lide20

Then I added this line to /sys/dev/usb/uscanner.c: (right place)

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".


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 

That's all.