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
I get this error.
. ./../dev/usbmisc/uscanner/uscanner.c:126: error:
`USB_PRODUCT_CANON_D660U' undeclared here (not in a function)
. ./../dev/usbmisc/uscanner/uscanner.c:126: error: initializer element is
not constant
. ./../dev/usbmisc/uscanner/uscanner.c:126: error: (near initialization
for `uscanner_devs[16].devno.ud_product')
. ./../dev/usbmisc/uscanner/uscanner.c:126: error: initializer element is
not constant
. ./../dev/usbmisc/uscanner/uscanner.c:126: error: (near initialization
for `uscanner_devs[16].devno')
. ./../dev/usbmisc/uscanner/uscanner.c:126: error: initializer element is
not constant
. ./../dev/usbmisc/uscanner/uscanner.c:126: error: (near initialization
for `uscanner_devs[16]')
. ./../dev/usbmisc/uscanner/uscanner.c:129: error: initializer element is
not constant
. ./../dev/usbmisc/uscanner/uscanner.c:129: error: (near initialization
for `uscanner_devs[17].devno')
. ./../dev/usbmisc/uscanner/uscanner.c:129: error: initializer element is
not constant
. ./../dev/usbmisc/uscanner/uscanner.c:129: error: (near initialization
for `uscanner_devs[17]')
. ./../dev/usbmisc/uscanner/uscanner.c:132: error: initializer element is
not constant
. ./../dev/usbmisc/uscanner/uscanner.c:132: error: (near initialization
for `uscanner_devs[18].devno')
. ./../dev/usbmisc/uscanner/uscanner.c:132: error: initializer element is
not constant
. ./../dev/usbmisc/uscanner/uscanner.c:132: error: (near initialization
for `uscanner_devs[18]')
. ./../dev/usbmisc/uscanner/uscanner.c:133: error: initializer element is
not constant
. ./../dev/usbmisc/uscanner/uscanner.c:133: error: (near initialization
for `uscanner_devs[19].devno')
. ./../dev/usbmisc/uscanner/uscanner.c:133: error: initializer element is
not constant
. ./../dev/usbmisc/uscanner/uscanner.c:133: error: (near initialization
for `uscanner_devs[19]')
. ./../dev/usbmisc/uscanner/uscanner.c:134: error: initializer element is
not constant
. ./../dev/usbmisc/uscanner/uscanner.c:134: error: (near initialization
for `uscanner_devs[20].devno')
. ./../dev/usbmisc/uscanner/uscanner.c:134: error: initializer element is
not constant
. ./../dev/usbmisc/uscanner/uscanner.c:134: error: (near initialization
for `uscanner_devs[20]')
. ./../dev/usbmisc/uscanner/uscanner.c:135: error: initializer element is
not constant
. ./../dev/usbmisc/uscanner/uscanner.c:135: error: (near initialization
for `uscanner_devs[21].devno')
. ...
walt wrote:
Steve O'Hara-Smith wrote:
[...]
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 ...
Yes, thanks, that did it. Petr, if your scanner is a 660 instead of
a 676 you should edit the device name accordingly. Let us know if it
works.
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]