<div dir="ltr"><div><div>Hi Rolf,<br></div>here the dump with the higher Debug-Levels. I interrupt after pressing the "COLOR" Scan-Button and the second timout.<br><br></div>regards Matthias<br><div><br>        Width of scan-area.<br>
    -y auto|0..297.011mm [297.011]<br>        Height of scan-area.<br>  Buttons:<br>    --button-update<br>        Update button state<br>[sanei_usb] sanei_usb_read_int: trying to read 64 bytes<br>[sanei_usb] sanei_usb_read_int: wanted 64 bytes, got 32 bytes<br>
[sanei_usb] 000 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 ................<br>[sanei_usb] 010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................<br>[pixma] INTR T=1.432 len=32<br>[pixma]  00000000:00 00 00 01 00 00 00 00  00 00 00 00 00 00 00 00 <br>
[pixma]  00000010:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma] <br>[pixma] Sending time: '13/02/05 23:10'<br>[sanei_usb] sanei_usb_write_bulk: trying to write 36 bytes<br>[sanei_usb] 000 EB 80 00 00 00 00 00 00 00 00 00 00 00 00 00 14 ................<br>
[sanei_usb] 010 31 33 2F 30 32 2F 30 35 20 32 33 3A 31 30 00 00 13/02/05 23:10..<br>[sanei_usb] 020 00 00 00 57                                     ...W            <br>[sanei_usb] sanei_usb_write_bulk: wanted 36 bytes, wrote 36 bytes<br>
[pixma] OUT  T=1.433 len=36<br>[pixma]  00000000:eb 80 00 00 00 00 00 00  00 00 00 00 00 00 00 14 <br>[pixma]  00000010:31 33 2f 30 32 2f 30 35  20 32 33 3a 31 30 00 00 <br>[pixma]  00000020:00 00 00 57 <br>[pixma] <br>[sanei_usb] sanei_usb_read_bulk: trying to read 8 bytes<br>
[sanei_usb] sanei_usb_read_bulk: read failed: Resource temporarily unavailable<br>[pixma] IN   T=21.436 len=-9<br>[pixma]   ERROR: ETIMEDOUT<br>[pixma] <br>[pixma] No response yet. Timed out in 8 sec.<br>[sanei_usb] sanei_usb_read_bulk: trying to read 8 bytes<br>
^C<br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/2/5 Rolf Bensch <span dir="ltr"><<a href="mailto:rolf@bensch-online.de" target="_blank">rolf@bensch-online.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Matthias,<br>
<br>
Sorry for my last email relating to USB and LAN. I mixed the emails up<br>
in my daily digest. Please set me to cc if you send a response to the list.<br>
<br>
Anyway, it seems that your scanner answers the USB interrupt request and<br>
the post process data handling sticks in setting your scanner's clock.<br>
<br>
So I need the debug info with 'export SANE_DEBUG_PIXMA=21' and<br>
'export SANE_DEBUG_SANEI_USB=255' to fix this issue.<br>
<br>
By now I'm only interested in the lines between "Buttons:" and "Extras:".<br>
<br>
Cheers,<br>
Rolf<br>
<br>
<br>
<br>
Am 05.02.2013 18:19, schrieb Matthias Thon:<br>
<div class="HOEnZb"><div class="h5">> Hi Rolf,<br>
><br>
> now hopefully the right debug information. Now after starting scanimage<br>
> -A , it waits for the button information. I try different buttons<br>
> (black, color) Changed before from JPEG to PDF or TIFF but scanimage<br>
> waits till timeout. See the output.<br>
><br>
> regards Matthias<br>
><br>
><br>
> root@matze-Satellite-C660:/usr/local/src/sane-backends-git/sane-backends# scanimage<br>
> -V<br>
> scanimage (sane-backends) 1.0.24git; backend version 1.0.24<br>
> root@matze-Satellite-C660:/usr/local/src/sane-backends-git/sane-backends# scanimage<br>
> -A<br>
> [sanei_debug] Setting debug level of pixma to 7.<br>
> [pixma] pixma is compiled without pthread support.<br>
> [pixma] pixma version 0.17.0<br>
> [pixma] pixma_collect_devices() found Canon PIXMA MG6200 at libusb:002:005<br>
> [pixma] sanei_bjnp_find_devices:<br>
> [pixma] eth0 is IPv4 capable, sending broadcast, socket = 3<br>
> [pixma] wlan0 is IPv4 capable, sending broadcast, socket = 4<br>
> [pixma] eth0 is IPv6 capable, sending broadcast, socket = 5<br>
> [pixma] wlan0 is IPv6 capable, sending broadcast, socket = 6<br>
> [pixma] pixma_find_scanners() found 1 devices<br>
> [pixma] pixma_collect_devices() found Canon PIXMA MG6200 at libusb:002:005<br>
> [pixma] sanei_bjnp_find_devices:<br>
> [pixma] eth0 is IPv4 capable, sending broadcast, socket = 3<br>
> [pixma] wlan0 is IPv4 capable, sending broadcast, socket = 4<br>
> [pixma] eth0 is IPv6 capable, sending broadcast, socket = 5<br>
> [pixma] wlan0 is IPv6 capable, sending broadcast, socket = 6<br>
> [pixma] pixma_open(): Canon PIXMA MG6200<br>
><br>
> All options specific to device `pixma:04A91755_14B4F6':<br>
>   Scan mode:<br>
>     --resolution auto||75|150|300|600|1200|2400|4800dpi [75]<br>
>         Sets the resolution of the scanned image.<br>
>     --mode auto|Color|Gray|Lineart [Color]<br>
>         Selects the scan mode (e.g., lineart, monochrome, or color).<br>
>     --source Flatbed [Flatbed]<br>
>         Selects the scan source (such as a document-feeder). Set source<br>
> before<br>
>         mode and resolution. Resets mode and resolution to auto values.<br>
>     --button-controlled[=(yes|no)] [no]<br>
>         When enabled, scan process will not start immediately. To proceed,<br>
>         press "SCAN" button (for MP150) or "COLOR" button (for other<br>
> models).<br>
>         To cancel, press "GRAY" button.<br>
>   Gamma:<br>
>     --custom-gamma[=(auto|yes|no)] [yes]<br>
>         Determines whether a builtin or a custom gamma-table should be used.<br>
>     --gamma-table auto|0..255,...<br>
>         Gamma-correction table.  In color mode this option equally<br>
> affects the<br>
>         red, green, and blue channels simultaneously (i.e., it is an<br>
> intensity<br>
>         gamma table).<br>
>     --gamma auto|0.299988..5 [2.2]<br>
>         Changes intensity of midtones<br>
>   Geometry:<br>
>     -l auto|0..216.069mm [0]<br>
>         Top-left x position of scan area.<br>
>     -t auto|0..297.011mm [0]<br>
>         Top-left y position of scan area.<br>
>     -x auto|0..216.069mm [216.069]<br>
>         Width of scan-area.<br>
>     -y auto|0..297.011mm [297.011]<br>
>         Height of scan-area.<br>
>   Buttons:<br>
>     --button-update<br>
>         Update button state<br>
> [pixma] Sending time: '13/02/05 18:12'<br>
> [pixma] No response yet. Timed out in 8 sec.<br>
> [pixma] No response yet. Timed out in 7 sec.<br>
> [pixma] No response yet. Timed out in 6 sec.<br>
> [pixma] No response yet. Timed out in 5 sec.<br>
> [pixma] No response yet. Timed out in 4 sec.<br>
> [pixma] No response yet. Timed out in 3 sec.<br>
> [pixma] No response yet. Timed out in 2 sec.<br>
> [pixma] No response yet. Timed out in 1 sec.<br>
> [pixma] WARNING: Error in response phase. cmd:eb80<br>
> [pixma]   If the scanner hangs, reset it and/or unplug the USB cable.<br>
>     --button-1 <int> [0] [read-only]<br>
>         Button 1<br>
>     --button-2 <int> [0] [read-only]<br>
>         Button 2<br>
>     --original <int> [0] [read-only]<br>
>         Type of original to scan<br>
>     --target <int> [0] [read-only]<br>
>         Target operation type<br>
>   Extras:<br>
>     --threshold auto|0..100% (in steps of 1) [inactive]<br>
>         Select minimum-brightness to get a white point<br>
>     --threshold-curve auto|0..127 (in steps of 1) [inactive]<br>
>         Dynamic threshold curve, from light to dark, normally 50-65<br>
><br>
> [pixma] pixma_close(): Canon PIXMA MG6200<br>
> root@matze-Satellite-C660:/usr/local/src/sane-backends-git/sane-backends#<br>
><br>
</div></div></blockquote></div><br></div>