Comment 22 for bug 24946

Revision history for this message
Flo (doc-nice) wrote :

I think this is no dup of the scanner group problem, as even root cannot scan:

This seems to exist for any usb scanner, as some searching showed me.
I have the same problem using a brother mfc-215c (brother native backend).

It worked like a charm util i did a (debian) update. Now the same error occurs: failed to start scanner: invalid argument

scanimage returns:
[code]
scanimage: sane_start: Invalid argument
[/code]

and strace scanimage shows this:
[code]
open("/dev/bus/usb/001/002", O_RDWR) = 181
ioctl(181, USBDEVFS_SETCONFIGURATION, 0xbffdff94) = -1 EBUSY (Device or resource busy)
ioctl(181, USBDEVFS_CLEAR_HALT, 0xbffdff94) = 0
ioctl(181, USBDEVFS_CLAIMINTERFACE, 0xbffdffc4) = 0
[/code]

maybe also a bug in libusb?

lsusb output is:
[code]
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04f9:0193 Brother Industries, Ltd MFC-215C
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[/code]