plustek: Thread: Re: [sane-devel] plustek_pp scanner + sarge


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Re: [sane-devel] plustek_pp scanner + sarge
From: Gerhard Jaeger ####@####.####
Date: 27 Jun 2005 09:11:40 +0100
Message-Id: <200506271011.07311.gerhard@gjaeger.de>

Hi,

On Thursday 23 June 2005 07:18, ####@####.#### wrote:
> I'm having trouble getting a Plustek 4831P scanner to work with sarge.
> There's an Epson printer daisy-chained off the scanner which works with
> CUPS. Both worked with Redhat 7.3.
> 
> Any help would be appreciated - I've run out of ideas.
> 
> conf files, debugs, etc:
> 
> mick@dell933 $ dmesg|grep parport
> parport: PnPBIOS parport detected.
> parport0: PC-style at 0x378 (0x778), irq 7, using FIFO 
> [PCSPP,TRISTATE,COMPAT,EPP,ECP]

--> ECP could be a problem, but let's see.

> parport0: Printer, EPSON Stylus COLOR 460
> lp0: using parport0 (interrupt-driven).

--> daisy-chaining might also be a problem...

But assuming, that this all worked for you in with RH7.3 it should be
okay.

> --------------------------------------------------------------------------------------
> mick@dell933 $ scanimage -L
> 
> 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).
> -----
> root@dell933: scanimage -L
> device `plustek_pp:parport0' is a Plustek 600P/6000P parallel port flatbed 
> scanner

Okay - so there is your problem! The access rights need to be tweaked for the parallel
port device.
Check 
ls -l /dev/parport*

you should have something like:
crw-rw-rw-    1 root     root      99,   0 2003-10-02 22:46 /dev/parport0

[SNIPSNAP]

Hope this helps
Gerhard

Subject: Re: [sane-devel] plustek_pp scanner + sarge
From: ####@####.####
Date: 28 Jun 2005 05:00:50 +0100
Message-Id:

On Mon, 27 Jun 2005 06:11 pm, Gerhard Jaeger wrote:
> Hi,
>
> On Thursday 23 June 2005 07:18, ####@####.#### wrote:
> > I'm having trouble getting a Plustek 4831P scanner to work with sarge.
> > There's an Epson printer daisy-chained off the scanner which works with
> > CUPS. Both worked with Redhat 7.3.
> >
> > Any help would be appreciated - I've run out of ideas.
> >
> > conf files, debugs, etc:
> >
> > mick@dell933 $ dmesg|grep parport
> > parport: PnPBIOS parport detected.
> > parport0: PC-style at 0x378 (0x778), irq 7, using FIFO
> > [PCSPP,TRISTATE,COMPAT,EPP,ECP]
>
> --> ECP could be a problem, but let's see.
>
> > parport0: Printer, EPSON Stylus COLOR 460
> > lp0: using parport0 (interrupt-driven).
>
> --> daisy-chaining might also be a problem...
>
> But assuming, that this all worked for you in with RH7.3 it should be
> okay.
>
> > -------------------------------------------------------------------------
> >------------- mick@dell933 $ scanimage -L
> >
> > 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).
> > -----
> > root@dell933: scanimage -L
> > device `plustek_pp:parport0' is a Plustek 600P/6000P parallel port
> > flatbed scanner
>
> Okay - so there is your problem! The access rights need to be tweaked for
> the parallel port device.
> Check
> ls -l /dev/parport*
>
> you should have something like:
> crw-rw-rw-    1 root     root      99,   0 2003-10-02 22:46 /dev/parport0
>
> [SNIPSNAP]
>
> Hope this helps
> Gerhard
>
>
Gerhard,
	Thanks for the reply but I'm still having problems.
	The permissions helped but the scanner is still not being found (whether 
running as root or any user) and the light still won't go off!.
	btw, kernel is 2.6.8-2-686 and the bios is set to EPP.


