Which device to use for snapscan/sane scanning?
There are posts in the forums and lists regarding setting up a SnapScan device like my Acer 4300 USB under Linuxes. I read them all and the problme is that they all recommend editing snapscan.conf and setting the device to |dev|usb|scanner0.
I don't have /dev/usb to start with!
Every time I detect the scanner and try scanimage, they do something to the scanner or USB port and next time scanimage will not do anything, just freeze. I have to plug the scanner off and back in to the power outlet. Then it changes the device number.
found USB scanner (vendor=0x04a5 [Color], product=0x20b0 [ FlatbedScanner 22]) at libusb:002:006
Bus 002 Device 006: ID 04a5:20b0 Acer Peripherals Inc. (now BenQ Corp.) S2W 3300U/4300U
# SANE_DEBUG_SNAPSCAN=128 scanimage -L
[snapscan] snapscani_mutex_open: using IPC key 0x20b00206 for device libusb:002:006 (pid 0x20b0, bus 0x02, dev 0x06)
[snapscan] add_usb_device: Checking if 0x04a5 is a supported USB vendor ID
[snapscan] snapscani_check_device: Is vendor "Color" model "FlatbedScanner22" a supported scanner?
[snapscan] snapscani_get_model_id(FlatbedScanner22, 1, 2)
[snapscan] snapscani_get_model_id: looking up scanner for ID 0x04a5,0x20b0.
[snapscan] snapscani_check_device: Autodetected driver: Acer4300 (42 bit)
[snapscan] 1st read 3 write 1
[snapscan] snapscani_usb_cmd(1,0xbfaa7556,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(1,0xbfaa7556,6,0x0,0x0 (0))
[snapscan] usb_cmd(1,0xbfaa7556,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing: 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] 2nd read 4 write 2
[snapscan] sane_snapscan_get_devices (0xbfaa878c, 0)
device `snapscan:libusb:002:006' is a Acer FlatbedScanner22 flatbed scanner
I think I found the problem
After a bunch more trouble-shooting, it has nothing to do with the software.
It's a flaky 5 volt supply from the mother board. Sometimes it works, mostly it doesn't, and it's getting worse. Even sometimes my thumb drives don't work. Anything connected to the power supply directly works fine, but stuff using 5V from the main board is unreliable or doesn't work at all. It's an older unit that worked great until a few months ago when things started getting funny.
Oh well. Thankfully it's a big server case that I can use as an end table. Fancy geek heaven. If I plug it in I even have retractable cup holder and room heater.