Hallo,
habe folgendes Problem: Kann meinen Scanner nur als root ansprechen:
Als normaler User:
Habe dann nach /dev/parport0 gesucht, aber ich habe nur /dev/printers/0. Deshalb habe ich auf einen Tipp auf einer Homepage hin mit
ein /dev/parport0 erstellt. Die Rechte für beide sind "666". An der Fehlermeldung für den normalen User ändert das aber leider nix... Hat jemand von euch eine Idee?
habe folgendes Problem: Kann meinen Scanner nur als root ansprechen:
Code:
bash-2.05b# export SANE_DEBUG_DLL=255 ; scanimage -L
[sanei_debug] Setting debug level of dll to 255.
[dll] sane_init: SANE dll backend version 1.0.10 from sane-backends 1.0.14
[dll] sane_init: reading dll.conf
[dll] add_backend: adding backend `plustek_pp'
[dll] sane_get_devices
[dll] load: searching backend `plustek_pp' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-plustek_pp.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-plustek_pp.so.1'
[dll] init: initializing backend `plustek_pp'
[dll] init: backend `plustek_pp' is version 1.0.0
[dll] sane_get_devices: found 1 devices
device `plustek_pp:parport0' is a Plustek 9636T/12000T parallel port flatbed scanner
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `plustek_pp's exit function
[dll] sane_exit: finished
Code:
bash-2.05b$ export SANE_DEBUG_DLL=255 ; scanimage -L
[sanei_debug] Setting debug level of dll to 255.
[dll] sane_init: SANE dll backend version 1.0.10 from sane-backends 1.0.14
[dll] sane_init: reading dll.conf
[dll] add_backend: adding backend `plustek_pp'
[dll] sane_get_devices
[dll] load: searching backend `plustek_pp' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-plustek_pp.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-plustek_pp.so.1'
[dll] init: initializing backend `plustek_pp'
[sanei_debug] Setting debug level of plustek_pp to 20.
[sanei_debug] Setting debug level of sanei_pp to 20.
[sanei_pp] pp_init: called for the first time
[sanei_pp] pp_init: initializing libieee1284
[sanei_pp] pp_init: 1 ports reported by IEEE 1284 library
[sanei_pp] pp_init: port 0 is `parport0`
[sanei_pp] pp_init: initialized successfully
[sanei_pp] pp_calibrate_delay: Delay expected: 1000, real 1830, pp_thresh=0
[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] ><
[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 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, 0xbfffc1d0, (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()
[sanei_pp] sanei_pp_open: called for device 'parport0'
[sanei_pp] pp_open: trying to attach dev `parport0`
[sanei_pp] pp_open: looking up port in list
[sanei_pp] pp_open: checking >parport0<
[sanei_pp] pp_open: port is in list at port[0]
[sanei_pp] pp_open: opening device
[sanei_pp] pp_open: could not open device `parport0` (Error initializing port)
[sanei_pp] sanei_pp_open: connection failed
[plustek_pp] open: PtDrvInit failed: 11
[plustek_pp] open failed: -1
[dll] init: backend `plustek_pp' is version 1.0.0
[plustek_pp] sane_get_devices (0xbfffe298, 0)
[dll] sane_get_devices: found 0 devices
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `plustek_pp's exit function
[plustek_pp] sane_exit
[dll] sane_exit: finished
Code:
mknod /dev/parport0 c 99 0