Getting a Canon scanner to work

Steve O'Hara-Smith steve at sohara.org
Wed Jun 21 14:20:06 PDT 2006


On Thu, 22 Jun 2006 04:10:03 +1000
Petr Janda <elekktretterr at xxxxxxxxxxxxxx> wrote:

> I get this error.
> 
> 
> ../../dev/usbmisc/uscanner/uscanner.c:126: error: 
> `USB_PRODUCT_CANON_D660U' undeclared here (not in a function)

	Yep there's no entry in usbdevs for device 0x2208 - as a first hack
try replacing USB_PRODUCT_CANON_D660U with 0x2208 and see what happens. If
that works then the clean change is to add an entry
to /usr/src/sys/bus/usb/usbdevs something like

product CANON D660U	0x2208 Canoscan D660U

	and then put back the USB_PRODUCT_CANON_D660U.

-- 
C:>WIN                                      |   Directable Mirror Arrays
The computer obeys and wins.                | A better way to focus the sun
You lose and Bill collects.                 |    licences available see
                                            |    http://www.sohara.org/





More information about the Users mailing list