DragonFly BSD
DragonFly users List (threaded) for 2006-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Getting a Canon scanner to work


From: Petr Janda <elekktretterr@xxxxxxxxxxxxxx>
Date: Thu, 22 Jun 2006 05:08:16 +1000


Ok, Ive done a bit of digging. 3 files needed to be edited.


/usr/src/sys/dev/usbmisc/uscanner/uscanner.c

{{ USB_VENDOR_CANON, USB_PRODUCT_CANON_D660U }, 0 },

/usr/src/sys/bus/usb/usbdevs

product CANON D660U 0x2208 CanoScan D660U

/usr/src/sys/bus/usb/usbdevs.h

#define USB_PRODUCT_CANON_D660U 0x2208 /* CanoScan D660U */


After this, dmesg shows this


uscanner0: Canon CanoScan, rev 1.10/1.00, addr 2

However, sane-find-scanner now shows:

# No USB scanners found. If you expected something different, make sure that
# you have loaded a kernel driver for your USB host controller and have setup
# the USB system correctly. See man sane-usb for details


and scanimage -L also says no scanner found also. :(

Can anyone have a look at this? Neither my printer nor my scanner works in DF :S

Petr Janda wrote:
Is this for walt's scanner, mine, or us both?

Cheers,

Steve O'Hara-Smith wrote:
On Wed, 21 Jun 2006 01:22:07 -0700
walt <wa1ter@xxxxxxxxxxxxx> wrote:

On Wed, 21 Jun 2006, Petr Janda wrote:

So what scanner have you got?
Can you show me what you get from running:

sane-find-scanner
found USB scanner (vendor=0x04a9 [Canon], product=0x220d [CanoScan]) at
libusb:/dev/usb1:/dev/ugen0

The uscanner driver doesn't have this device listed. Try applying
the patch below in /usr/src/sys/dev/usbmisc/uscanner and building a new
kernel. It may be enough to get your scanner going - if it is then let us
know and hopefully someone will commit it.


Index: uscanner.c
===================================================================
RCS file: /home/dcvs/src/sys/dev/usbmisc/uscanner/uscanner.c,v
retrieving revision 1.10
diff -u -r1.10 uscanner.c
--- uscanner.c 2 Jun 2005 20:41:05 -0000 1.10
+++ uscanner.c 21 Jun 2006 15:52:13 -0000
@@ -123,6 +123,7 @@
/* Canon */
{{ USB_VENDOR_CANON, USB_PRODUCT_CANON_N656U }, 0 },
+ {{ USB_VENDOR_CANON, USB_PRODUCT_CANON_N676U }, 0 },
/* Kye */
{{ USB_VENDOR_KYE, USB_PRODUCT_KYE_VIVIDPRO }, 0 },












[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]