Mit diesem Kernel läuft der Scanner über libusb....
wenn ich den Rechner hch fahre, ist der Scanner mit:
sane-find-scanner
Code: Alles auswählen
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x04a9, product=0x2204 [CanoScan FB630U]) at libusb:001:008
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
scanimage -L
Code: Alles auswählen
device `v4l:/dev/video0' is a Noname BT878 video (Hauppauge (bt878)) virtual device
device `canon630u:libusb:001:008' is a CANON Canoscan FB630U flatbed scanner
jetzt starte ich xsane (als root oder user, ist egal) und kann den scanner auch auswählen.
ein scan oder eine vorschau wird mit einer fehlermeldung abgebrochen:
"Konnte Scanner nicht Starten, Gerät besetzt."
und nochmaliges probieren gibt:
"Fehler ... Geräte I/O"
in der fstab habe ich folgendes eingetragen:
Code: Alles auswählen
#usb-scanner
none /proc/bus/usb usbfs defaults 0 0
cat /var/log/messages bringt folgendes:
Code: Alles auswählen
Sep 13 15:09:54 localhost kernel: usb 1-2: new full speed USB device using addre ss 8
Sep 13 15:09:54 localhost usb.agent[5026]: libusbscanner: loaded successful ly
Sep 13 15:10:10 localhost kernel: Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
Sep 13 15:10:10 localhost kernel: Attached scsi generic sg1 at scsi0, channel 0, id 0, lun 1, type 0
Sep 13 15:10:10 localhost kernel: Attached scsi generic sg2 at scsi0, channel 0, id 0, lun 2, type 0
Sep 13 15:10:10 localhost kernel: Attached scsi generic sg3 at scsi0, channel 0, id 0, lun 3, type 0
Sep 13 15:11:03 localhost kernel: lp0: ECP mode
Sep 13 15:11:40 localhost kernel: lp0: ECP mode
Sep 13 15:12:13 localhost kernel: usb 1-2: control timeout on ep0out
hier die canon630u.conf:
Code: Alles auswählen
# Options for the canonusb backend
# Autodetect the Canon CanoScan FB630u
usb 0x04a9 0x2204
# device list for non-linux-systems (enable if autodetect fails):
#/dev/scanner
#/dev/usb/scanner0
#usb libusb:001:004
zum schluss nochmal das hotplug-script "/etc/hotplug/usb/libusbscanner":
Code: Alles auswählen
#!/bin/sh
# This file is part of sane-backends.
#
# This script changes the permissions and ownership of a USB device under
# /proc/bus/usb to grant access to this device to users in the scanner group.
#
# Ownership is set to root:scanner, permissions are set to 0660.
#
# Arguments :
# -----------
# ACTION=[add|remove]
# DEVICE=/proc/bus/usb/BBB/DDD
# TYPE=usb
# latest hotplug doesn't set DEVICE on 2.6.x kernels
if [ -z "$DEVICE" ] ; then
IF=`echo $DEVPATH | sed 's/\(bus\/usb\/devices\/\)\(.*\)-\(.*\)/\2/'`
DEV=`echo $DEVPATH | sed 's/\(bus\/usb\/devices\/\)\(.*\)-\(.*\)/\3/'`
DEV=`expr $DEV + 1`
DEVICE=`printf '/proc/bus/usb/%.03d/%.03d' $IF $DEV`
fi
if [ "$ACTION" = "add" -a "$TYPE" = "usb" ]; then
chown root:scanner "$DEVICE"
chmod 0660 "$DEVICE"
fi
# That's an insecure but simple alternative
# Everyone has access to the scanner
# if [ "$ACTION" = "add" -a "$TYPE" = "usb" ]; then
# chmod 0666 "$DEVICE"
# fi