(Sorry for language errors, my natural language is
spanish and my english is little)
I have a Debian SID system.
I did every steps.
I did installed sane 1.0.5-3 from SID distribution of
Debian.
I downloaded firmware from agfa.com and copy this in
/etc/scanner/Snape20.bin
In /etc/sane.d/snapscan.conf i put:
/dev/usbscanner
firmware /etc/scanner/Snape20.bin
I recompile kernel with option "m" in CONFIG_USB_SCANNER.
kernel version: 2.4.17
then
scanimage
[sanei_debug] Setting debug level of snapscan to 2.
[snapscan] add_device: error opening device
/dev/usbscanner: Invalid argument
scanimage: no SANE devices found
Logged In: NO
Hi,
sane-1.0.5 does not support the automatic downloading of
the firmware. You'll need to run "agfafirm" manually.
However, since sane-1.0.5 contains a number of other bugs
in the snapscan backend I recomend to upgrade to sane-1.0.7.
Concerning the "invalid argument" error: Did you specify
the vendor and product id while loading the scanner module?
Also check the permissions on /dev/usbscanner. If none of
this helps, increase the debug level to 255 and send me
(oliverschwartz@users.sourceforge.net) the output.
Regards,
Oliver
Logged In: NO
I am running Mandrake 8.1 and have the same problem
sane-1.0.8 all commands run as root
debug=2
[snapscan] sane_snapscan_open: waiting for scanner to warm up.
[snapscan] sense_handler: Hardware error. (0x90, 0x00)
[snapscan] test_unit_ready: snapscan_cmd command failed:
Error during device I/O
[snapscan] wait_scanner_ready: hardware error detected.
[snapscan] sane_snapscan_open: error waiting for scanner to
warm up: Error during device I/O
scanimage: open of device snapscan:/dev/usb/scanner0 failed:
Error during device I/O
snape20.bin uploads - output of
agfafitm -v /dev/usb/scanner0 snape20.bin
Scanner Information (from scanner)
Vendor: AGFA
Version: 0060
Model: SNAPSCAN e20
Firmware date: Thu Jun 29 2000 12:58
Firmware is up to date.
ls -l =
crw------- 1 baggypants usb 180, 48 Jan 1 1970
scanner0
baggypants is a normal user,
what should the permissions be?
Logged In: YES
user_id=89371
Hi,
this is a different problem. The scanner reports a hardware problem. From
my docs the error code means "Line motor error" and "Lamp or CCD
error". Are you sure your scanner is o.k.? Maybe you have to remove the
transportation lock?
The permissions on /dev/usb/scanner0 are o.k if user baggypants is the only
user that may access the scanner. Otherwise you can allow global read /
write access to the device. You can also create a new group, add group
read / write access to the device and add all scanner users to the group.
Regards,
Oliver
Logged In: YES
user_id=89371
Hi,
this is a different problem. The scanner reports a hardware problem. From
my docs the error code means "Line motor error" and "Lamp or CCD
error". Are you sure your scanner is o.k.? Maybe you have to remove the
transportation lock?
The permissions on /dev/usb/scanner0 are o.k if user baggypants is the only
user that may access the scanner. Otherwise you can allow global read /
write access to the device. You can also create a new group, add group
read / write access to the device and add all scanner users to the group.
Regards,
Oliver