<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Sorry, which program?<div><br></div><div><div><div>On Jan 17, 2013, at 12:19 PM, Rolf Bensch <<a href="mailto:rolf@bensch-online.de">rolf@bensch-online.de</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Dan,<br><br>It could be helpful if you sniff the usb protocols on a Windows machine.<br>Then I can compare them with Sane and patch it. Please use this program:<br> <a href="http://www.sane-project.org/README.linux">http://www.sane-project.org/README.linux</a> and scan a small area of<br>approx. 5mm x 5mm @ 75 dpi to reduce the logfile size.<br><br>Cheers,<br>Rolf<br><br><br>Am 17.01.2013 21:10, schrieb Dan Duvall:<br><blockquote type="cite">(Sorry, sent again. Forgot to CC the list.)<br><br>I'm still seeing the same behavior after recompiling without pthread support (through, looking at `configure --help`, it says this is the default under OSes other than OS X).<br><br>One other thing that I forgot to mention is that this first-scan-works-second-scan-hangs behavior is following a power cycle of the scanner. Also, if I power off the scanner while it's timing out on the second scan—which is what people in the office tend to do—it sends scanimage into an infinite loop. I've frequently seen several saned processes spiking the CPU on this server which I attribute to this.<br><br>Could an strace or gdb session help diagnose the problem? I'm willing to really dig in given the right direction.<br><br>Thanks for the help!<br>Dan<br><br>On Jan 17, 2013, at 7:33 AM, Rolf Bensch <<a href="mailto:rolf@bensch-online.de">rolf@bensch-online.de</a>> wrote:<br><br><blockquote type="cite">Hi Dan,<br><br>Maybe enabled pthread support is the problem, especially for linux.<br><br>I would upgrade sane on your lenny system to 1.0.24 with pthread support<br>disabled.<br><br>Cheers,<br>Rolf<br><br><br><br>Am 17.01.2013 14:32, schrieb Rolf Bensch:<br><blockquote type="cite"><br><br>Am 16.01.2013 23:35, schrieb Dan Duvall:<br><blockquote type="cite">Hey there,<br><br>I'm having trouble scanning using the pixma backend with a Canon imageClass MF4150 over USB. The first scan always seem to succeed while subsequent attempts timeout.<br><br>These are the commands I'm running.<br><br>SANE_DEBUG_PIXMA%6 scanimage 2> pixma_debug-success.log<br>SANE_DEBUG_PIXMA%6 scanimage 2> pixma_debug-timeout.log<br><br>stderr of each:<br><a href="https://gist.github.com/4551560">https://gist.github.com/4551560</a><br>https://gist.github.com/4551574<br><br>I get this same behavior using sane-backends 1.0.22 on Debian lenny, and 1.0.24 on OS X 10.8.2.<br><br>Any suggestions on how to further debug?<br><br>Thanks!<br>Dan<br><br></blockquote></blockquote></blockquote><br></blockquote></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div>Dan Duvall</div><div>Technical Director</div><div>The Office of Letters and Light</div><div><br></div><div>Love us? Support us!<br>Make a tax-deductible donation to the Office of Letters and Light today.<br><a href="http://store.lettersandlight.org">http://store.lettersandlight.org</a><br></div></div></span></div></span></div></span></span>
</div>
<br></div></body></html>