MTrebuko
Member
Hallo
Habe den Plustek Optic Pro 9636 T Scanner geschenkt bekommen. Ist ein LPT dingens. Man beachte dazu auch die Anleitung http://www.linux-club.de/viewtopic.php?t=13696&highlight=lpt+plustek
Wichtig vermute ich ist folgender Abschnitt in der FAQ: (da der Treiber pt_drv zunächst nicht zu finden war.)
Und wenn ich Kooka starte, dann kann ich zwischen meiner Haupauge und meiner Haupauge Karte wählen. (???)
Grüße und Danke im Voraus
MT
Habe den Plustek Optic Pro 9636 T Scanner geschenkt bekommen. Ist ein LPT dingens. Man beachte dazu auch die Anleitung http://www.linux-club.de/viewtopic.php?t=13696&highlight=lpt+plustek
Wichtig vermute ich ist folgender Abschnitt in der FAQ: (da der Treiber pt_drv zunächst nicht zu finden war.)
PROBLEM:
--------
The frontend cannot find any sane-device, this might have several causes:
- the driver is not loaded
- you have no access to the driver
- the backend is not enabled
- the driver is not specified
- version conflict between the loaded driver and the backend
SOLUTION:
---------
Driver not loaded: check "cat /proc/pt_drv" if this does not exist, load
the driver (see INSTALL)
No access to the driver: check "ls -l /dev/pt_drv*" and you should get
crw-rw-r-- 1 root root 40, 0 Aug 29 15:18 /dev/pt_drv
crw-rw-r-- 1 root root 40, 0 Aug 29 15:18 /dev/pt_drv0
crw-rw-r-- 1 root root 40, 1 Aug 29 15:18 /dev/pt_drv1
crw-rw-r-- 1 root root 40, 2 Aug 29 15:18 /dev/pt_drv2
crw-rw-r-- 1 root root 40, 3 Aug 29 15:18 /dev/pt_drv3
If not, call "make load" in the driver source directory. This call sometimes
fails, so you might create the entries by using mknod:
mknod -m 0664 /dev/pt_drv c 40 0
mknod -m 0664 /dev/pt_drv0 c 40 0
mknod -m 0664 /dev/pt_drv1 c 40 1
mknod -m 0664 /dev/pt_drv2 c 40 2
mknod -m 0664 /dev/pt_drv3 c 40 3
The backend is not enabled: Check the SANE configuration in /etc/sane.d,
/usr/etc/sane.d or /usr/local/etc/sane.d (depending on your installation).
Your dll.conf MUST include an enabled "plustek" entry (no "#" in front of
that line)
The driver is not specified: Check the sane configuration (see above)
for the file plustek.conf and make sure that it contains at least
/dev/pt_drv as entry.
[/qote]
Nach obiger Umsetzung bekomme ich nun folgendes:
Eingabe:
Code:export SANE_DEBUG_PLUSTEK_PP=20 ; /usr/local/bin/scanimage -L
Ergebnis:
[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] >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, 0xbfff3e80, (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] >#<
[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, 0xbfff3e80, (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 = 0x080746b8
[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] 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 >fnBiDirRead<
[plustek_pp] MotorInitialize()
[plustek_pp] ResetPort()
[plustek_pp] Test 0x55
[plustek_pp] Test 0xAA
[plustek_pp] Compare data=0x7e and status=0x5e, 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 >fnBiDirRead<
[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 >fnBiDirRead<
[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=0x7e and status=0x1e, 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 = 0x40365534 - 0x40364fa8
[plustek_pp] Adjust for 98001 ASIC
[plustek_pp] sb2 = 0x40341008, sb1 = 0x4034bbe8, Color = 0x4035bdb8
[plustek_pp] Pro = 0x403613a8, 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] 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 >fnBiDirRead<
[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=0x7e and status=0x1e, 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 = 0x40365534 - 0x40364fa8
[plustek_pp] Adjust for 98001 ASIC
[plustek_pp] sb2 = 0x40341008, sb1 = 0x4034bbe8, Color = 0x4035bdb8
[plustek_pp] Pro = 0x403613a8, size = 147360
[plustek_pp] *** DETECTION DONE, result: 0 ***
[plustek_pp] ioctl(_PTDRV_ADJUST)
[plustek_pp] Adjusting device 0
[plustek_pp] warmup: -1
[plustek_pp] lampOff: -1
[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 (0xbfff5f38, 0)
device `v4l:/dev/video0' is a Noname BT878 video (Hauppauge (bt878)) virtual device
device `v4l:/dev/bttv0' is a Noname BT878 video (Hauppauge (bt878)) virtual device
device `plustek_pparport0' is a Plustek 9636T/12000T parallel port flatbed scanner
[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
Das sieht doch ganz ok aus - oder? Aber nun weiß ich nicht weiter ... Wie schaff ich es nun, daß das Ding nun scannt? Was mich noch wundert, daß ich nach Eingabe von
Code:modprobe pt_drv
Folgendes erhalte:
FATAL: Module pt_drv not found.
Und wenn ich Kooka starte, dann kann ich zwischen meiner Haupauge und meiner Haupauge Karte wählen. (???)
Grüße und Danke im Voraus
MT