Re: Problems with Kernel 2.6.4 (SuSE 9.1)
[email protected] Wed, 20 Apr 2005 11:13:10 +0200
| Newsgroups | gmane.linux.drivers.plustek.scanner |
|---|---|
| Message-ID | <[email protected]> |
I have also a Plustek 4800P and the same problem. I try to use userland diver and when the backend opens the parport0 device the kernel answers "ppdev0: claim the port first" and open fails with error code -1. The log gives versions of sane and backend... $ ls -l /dev/.static/dev/parport0 crwxrwxrwx 1 root lp 99, 0 2005-04-20 10:46 /dev/.static/dev/parport0 $ export SANE_DEBUG_PLUSTEK_PP=20 ; scanimage -d plustek_pp:/dev/.static/dev/parport0 [sanei_debug] Setting debug level of plustek_pp to 20. [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] >< [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] >< [plustek_pp] >#< [plustek_pp] ># leave the default values as specified in /etc/modules.conf< [plustek_pp] >#< [plustek_pp] >#option warmup -1< [plustek_pp] >#option lOffOnEnd -1< [plustek_pp] >#option lampOff -1< [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] >device /dev/.static/dev/parport0< [plustek_pp] Decoding device name >/dev/.static/dev/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 (/dev/.static/dev/parport0, 0xbfffc740, (nil)) [plustek_pp] Device configuration: [plustek_pp] device name : >/dev/.static/dev/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] open: PtDrvInit failed: 4 [plustek_pp] open failed: -1 [plustek_pp] sane_open - /dev/.static/dev/parport0 [plustek_pp] attach (/dev/.static/dev/parport0, 0xbfffd770, 0xbfffd76c) [plustek_pp] Device configuration: [plustek_pp] device name : >< [plustek_pp] direct I/O : no [plustek_pp] warmup : 0s [plustek_pp] lampOff : 0 [plustek_pp] lampOffOnEnd : no [plustek_pp] model override: 0 [plustek_pp] --------------------- [plustek_pp] drvopen() [plustek_pp] open failed: -1 scanimage: open of device plustek_pp:/dev/.static/dev/parport0 failed: Error during device I/O [plustek_pp] sane_exit ------------------------------------------------- envoyé via Webmail/IMAG !