plustek@linuxhacker.org

plustek@linuxhacker.org


Subject: Re: modprobe: insmod pt_drv failed
From: Endre Adolfsen
Date: 10 Apr 2003 18:38:55 +0000

Thanks for the suggestions,
I'm not 100% sure what dmesg is, but when I wrote that in the command
line, I got a big list. Here's the part about pt_drv:

pt_drv : driver version 0.42-10
pt_drv : no device(s) detected, (-9023)
devfs_mk_dir(scanner): using old entry in dir: c12df5c0 ""
pt_drv : driver version 0.42-10
pt_drv : no device(s) detected, (-9023)
via_audio: ignoring drain playback error -11
devfs_mk_dir(scanner): using old entry in dir: c12df5c0 ""
pt_drv : driver version 0.42-10
pt_drv : no device(s) detected, (-9023)
devfs_mk_dir(scanner): using old entry in dir: c12df5c0 ""
pt_drv : driver version 0.42-10
pt_drv : no device(s) detected, (-9023)

So to me it seems the driver is installed correctly, but the system
can't detect my scanner. It's strange, because my printer is attached to
the same port. The cable goes from the computer to the scanner and the
printer is connected to the scanner. The  printer works fine.
I changed the Bios-setting to EPP, but that didn't seem to help.

Endre

---------------------------------------


I think you've done almost nothing wrong!
The problem might be again the parport setting in your BIOS.
Please make sure to set it to EPP no EPP(ECP) or something like this.
If this doesn't help, recompile the driver with
make clean
make all DEBUG=y
The reinstall and reload.
Send us the output of dmesg, so we can see what's going on...

Gerhard


On Freitag, 4. April 2003 02:48, Endre Adolfsen wrote:
> Hi,
>
> I've been trying numerous times to do this install by myself, but
being
> new to Linux I'm having some problems. So.. when explaining what I've
> done wrong, keep the newbie-thing in mind :)
>
>  Basically, I think I've got most of it right up until Make Load, at
> that point I get this message:
> make load
> /sbin/modprobe pt_drv || exit 1
> /lib/modules/2.4.21-0.13mdk/kernel/3rdparty/plustek/pt_drv.o.gz:
> init_module: Success
> Hint: insmod errors can be caused by incorrect module parameters,
> including invalid IO or IRQ parameters.
>       You may find more information in syslog or the output from dmesg
> modprobe: insmod
> /lib/modules/2.4.21-0.13mdk/kernel/3rdparty/plustek/pt_drv.o.gz failed
> /lib/modules/2.4.21-0.13mdk/misc/pt_drv.o: init_module: Success
> Hint: insmod errors can be caused by incorrect module parameters,
> including invalid IO or IRQ parameters.
>       You may find more information in syslog or the output from dmesg
> modprobe: insmod /lib/modules/2.4.21-0.13mdk/misc/pt_drv.o failed
> modprobe: insmod pt_drv failed
> make: *** [load] Error 1
>
> Probably a lot of mistakes in there!
> Any help appreciated!
> This is the info about my system, in case that matters:
> Mandrake 9.1
> scanimage (sane-backends) 1.0.11; backend version 1.0.11
>
> My webcam works,but thats USB. My scanner is parallel port, via the
> printer. It's a Primax 4800 Direct.
>
> Thanks,
>
> Endre


plustek@linuxhacker.org