plustek: Thread: 9646T - probs to load module


[<<] [<] Page 1 of 1 [>] [>>]
Subject: 9646T - probs to load module
From: Stefan Eckert ####@####.####
Date: 23 Jul 2000 09:34:09 -0000
Message-Id: <00072311292303.02908@lin02>

Hello,

I've had some problems installing the driver for my Plustek Optic-Pro 9636T on
my SuSE 6.4 system.
Though I followed strictly the HOWTO by Alejandro Imass, I'm not able to load
the pt_drv - module. 
I tried to do this with the  plustek-sane-0_35 - and with the
plustek-sane-0_36_16 - version of the driver.

.................. 
Here is the output of lsmod - before trying to load the module:

Module                  Size  Used by
nfsd                  146188   4  (autoclean)
ne2k-pci                4232   1  (autoclean)
8390                    6228   0  (autoclean) [ne2k-pci]
serial                 42612   0  (autoclean)
memstat                 1476   0  (unused)
ide-scsi                7432   0
nls_iso8859-1           2268   2  (autoclean)

.....................

Here is the output when I try to load the module with "make -f Makefile load":

/sbin/modprobe pt_drv || exit 1
/lib/modules/2.2.14/misc/pt_drv.o: init_module: Das Gerät oder die Ressource ist belegt
/lib/modules/2.2.14/misc/pt_drv.o: insmod /lib/modules/2.2.14/misc/pt_drv.o failed
/lib/modules/misc/pt_drv.o: init_module: Das Gerät oder die Ressource ist belegt
/lib/modules/misc/pt_drv.o: insmod /lib/modules/misc/pt_drv.o failed
/lib/modules/misc/pt_drv.o: insmod pt_drv failed
make: *** [load] Error 1

.........................

Here the output of lsmod after trying to load the module:

Module                  Size  Used by
parport_probe           3492   0  (autoclean)
parport_pc              7472   2  (autoclean)
parport                 7464   2  [parport_probe parport_pc]
ppp_deflate            40300   0  (autoclean)
bsd_comp                4020   0  (autoclean)
ppp                    20908   2  (autoclean) [ppp_deflate bsd_comp]
slhc                    4440   0  (autoclean) [ppp]
nfsd                  146188   4  (autoclean)
ne2k-pci                4232   1  (autoclean)
8390                    6228   0  (autoclean) [ne2k-pci]
serial                 42612   2  (autoclean)
memstat                 1476   0  (unused)
ide-scsi                7432   0
nls_iso8859-1           2268   2  (autoclean) 

.......................

And finally the output of dmesg while trying to load the module:

parport0: PC-style at 0x378 [SPP,PS2,EPP]
parport_probe: failed
parport0: no IEEE-1284 device present


I would be very happy if you could help me.

Thank you,
Stefan
Subject: Re: 9646T - probs to load module
From: Stefan Eckert ####@####.####
Date: 23 Jul 2000 09:41:04 -0000
Message-Id: <00072311361804.02908@lin02>

Sorry guys,

of course it is Plustek OpticPro 9636T not 9646T!

Best regards,
   Stefan
Subject: Re: 9646T - probs to load module
From: mnk ####@####.####
Date: 23 Jul 2000 14:57:36 -0000
Message-Id: <397B0885.D149E54E@innocent.com>

Stefan Eckert wrote:
> 
> Hello,
> 
> I've had some problems installing the driver for my Plustek Optic-Pro 9636T on
> my SuSE 6.4 system.
> Though I followed strictly the HOWTO by Alejandro Imass, I'm not able to load
> the pt_drv - module.
> I tried to do this with the  plustek-sane-0_35 - and with the
> plustek-sane-0_36_16 - version of the driver.
> 
> ..................
> Here is the output of lsmod - before trying to load the module:
> 
> Module                  Size  Used by
> nfsd                  146188   4  (autoclean)
> ne2k-pci                4232   1  (autoclean)
> 8390                    6228   0  (autoclean) [ne2k-pci]
> serial                 42612   0  (autoclean)
> memstat                 1476   0  (unused)
> ide-scsi                7432   0
> nls_iso8859-1           2268   2  (autoclean)
> 
> .....................
> 
> Here is the output when I try to load the module with "make -f Makefile load":
> 
> /sbin/modprobe pt_drv || exit 1
> /lib/modules/2.2.14/misc/pt_drv.o: init_module: Das Gerät oder die Ressource ist belegt
> /lib/modules/2.2.14/misc/pt_drv.o: insmod /lib/modules/2.2.14/misc/pt_drv.o failed
> /lib/modules/misc/pt_drv.o: init_module: Das Gerät oder die Ressource ist belegt
> /lib/modules/misc/pt_drv.o: insmod /lib/modules/misc/pt_drv.o failed
> /lib/modules/misc/pt_drv.o: insmod pt_drv failed
> make: *** [load] Error 1
> 
> .........................
> 
Stefan,

