Configuration of Agfa e20 usb snapscan scanner on Mandrake Linux 8.1

I just got my e20 agfa snapscan usb to work on linux (Mandrake 8.1) following the instructions in URLs
Snapscan on Source forge
Henrik's home page

My system is running Linux Mandrake 8.1 and the scanner seems to work fine using the firmware supplied on the CD coming with the scanner (snape20.bin). Without the firmware upload xsane does not find the scanner.
Remark: the scanner works without firmware upload if it has been used on windows before and not powered down since.

To use the scanner I follow this sequence
1) Boot the machine
2) Power up the scanner
3) modprobe scanner vendor=0x06bd product=0x2091
4) agfafirm  -v /dev/usbscanner snape20.bin
After step 4) the green light on the scanner flashes for a few seconds and the scanner head moves

I got the firmware from the agfa install disk (it was called snape20.bin and I also found it in windows/system on my windows partition after installing on windows).

The output from agfafirm -v /dev/usbscanner snape20.bin was



Firmware Information (from file)
        Chip:          7107U
        Vendor:        AGFA
        Version:       0.62
        Model:         SNAPSCAN_e20
        Firmware date: Tue Nov 14 2000 14:14
        Size:          30149

Uploading new firmware...
Done!
Scanner Information (from scanner)
        Vendor:        AGFA
        Version:       0062
        Model:         SNAPSCAN e20
        Firmware date: Tue Nov 14 2000 14:14


Log file and debugging outputs:


tail /var/log/messages

Dec 30 22:48:04 localhost kernel: hub.c: USB new device connect on bus1/2, assigned device number 2
Dec 30 22:48:04 localhost kernel: usb.c: USB device 2 (vend/prod 0x6bd/0x2091) is not claimed by any active driver.
Dec 30 22:48:04 localhost /etc/hotplug/usb.agent: ... no drivers for USB product 6bd/2091/100
Dec 30 22:48:33 localhost kernel: usb.c: registered new driver usbscanner
Dec 30 22:48:33 localhost kernel: scanner.c: probe_scanner: User specified USB scanner -- Vendor:Product - 6bd:2091
Dec 30 22:48:33 localhost kernel: scanner.c: USB Scanner support registered.

cat /etc/sane.d/snapscan.conf

usb AGFA
/dev/usbscanner


 cat /etc/sane.d/dll.conf

snapscan


ls -la /dev/usbscanner

crw-------    1 billy    root     180,  48 Dec 25 22:07 /dev/usbscanner


cat /proc/bus/usb/devices

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=d800
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 17/900 us ( 2%), #Int= 1, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=d400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs= 1
P: Vendor=06bd ProdID=2091 Rev= 0.62
S: Manufacturer=AGFA
S: Product= SNAPSCAN e20
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbscanner
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 8 Ivl= 0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl= 16ms

cat /proc/bus/usb/drivers

usbdevfs
hub
0- 15: usblp
48- 63: usbscanner

scanimage -L

device `snapscan:/dev/usbscanner' is a AGFA SNAPSCAN e20 flatbed scanner

Links:

Joachim Tuens page (in German) explains how he configured his snapscan e20 usb on Suse Linux
Eric Bénard's page (in French) explains how he configured his USB AGF SnapScan 1212U on Linux
Jonathan's usb scanner site
Joey's page explains more about firmware
David Nelson's page explains more the kernel usb driver
  Sane site gives more information about the sane software for scanners under linux
Linux-usb.org site gives more information about USB in linux
Explains how to get supported USB scanners working well on ML8.1
Rodzilla's page on Agfa Snapscan e25 (French)

Feedback or suggestions on this site:

Please contact me at William Stinson

Disclaimer:

The information on this site worked for me. It may or may not work on your hardware.
Happy scanning!.