[sane-devel] Canon: CanoScan N676U

Philippe Berini philippe@berini.org
Wed, 13 Nov 2002 22:25:15 +0100


Le Mercredi 13 Novembre 2002 00:30, Henning Meier-Geinitz a écrit :

> Just go ahead. Check if you scanner is detected by sane-find-scanner.

It's all right now:

found USB scanner (vendor=0x04a9, product=0x220d) at /dev/usb/scanner0
found USB scanner (vendor=0x04a9 [Canon], product=0x220d [CanoScan]) at 
libusb:001:003

> If it isn't, the kernel scanner driver probably hasn't detected it
> correctly. If it has, try scanimage -L. if that doesn't work, edit
> plustek.conf and check that "device /dev/usbscanner" point to the
> correct device (printed by sane-find-scanner).

However scanimage -L doesn't work. Sorry about the stupid question, but what 
do you mean "check that "device /dev/usbscanner" point to the
correct device " ?
In plustek.conf, I have the following:

[usb] 0x04a9 0x220d
/dev/usb/scanner0

and also: device /dev/usbscanner

Finally, do I have a problem with hotplug? Here are my logs:

Nov 13 22:19:36 localhost kernel: hub.c: USB new device connect on bus1/2, 
assigned device number 6
Nov 13 22:19:36 localhost kernel: scanner.c: probe_scanner: User specified USB 
scanner -- Vendor:Product - 4a9:220d
nov 13 22:19:36 localhost scannerdrake[26718]: ### Program is starting ###
nov 13 22:19:36 localhost scannerdrake[26718]: ### Program is starting ###
nov 13 22:19:36 localhost scannerdrake[26718]: unknown line 1574 ( #for 
hardware detection)
Nov 13 22:19:36 localhost kernel: Device not ready.  Make sure there is a disc 
in the drive.
Nov 13 22:19:36 localhost kernel: usb-uhci.c: interrupt, status 3, frame# 520
Nov 13 22:19:36 localhost kernel: sda : READ CAPACITY failed.
Nov 13 22:19:36 localhost kernel: sda : status = 1, message = 00, host = 0, 
driver = 08
Nov 13 22:19:36 localhost kernel: Current sd00:00: sense key Not Ready
Nov 13 22:19:36 localhost kernel: Additional sense indicates Medium not 
present
Nov 13 22:19:36 localhost kernel: sda : block size assumed to be 512 bytes, 
disk size 1GB.
Nov 13 22:19:36 localhost kernel:  /dev/scsi/host0/bus0/target0/lun0: I/O 
error: dev 08:00, sector 0
Nov 13 22:19:36 localhost kernel:  I/O error: dev 08:00, sector 0
Nov 13 22:19:39 localhost /etc/hotplug/usb.agent: ... no modules for USB 
product 4a9/220d/100


Sorry, it's very long.

Bye,
-- 
Philippe