plustek: how to put the lamp off ?


Previous by date: 23 Jul 2004 15:34:35 +0100 Re: how to put the lamp off ?, Gerhard Jaeger
Next by date: 23 Jul 2004 15:34:35 +0100 Genius ColorPage Vivid3X and Plustek driver, felipe
Previous in thread: 23 Jul 2004 15:34:35 +0100 Re: how to put the lamp off ?, Gerhard Jaeger
Next in thread:

Subject: Re: how to put the lamp off ?
From: Nicolas DELY ####@####.####
Date: 23 Jul 2004 15:34:35 +0100
Message-Id: <41011372.3010707@wanadoo.fr>

Gerhard Jaeger wrote:

>Why should this be important?
>  
>

because I believed that not create /dev/parport0

>The kernel-configuration is not important. Try load ppdev and then start
>the backend as root-user, send us the output of:
>export SANE_DEBUG_PLUSTEK_PP=20 ; scanimage -L
>
>Also make sure, that in dll.conf (located in /etc/sane.d
>or /usr/local/etc/sane.d) plustek_pp is w/o comment character (which is #).
>Also check plustek_pp.conf for the correct settings - see man sane_plustek_pp
>  
>
I'm very confused, I was wrong, the errors were 
- I have not uncomment  plustek_pp in /etc/sane.d/dll.conf
- the settings in plustek_pp.conf not adjusted

so now :

export SANE_DEBUG_PLUSTEK_PP=20 ; scanimage -L 2 > plustek_pp_debug.txt
export SANE_DEBUG_PLUSTEK_PP=20 ; scanimage -L 1 >> plustek_pp_debug.txt


I've attached this file.

Thank you.

I'll try to scan an image later... I will reboot my system to show if 
the device is created with udev

I'll post my result later.

Thanks again.

Nanouck

PS: Now I can leave 2.4.X linux kernel because all work well.


[sanei_debug] Setting debug level of plustek_pp to 20.
[plustek_pp] PlustekPP backend V0.01-8, part of sane-backends 1.0.14
[plustek_pp] ># Plustek-PP SANE Backend configuration file<
[plustek_pp] ># For use with Plustek parallel-port scanners<
[plustek_pp] >#<
[plustek_pp] ><
[plustek_pp] >#<
[plustek_pp] ># user either [direct] or [kernel] to access the scanner<
[plustek_pp] ># when using [kernel], device specifies the device-node, which is created<
[plustek_pp] ># by the kernel-module loader (applies only to Linux)<
[plustek_pp] ># when using [direct], device is used to set the parallel-port base address<
[plustek_pp] ># or a device-name suitable for libieee1284, i.e. parport0<
[plustek_pp] >#<
[plustek_pp] >[direct]<
[plustek_pp] >device 0x378<
[plustek_pp] Decoding device name >0x378<
[plustek_pp] ><
[plustek_pp] >#<
[plustek_pp] ># leave the default values as specified in /etc/modules.conf<
[plustek_pp] >#<
[plustek_pp] ><
[plustek_pp] >#option warmup    30<
[plustek_pp] >#option lOffOnEnd 1<
[plustek_pp] >#option lampOff   180<
[plustek_pp] ><
[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] ><
[plustek_pp] ># model override switch, mostly for cosmetic changes, if the autodetection<
[plustek_pp] ># does not work or could not work correctly<
[plustek_pp] >#option mov 7<
[plustek_pp] ><
[plustek_pp] >#<
[plustek_pp] ># example for accessing the scanner via libieee1284<
[plustek_pp] >#<
[plustek_pp] >[direct]<
[plustek_pp] attach (0x378, 0xbfffc3f0, (nil))
[plustek_pp] Device configuration:
[plustek_pp] device name   : >0x378<
[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] open: PtDrvInit failed: 4
[plustek_pp] open failed: -1
[plustek_pp] >device parport0<
[plustek_pp] Decoding device name >parport0<
[plustek_pp] ><
[plustek_pp] >option warmup    30<
[plustek_pp] Decoding option >warmup<
[plustek_pp] >option lOffOnEnd 1<
[plustek_pp] Decoding option >lOffOnEnd<
[plustek_pp] >option lampOff   180<
[plustek_pp] Decoding option >lampOff<
[plustek_pp] >#<
[plustek_pp] ># example for accessing the scanner via the kernel module<
[plustek_pp] >#<
[plustek_pp] >#[kernel]<
[plustek_pp] >#device /dev/pt_drv<
[plustek_pp] >#<
[plustek_pp] >#option warmup    -1<
[plustek_pp] >#option lOffOnEnd -1<
[plustek_pp] >#option lampOff   -1<
[plustek_pp] attach (parport0, 0xbfffc3f0, (nil))
[plustek_pp] Device configuration:
[plustek_pp] device name   : >parport0<
[plustek_pp] direct I/O    : yes
[plustek_pp] warmup        : 30s
[plustek_pp] lampOff       : 180
[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 = 0x08081710
[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] 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=0x78 and status=0x58, port=0x0
[plustek_pp] p48xxReadWriteTest()
[plustek_pp] Can't find your model, asic = 0x5a
[plustek_pp] detectScannerConnection() returns -9031.
[plustek_pp] ************* ASIC9800x *************
[plustek_pp] ResetPort()
[plustek_pp] IOInitialize()
[plustek_pp] * using readfunction >fnEPPRead<
[plustek_pp] ASIC = 0x81
[plustek_pp] ************* ASIC98001 *************
[plustek_pp] ModelSet9636()
[plustek_pp] ModelSet9360()
[plustek_pp] modelInitPageSettings()
[plustek_pp] A4 set
[plustek_pp] ModelSet9630() done.
[plustek_pp] modelInitPageSettings()
[plustek_pp] A4 set
[plustek_pp] ModelSet9636() done.
[plustek_pp] P9636InitAsic()
[plustek_pp] DacInitialize()
[plustek_pp] ImageInitialize()
[plustek_pp] IOFuncInitialize()
[plustek_pp] IOInitialize()
[plustek_pp] * using readfunction >fnEPPRead<
[plustek_pp] MotorInitialize()
[plustek_pp] 0x81
[plustek_pp] CCID = 0x00
[plustek_pp] P9636InitAsic() done.
[plustek_pp] ResetPort()
[plustek_pp] Test 0x55
[plustek_pp] Test 0xAA
[plustek_pp] Compare data=0x78 and status=0x18, port=0x0
[plustek_pp] ioP98ReadWriteTest()
[plustek_pp] Putting Scanner (ASIC 98001) into Idle-Mode
[plustek_pp] detectScannerConnection() returns 0.
[plustek_pp] p9636InitP98001(0)
[plustek_pp] bData = 0x0000, PCB-ID = 0x00
[plustek_pp] CCD-ID = 0x00 = _CCD_3797
[plustek_pp] bSetScanModeFlag = 0
[plustek_pp] *** setupBuffers ***
[plustek_pp] Driverbuf(147360 bytes) needed !
[plustek_pp] pColorRunTab = 0x40160534 - 0x4015ffa8
[plustek_pp] Adjust for 98001 ASIC
[plustek_pp] sb2 = 0x4013c008, sb1 = 0x40146be8, Color = 0x40156db8
[plustek_pp] Pro = 0x4015c3a8, size = 147360
[plustek_pp] *** DETECTION DONE, result: 0 ***
[plustek_pp] Switching lamp 0 on.
[plustek_pp] ptdrvClose()
[plustek_pp] *** cleanup buffers ***
[plustek_pp] MiscRestorePort()
[plustek_pp] Releasing parport
[plustek_pp] MiscGetModelName - id = 15
[plustek_pp] pt_drv0: 9636T/12000T found
[plustek_pp] pt_drv0: Lamp-Timer set to 180 seconds.
[plustek_pp] pt_drv0: WarmUp period set to 30 seconds.
[plustek_pp] pt_drv0: Lamp untouched on driver unload.
[plustek_pp] Lamp-Timer started!
[plustek_pp] ioctl(_PTDRV_OPEN_DEVICE)
[plustek_pp] Lamp-Timer stopped!
[plustek_pp] Init settings done
[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] We're using libIEEE1284 I/O
[plustek_pp] Starting Scanner-detection (ASIC 98001)
[plustek_pp] ************* ASIC98001 *************
[plustek_pp] ModelSet9636()
[plustek_pp] ModelSet9360()
[plustek_pp] modelInitPageSettings()
[plustek_pp] A4 set
[plustek_pp] ModelSet9630() done.
[plustek_pp] modelInitPageSettings()
[plustek_pp] A4 set
[plustek_pp] ModelSet9636() done.
[plustek_pp] P9636InitAsic()
[plustek_pp] DacInitialize()
[plustek_pp] ImageInitialize()
[plustek_pp] IOFuncInitialize()
[plustek_pp] IOInitialize()
[plustek_pp] * using readfunction >fnEPPRead<
[plustek_pp] MotorInitialize()
[plustek_pp] 0x81
[plustek_pp] CCID = 0x00
[plustek_pp] P9636InitAsic() done.
[plustek_pp] ResetPort()
[plustek_pp] Test 0x55
[plustek_pp] Test 0xAA
[plustek_pp] Compare data=0x78 and status=0x18, port=0x0
[plustek_pp] ioP98ReadWriteTest()
[plustek_pp] Putting Scanner (ASIC 98001) into Idle-Mode
[plustek_pp] detectScannerConnection() returns 0.
[plustek_pp] p9636InitP98001(0)
[plustek_pp] bData = 0x0000, PCB-ID = 0x00
[plustek_pp] CCD-ID = 0x00 = _CCD_3797
[plustek_pp] bSetScanModeFlag = 0
[plustek_pp] *** setupBuffers ***
[plustek_pp] Driverbuf(147360 bytes) needed !
[plustek_pp] pColorRunTab = 0x40160534 - 0x4015ffa8
[plustek_pp] Adjust for 98001 ASIC
[plustek_pp] sb2 = 0x4013c008, sb1 = 0x40146be8, Color = 0x40156db8
[plustek_pp] Pro = 0x4015c3a8, size = 147360
[plustek_pp] *** DETECTION DONE, result: 0 ***
[plustek_pp] ioctl(_PTDRV_ADJUST)
[plustek_pp] Adjusting device 0
[plustek_pp] warmup:       30
[plustek_pp] lampOff:      180
[plustek_pp] lampOffOnEnd: 1
[plustek_pp] ioctl(_PTDRV_GET_CAPABILITES)
[plustek_pp] ioctl(_PTDRV_GET_LENSINFO)
[plustek_pp] Scanner information:
[plustek_pp] Vendor : Plustek
[plustek_pp] Model  : 9636T/12000T
[plustek_pp] Asic   : 0x81
[plustek_pp] Flags  : 0x00000280
[plustek_pp] Version: 0x00002c00
[plustek_pp] drvclose()
[plustek_pp] ioctl(_PTDRV_STOP_SCAN)
[plustek_pp] Waiting for Sensor to be back in position
[plustek_pp] - done !
[plustek_pp] ioctl(_PTDRV_CLOSE_DEVICE)
[plustek_pp] *** cleanup buffers ***
[plustek_pp] Putting Scanner (ASIC 98001) into Idle-Mode
[plustek_pp] Lamp-Timer started!
[plustek_pp] ptdrvClose()
[plustek_pp] MiscRestorePort()
[plustek_pp] Releasing parport
[plustek_pp] attach: model = >9636T/12000T<
[plustek_pp] sane_get_devices (0xbfffe4b8, 0)
[plustek_pp] sane_exit
[plustek_pp] ptdrvShutdown()
[plustek_pp] cleanup device 0
[plustek_pp] Lamp-Timer stopped!
[plustek_pp] Try to claim the parport
[plustek_pp] Putting Scanner (ASIC 98001) into Idle-Mode
[plustek_pp] Releasing parport
device `plustek_pp:parport0' is a Plustek 9636T/12000T parallel port flatbed scanner

Previous by date: 23 Jul 2004 15:34:35 +0100 Re: how to put the lamp off ?, Gerhard Jaeger
Next by date: 23 Jul 2004 15:34:35 +0100 Genius ColorPage Vivid3X and Plustek driver, felipe
Previous in thread: 23 Jul 2004 15:34:35 +0100 Re: how to put the lamp off ?, Gerhard Jaeger
Next in thread:


Powered by ezmlm-browse 0.20.