Try this to get it to load:

modprobe parport_pc

insmod -f pt_drv

Mark




>Hello,

>I've had some problems installing the driver for my Plustek Optic-Pro 9636T on
>my SuSE 6.4 system.
>Though I followed strictly the HOWTO by Alejandro Imass, I'm not able to load
>the pt_drv - module. 
>I tried to do this with the  plustek-sane-0_35 - and with the
>plustek-sane-0_36_16 - version of the driver.
>
>.................. 
>
>
> Here the output of lsmod after trying to load the module:
> 
> Module                  Size  Used by
> parport_probe           3492   0  (autoclean)
> parport_pc              7472   2  (autoclean)
> parport                 7464   2  [parport_probe parport_pc]
> ppp_deflate            40300   0  (autoclean)
> bsd_comp                4020   0  (autoclean)
> ppp                    20908   2  (autoclean) [ppp_deflate bsd_comp]
> slhc                    4440   0  (autoclean) [ppp]
> nfsd                  146188   4  (autoclean)
> ne2k-pci                4232   1  (autoclean)
> 8390                    6228   0  (autoclean) [ne2k-pci]
> serial                 42612   2  (autoclean)
> memstat                 1476   0  (unused)
> ide-scsi                7432   0
> nls_iso8859-1           2268   2  (autoclean)
> 
> .......................
> 
> And finally the output of dmesg while trying to load the module:
> 
> parport0: PC-style at 0x378 [SPP,PS2,EPP]
> parport_probe: failed
> parport0: no IEEE-1284 device present
> 
> I would be very happy if you could help me.
> 
> Thank you,
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
Subject: Re: 9646T - probs to load module
From: Stefan Eckert ####@####.####
Date: 23 Jul 2000 16:08:32 -0000
Message-Id: <00072318015400.00428@lin02>

> 
> Try this to get it to load:
> 
> modprobe parport_pc
> 
> insmod -f pt_drv
> 
> Mark
> 


Hello Mark,

still the same problem:

.........................
Using /lib/modules/2.2.14/misc/pt_drv.o
/lib/modules/2.2.14/misc/pt_drv.o: init_module: Das Gerät oder die Ressource ist belegt
.........................


it says the device is busy, but I can't find why!


Bye,
   Stefan

Subject: Re: 9646T - probs to load module
From: Stefan Eckert ####@####.####
Date: 23 Jul 2000 16:16:15 -0000
Message-Id: <00072318112901.00428@lin02>

> 
> Try this to get it to load:
> 
> modprobe parport_pc
> 
> insmod -f pt_drv
> 
> Mark
> 


Hello Mark,

still the same problem:

.........................
UUsing /lib/modules/2.2.14/misc/pt_drv.o
/lib/modules/2.2.14/misc/pt_drv.o: init_module: Das Gerät oder die Ressource ist belegt
.........................


it says the device is busy, but I can't find out why!


Bye,
Stefan
Subject: Re: 9646T - probs to load module
From: mnk ####@####.####
Date: 23 Jul 2000 16:59:57 -0000
Message-Id: <397B2532.973EB2E6@innocent.com>

Stefan,

Try:

modprobe -r pt_drv 

modprobe -r parport_pc

Then load up parport and pt_drv.

The original attempt to load usually hangs these up with "resource busy"
messages. Once they are unloaded then reloaded it clears up, at least
for me it does.

Mark



