LINUX.ORG.RU

История изменений

Исправление tiinn, (текущая версия) :

В общем, поставил я vmware player, когда lsusb возвращает значение, сканер начинает работать в виртуалке. Но не в xsane. В dmesg вот это

[49550.419263] usb 1-6.4: new full-speed USB device number 34 using xhci_hcd
[49555.457130] usb 1-6.4: unable to read config index 0 descriptor/all
[49555.457141] usb 1-6.4: can't read configurations, error -110
[49555.457478] usb 1-6-port4: unable to enumerate USB device
[49565.334875] usb 1-6.4: new full-speed USB device number 35 using xhci_hcd
[49570.564788] usb 1-6.4: unable to read config index 0 descriptor/all
[49570.564801] usb 1-6.4: can't read configurations, error -110
[49570.646814] usb 1-6.4: new full-speed USB device number 36 using xhci_hcd
[49575.936792] usb 1-6.4: unable to read config index 0 descriptor/all
[49575.936802] usb 1-6.4: can't read configurations, error -110
[49575.937102] usb 1-6-port4: attempt power cycle
[49576.550671] usb 1-6.4: new full-speed USB device number 37 using xhci_hcd
[49581.824538] usb 1-6.4: unable to read config index 0 descriptor/all
[49581.824549] usb 1-6.4: can't read configurations, error -110
[49581.906559] usb 1-6.4: new full-speed USB device number 38 using xhci_hcd
[49586.944539] usb 1-6.4: unable to read config index 0 descriptor/all
[49586.944549] usb 1-6.4: can't read configurations, error -110
[49586.944871] usb 1-6-port4: unable to enumerate USB device
[49784.474001] usb 1-6.4: new full-speed USB device number 39 using xhci_hcd
[49789.695987] usb 1-6.4: unable to read config index 0 descriptor/all
[49789.695998] usb 1-6.4: can't read configurations, error -110
[49789.777984] usb 1-6.4: new full-speed USB device number 40 using xhci_hcd
[49795.067957] usb 1-6.4: unable to read config index 0 descriptor/start: -110
[49795.068001] usb 1-6.4: can't read configurations, error -110
[49795.068387] usb 1-6-port4: attempt power cycle
[49795.677812] usb 1-6.4: new full-speed USB device number 41 using xhci_hcd
[49800.960146] usb 1-6.4: string descriptor 0 read error: -32
[49800.960170] usb 1-6.4: New USB device found, idVendor=04b8, idProduct=0114, bcdDevice= 1.20
[49800.960174] usb 1-6.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[49800.967782] usb 1-6.4: can't set config #1, error -32
[49821.969379] usb 1-6.4: reset full-speed USB device number 41 using xhci_hcd
[49822.213337] usb 1-6.4: reset full-speed USB device number 41 using xhci_hcd
[49822.509370] usb 1-6.4: reset full-speed USB device number 41 using xhci_hcd
[49822.765376] usb 1-6.4: reset full-speed USB device number 41 using xhci_hcd

lsusb -t|grep ‘Dev 41’ выдаёт

c@c-desktop:~$ lsusb -t|grep 'Dev 41'
        |__ Port 4: Dev 41, If 0, Class=Vendor Specific Class, Driver=usbfs, 12M

Интересно, что после работы с виртуалкой сканнер нашёлся:

c@c-desktop:~$ sudo 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.

could not fetch string descriptor (again): Operation timed out
could not fetch string descriptor: Pipe error
found possible USB scanner (vendor=0x04b8, product=0x0114) at libusb:001:041
  # 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.

Значит, этот TAIL_O61.BIN почему-то не грузится в сканер?

Ок, ладно, вприсядку, в гамаке и стоя, оно заработало.

Исправление tiinn, :

В общем, поставил я vmware player, когда lsusb возвращает значение, сканер начинает работать в виртуалке. Но не в xsane. В dmesg вот это

