Skaner
Jarosław Kamper
jack w jack.eu.org
Pon, 20 Paź 2003, 21:10:57 CEST
Dnia pią 17. października 2003 01:14, Krystian T napisał:
> Witam
> Próbuję uruchomić skaner Plustek OpticPro 9636T i coś mi to nie
> wychodzi
>
> :(
>
> Czy ktoś mógłby mi pomóc?
>
> [root w tom /]# modprobe -v pt_drv
> # pre-install pt_drv:
> modprobe -k parport
> /sbin/insmod /lib/modules/2.4.20-9smp/misc/pt_drv.o.gz lampoff=180
> warmup=15 port=0x378 lOffonEnd=0 mov=0 slowIO=1 forceMode=2
> Using /lib/modules/2.4.20-9smp/misc/pt_drv.o.gz
> Symbol version prefix 'smp_'
> /lib/modules/2.4.20-9smp/misc/pt_drv.o.gz: 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.20-9smp/misc/pt_drv.o.gz: insmod
> /lib/modules/2.4.20-9smp/misc/pt_drv.o.gz failed
> /lib/modules/2.4.20-9smp/misc/pt_drv.o.gz: insmod pt_drv failed
[jack w pldworkstation jack]$ sudo modprobe -v pt_drv
/sbin/insmod /lib/modules/2.4.20-8_nogrsec/misc/pt_drv.o.gz lampoff=300
warmup=60 port=0x378 lOffonEnd=1 mov=0 slowIO=0 forceMode=0
Using /lib/modules/2.4.20-8_nogrsec/misc/pt_drv.o.gz
Symbol version prefix ''
/lib/modules/2.4.20-8_nogrsec/misc/pt_drv.o.gz: 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.20-8_nogrsec/misc/pt_drv.o.gz: insmod
/lib/modules/2.4.20-8_nogrsec/misc/pt_drv.o.gz failed
/lib/modules/2.4.20-8_nogrsec/misc/pt_drv.o.gz: insmod pt_drv failed
Z sysloga:
Oct 20 21:03:54 pldworkstation pt_drv : driver version 0.42-10
Oct 20 21:03:54 pldworkstation parport0: PC-style at 0x378 (0x778)
[PCSPP,TRISTATE]
Oct 20 21:03:54 pldworkstation parport0: irq 7 detected
Oct 20 21:03:54 pldworkstation pt_drv : no device(s) detected, (-9020)
Oct 20 21:04:25 pldworkstation pt_drv : driver version 0.42-10
A tu po włożeniu wtyczki skanera do zasilania ;)
[jack w pldworkstation jack]$ sudo modprobe -v pt_drv
/sbin/insmod /lib/modules/2.4.20-8_nogrsec/misc/pt_drv.o.gz lampoff=300
warmup=60 port=0x378 lOffonEnd=1 mov=0 slowIO=0 forceMode=0
Using /lib/modules/2.4.20-8_nogrsec/misc/pt_drv.o.gz
Symbol version prefix ''
Z sysloga:
Oct 20 21:05:05 pldworkstation pt_drv0: 9636T/12000T found on port 0x0378
Oct 20 21:05:05 pldworkstation pt_drv0: Lamp-Timer set to 300 seconds.
Oct 20 21:05:05 pldworkstation pt_drv0: WarmUp period set to 60 seconds.
Oct 20 21:05:05 pldworkstation pt_drv0: Lamp switch-off on driver unload.
W modules.conf:
alias char-major-40 pt_drv
options pt_drv lampoff=300 warmup=60 port=0x378 lOffonEnd=1 mov=0
slowIO=0 forceMode=0
> Tu jest fragment z syslog:
>
> Oct 17 00:49:24 tom kernel: devfs_mk_dir(scanner): using old entry in
> dir: c161d540 ""
> Oct 17 00:49:24 tom kernel: pt_drv : driver version 0.42-10
> Oct 17 00:49:24 tom kernel: parport0: PC-style at 0x378 (0x778)
> [PCSPP,TRISTATE,EPP]
> Oct 17 00:49:24 tom kernel: parport0: irq 7 detected
> Oct 17 00:49:24 tom kernel: pt_drv : no device(s) detected, (-9020)
>
> A tu zainstalowane pakiety:
>
> sane-frontends-1.0.11-4
> sane-backends-1.0.12-1
> sane-backends-plustek-1.0.12-1
> kernel-smp-char-plustek-0.45.5-1 w 2.4.20_9
> kernel-2.4.20-9
[jack w pldworkstation jack]$ rpm -qa|grep "sane\|plustek"
sane-backends-1.0.12-1
kernel-char-plustek-0.45.5-1 w 2.4.20_8_nogrsec
sane-frontends-1.0.8-2
sane-backends-plustek-1.0.12-1
sane-backends-devel-1.0.12-1
A, gdzieś w międzyczasie popełniłem:
sudo mknod /dev/pt_drv c 40 01
bo mam devfs, który mi łądnie czyści /dev :)
--
Jarosław Kamper <jack w jack.eu.org> http://jack.eu.org/
Więcej informacji o liście dyskusyjnej pld-users-pl