[sane-devel] Epson CX5200 not detected with sane-find-scanner

Jeff Courtade jeff at courtade.net
Tue Aug 5 12:11:17 BST 2003


So far....

sane-find-scanner output shows it detecting the scanner
and the epson.conf has one line that is uncommented

usb /dev/usb/scanner0

jeff at humdinger:~$ sudo sane-find-scanner -v -v

<--snip-->

searching for USB scanners:
checking /dev/usb/scanner... failed to open (Invalid argument)
checking /dev/usb/scanner0... open ok, vendor and product ids were 
identified
found USB scanner (vendor=0x04b8, product=0x0801) at /dev/usb/scanner0
checking /dev/usb/scanner1... failed to open (Invalid argument)

<--snip-->

trying libusb:

<device descriptor of 0x0000/0x0000 at 001:001 (USB UHCI-alt Root Hub)>
bLength               18
bDescriptorType       1
bcdUSB                1.00
bDeviceClass          9
bDeviceSubClass       0
bDeviceProtocol       0
bMaxPacketSize0       8
idVendor              0x0000
idProduct             0x0000
bcdDevice             0.00
iManufacturer         0 ()
iProduct              2 (USB UHCI-alt Root Hub)
iSerialNumber         1 (1880)
bNumConfigurations    1
 <configuration 0>
 bLength              9
 bDescriptorType      2
 wTotalLength         25
 bNumInterfaces       1
 bConfigurationValue  1
 iConfiguration       0 ()
 bmAttributes         64 (Self-powered)
 MaxPower             0 mA
  <interface 0>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints      1
   bInterfaceClass    9
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface         0 ()
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      3 (interrupt)
    wMaxPacketSize    8
    bInterval         255 ms
    bRefresh          0
    bSynchAddress     0

<device descriptor of 0x04b8/0x0801 at 001:004 (EPSON USB MFP)>
bLength               18
bDescriptorType       1
bcdUSB                1.10
bDeviceClass          0
bDeviceSubClass       0
bDeviceProtocol       0
bMaxPacketSize0       8
idVendor              0x04B8
idProduct             0x0801
bcdDevice             1.00
iManufacturer         1 (EPSON)
iProduct              2 (USB MFP)
iSerialNumber         3 (HU0510305020239050)
bNumConfigurations    1
 <configuration 0>
 bLength              9
 bDescriptorType      2
 wTotalLength         55
 bNumInterfaces       2
 bConfigurationValue  1
 iConfiguration       4 (USB MFP)
 bmAttributes         192 (Self-powered)
 MaxPower             2 mA
  <interface 0>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints      2
   bInterfaceClass    255
   bInterfaceSubClass 255
   bInterfaceProtocol 255
   iInterface         5 (EPSON Scanner)
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      2 (bulk)
    wMaxPacketSize    64
    bInterval         0 ms
    bRefresh          0
    bSynchAddress     0
    <endpoint 1>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x02 (out 0x02)
    bmAttributes      2 (bulk)
    wMaxPacketSize    64
    bInterval         0 ms
    bRefresh          0
    bSynchAddress     0
  <interface 1>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   1
   bAlternateSetting  0
   bNumEndpoints      2
   bInterfaceClass    7
   bInterfaceSubClass 1
   bInterfaceProtocol 2
   iInterface         6 (USB Printer)
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x04 (out 0x04)
    bmAttributes      2 (bulk)
    wMaxPacketSize    64
    bInterval         0 ms
    bRefresh          0
    bSynchAddress     0
    <endpoint 1>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x83 (in 0x03)
    bmAttributes      2 (bulk)
    wMaxPacketSize    64
    bInterval         0 ms
    bRefresh          0
    bSynchAddress     0
found USB scanner (vendor=0x04b8 [EPSON], product=0x0801 [USB MFP]) at 
libusb:001:004

