[sane-devel] [Fwd: Having problems seeing an Agfa Snapscan e52]

Jerry Seutter jseutter@thegeeks.net
Wed, 20 Mar 2002 11:09:22 -0700 (MST)


-------- Original Message --------
Subject: Having problems seeing an Agfa Snapscan e52
From: "Jerry Seutter" <jseutter@thegeeks.net>
Date: Tue, March 19, 2002 8:00 pm
To: <sane-devel@mostang.com>

Hello,
I am trying to get an Agfa Snapscan e52 working with sane. The snapscan
backend homepage says that it partially works with this scanner.  I am
wondering what I am doing wrong.

Here is some information that you may find helpful:

outback:/home/yello# cat /proc/bus/usb/devices
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 4
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB OHCI Root Hub
S:  SerialNumber=c00dc000
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=   2 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  5 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs=  1
P:  Vendor=06bd ProdID=20fd Rev= 0.38
S:  Manufacturer=AGFA
S:  Product= SNAPSCAN e52
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) 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

As you can see, the last entry is the Agfa scanner.

I'm using usbmgr to automagically detect devices when they are plugged
in. There was no line for this product id in the configuration file
(/etc/usbmgr/usbmgr.conf), so I added the following line:

# Added by me!
vendor 0x06bd product 0x20fd module scanner

Detection seems to work okay, usbmgr beeps when I plug the scanner in.
USB debug output says it loaded the scanner module correctly.  I am
running a 2.4.18 kernel on an SMP Athlon system, debian unstable install.

I wasn't quite sure what I should do about devices, so I looked through
the mailing list archives and tried:

mknod /dev/usbscanner0 c 180 48
ln -s /dev/usbscanner0 /dev/usbscanner
chmod 666 /dev/usbscanner0

Then I tried an actual command:

outback:/dev# SANE_DEBUG_SNAPSCAN=255 scanimage -L
[sanei_debug] Setting debug level of snapscan to 255.
[snapscan] sane_snapscan_init
[snapscan] sane_snapscan_init: Snapscan backend version 1.4.7
[snapscan] add_device(/dev/sg0)
[snapscan] add_device: Detected (kind of) a SCSI device
[snapscan] add_device: error opening device /dev/sg0: Invalid argument
[snapscan] sane_snapscan_get_devices (0xbffff6e8, 0)

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[snapscan] sane_snapscan_exit

The command sane-find-scanner does not find any scanners either.


To me it looks like the snapscan is finding some sort of SCSI device, my
cd-rw perhaps?

Does anyone know what else I could try?

Jerry


---------------------------------
Jerry Seutter

Email: yello@thegeeks.net
Email: jseutter@thegeeks.net
Email: jerry.seutter@thegeeks.net
(Yes, it's all here just to confuse you, and all because I can never
remember my own email address.)
---------------------------------


---------------------------------
Jerry Seutter

Email: yello@thegeeks.net
Email: jseutter@thegeeks.net
Email: jerry.seutter@thegeeks.net
(Yes, it's all here just to confuse you, and all because I can never
remember my own email address.)
---------------------------------