[sane-devel] Acer 640U (Was: Unable to access minor data)

El Zorro elzorro@uol.com.co
Sat, 02 Nov 2002 23:39:53 -0500


Hi Henning,

Some months after I have time to try agian to configure SANE to work 
with my Acer ScanPrisa 640 U Scanner. Now I have Mandrake 9.0 and sane 1.0.9

Henning Meier-Geinitz wrote:

>> 
>>"scanimage -d snapscan:/dev/usb/scanner0"  I got the following:
>>scanimage: open of device snapscan:/dev/usb/scanner0 failed: Invalid 
>>argument
>>    
>>
>
>Does "scanimage -L" list anything? Maybe you need to edit
>snapscan.conf and enter the file name of the firmware file? See man
>sane-snapscan for details.
>  
>
'scanimage -L' gives me the following:

device 'snapscan:/dev/usb/scanner0' is a Acer FlatbedScanner16 flat bed 
scanner

I found on Internet that file u64v119.bin is the firmware for this 
scanner, so I changed snapscan.conf file entering the address and name 
of this file (/mnt/win_c/windows/usbbin/u64v119.bin).

However wen I run scanimage -d snapscan:/dev/usb/scanner0  the scanner 
start to make some noise and I got the following:

scanimage: sane_start: Error during device I/O

Also I made a directory /home/myname/driverscanner.bin/ and placed here 
the firmware file and changed again the address in snapscan.conf file. 
By the way I made 'chmod 777 snapscan.conf' and 'chmod 777 u64v119.bin' 
in both addresses, but the answer is the same.

>When you run "SANE_DEBUG_SNAPSCAN=255 scanimage -L" you or the
>snapscan developers may get a clue what's wrong.
>
I got the following:

[sanei_debug] Setting debug level of snapscan to 255.
[snapscan] sane_snapscan_init
[snapscan] sane_snapscan_init: Snapscan backend version 1.4.17
[snapscan] add_usb_device(/dev/usb/scanner0)
[snapscan] add_usb_device: Detected (kind of) an USB device
[snapscan] snapscani_usb_open(/dev/usb/scanner0)
[snapscan] add_usb_device: Checking if 0x04a5 is a supported USB vendor ID
[snapscan] snapscani_check_device()
[snapscan] mini_inquiry
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbfffde50,6,0xbfffde20,0xbfffde1c (36))
[snapscan] atomic_usb_cmd(0,0xbfffde50,6,0xbfffde20,0xbfffde1c (36))
[snapscan] usb_cmd(0,0xbfffde50,6,0xbfffde20,0xbfffde1c (36))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x12 0x00 0x00 0x00 0x24 0x00
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] usb_read: reading:  0x06 0x00 0x02 0x02 0x49 0x00 0x00 0x00 
0x43 0x6f                                                               ...
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] snapscani_check_device: Is vendor "Color" model 
"FlatbedScanner13" 
a                                                               
supported scanner?
[snapscan] snapscani_get_model_id(FlatbedScanner13, 0, 2)
[snapscan] snapscani_get_model_id: looking up scanner for ID 0x04a5,0x2060.
[snapscan] snapscani_check_device: Autodetected driver: Acer620
[snapscan] snapscani_usb_close(0)
[snapscan] snapscani_init_device_structure()
[snapscan] sane_snapscan_get_devices (0xbffff4a8, 0)
[snapscan] sane_snapscan_exit

What may I do to start working with my scanner?

Thanks in advance for your help,
El Zorro