[49550.419263] usb 1-6.4: new full-speed USB device number 34 using xhci_hcd
[49555.457130] usb 1-6.4: unable to read config index 0 descriptor/all
[49555.457141] usb 1-6.4: can't read configurations, error -110
[49555.457478] usb 1-6-port4: unable to enumerate USB device
[49565.334875] usb 1-6.4: new full-speed USB device number 35 using xhci_hcd
[49570.564788] usb 1-6.4: unable to read config index 0 descriptor/all
[49570.564801] usb 1-6.4: can't read configurations, error -110
[49570.646814] usb 1-6.4: new full-speed USB device number 36 using xhci_hcd
[49575.936792] usb 1-6.4: unable to read config index 0 descriptor/all
[49575.936802] usb 1-6.4: can't read configurations, error -110
[49575.937102] usb 1-6-port4: attempt power cycle
[49576.550671] usb 1-6.4: new full-speed USB device number 37 using xhci_hcd
[49581.824538] usb 1-6.4: unable to read config index 0 descriptor/all
[49581.824549] usb 1-6.4: can't read configurations, error -110
[49581.906559] usb 1-6.4: new full-speed USB device number 38 using xhci_hcd
[49586.944539] usb 1-6.4: unable to read config index 0 descriptor/all
[49586.944549] usb 1-6.4: can't read configurations, error -110
[49586.944871] usb 1-6-port4: unable to enumerate USB device
[49784.474001] usb 1-6.4: new full-speed USB device number 39 using xhci_hcd
[49789.695987] usb 1-6.4: unable to read config index 0 descriptor/all
[49789.695998] usb 1-6.4: can't read configurations, error -110
[49789.777984] usb 1-6.4: new full-speed USB device number 40 using xhci_hcd
[49795.067957] usb 1-6.4: unable to read config index 0 descriptor/start: -110
[49795.068001] usb 1-6.4: can't read configurations, error -110
[49795.068387] usb 1-6-port4: attempt power cycle
[49795.677812] usb 1-6.4: new full-speed USB device number 41 using xhci_hcd
[49800.960146] usb 1-6.4: string descriptor 0 read error: -32
[49800.960170] usb 1-6.4: New USB device found, idVendor=04b8, idProduct=0114, bcdDevice= 1.20
[49800.960174] usb 1-6.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[49800.967782] usb 1-6.4: can't set config #1, error -32
[49821.969379] usb 1-6.4: reset full-speed USB device number 41 using xhci_hcd
[49822.213337] usb 1-6.4: reset full-speed USB device number 41 using xhci_hcd
[49822.509370] usb 1-6.4: reset full-speed USB device number 41 using xhci_hcd
[49822.765376] usb 1-6.4: reset full-speed USB device number 41 using xhci_hcd

lsusb -t|grep ‘Dev 41’ выдаёт

c@c-desktop:~$ lsusb -t|grep 'Dev 41'
        |__ Port 4: Dev 41, If 0, Class=Vendor Specific Class, Driver=usbfs, 12M

Интересно, что после работы с виртуалкой сканнер нашёлся:

c@c-desktop:~$ sudo 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.

could not fetch string descriptor (again): Operation timed out
could not fetch string descriptor: Pipe error
found possible USB scanner (vendor=0x04b8, product=0x0114) at libusb:001:041
  # 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.

Значит, этот TAIL_O61.BIN почему-то не грузится в сканер?

Исходная версия tiinn, :

В общем, поставил я vmware player, когда lsusb возвращает значение, сканер начинает работать в виртуалке. Но не в xsane. В dmesg вот это

[49550.419263] usb 1-6.4: new full-speed USB device number 34 using xhci_hcd
[49555.457130] usb 1-6.4: unable to read config index 0 descriptor/all
[49555.457141] usb 1-6.4: can't read configurations, error -110
[49555.457478] usb 1-6-port4: unable to enumerate USB device
[49565.334875] usb 1-6.4: new full-speed USB device number 35 using xhci_hcd
[49570.564788] usb 1-6.4: unable to read config index 0 descriptor/all
[49570.564801] usb 1-6.4: can't read configurations, error -110
[49570.646814] usb 1-6.4: new full-speed USB device number 36 using xhci_hcd
[49575.936792] usb 1-6.4: unable to read config index 0 descriptor/all
[49575.936802] usb 1-6.4: can't read configurations, error -110
[49575.937102] usb 1-6-port4: attempt power cycle
[49576.550671] usb 1-6.4: new full-speed USB device number 37 using xhci_hcd
[49581.824538] usb 1-6.4: unable to read config index 0 descriptor/all
[49581.824549] usb 1-6.4: can't read configurations, error -110
[49581.906559] usb 1-6.4: new full-speed USB device number 38 using xhci_hcd
[49586.944539] usb 1-6.4: unable to read config index 0 descriptor/all
[49586.944549] usb 1-6.4: can't read configurations, error -110
[49586.944871] usb 1-6-port4: unable to enumerate USB device
[49784.474001] usb 1-6.4: new full-speed USB device number 39 using xhci_hcd
[49789.695987] usb 1-6.4: unable to read config index 0 descriptor/all
[49789.695998] usb 1-6.4: can't read configurations, error -110
[49789.777984] usb 1-6.4: new full-speed USB device number 40 using xhci_hcd
[49795.067957] usb 1-6.4: unable to read config index 0 descriptor/start: -110
[49795.068001] usb 1-6.4: can't read configurations, error -110
[49795.068387] usb 1-6-port4: attempt power cycle
[49795.677812] usb 1-6.4: new full-speed USB device number 41 using xhci_hcd
[49800.960146] usb 1-6.4: string descriptor 0 read error: -32
[49800.960170] usb 1-6.4: New USB device found, idVendor=04b8, idProduct=0114, bcdDevice= 1.20
[49800.960174] usb 1-6.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[49800.967782] usb 1-6.4: can't set config #1, error -32
[49821.969379] usb 1-6.4: reset full-speed USB device number 41 using xhci_hcd
[49822.213337] usb 1-6.4: reset full-speed USB device number 41 using xhci_hcd
[49822.509370] usb 1-6.4: reset full-speed USB device number 41 using xhci_hcd
[49822.765376] usb 1-6.4: reset full-speed USB device number 41 using xhci_hcd

lsusb -t|grep ‘Dev 41’ выдаёт

c@c-desktop:~$ lsusb -t|grep 'Dev 41'
        |__ Port 4: Dev 41, If 0, Class=Vendor Specific Class, Driver=usbfs, 12M