<device descriptor of 0x0483/0x1307 at 001:003>
bLength               18
bDescriptorType       1
bcdUSB                1.10
bDeviceClass          0
bDeviceSubClass       0
bDeviceProtocol       0
bMaxPacketSize0       8
idVendor              0x0483
idProduct             0x1307
bcdDevice             2.05
iManufacturer         1 ((null))
iProduct              2 ((null))
iSerialNumber         3 ((null))
bNumConfigurations    1
 <configuration 0>
 bLength              9
 bDescriptorType      2
 wTotalLength         32
 bNumInterfaces       1
 bConfigurationValue  1
 iConfiguration       0 ()
 bmAttributes         128 ()
 MaxPower             100 mA
  <interface 0>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints      2
   bInterfaceClass    8
   bInterfaceSubClass 6
   bInterfaceProtocol 80
   iInterface         4 ((null))
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      2 (bulk)
    wMaxPacketSize    64
    bInterval         0 ms
    bRefresh          0
    bSynchAddress     0
    <endpoint 1>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x02 (out 0x02)
    bmAttributes      2 (bulk)
    wMaxPacketSize    64
    bInterval         0 ms
    bRefresh          0
    bSynchAddress     0
  # Your USB scanner was (probably) detected. It may or may not be 
supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Scanners connected to the parallel port or other proprietary ports 
can't be
  # detected by this program.
done


Jeff

gerard klaver wrote:

>On Tue, 2003-08-05 at 10:27, Jeff Courtade wrote:
>  
>
>>Hello,
>>
>>I am having some issues getting a EpsonCX5200 to be seen and used by 
>>xscanimage.
>>
>>Printing works flawlessly. xscanimage doesnt find any scanners neither 
>>does sane-find-scanner.
>>
>>I have tried powering it off and on and rebooting this and that multiple 
>>command line strings to try to force it. Nothing helps.
>>
>>this what I get when I try xscanimage
>>
>>No scanners were identified. If you were expecting something
>>          different, check that the scanner is plugged in, turned on and
>>          detected by sane-find-scanner (if appropriate). Please read
>>          the documentation which came with this software (README, FAQ,
>>          manpages).
>>
>>This is the output of sane-find-scanner
>>
>>  # 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=0x04b8, product=0x0801) at libusb:001:004
>>  # Your USB scanner was (probably) detected. It may or may not be 
>>supported by
>>  # SANE. Try scanimage -L and read the backend's manpage.
>>
>>  # Scanners connected to the parallel port or other proprietary ports 
>>can't be
>>  # detected by this program.
>>
>>  # You may want to run this program as root to find all devices. Once you
>>  # found the scanner devices, be sure to adjust access permissions as
>>  # necessary.
>>
>>So it sees it but it doesnt look like it is identifying it.
>>I checked the kernel src and the entry for that vendor and product are 
>>in scanner.h linux 2.4.21 src
>>
>>Could anyone help me out?
>>I would be quite happy to do extensive troubleshooting to get this 
>>working if needed.
>>
>>----------------------------------------
>>
>>This is what I have.
>>
>>Slackware 9
>>Linux 2.4.21 newly built
>>    usb, usb scanner, usb printer,  built as a module
>>    usb verbose debugging is turned on as well
>>
>>    I uninstalled the slackware sane before building either of these
>>
>>sane-backends-1.0.12 freshly built
>>sane-frontends-1.0.11 freshly built
>>
>>
>>in /proc/bus/usb/drivers I have this.
>>
>>         usbdevfs
>>         hub
>> 96-111: hiddev
>>         hid
>>  0- 15: usblp
>>         usb-storage
>> 48- 63: usbscanner
>>
>>in /proc/bus/usb/devices
>>
>>
>>T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
>>B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
>>D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
>>P:  Vendor=0000 ProdID=0000 Rev= 0.00
>>S:  Product=USB UHCI-alt Root Hub
>>S:  SerialNumber=1880
>>C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
>>I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
>>E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
>>T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
>>D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
>>P:  Vendor=04b8 ProdID=0801 Rev= 1.00
>>S:  Manufacturer=EPSON
>>S:  Product=USB MFP
>>S:  SerialNumber=HU0510305020239050
>>C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=  2mA
>>I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbscanner
>>E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>>E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>>I:  If#= 1 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
>>E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>>E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>>T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=12  MxCh= 0
>>D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
>>P:  Vendor=0483 ProdID=1307 Rev= 2.05
>>S:  Manufacturer=PQI
>>S:  Product=Travel Flash
>>S:  SerialNumber=4710765066451
>>C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
>>I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
>>E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>>E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
>>
>>
>>
>>
>>    
>>
>Try sane-find-scanner -v -v  (as root)
>
>check path /dev/usb/scanner0 or /dev/usbscanner0 is used, check also
>epson.conf enabled path should be the same
>
>  
>





More information about the sane-devel mailing list