plustek@linuxhacker.org

plustek@linuxhacker.org


Subject: problems to load modules with opticpro 1236p
From: Eric Barons
Date: Wed, 22 Oct 2003 08:56:35 +0200

Dear all,

I own a 1236P parallel port scanner. It is still operatable under Windows. 
I am now using the knoppix 3.3.
 The parallel port is not shared 
I tried the follwing:

-Sane 1.0.11 +Xsane from the knoppix 3.3 distribution is installed .

- In the {/etc/sane.d/dll.conf}, only the plustek-listing is active

-I downloaded the {plustek-module-0_45_7.tar.gz}, unpacked it into /usr/lib/sane

- I ran <make all> (as root because otherwise it stopped with an error)

- <make install> (everything fine until here, no errors)

- I put the listed three lines on the end of my {/etc/modules.conf}:
<
alias char-major-40     pt_drv
pre-install pt_drv modprobe -k parport
options pt_drv lampoff=180 warmup=15 port=0x378 lOffonEnd=0 mov=0
>

and run a <depmod -a>

- Now I tried to load the driver: <make load> (as root and as normal user)
There comes the error-output:
<
/home/eric/programmes/sane/backend/plustek_driver # make load
/sbin/modprobe pt_drv || exit 1
/lib/modules/2.4.22-xfs/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
/lib/modules/2.4.222-xfs/misc/pt_drv.o: insmod /lib/
modules/2.4.22-xfs/misc/pt_drv.o failed
/lib/modules/2.4.222-xfs/misc/pt_drv.o: insmod pt_drv failed
make: *** [load] error 1
/home/eric/programmes/sane/backend/plustek_driver #
>

- Afterwards, a <scanimage -L> does not find any scanner, as excepted after 
that error.

After this procedure failed, I also tried the other way: 
I deleted the Sane which came along with knoppix 3.3 and compiled and installed 
everthing manually. The problem is, everything was exactly as listed above: 
It worked fine until the <make load> operation and stopped there with the 
same-  (for me ununderstandable) error.


Can you tell me what to do to fix this problem?


Thanks for your concerns and very best regards,
Eric Barons



plustek@linuxhacker.org