Hi Nicolas, <br><br>Yes we ran through some debug and I think reached the point where we were both out of ideas :)<br><br>I was sort-of hoping that this latest pixma issue could be related, but I think probably not....<br>
<br>I think I have to do the USB-protocol level analysis, as I don&#39;t think this is an install issue,  but I&#39;ve not had much free time recently.<br><br>Also the windows USB-snoop applications don&#39;t dump in a format that is suitable for diffing with the Linux usbmon output, so I&#39;ve been trying to understand how other developers perform this analysis.  It seems to me that manual analysis is time-consuming and error-prone.<br>
<br>A script in the experimental tree was mentioned to clean up the usbsniff output, so I will give that a try next.<br><br>Thanks,<br><br>Steve<br><br><br><br><div class="gmail_quote">2009/2/28 Nicolas Martin <span dir="ltr">&lt;<a href="mailto:nicolas.martin@freesurf.fr">nicolas.martin@freesurf.fr</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">This lead to some direct exchanges between us a while back, but it looks<br>
to me more like some low level usb issue between the MF4660 scanner and<br>
libusb ?<br>
The scanner stops responding at some point, but all the pixma backend<br>
messages exchanged look identical to those in the Win Snoop.<br>
So don&#39;t understand yet what can be the fail reason.<br>
If you can have a look at a usb port monitoring, that may probably help.<br>
<br>
Nicolas<br>
<br>
Le jeudi 26 février 2009 à 18:13 +0000, Steve Hardy a écrit :<br>
<div><div></div><div class="Wj3C7c">&gt; Ok, thanks for the clarification, I discovered that there was a<br>
&gt; duplicate /etc/sane.d directory in /usr/etc.  I ran the sane &quot;make<br>
&gt; install&quot; to overwrite my installed sane library, which probably<br>
&gt; explains it - I have now removed the original sane package completely,<br>
&gt; then reinstalled from CVS and my scanner still hangs up.<br>
&gt;<br>
&gt; The steps I see are :<br>
&gt;<br>
&gt; 1 - Start scanimage -T<br>
&gt; 2 - Scan head moves to the &quot;start scan&quot; position<br>
&gt; 3 - Scan head cycles through colours (light on/off)<br>
&gt; 4 - Scan head starts scan pass, but then stops about 1/3 of the way<br>
&gt; accoss the page.<br>
&gt; 5 - Scan head returns to &quot;start scan&quot; position<br>
&gt; 6 - Scanner is unresponsive (returns -ETIMEDOUT to everything) until<br>
&gt; USB cable is removed and replaced or scanner is power cycled.<br>
&gt;<br>
&gt; I have taken usb sniffs from windows and I can&#39;t spot any significant<br>
&gt; differences, but comparing the usbsniff format with the usbmon capture<br>
&gt; is pretty difficult.<br>
&gt;<br>
&gt; When I have more time I plan to hack the usbsniff code so it will<br>
&gt; output in a format that&#39;s diffable with usbmon, and put some more<br>
&gt; debug into scanimage to try and spot where the problem occurs.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2009/2/25 Gleb Baryshev &lt;<a href="mailto:gleb.baryshev@gmail.com">gleb.baryshev@gmail.com</a>&gt;<br>
&gt;         Steve Hardy wrote:<br>
&gt;         &gt; I have similar problems to this with the pixma backend and a<br>
&gt;         Canon<br>
&gt;         &gt; MF4660 - only my MFP *always* returns the -ETIMEOUT response<br>
&gt;         after<br>
&gt;         &gt; moving the scan head to the end of the panel in preparation<br>
&gt;         for the scan.<br>
&gt;<br>
&gt;<br>
&gt;         I can&#39;t yet define exactly what actions hang up my scanner. At<br>
&gt;         least,<br>
&gt;         when I scan continuously, using the same program, all work<br>
&gt;         well.<br>
&gt;         By the way, successful scanning adds three lines like this to<br>
&gt;         the kernel<br>
&gt;         ring buffer:<br>
&gt;         usb 1-1: usbfs: interface 1 claimed by usblp while &#39;xsane&#39;<br>
&gt;         sets config #1<br>
&gt;         (or &#39;scanimage&#39; instead of &#39;xsane&#39;)<br>
&gt;<br>
&gt;         Dennis Lou wrote:<br>
&gt;         &gt; If you keep reading, Gleb solved his problem by manually<br>
&gt;         removing his old version of sane prior to re-installing a<br>
&gt;         fresh CVS version (apparently automated package removal wasn&#39;t<br>
&gt;         doing a complete job).   Perhaps that will also solve your<br>
&gt;         problem being that you two are experiencing similar things?<br>
&gt;<br>
&gt;<br>
&gt;         Actually, removing of old files was aimed to solve a problem<br>
&gt;         when<br>
&gt;         scanimage and xsane could only be run<br>
&gt;         from /usr/local/etc/sane.d (i.e.<br>
&gt;         scanimage couldn&#39;t find the scanner, but after &#39;cd<br>
&gt;         /usr/local/etc/sane.d&#39; it could). At first it helped, but<br>
&gt;         after reboot<br>
&gt;         only xsane could run from anywhere. This isn&#39;t a big problem,<br>
&gt;         but the<br>
&gt;         fact remains.<br>
&gt;<br>
&gt;<br>
&gt;         Gleb<br>
&gt;<br>
&gt;         --<br>
&gt;         sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
&gt;         <a href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>
&gt;         Unsubscribe: Send mail with subject &quot;unsubscribe<br>
&gt;         your_password&quot;<br>
&gt;                     to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Steve Hardy<br>
&gt;<br>
&gt; Applied Realtime Systems Limited<br>
&gt; <a href="http://www.appliedrealtime.co.uk" target="_blank">www.appliedrealtime.co.uk</a><br>
&gt; Tel  : 0845 8678251<br>
&gt; Fax : 0845 8678241<br>
</div></div>&gt; --<br>
<div><div></div><div class="Wj3C7c">&gt; sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
&gt; <a href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>
&gt; Unsubscribe: Send mail with subject &quot;unsubscribe your_password&quot;<br>
&gt;              to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
<br>
</div></div></blockquote></div><br>