plustek: Problem with Plustek 4830 P scanner
Subject:
Re: Problem with Plustek 4830 P scanner
From:
"Jaeger, Gerhard" ####@####.####
Date:
20 Jul 2001 06:32:27 -0000
Message-Id: <01072008315903.00520@gja>
Sorry my fault!
The mknod command was wrong:
mknod -m 664 /dev/pt_drv c 40 0
And if the module has been loaded, you can check the proc-fs:
cat /proc/pt_drv/device0/info
This should show you the loaded device. In your case it is not necessary
to remove th IEEE stuff, because you had already managed to load
pt_drv ...
The modprobe problem is still strange....
If you like to use the makefile, then find the line
load:
there you might replace /sbin/modprobe by /sbin/insmod
then make load should work and the nodes were created
automatically...
Gerhard
On Don, 19 Jul 2001, Alimin Bijosono Oei wrote:
> Hi Gerhard,
>
> I tried to recompile my kernel to remove the IEEE 1284 support which might
> have
> caused the problem of scanner not detected and it went successful.
>
> I then tried to do the same process all over again and also did symlink
> insmod
> to modprobe as you suggested and then 'make load' still with the same error
> message: [root@localhost plustek_driver]# rm /sbin/modprobe rm: remove
> `/sbin/modprobe'? y [root@localhost plustek_driver]# ln -s /sbin/insmod
> /sbin/modprobe [root@localhost plustek_driver]#
> [root@localhost plustek_driver]# make load
> /sbin/modprobe pt_drv || exit 1
> sh: modprobe: command not found
> /lib/modules/2.4.3-12-19july2001/kernel/drivers/parport/parport.o:
> pre-install pt_drv failed
> /lib/modules/2.4.3-12-19july2001/kernel/drivers/parport/parport.o: insmod
> pt_drv failed
> make: *** [load] Error 1
>
> I then insert the module manually:
> [root@localhost plustek_driver]# /sbin/insmod parport
> Using /lib/modules/2.4.3-12-19july2001/kernel/drivers/parport/parport.o
> [root@localhost plustek_driver]# /sbin/insmod pt_drv
> Using /lib/modules/2.4.3-12-19july2001/misc/pt_drv.o
>
> Then do 'mknod'as in your suggestion with the following error:
> [root@localhost plustek_driver]# mknod -m /dev/pt_drv c 40 0
> mknod: invalid mode
>
> Alimin
>
>
> >
> >Hi,
> >
> >well , I can't explain why modprobe can't be found or used....
> >You might go into the directory /sbin and check modprobe, as modprobe
> >is a soft-link to insmod, you might try:
> >rm /sbin/modprobe
> >ln -s /sbin/insmod /sbin/modprobe
> >
> >This may help...
> >
> >If the module is loaded (and here it is), you're scanner is detected.
> >After that step, you will need the device node
> >/dev/pt_drv
> >This node normally will be created within the makefile, but you can do this
> >manually (and as root, of course):
> >mknod -m /dev/pt_drv c 40 0
> >
> >Now, scanimage -L should be able to find the scanner.
> >
> >Hope this helps
> >Gerhard
>