<div dir="ltr">No, I'm not getting any error messages in dmesg, just the registration:<div><br></div><div><div><font face="monospace, monospace">[ 6674.588453] usb 3-3.3: new high-speed USB device number 30 using xhci_hcd</font></div><div><font face="monospace, monospace">[ 6674.677625] usb 3-3.3: New USB device found, idVendor=04a9, idProduct=1608</font></div><div><font face="monospace, monospace">[ 6674.677632] usb 3-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0</font></div><div><font face="monospace, monospace">[ 6674.677636] usb 3-3.3: Product: CANON DR-2580C </font></div><div><font face="monospace, monospace">[ 6674.677654] usb 3-3.3: Manufacturer: CANON</font></div></div><div><br></div><div>Would that point to a libusb bug?</div><div><br></div><div>I've on which packages the sane package on nixos depends.</div><div>I believe the relevant versions are:<br></div><div><br></div><div><div><div>libusb-1.0.19</div><div>libusb-compat-0.1.5</div><div>sane-backends-1.0.24.73-g6c4f6bc</div></div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-18 22:25 GMT+02:00 m. allan noah <span dir="ltr"><<a href="mailto:kitno455@gmail.com" target="_blank">kitno455@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">That message implies a kernel or libusb bug. Do you see any errors<br>
around that time when you run dmesg?<br>
<br>
allan<br>
<br>
On Sat, Jun 18, 2016 at 3:47 PM, Maarten Hoogendoorn <<a href="mailto:maarten@moretea.nl">maarten@moretea.nl</a>> wrote:<br>
> Hi all,<br>
><br>
> I've some problems with my ADF scanner. It's a Canon DR-2580C.<br>
><br>
> Scanning works fine, as in: the pnm files get created and contain valid<br>
> content, but scanimage does not terminate! It hangs after the following<br>
> warning:<br>
><br>
> libusb: warning [libusb_close] internal signalling write failed, closing<br>
> anyway<br>
><br>
> Some background information:<br>
><br>
> I'm running nixos-unstable.<br>
><br>
> $ scanimage -V<br>
> scanimage (sane-backends) 1.0.25git; backend version 1.0.25<br>
><br>
> $ scanimage -L<br>
> device `v4l:/dev/video0' is a Noname Integrated Camera virtual device<br>
> device `canon_dr:libusb:003:013' is a CANON DR-2580C scanner<br>
><br>
> $ cat /sys/bus/usb/devices/3-2.2/power/control<br>
> on<br>
><br>
> ==> I don't believe that this is cause by usb autosuspend<br>
><br>
> Furthermore, I had the scanner connected directly to my Thinkpad's USB port<br>
><br>
> $ SANE_DEBUG_CANON_DR=30 scanimage -d 'canon_dr:libusb:003:013'<br>
> --resolution=300 > 2580-1.pnm 2>2580-1.log<br>
><br>
> This just hangs. The 2580-1.log can be found in [1], but I have included the<br>
> last few lines of the log below:<br>
><br>
> [canon_dr] sane_cancel: finish<br>
> [canon_dr] sane_close: start<br>
> [canon_dr] disconnect_fd: start<br>
> [canon_dr] disconnecting usb device<br>
> libusb: warning [libusb_close] internal signalling write failed, closing<br>
> anyway<br>
><br>
> Do you have any clue what might be the problem?<br>
><br>
> Thanks,<br>
> Maarten<br>
><br>
> [1] <a href="http://maarten-hoogendoorn.nl/public-uploads/sane/2580-1.log" rel="noreferrer" target="_blank">http://maarten-hoogendoorn.nl/public-uploads/sane/2580-1.log</a><br>
<span class="HOEnZb"><font color="#888888">><br>
> --<br>
> sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel" rel="noreferrer" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel</a><br>
> Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
> to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
<br>
<br>
<br>
--<br>
"well, I stand up next to a mountain- and I chop it down with the edge<br>
of my hand"<br>
</font></span></blockquote></div><br></div>