On Tue, 5 Aug 2008 01:54:27 +0200 Aurelien Jarno <[EMAIL PROTECTED]> wrote:
[...]
> Oh, and BTW, 133 + 256 = 389. Maybe this rule doesn't apply to all
> architectures, I gave the formula from my powerpc and my amd64 machines,
> maybe there is a different one on mips. Or maybe that's why accessing to
> USB devices doesn't work.

I don't know exactly what happened, but after upgrading udev to unstable
version and a reboot, lsusb works correctly.

When I rebooted the machine, I used sane-find-scanner to detect scanners.
It worked. Then I used "xscanimage" but this did not worked because it got
a problem connecting to the scanner.

>From that moment, I cannot use any USB device via libusb: when trying again
to identify the device I get a lot of "Operation not permitted" and
"Connection timed out":

[EMAIL PROTECTED]:~$ lsusb
Bus 002 Device 001: ID 1d6b:0001  
Bus 003 Device 001: ID 1d6b:0002  
Bus 001 Device 006: ID 04b8:011f Seiko Epson Corp. Perfection 1670
Bus 001 Device 001: ID 1d6b:0002  

[EMAIL PROTECTED]:~$ SANE_DEBUG_SANEI_USB=255 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.

[sanei_debug] Setting debug level of sanei_usb to 255.
[sanei_usb] sanei_usb_init: Looking for kernel scanner devices
[sanei_usb] sanei_usb_init: can't stat /dev/usb/: No such file or directory
[sanei_usb] sanei_usb_init: Looking for libusb devices
usb_set_debug: Setting debugging level to 255 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 003
usb_os_find_busses: Found 001
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 002
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 003
error obtaining child information: Operation not permitted
usb_os_find_devices: Found 006 on 001
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Operation not permitted
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001, interface 0 doesn't look like 
a scanner (9/9)
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001: no suitable interfaces
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0002, interface 0 doesn't look like 
a scanner (9/9)
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0002: no suitable interfaces
[sanei_usb] sanei_usb_init: found libusb device (0x04b8/0x011f) interface 0  at 
libusb:001:006
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0002, interface 0 doesn't look like 
a scanner (9/9)
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0002: no suitable interfaces
[sanei_usb] sanei_usb_init: found 1 devices
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner0'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner0' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner1'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner1' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner2'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner2' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner3'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner3' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner4'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner4' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner5'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner5' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner5'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner5' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner7'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner7' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner8'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner8' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner9'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner9' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner10'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner10' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner11'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner11' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner12'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner12' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner13'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner13' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner14'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner14' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner15'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner15' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner0'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner0' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner1'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner1' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner2'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner2' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner3'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner3' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner4'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner4' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner5'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner5' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner6'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner6' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner7'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner7' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner8'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner8' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner9'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner9' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner10'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner10' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner11'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner11' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner12'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner12' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner13'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner13' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner14'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner14' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner15'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner15' in list
USB error: error sending control message: Operation not permitted
USB error: error sending control message: Operation not permitted
USB error: error sending control message: Operation not permitted
USB error: error sending control message: Operation not permitted
USB error: error sending control message: Connection timed out
USB error: error sending control message: Connection timed out
found USB scanner (vendor=0x04b8, product=0x011f) at libusb:001:006
USB error: error sending control message: Operation not permitted
USB error: error sending control message: Operation not permitted
  # 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.

  # 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.
[EMAIL PROTECTED]:~$ 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to