plustek: Plustek OpticPro 12000T


Previous by date: 21 Jan 2008 13:02:35 -0000 Re: Plustek OpticPro 12000T, Jastra
Next by date: 21 Jan 2008 13:02:35 -0000 Re: Plustek OpticPro 12000T, Jastra
Previous in thread: 21 Jan 2008 13:02:35 -0000 Re: Plustek OpticPro 12000T, Jastra
Next in thread: 21 Jan 2008 13:02:35 -0000 Re: Plustek OpticPro 12000T, Jastra

Subject: Re: Plustek OpticPro 12000T
From: Gerhard Jaeger ####@####.####
Date: 21 Jan 2008 13:02:35 -0000
Message-Id: <200801211402.29659.gerhard@gjaeger.de>

On Monday 21 January 2008 10:00:27 Jastra wrote:
> > Make sure parport drivers are correctly loaded
> > (parport_pc, parport and ppdev)
> 
> yes, it seems OK - see lsmod.txt
> 
> > Make sure parport is set to either SPP, or EPP
> > No ECP mode!!! (check in BIOS)
> 
> checked, it is correct
> 
> > Make and load modules via ./MakeModule.sh DEBUG=y
> > and after loading check (and show us) the output of
> > dmesg, probably we'll find the problem

Have you done this step? /MakeModule.sh DEBUG=y ????

> I see no trace of the operation in dmesg - see dmesg.txt
> (copy of /var/log/dmesg)
> 
> Or, should it be in any other place?

/var/log/messages


As examples, the build step and dmesg looks here as follows:

sudo ./MakeModule.sh DEBUG=y
This script will try and build a suitable kernel-module for your system.
If you'd like to make the module WITH debug output, restart this script
with as follows:
./MakeModule.sh DEBUG=y
Press <ENTER> to continue or <CTRL><C> to cancel.

Check for root - done.

Check for kernelversion:
Using makefile for kernel 2.6.x
Build-directory:
/home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build
Removing build-directory - done.
Creating build-directory - done.

Linking source files - done.
Copying Makefile to build-directory - done.
Making the module...
make: Entering directory `/usr/src/linux-2.6.22.13-0.3-obj/i386/default'
make -C ../../../linux-2.6.22.13-0.3 O=../linux-2.6.22.13-0.3-obj/i386/default modules
  CC [M]  /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/plustek-pp_dac.o
  CC [M]  /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/plustek-pp_detect.o
  CC [M]  /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/plustek-pp_genericio.o
  CC [M]  /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/plustek-pp_image.o
  CC [M]  /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/plustek-pp_map.o
  CC [M]  /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/plustek-pp_misc.o
  CC [M]  /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/plustek-pp_models.o
  CC [M]  /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/plustek-pp_io.o
  CC [M]  /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/plustek-pp_procfs.o
  CC [M]  /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/plustek-pp_motor.o
  CC [M]  /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/plustek-pp_p9636.o
  CC [M]  /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/plustek-pp_ptdrv.o
  CC [M]  /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/plustek-pp_scale.o
  CC [M]  /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/plustek-pp_tpa.o
  CC [M]  /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/plustek-pp_p48xx.o
  CC [M]  /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/plustek-pp_p12.o
  CC [M]  /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/plustek-pp_p12ccd.o
  LD [M]  /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/pt_drv.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/pt_drv.mod.o
  LD [M]  /home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build/pt_drv.ko
make: Leaving directory `/usr/src/linux-2.6.22.13-0.3-obj/i386/default'
done.
Should I install the module?
Press <ENTER> to continue or <CTRL><C> to cancel.

make: Entering directory `/home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build'
mkdir -p /lib/modules/2.6.22.13-0.3-default/kernel/drivers/parport
install -c -m "644" pt_drv.ko /lib/modules/2.6.22.13-0.3-default/kernel/drivers/parport
/sbin/depmod -a

make: Leaving directory `/home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build'
Should I try and load the module?
If this step fails, check the kernel-log.
Press <ENTER> to continue or <CTRL><C> to cancel.
make: Entering directory `/home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build'
/sbin/modprobe pt_drv || exit 1
FATAL: Error inserting pt_drv (/lib/modules/2.6.22.13-0.3-default/kernel/drivers/parport/pt_drv.ko): Success
make: *** [load] Fehler 1
make: Leaving directory `/home/gja/Privat/scanner/devel/usb/sane-backends/doc/plustek/build'
done.
Should I remove the build directory?
Press <ENTER> to continue or <CTRL><C> to cancel.

done.

# dmesg
.
.
.
*********************************************
pt_drv: init_module()
pt_drv : driver version 0.43-13
ProcFsInitialize()
ptdrvInit(0)
Init settings done
ScanData = 0xcd0d0000
Using fast I/O
Requested port at 0x378
misc_attach
Requested port (0x378) found
Port mode reported: (0x0047)
Port for device 0 registered
ptdrvOpen(port=0x378)
Try to claim the parport
parport-modi: SPP PS/2 EPP EPP(ECP) PS/2(ECP)
Using EPP-mode
Starting Scanner-Autodetection
************ DETECTP48xx ************
ModelSet4800()
modelInitPageSettings()
A4 set
ModelSet4800() done.
P48xxInitAsic()
DacInitialize()
ImageInitialize()
IOFuncInitialize()
IOInitialize()
* using readfunction >fnEPPRead<
MotorInitialize()
Dataport = 0x0378
Ctrlport = 0x037a
ResetPort()
Test 0x55
Test 0xAA
Compare data=0x7e and status=0x7e, port=0x378
detectScannerConnection() returns -9021.
************* ASIC9800x *************
ResetPort()
IOInitialize()
* using readfunction >fnEPPRead<
ASIC = 0x77
Unknown ASIC-ID
*** DETECTION DONE, result: -9020 ***
ptdrvClose()
MiscRestorePort()
- no need to restore portmode !
Releasing parport
ptdrvShutdown()
cleanup device 0
Port unregistered
misc_detach
ProcFsShutdown()
pt_drv: proc del 'info' root='pt_drv'
pt_drv: proc del 'pt_drv' root='/proc'
pt_drv : no device(s) detected, (-9020)
---------------------------------------------

Previous by date: 21 Jan 2008 13:02:35 -0000 Re: Plustek OpticPro 12000T, Jastra
Next by date: 21 Jan 2008 13:02:35 -0000 Re: Plustek OpticPro 12000T, Jastra
Previous in thread: 21 Jan 2008 13:02:35 -0000 Re: Plustek OpticPro 12000T, Jastra
Next in thread: 21 Jan 2008 13:02:35 -0000 Re: Plustek OpticPro 12000T, Jastra


Powered by ezmlm-browse 0.20.