plustek: Pb with 12000P and V0.35


Previous by date: 26 May 2000 22:10:24 -0000 Pb with 12000P and V0.35, Florent Capdeville
Next by date: 26 May 2000 22:10:24 -0000 Re: Pb with 12000P and V0.35, Florent Capdeville
Previous in thread: 26 May 2000 22:10:24 -0000 Pb with 12000P and V0.35, Florent Capdeville
Next in thread: 26 May 2000 22:10:24 -0000 Re: Pb with 12000P and V0.35, Florent Capdeville

Subject: Re: Pb with 12000P and V0.35
From: ####@####.####
Date: 26 May 2000 22:10:24 -0000
Message-Id: <392EF670.E411DCB1@bellsouth.net>

Florent Capdeville wrote:
> 
> Hello everybody!
> 
> Here is the output I got for the command:
> 
> scanimage  -d plustek > output.pnm
> 
> [plustek] ioctl _PTDRV_PUT_SCANNER_MODEL failed
> scanimage: sane_start: Error during device I/O
> [plustek] ioctl _PTDRV_STOP_SCAN failed
> 
> and the log:
> 
>  pt_drv: init_module()
>  ptdrvInit(0)
>  Init settings done
>  ScanData = 0xc3c7c000
>  parport0: PC-style at 0x378, irq 7 [SPP,PS2,EPP]
>  parport1: PC-style at 0x278 [SPP]
>  parport0: no IEEE-1284 device present.
>  parport1: no IEEE-1284 device present.
>  Requested port (0x378) found
>  Port mode reported: (0x0007)
>  Port registered
>  ptdrvOpen(port=0x378)
>  Try to claim the parport
>  Using EPP-mode
>  Starting Scanner-Autodetection
>  ************ DETECTP48xx ************
>  ModelSet4800()
>  modelInitPageSettings()
>  A4 set
>  ModelSet4800() done.
>  P48xxInitAsic()
>  DacInitialize()
>  ImageInitialize()
>  IOInitialize()
>  MotorInitialize()
>  Test 0x55
>  Test 0xAA
>  Compare data=0x7e and status=0xe, port=0x378
>  p48xxReadWriteTest()
>  Found a 96003 ASIC at Reg 0x13
>  ModelSet4830()
>  modelInitPageSettings()
>  A4 set
>  ModelSet4830() done.
>  p48xxDoTest()
>  found 131072 bytes of memory
>  tmpByte[0x18] = 0x02
>  tmpByte = 0x02, cntr = 128, AsicId = 0x10
>  ModelSet12000() done.
>  ModelSet9360()
>  modelInitPageSettings()
>  A4 set
>  ModelSet9630() done.
>  ModelSet12000() done.
>  It seems we have a 12000P/96000P
>  detectScannerConnection() returns 0.
>  p48xxSetupScannerVariables()


The scanner appears to be found. I had the same problem when I
compiled 0.35. I had to recompile sane. I had been using the
--disable-shared flag but I seem to get better results when I
leave it out. Here is what I did on several of my computers and it
worked with no problems (some of these steps may not be necessary
but they didn't seem to hurt) 

1. Remove all previous plustek driver files (i.e., rm -f -r
plustek_driver/ in sane-xx/backend (I use sane-1.0.2) and the few
plustek files in backend also. Then tar zxf plustek 0.35.tgz from
backend

2. From the sane-xx directory do  
          CFLAGS="-g -O -Wall" ./configure --prefix=/usr/local  
This assumes scanimage is in /usr/local/bin; check this before
doing this step. If scanimage is in /usr/bin then prefix=/usr.

3. Go back into the plustek_driver directory and do make, make
install, make load and insmod pt_drv.  Check the output to be sure
the scanner is found.

4. Back up to sane-xx and do make and make install. Then do
scanimage -L plustek or .. -d plustek > out.pnm. This should now
not give any error messages.

	Kevin

Previous by date: 26 May 2000 22:10:24 -0000 Pb with 12000P and V0.35, Florent Capdeville
Next by date: 26 May 2000 22:10:24 -0000 Re: Pb with 12000P and V0.35, Florent Capdeville
Previous in thread: 26 May 2000 22:10:24 -0000 Pb with 12000P and V0.35, Florent Capdeville
Next in thread: 26 May 2000 22:10:24 -0000 Re: Pb with 12000P and V0.35, Florent Capdeville


Powered by ezmlm-browse 0.20.