Stefan Eckert wrote:
> 
> >
> > Try this to get it to load:
> >
> > modprobe parport_pc
> >
> > insmod -f pt_drv
> >
> > Mark
> >
> 
> Hello Mark,
> 
> still the same problem:
> 
> .........................
> UUsing /lib/modules/2.2.14/misc/pt_drv.o
> /lib/modules/2.2.14/misc/pt_drv.o: init_module: Das Gerät oder die Ressource ist belegt
> .........................
> 
> it says the device is busy, but I can't find out why!
> 
> Bye,
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
Subject: Re: 9646T - probs to load module
From: Stefan Eckert ####@####.####
Date: 23 Jul 2000 19:01:42 -0000
Message-Id: <00072320565100.00541@lin02>

On Son, 23 Jul 2000, you wrote:
> Stefan,
> 
> Try:
> 
> modprobe -r pt_drv 
> 
> modprobe -r parport_pc
> 
> Then load up parport and pt_drv.
> 
> The original attempt to load usually hangs these up with "resource busy"
> messages. Once they are unloaded then reloaded it clears up, at least
> for me it does.
> 
> Mark
> 

Hello Mark,

I'm really sorry, but still it says 

Using /lib/modules/2.2.14/misc/pt_drv.o
/lib/modules/2.2.14/misc/pt_drv.o: init_module: device or ressource is busy


Is it possible that there is something special to do at my SuSE 6.4?

Bye
Stefan
Subject: Re: 9646T - probs to load module
From: mnk ####@####.####
Date: 23 Jul 2000 21:20:14 -0000
Message-Id: <397B621F.849C3268@innocent.com>

Stefan,

Last resort.

Delete the pt_drv in your modules directory. Delete the sane directory
and start again.

First off, I could not get the driver to work with Sane 1.0.2.  This
might have been due to some problems with my specific setup, but once I
switched to 1.0.1 things were much smoother.

I deleted all previous sane/plustek builds that I had tried.

1.  opened up sane1.0.1 (tar xvfz sane-1.0.1.tar.gz)
2.  copied the plustek tarball to the sane/backend directory (cp
plustek0.35.tgz sane-1.0.1/backend)
3.  opened the plustek driver up (tar xvfz plustek0.35.tgz)
4.  went back up to the sane directory (cd ../..)
5.  configured sane (CFLAGS="-g -O -Wall" ./configure
--prefix=/usr/local)
6.  made and installed sane w/plustek driver (make, make install, make
load). This is where I had trouble. The driver would not load this way

make load
make -f MakeKernel load
make[1]: Entering directory `/sane-1.0.1/backend/plustek_driver'
/sbin/modprobe pt_drv || exit 1
/lib/modules/2.2.14-15mdk/misc/pt_drv.o: init_module: Device or resource
busy
make[1]: *** [load] Error 1
make[1]: Leaving directory `/sane-1.0.1/backend/plustek_driver'
make: *** [load] Error 2 

No joy.  Mainly what failed here was the creation of the /dev/pt_drv
that is essential to the driver operating.

/usr/local/bin/scanimage -L
[plustek] dev_open: can't open /dev/pt_drv as a device
[plustek] attach: open failed: Error during device I/O? 

7. This isn't a problem though. Just make the dev entry yourself 
(mknod /dev/pt_drv c 40 0).

8. Now load the driver with insmod -f pt_drv

/usr/local/bin/scanimage -L
device `plustek:/dev/pt_drv' is a Plustek 9636T Vers = 0.35 flatbed
scanner 

9. Scan to your heart's content.


All of this was performed as root. My box is a Mandrake 7.1 now (these
directions were written when it was a 7.0 installation, but it worked
the same when I upgraded), but it should work on a SUSE box as well.
I have not tried 0.36 yet so I can't vouch for these directions working
on that version.


I hope this works for you this time. If not I have to defer to Gerhard
to figure it out.

Mark
Subject: Re: 9646T - probs to load module
From: "Jaeger, Gerhard" ####@####.####
Date: 24 Jul 2000 07:16:49 -0000
Message-Id: <00072409174504.22681@dagobert>

Hi Stefan,

please enable the debug messages in the driver module!
- Dive into directory backend/plustek_driver
- Open the Makefile and uncomment the line #DEBUG=y
- call make to rebuild the driver and make install to install it
- load the driver - make load
- then grab the system messages, by using dmesg and
send me that stuff.

I also have a SuSE 6.4 and I used to configure sane
(after untarring the driver tar-ball) with the following

./configure --prefix=/usr --sysconfdir=/etc

Gerhard
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.