plustek@linuxhacker.org

plustek@linuxhacker.org


Subject: Re: [newbie] redhat 8.0 Epson 1260 problems
From: Gerhard Jaeger
Date: Mon, 10 Feb 2003 08:40:04 +0100

Hi,

let's try to enlighten you guys:

On Sonntag, 9. Februar 2003 14:10, Jeroen wrote:
> I installed :
>
> plustek sane-0.4.5.-3 tar.gz
>
> Sane backends-1.0.10.tar.gz

NO NEED TO DO THIS!!! Sane-1.0.10 includes all available updates so far!!!

> iscan 1.5.0.6 i386 rpm

Hmmm, either use iscan or SANE-1.0.10 with the Plustek backend installted
or you will run into trouble as iscan is AFAIK based on an older SANE-Version.

> All this according to the readme files
>
> When i start iscan I get : could not send command to scanner
> When I start xsane I get : no devices available

Ask Epson!

[SNIPSNAP]
> sane-find-scanner gives :
>
> [root@Bp6 root]# sane-find-scanner
>
> # No SCSI scanners found. If you expected something different, make sure
> that
> # you have loaded a SCSI driver for your SCSI adapter.
>
> found USB scanner (vendor=0x04b8 [EPSON], product=0x011d [EPSON
> Scanner]) at libusb:001:004
> # A USB device was detected. This program can't be sure if it's really
> # a scanner. If it is your scanner, it may or may not be supported by
> # SANE. Try scanimage -L and read the backend's manpage.
>
> # Scanners connected to the parallel port or other proprietary ports
> can't be
> # detected by this program.

Have a close look at this output, as here is one answer to your problem!
libusb:001:004 is the device!

> You have new mail in /var/spool/mail/root
> [root@Bp6 root]#
> I ran :
>
> export SANE DEBUG PLUSTEK=12
> export SANE DEBUG DLL=12
>
> This gave me a report that went over into a running screen full off
> ????????????????????????????
>
> the scanner turned on its light and the head moved about 5-10 cm's.

no too bad so far, as this is the default behaviour, when starting scanimage
without parameters... it simply scans a picture and sends the data to 
stdout - try scanimage > picture.pnm

>
> sane-find-scanner gives :
>
> [root@Bp6 root]# sane-find-scanner
>
> # No SCSI scanners found. If you expected something different, make sure
> that
> # you have loaded a SCSI driver for your SCSI adapter.
>
> found USB scanner (vendor=0x04b8 [EPSON], product=0x011d [EPSON
> Scanner]) at libusb:001:004
> # A USB device was detected. This program can't be sure if it's really
> # a scanner. If it is your scanner, it may or may not be supported by
> # SANE. Try scanimage -L and read the backend's manpage.
>
> # Scanners connected to the parallel port or other proprietary ports
> can't be
> # detected by this program.
> [root@Bp6 root]#
>
>
> scanimage -L gives :
>
> [root@Bp6 root]# scanimage -L
> device `plustek:libusb:001:004' is a Epson Perfection 1260/Photo USB
> flatbed scanner
> [root@Bp6 root]#
>
> Anyone any idea what I did wrong ???

Almost nothing!!!
First make sure, that when using libusb for accessing the scanner, you have
at least these lines in your plustek.conf:
[usb] 0x04b8 0x011d
device auto

Next thing is, that you MUST have access as normal user to this device.

Another thing that makes me wonder is the description of your plustek.conf,
as it says device /dev/usb/scanner0 and the output of scanimage -L says:
libusb:001:004
this is unusual!!!
Could it be, that you have two different versions installed on your box?
I suggest here to remove at least iscan and all other sane rpms, then
reinstall the sane-1.0.10 stuff from scratch...
After that try using sane-find-scanner as normal user, if that works,
check scanimage -L and then
xscanimage and or xsane should work too...

Cheers 
  Gerhard











plustek@linuxhacker.org