[sane-devel] Fwd: Canon DR-2580C commands hang with libusb: warning [libusb_code] ...
Maarten Hoogendoorn
maarten at moretea.nl
Sun Jun 19 22:25:56 UTC 2016
No, I'm not getting any error messages in dmesg, just the registration:
[ 6674.588453] usb 3-3.3: new high-speed USB device number 30 using xhci_hcd
[ 6674.677625] usb 3-3.3: New USB device found, idVendor=04a9,
idProduct=1608
[ 6674.677632] usb 3-3.3: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[ 6674.677636] usb 3-3.3: Product: CANON DR-2580C
[ 6674.677654] usb 3-3.3: Manufacturer: CANON
Would that point to a libusb bug?
I've on which packages the sane package on nixos depends.
I believe the relevant versions are:
libusb-1.0.19
libusb-compat-0.1.5
sane-backends-1.0.24.73-g6c4f6bc
2016-06-18 22:25 GMT+02:00 m. allan noah <kitno455 at gmail.com>:
> That message implies a kernel or libusb bug. Do you see any errors
> around that time when you run dmesg?
>
> allan
>
> On Sat, Jun 18, 2016 at 3:47 PM, Maarten Hoogendoorn <maarten at moretea.nl>
> wrote:
> > 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
> >
> > --
> > sane-devel mailing list: sane-devel at lists.alioth.debian.org
> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> > Unsubscribe: Send mail with subject "unsubscribe your_password"
> > to sane-devel-request at lists.alioth.debian.org
>
>
>
> --
> "well, I stand up next to a mountain- and I chop it down with the edge
> of my hand"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20160620/ab3e9b6c/attachment.html>
More information about the sane-devel
mailing list