
John McPherson <jrm(a)wlug.org.nz> wrote:
On Tue, Feb 02, 2010 at 02:52:07PM +1300, Zed wrote:
Ran xSane again and got the error message: Failed to open device 'snapscan:lisusb:002:00': Error during device I/O
@zed-desktop ~ $ scanimage -L device `snapscan:libusb:002:004' is a Acer FlatbedScanner23 flatbed scanner
SANE Message. IO Error while cxommunicating with the device.
I have a scanner that used to mis-behave. The problem started when the linux kernel added support for powering down usb ports as a power-saving feature - some USB devices didn't quite fully adhere to the USB spec and weren't doing whatever they were supposed to do to prevent the power-saving mode from being activated.
The linux kernel now has a blacklist of usb vendor/model IDs so that it doesn't activate the power-saving mode of the USB port when my scanner is plugged in.
So firstly - how old is your kernel? This was fixed for me at least a year ago, so if you have a fairly recent kernel then maybe your problem is unrelated.
v2.6.31 - default for LinuxMint v8.0
Secondly, when I had an affected kernel, I couldn't use apps that used the SANE libraries (like the gimp plugin or xsane), but I could scan ok from the command line using 'scanimage'. Maybe you can try scanning from the command line - if it still fails, then you can at least rule out the USB port power-saving problem that I experienced...
scan image gives: zed(a)zed-desktop ~ $ scanimage scanimage: sane_start: Error during device I/O Segmentation fault It's the first time the words "segmentation fault" have appeared. Means nothing to me, but it may do to someone else. I hope :-) Zed -- Zed Bother!"" said Pooh, as Windows swapped out again