[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Problems with Kernel 2.6.4 (SuSE 9.1)
From: "Christof Bodner" ####@####.#### Date: 3 Jun 2004 18:21:38 +0100 Message-Id: <18585.1086283269@www41.gmx.net> Hi, I have problems installing the sane-backend for the Plustek OpticPro 4800P. First, I tried [direct] device parport0 in /etc/sane.d/plustek_pp.conf This results in: # scanimage -d plustek_pp:/dev/parport0 scanimage: open of device plustek_pp:/dev/parport0 failed: Error during device I/O and #dmesg ppdev: user-space parallel port driver ppdev0: claim the port first ppdev0: claim the port first ppdev0: claim the port first Second: Trying to build the kernel-module results in a problem, because in src/misc.c, line #834, the function parport_enumerate() has been removed from the 2.6.4 kernel. Any suggestions? TIA, Christof -- -- --------------------------------------------------------------------- Christof Bodner ####@####.#### Linux - Life is too short for reboots --------------------------------------------------------------------- email: ####@####.#### Tel.: +43-676-7215383 SMS.: ####@####.#### ICQ: 22085157 --------------------------------------------------------------------- PLEASE USE PGP! Public Key ID 0x9FAAFD25 available at http://pgp.mit.edu/ --------------------------------------------------------------------- "Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen! Jetzt aktivieren unter http://www.gmx.net/info | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Problems with Kernel 2.6.4 (SuSE 9.1)
From: Gerhard Jaeger ####@####.#### Date: 4 Jun 2004 08:01:48 +0100 Message-Id: <200406040901.13840.gerhard@gjaeger.de> Hi, please be more specific, what sane-backends are you using? Please download the latest snapshot from sane-project.org Then when using the parport device, make sure you are allowed to access it. To build a kernel-module for kernel 2.6.x, you will need the sane-backend sources, then go to the directory doc/plustek and call MakeModule.sh (as root user), this script should do the rest - but I recommend to use the user-mode backend. When doing the next tests, please provide the debug output of the backend: export SANE_DEBUG_PLUSTEK_PP=20 ; scanimage -L Ciao, Gerhard On Thursday 03 June 2004 19:21, Christof Bodner wrote: > Hi, > > I have problems installing the sane-backend for the Plustek OpticPro > 4800P. > > First, I tried > > [direct] > device parport0 > > in /etc/sane.d/plustek_pp.conf > > This results in: > # scanimage -d plustek_pp:/dev/parport0 > scanimage: open of device plustek_pp:/dev/parport0 failed: Error during > device I/O > > and > #dmesg > ppdev: user-space parallel port driver > ppdev0: claim the port first > ppdev0: claim the port first > ppdev0: claim the port first > > Second: > Trying to build the kernel-module results in a problem, because in > src/misc.c, line #834, the function parport_enumerate() has been removed > from the 2.6.4 kernel. > > Any suggestions? > > TIA, > Christof | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Problems with Kernel 2.6.4 (SuSE 9.1)
From: ####@####.#### Date: 20 Apr 2005 10:13:30 +0100 Message-Id: <1113988390.42661d26bd3f5@webmail.imag.fr> 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 ! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |