[sane-devel] Problems with Plustek driver

Danilo Godec danci at kibla.org
Tue Mar 4 15:24:09 GMT 2003


On Tue, 4 Mar 2003, Jaeger, Gerhard wrote:

> Hi,
> 
> what about the access rights of /dev/pt_drv0?

I was root when I tried this, but also tried to set it to 777:

dis:~ # ll /dev/pt_drv*
crwxrwxrwx    1 root     root      40,   0 Mar  5 08:45 /dev/pt_drv
crwxrwxrwx    1 root     root      40,   0 Mar  5 08:45 /dev/pt_drv0
crwxrwxrwx    1 root     root      40,   1 Mar  5 08:45 /dev/pt_drv1
crwxrwxrwx    1 root     root      40,   2 Mar  5 08:45 /dev/pt_drv2
crwxrwxrwx    1 root     root      40,   3 Mar  5 08:45 /dev/pt_drv3

and it didn't change a thing...

There is one weird thing I've noticed - if I un-load the pt_drv module, I 
can't re-load it again.

dis:~ # lsmod
Module                  Size  Used by    Not tainted
sg                     27904   0  (autoclean) (unused)
parport_pc             25544   1  (autoclean)
pt_drv                113168   0
videodev                5600   0  (autoclean)
agpgart                34304   4  (autoclean)
usbserial              18492   0  (autoclean) (unused)
parport                22528   1  (autoclean) [parport_pc pt_drv]
ipv6                  138964  -1  (autoclean)
af_packet              12904   1  (autoclean)
isa-pnp                29664   0  (unused)
joydev                  5600   0
evdev                   4352   0  (unused)
input                   3168   0  [joydev evdev]
usb-uhci               21612   0  (unused)
usbcore                56768   1  [usbserial usb-uhci]
8139too                14280   2
mii                     1056   0  [8139too]
lvm-mod                62976   0  (autoclean)
ext3                   76552   1
jbd                    45372   1  [ext3]
dis:~ # rmmod pt_drv
dis:~ # modprobe pt_drv
/lib/modules/2.4.19/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.19/misc/pt_drv.o: insmod 
/lib/modules/2.4.19/misc/pt_drv.o failed
/lib/modules/2.4.19/misc/pt_drv.o: insmod pt_drv failed

dmesg:
pt_drv : driver version 0.42-10
pt_drv : no device(s) detected, (-9020)

Any clues?

Thanks, Danilo





More information about the sane-devel mailing list