Package: libsane
Version: 1.0.15-9
Followup-For: Bug #308081
I've got an epson Perfection 2450 Photo scanner. Recently (after
upgrading) it stopped working with the following symptoms:
When the scanner is first plugged in, the following appears in the
kernel logs
kernel: usb 5-1: new high speed USB device using ehci_hcd and address 7
lsusb will show it:
# lsusb
Bus 005 Device 007: ID 04b8:0112 Seiko Epson Corp. Perfection 2450
and scanimage -L will find it:
# scanimage -L
device `epson:libusb:005:007' is a Epson GT-9700 flatbed scanner
device `epkowa:libusb:005:007' is a Epson Perfection 2450 flatbed scanner
This takes a LONG time (minutes). Repeated scanimage -L's will show it.
However, scanimage -T causes the following
# scanimage -T -v
scanimage: no SANE devices found
and the following is written to the system log:
kernel: usb 5-1: usbfs: interface 0 claimed while 'scanimage' sets config #1
Subsequent attempts at scanimage -L result in an immediate (no waiting)
response:
# scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
If I cycle the power to the scanner it'll once more be seen by
scanimage. Here's the result of an strace on scanimage after such a
power cycle. (Note that the usb device id has changed because of the
power reset) I've kept just the part after the correct device was opened:
# strace -e trace=open,ioctl scanimage -L
open("/etc/sane.d/epson.conf", O_RDONLY) = 3
open("/proc/bus/usb/005/009", O_RDWR) = 4
ioctl(4, USBDEVFS_SETCONFIGURATION, 0xbfffafe4) = 0
ioctl(4, USBDEVFS_CLAIMINTERFACE, 0xbfffafe4) = 0
ioctl(4, USBDEVFS_SUBMITURB, 0xbfffaf40) = 0
ioctl(4, USBDEVFS_REAPURBNDELAY, 0xbfffaea4) = -1 EAGAIN (Resource
temporarily unavailable)
ioctl(4, USBDEVFS_REAPURBNDELAY, 0xbfffaea4) = 0
ioctl(4, USBDEVFS_SUBMITURB, 0xbfffaf20) = 0
ioctl(4, USBDEVFS_REAPURBNDELAY, 0xbfffae84) = -1 EAGAIN (Resource
temporarily unavailable)
ioctl(4, USBDEVFS_REAPURBNDELAY, 0xbfffae84) = -1 EAGAIN (Resource
temporarily unavailable)
ioctl(4, USBDEVFS_REAPURBNDELAY, 0xbfffae84) = -1 EAGAIN (Resource
temporarily unavailable)
ioctl(4, USBDEVFS_REAPURBNDELAY, 0xbfffae84) = -1 EAGAIN (Resource
temporarily unavailable)
This continues for a while, until it outputs the device information:
device `epson:libusb:005:009' is a Epson GT-9700 flatbed scanner
device `epkowa:libusb:005:009' is a Epson Perfection 2450 flatbed scanner
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages libsane depends on:
ii adduser 3.63 Add and remove users and groups
ii debconf 1.4.30.13 Debian configuration management sy
ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an
ii libgphoto2-2 2.1.5-4 gphoto2 digital camera library
ii libgphoto2-port0 2.1.5-4 gphoto2 digital camera port librar
ii libieee1284-3 0.2.10-1 cross-platform library for paralle
ii libjpeg62 6b-9 The Independent JPEG Group's JPEG
ii libusb-0.1-4 2:0.1.10a-9 userspace USB programming library
ii makedev 2.3.1-77 creates device files in /dev
ii sane-utils 1.0.15-9 API library for scanners -- utilit
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]