plustek: 9646T - probs to load module
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