[sane-devel] Still trying to get Epson CX6600 to work.

russbucket russbucket at nwi.net
Fri Oct 28 23:21:19 UTC 2005


On Thursday 27 October 2005 00:27, Johannes Meixner wrote:
> Hello,

snip
> On Oct 25 13:09 russbucket wrote (shortened):
> See
> https://bugzilla.novell.com/show_bug.cgi?id=127524#c17
> Try if you can scan with the original Suse Linux 10.0 sane and iscan
> packages after
> rmmod usblp
> rmmod usb-storage
commands execute but no effect on printer. modprobe usblp says module not 
installed.
>
snip
> Alternatively install the new packages
>
> ftp://ftp.suse.com/pub/people/jsmeix/unsupported/sane/10.0/RPMS/
> sane-1.0.15-20.1.i586.ignore-EBUSY-from-USB.rpm
>
> ftp://ftp.suse.com/pub/people/jsmeix/unsupported/iscan/10.0/RPMS/
> iscan-1.15.0.2-4.1.i586.ignore-EBUSY-from-USB.rpm
installed two above versions, scanning still not working. 
> and if not, try if scanning works after "rmmod usb-storage"
> or after "rmmod <whatever_is_in_conflict_with_SANE>".
No conflict listed in messages
> http://portal.suse.com/sdb/en/2004/10/jsmeix_scanner-setup-92.html
> "Basics" and "libusb + resmgr + PAM"
> and
> http://portal.suse.com/sdb/en/2005/09/jsmeix_scanner-setup-100.html
read documents, my system seems to be putting info into /sys/bus/usb

/sys/bus/usb/devices # ls
.  ..  1-0:1.0  1-2  1-2:1.0  1-2:1.1  1-2:1.2  usb1

/sys/bus/usb/devices # ls -l
total 0
drwxr-xr-x  2 root root 0 2005-10-28 14:59 .
drwxr-xr-x  4 root root 0 2005-10-28 14:59 ..
lrwxrwxrwx  1 root root 0 2005-10-28 14:59 1-0:1.0 
-> ../../../devices/pci0000:00/0000:00:07.2/usb1/1-0:1.0
lrwxrwxrwx  1 root root 0 2005-10-28 14:59 1-2 
-> ../../../devices/pci0000:00/0000:00:07.2/usb1/1-2
lrwxrwxrwx  1 root root 0 2005-10-28 14:59 1-2:1.0 
-> ../../../devices/pci0000:00/0000:00:07.2/usb1/1-2/1-2:1.0
lrwxrwxrwx  1 root root 0 2005-10-28 14:59 1-2:1.1 
-> ../../../devices/pci0000:00/0000:00:07.2/usb1/1-2/1-2:1.1
lrwxrwxrwx  1 root root 0 2005-10-28 14:59 1-2:1.2 
-> ../../../devices/pci0000:00/0000:00:07.2/usb1/1-2/1-2:1.2
lrwxrwxrwx  1 root root 0 2005-10-28 14:59 usb1 
-> ../../../devices/pci0000:00/0000:00:07.2/usb1


cd 1-2:1.0 
less 1-2:1.0
EPSON Scanner

linux:/sys/bus/pci/devices/0000:00:07.2/usb1/1-2 # less idVendor
o4b8
linux:/sys/bus/pci/devices/0000:00:07.2/usb1/1-2 # less idProduct
0813

linux:/sys/bus/pci/devices/0000:00:07.2/usb1/1-2/1-2:1.0 
less interface
Epson Scanner
> "Change regarding the access permissions for USB scanners via resmgr"
resmgr.conf.d is not getting the add for the scanner. Is this because it is 
see the info for external devices. Proble is iscan.usermap has wrong product 
id and there is not entery in the libsane.usermap for cx6600.
> For scanner access as normal user with Suse Linux we use resmgr
> in our version of libusb to grant the access.
> As resmgr runs as root only resmgr must be configured to grant access
> for normal users (i.e. there is no need for hotplug).
> Therefore regarding scanner access with resmgr see
> http://portal.suse.com/sdb/en/2004/10/jsmeix_scanner-setup-92.html
> for Suse Linux 9.1 9.2 and 9.3
> and
> http://portal.suse.com/sdb/en/2005/09/jsmeix_scanner-setup-100.html
> for Suse Linux 10.0

also is the following fstab entry correct?

fstab entry
usbfs                /proc/bus/usb        usbfs      noauto                0 0

ran a usbtree with following results:
usbtree
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    |__ Port 2: Dev 2, If 0, Class=vend., Driver=none, 12M
    |__ Port 2: Dev 2, If 1, Class=print, Driver=usblp, 12M
    |__ Port 2: Dev 2, If 2, Class=stor., Driver=usb-storage, 12M
>
>
lsusb -v

Bus 001 Device 002: ID 04b8:0813 Seiko Epson Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x04b8 Seiko Epson Corp.
  idProduct          0x0813
  bcdDevice            1.00
  iManufacturer           1 EPSON
  iProduct                2 USB2.0 MFP
  iSerial                 3 HU0150407091134380
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           78
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          4 USB2.0 MFP
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              5 EPSON Scanner
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         7 Printer
      bInterfaceSubClass      1 Printer
      bInterfaceProtocol      2 Bidirectional
      iInterface              6 USB2.0 Printer
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              7 USB2.0 Mass Storage
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x07  EP 7 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x88  EP 8 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1

Bus 001 Device 001: ID 0000:0000
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0000
  idProduct          0x0000
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.13-15-default uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:07.2
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x40
  PortPwrCtrlMask    0x00
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0103 power enable connect

> Kind Regards
> Johannes Meixner
> --
> SUSE LINUX Products GmbH, Maxfeldstrasse 5      Mail: jsmeix at suse.de
> 90409 Nuernberg, Germany                    WWW: http://www.suse.de/
sorry for all the information but I cannot understand why its not being seen. 
I noticed others have gotten there different model scans to work after the 
last update you recommended. Were they SUSE 10.0 boxed version?

Thanks again, I'll hope to hear something, meantime I'll continue reading and 
testing.



More information about the sane-devel mailing list