mick@dell933 $ scanimage -L
[sanei_debug] Setting debug level of dll to 4.
[dll] sane_init: SANE dll backend version 1.0.11 from sane-backends 1.0.15
[dll] add_backend: adding backend `plustek_pp'
[dll] sane_get_devices
[dll] load: searching backend `plustek_pp' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-plustek_pp.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-plustek_pp.so.1'
[dll] init: initializing backend `plustek_pp'
[sanei_debug] Setting debug level of plustek_pp to 128.
[plustek_pp] PlustekPP backend V0.43-5, part of sane-backends 1.0.15
[plustek_pp] ># Plustek-PP SANE Backend configuration file<
[plustek_pp] ># For use with Plustek parallel-port scanners<
[plustek_pp] >#<
[plustek_pp] >#[direct]<
[plustek_pp] >#device 0x378<
[plustek_pp] >#<
[plustek_pp] >option warmup    -1<
[plustek_pp] Decoding option >warmup<
[plustek_pp] >option lOffOnEnd -1<
[plustek_pp] Decoding option >lOffOnEnd<
[plustek_pp] >option lampOff   -1<
[plustek_pp] Decoding option >lampOff<
[plustek_pp] ># option m=6<
[plustek_pp] ><
[plustek_pp] >[direct]<
[plustek_pp] >device parport0<
[plustek_pp] Decoding device name >parport0<
[plustek_pp] >#<
[plustek_pp] attach (parport0, 0xbfffc730, (nil))
[plustek_pp] Device configuration:
[plustek_pp] device name   : >parport0<
[plustek_pp] direct I/O    : yes
[plustek_pp] warmup        : -1s
[plustek_pp] lampOff       : -1
[plustek_pp] lampOffOnEnd  : yes
[plustek_pp] model override: 0
[plustek_pp] ---------------------
[plustek_pp] drvopen()
[plustek_pp] ptdrvInit(0)
[plustek_pp] Init settings done
[plustek_pp] ScanData = 0x08053070
[plustek_pp] Assigning port handle 0
[plustek_pp] ptdrvOpen(port=0x0)
[plustek_pp] Try to claim the parport
[plustek_pp] Setting SPP-mode
[plustek_pp] Setting PS/2-mode
[plustek_pp] Setting EPP-mode
[plustek_pp] ECP detected --> not supported
[plustek_pp] We're using libIEEE1284 I/O
[plustek_pp] Starting Scanner-Autodetection
[plustek_pp] ************ DETECTP48xx ************
[plustek_pp] ModelSet4800()
[plustek_pp] modelInitPageSettings()
[plustek_pp] A4 set
[plustek_pp] ModelSet4800() done.
[plustek_pp] P48xxInitAsic()
[plustek_pp] DacInitialize()
[plustek_pp] ImageInitialize()
[plustek_pp] IOFuncInitialize()
[plustek_pp] IOInitialize()
[plustek_pp] * using readfunction >fnEPPRead<
[plustek_pp] MotorInitialize()
[plustek_pp] ResetPort()
[plustek_pp] Test 0x55
[plustek_pp] Test 0xAA
[plustek_pp] Compare data=0x7f and status=0xf, port=0x0
[plustek_pp] p48xxReadWriteTest()
[plustek_pp] Found a 96003 ASIC at Reg 0x13
[plustek_pp] ModelSet4830()
[plustek_pp] modelInitPageSettings()
[plustek_pp] A4 set
[plustek_pp] ModelSet4830() done.
[plustek_pp] Moving 32 bytes to scanner, IODELAY = 0...
[plustek_pp] ... done.
[plustek_pp] p48xxDoTest()
[plustek_pp] Moving 2048 bytes to scanner, IODELAY = 0...
[plustek_pp] ... done.
[plustek_pp] Bank not present, error at pos 0 (512)
[plustek_pp] found 0 bytes of memory
[plustek_pp] No memory ! No scanner...
[plustek_pp] p48xxReadWriteTest()
[plustek_pp] Can't find your model, asic = 0x1
[plustek_pp] detectScannerConnection() returns -9031.
[plustek_pp] ************* ASIC9800x *************
[plustek_pp] ResetPort()
[plustek_pp] IOInitialize()
[plustek_pp] * using readfunction >fnEPPRead<
[plustek_pp] ioP98OpenScanPath() failed!
[plustek_pp] IORegisterToScanner - no connection!
[plustek_pp] ASIC = 0x77
[plustek_pp] Unknown ASIC-ID
[plustek_pp] *** DETECTION DONE, result: -9020 ***
[plustek_pp] ptdrvClose()
[plustek_pp] MiscRestorePort()
[plustek_pp] Releasing parport
[plustek_pp] ptdrvShutdown()
[plustek_pp] cleanup device 0
[plustek_pp] open: PtDrvInit failed: -9020
[plustek_pp] open failed: -1
[dll] init: backend `plustek_pp' is version 1.0.0
[plustek_pp] sane_get_devices (0xbfffe7f8, 0)
[dll] sane_get_devices: found 0 devices

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).
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `plustek_pp's exit function
[plustek_pp] sane_exit
[dll] sane_exit: finished
mick@dell933 $                                 
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.