[sane-devel] Fwd: Canon DR-2580C commands hang with libusb: warning [libusb_code] ...

Maarten Hoogendoorn maarten at moretea.nl
Sat Jun 18 19:47:00 UTC 2016


Hi all,

I've some problems with my ADF scanner. It's a Canon DR-2580C.

Scanning works fine, as in: the pnm files get created and contain valid
content, but scanimage does not terminate! It hangs after the following
warning:

libusb: warning [libusb_close] internal signalling write failed, closing
anyway

Some background information:

I'm running nixos-unstable.

$ scanimage -V
scanimage (sane-backends) 1.0.25git; backend version 1.0.25

$ scanimage -L
device `v4l:/dev/video0' is a Noname Integrated Camera virtual device
device `canon_dr:libusb:003:013' is a CANON DR-2580C scanner

$ cat /sys/bus/usb/devices/3-2.2/power/control
on

==> I don't believe that this is cause by usb autosuspend

Furthermore, I had the scanner connected directly to my Thinkpad's USB port

$ SANE_DEBUG_CANON_DR=30 scanimage -d 'canon_dr:libusb:003:013'
--resolution=300 > 2580-1.pnm 2>2580-1.log

This just hangs. The 2580-1.log can be found in [1], but I have included
the last few lines of the log below:

[canon_dr] sane_cancel: finish
[canon_dr] sane_close: start
[canon_dr] disconnect_fd: start
[canon_dr] disconnecting usb device
libusb: warning [libusb_close] internal signalling write failed, closing
anyway

Do you have any clue what might be the problem?

Thanks,
Maarten

[1] http://maarten-hoogendoorn.nl/public-uploads/sane/2580-1.log
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20160618/152a3493/attachment.html>


More information about the sane-devel mailing list