Re: [sane-devel] genesys : "Error during device I/O"
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@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 (...) -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] genesys : "Error during device I/O"
Hello, On Feb 12 19:33 Pierre Couderc wrote (excerpt): On 02/09/2017 01:49 PM, Johannes Meixner wrote: See "Trouble-Shooting (Debugging)" at https://en.opensuse.org/SDB:Configuring_Scanners ... my USBs are USB2 ... ... I thnk there is a problem with genesys ... ... [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 Kind Regards Johannes Meixner -- SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard, Graham Norton - HRB 21284 (AG Nuernberg) -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] genesys : "Error during device I/O"
On 02/09/2017 01:49 PM, Johannes Meixner wrote: See "Trouble-Shooting (Debugging)" at https://en.opensuse.org/SDB:Configuring_Scanners Thank you, after many trials, I am sure that my USBs are USB2, that the scanner works with Windows. So I thnk there is a problem with genesys handler. I have traced : [genesys] sane_get_option_descriptor: option = br-y (11) [genesys] sane_control_option: start: action = set, option = br-y (11) [genesys] sane_control_option: exit [genesys] sane_genesys_start start [genesys] genesys_start_scan start [genesys] genesys_restore_calibration start [genesys] genesys_flatbed_calibration [genesys] sanei_genesys_calculate_zmode2: two_table=0 [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 [genesys] sane_genesys_cancel completed [genesys] sane_genesys_close start [genesys] write_calibration start [genesys] write_calibration completed [genesys] sane_genesys_close completed [genesys] sane_genesys_exit start [genesys] sane_genesys_exit completed FAILED Any help welcome... PC -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] genesys : "Error during device I/O"
Thank you. I shall search in this direction. Anyway, the computer seems too old to have USB3... (BIOS 2002... ?). On 02/09/2017 01:49 PM, Johannes Meixner wrote: Hello, On Feb 9 12:29 Pierre Couderc wrote (excerpt): env SANE_DEBUG_DLL=255 scanimage ... ... [dll] ... ... Is there a way to have more information...? See "Trouble-Shooting (Debugging)" at https://en.opensuse.org/SDB:Configuring_Scanners FYI: Nowadays "xhci_hcd" kernel driver/module issues (a.k.a. "USB 3") are the most often cause of "Error during device I/O", cf. http://lists.alioth.debian.org/pipermail/sane-devel/2016-November/034901.html and follow the links therein. Kind Regards Johannes Meixner -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] genesys : "Error during device I/O"
Hello, On Feb 9 12:29 Pierre Couderc wrote (excerpt): env SANE_DEBUG_DLL=255 scanimage ... ... [dll] ... ... Is there a way to have more information...? See "Trouble-Shooting (Debugging)" at https://en.opensuse.org/SDB:Configuring_Scanners FYI: Nowadays "xhci_hcd" kernel driver/module issues (a.k.a. "USB 3") are the most often cause of "Error during device I/O", cf. http://lists.alioth.debian.org/pipermail/sane-devel/2016-November/034901.html and follow the links therein. Kind Regards Johannes Meixner -- SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard, Graham Norton - HRB 21284 (AG Nuernberg) -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
[sane-devel] genesys : "Error during device I/O"
on a Canon LIDE 110 under stretch + last genesys (built from git) with : env SANE_DEBUG_DLL=255 scanimage -d genesys --resolution 100 --mode Color >scan100dpi.pnm or : env SANE_DEBUG_DLL=255 scanimage -d genesys >scan100dpi.pnm This could be a "true" hardware problem but the scanner has worked under Windows... Extract from log : ... [dll] sane_get_option_descriptor(handle=0x81be8b50,option=48) [dll] sane_control_option(handle=0x81be8b50,option=10,action=0,value=0x800522c8,info=(nil)) [dll] sane_control_option(handle=0x81be8b50,option=8,action=0,value=0xbfafbaac,info=(nil)) [dll] sane_control_option(handle=0x81be8b50,option=11,action=0,value=0x800522cc,info=(nil)) [dll] sane_control_option(handle=0x81be8b50,option=9,action=0,value=0xbfafbaac,info=(nil)) [dll] sane_control_option(handle=0x81be8b50,option=8,action=0,value=0xbfafbb80,info=(nil)) [dll] sane_get_option_descriptor(handle=0x81be8b50,option=10) [dll] sane_control_option(handle=0x81be8b50,option=10,action=1,value=0xbfafcb80,info=0xbfafbaac) [dll] sane_control_option(handle=0x81be8b50,option=9,action=0,value=0xbfafbb80,info=(nil)) [dll] sane_get_option_descriptor(handle=0x81be8b50,option=11) [dll] sane_control_option(handle=0x81be8b50,option=11,action=1,value=0xbfafcb80,info=0xbfafbaac) [dll] sane_start(handle=0x81be8b50) scanimage: sane_start: Error during device I/O [dll] sane_cancel(handle=0x81be8b50) [dll] sane_close(handle=0x81be8b50) [dll] sane_exit: exiting [dll] sane_exit: calling backend `genesys's exit function [dll] sane_exit: finished Is there a way to have more information...? Thanks Pierre Couderc -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org