plustek@linuxhacker.org

plustek@linuxhacker.org


Subject: Re: Plustek OpticPro 12000T - solved
From: Jastra
Date: Fri, 1 Feb 2008 11:01:53 +0100 (CET)


Final cosmetics to make devices and load the module on startup:

I have made text file named "plustek"

#! /bin/sh
mknod -m 0664 /dev/pt_drv c 40 0
mknod -m 0664 /dev/pt_drv0 c 40 0
mknod -m 0664 /dev/pt_drv1 c 40 1
mknod -m 0664 /dev/pt_drv2 c 40 2
mknod -m 0664 /dev/pt_drv3 c 40 3
insmod /lib/modules/2.6.18-5-686/kernel/drivers/parport/pt_drv.ko

copied it to /etc/init.d and made it executable.

Then, I have run command:

update-rc.d plustek defaults

to make all necessary links to all runlevels directories.
That is all - it is possible to forget about the module for some time.

Best greetings
Basia


plustek@linuxhacker.org