since a couple of weeks, I'm trying to get my EPSON Perfection 2450 photo scanner to work but all my attemps have failed so far. I first blamed myself then sane then libusb but I'm now not sure where the problem is. Here is the full story:
I checked my usb controllers:
Code: Select all
zorglub ~ # lspci | grep USB
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
Code: Select all
Kernel configuration - as per http://www.gentoo.org/doc/en/usb-guide.xml
SCSI disk support - CONFIG_BLK_DEV_SD - Built-in
Support for Host-side USB - CONFIG_USB - As module
USB device filesystem - CONFIG_USB_DEVICEFS
EHCI HCD (USB 2.0) support - CONFIG_USB_EHCI_HCD
UHCI HCD (most Intel and VIA) support - CONFIG_USB_UHCI_HCD
USB Mass Storage support - CONFIG_USB_STORAGE
USB Human Interface Device (full HID) support - CONFIG_USB_HID:
HID input layer support - CONFIG_USB_HIDINPUT
USB Monitor - CONFIG_USB_MON
Code: Select all
zorglub usb # lsmod | grep usb
usbcore 95808 5 ohci_hcd,ehci_hcd,spca5xx,uhci_hcd
Code: Select all
zorglub ~ # sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x04b8 [EPSON], product=0x0112 [EPSON Scanner]) at libusb:005:012
found USB scanner (vendor=0x041e [Creative Labs ], product=0x4036 [WebCam Live! ]) at libusb:004:003
# 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.
Code: Select all
zorglub ~ # scanimage -L
device `epkowa:libusb:005:012' is a Epson Perfection 2450 flatbed scanner
OK, after triple-checking the configuration files. I started suspecting something was wrong with my hardware so I tried to plug-in my camera (in PTP mode) and I got:
Code: Select all
zorglub junk # gphoto2 -P
Downloading 'curve.ntc' from folder '/special'...
File curve.ntc exists. Overwrite? [y|n] y
Saving file as curve.ntc
Downloading '_DSC1022.JPG' from folder '/store_00010001/DCIM/184ND200'...
*** Error ***
PTP Protocol error, response expected
*** Error (-1: 'Unspecified error') ***
Code: Select all
<snip>
16.498729 PTP2/library.c(2): PTP: gp_port_* function returned 0xffffffdd -35
16.498822 context(0): PTP I/O error
*** Error ***
PTP I/O error
16.498867 gphoto2-port(2): Closing port...
16.499167 context(0): An error occurred in the io-library ('Unspecified error'): Could not query kernel driver of device.
*** Error ***
An error occurred in the io-library ('Unspecified error'): Could not query kernel driver of device.
*** Error (-1: 'Unspecified error') ***
<snip>
I'm now kind of stuck since I guess the usb hardware and kernel configuration is working OK but how come both camera PTP mode and scanner return I/O error.
Any help is appreciated.
Thanks,
Thomas

