[sane-devel] genesys : "Error during device I/O"

Pierre Couderc pierre at couderc.eu
Thu Feb 16 08:10:34 UTC 2017



On 02/15/2017 11:19 AM, Johannes Meixner wrote:
>
> On Feb 12 19:33 Pierre Couderc wrote (excerpt):
>> ... my USBs are USB2 ...
>> [genesys] genesys_flatbed_calibration:
>>   led calibration failed: Error during device I/O
>
> I don't know any details about the genesys driver/backend
> but I guess it is not the genesys backend itself that fails
> but it fails because of a lower level error during device I/O.
>
> I.e. I guess it fails somewhere in the various USB layers
> like libusb or kernel USB drivers/modules or USB hardware
> cf. "Basics" and "USB" at
> https://en.opensuse.org/SDB:Configuring_Scanners
>
> Accordingly I would focus more on USB related debug messages
> as described in "Trouble-Shooting (Debugging)" at
> https://en.opensuse.org/SDB:Configuring_Scanners
Thank you.
I have checked as you say USB messages and I see no problem (but who is 
able to see seomething in this flow...?).

But what let you think to look for USB messages more than sane 
messages...? If there was an error in USB, there should be problems 
other than with sane...
Below, parts of my log.

Thank you again.

PC

root at paroisse:/home/paroisse# cat sane.log
(...)
[sanei_usb] sanei_usb_read_bulk: trying to read 30720 bytes
[sanei_usb] 000 14 0B 21 0B D2 0C 5D A1 53 9C AC A1 C4 A1 87 9E 
..!...].S.......
   (...)
[sanei_usb] 77F05B FD B9 FF FF FF C3 FE 86 FD 1A F2 4F FC A6 F7 
[...........O...
[sanei_usb] sanei_usb_read_bulk: wanted 30720 bytes, got 30720 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 96 bytes
[sanei_usb] 000 02 FB 3E FC 8F F5 01 F7 19 FB CA FC 6C F4 04 FC 
..>.........l...
[sanei_usb] 010 D9 F2 F9 F2 B4 F3 9D F7 FC F8 A1 F2 87 EF 1D F9 
................
[sanei_usb] 020 6B EE 90 EE 77 F7 C4 F6 1B F7 9B F3 19 EA 95 F8 
k...w...........
[sanei_usb] 030 FB F6 2A E9 98 ED 78 F5 28 EE 24 E6 BE DE 20 DF 
..*...x.(.$... .
[sanei_usb] 040 F0 E6 84 DB 8B D8 3A DE 64 E1 06 E6 FD DF 53 D9 
......:.d.....S.
[sanei_usb] 050 45 D6 FE D8 9E D5 8D DC 11 DD 74 DB F5 D8 69 D5 
E.........t...i.
[sanei_usb] sanei_usb_read_bulk: wanted 96 bytes, got 96 bytes
[sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 4, value = 142, 
index = 27682, len = 2
[sanei_usb] 000 F9 55                                           .U
    (...)
[sanei_usb] 000 FD 55                                           .U
[sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 4, value = 142, 
index = 16418, len = 2
[sanei_usb] 000 F3 55                                           .U
[genesys] genesys_flatbed_calibration: led calibration failed: Error 
during device I/O
[genesys] genesys_start_scan: failed to do scanner calibration: Error 
during device I/O
[genesys] sane_genesys_start: Error during device I/O
scanimage: sane_start: Error during device I/O
[genesys] sane_genesys_cancel start
(...)




More information about the sane-devel mailing list