[Comm] сканер lpt plustek (koi8-r)
John A. Gladkikh
=?iso-8859-1?q?vigio_=CE=C1_zt=2Ekharkov=2Eua?=
Ср Апр 16 19:42:14 MSD 2003
sorry now koi8-r
On Wed, 16 Apr 2003 18:25:25 +0400
Vitaly Lipatov <LAV на VL3143.spb.edu> wrote:
> On 16 Апрель 2003 17:45, Korshunov Ilya wrote:
> > В сообщении от Среда 16 Апрель 2003 17:34 John A. Gladkikh
> написал(a):
> > > Primax OneTouch7600
> >
> > А нафига компиляция ? Он же вроде supported в sane ?
> Требуется модуль pt_drv для работы с портом, которого нет в ядре.
>
вот он то и не грузится
[root на Vigio etc]# modprobe pt_drv
Note: /etc/modules.conf is more recent than /lib/modules/2.4.20-alt5-up/modules.dep
Note: /etc/modules.conf is more recent than /lib/modules/2.4.20-alt5-up/modules.dep
/lib/modules/2.4.20-alt5-up/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.20-alt5-up/misc/pt_drv.o: insmod /lib/modules/2.4.20-alt5-up/misc/pt_drv.o failed
/lib/modules/2.4.20-alt5-up/misc/pt_drv.o: insmod pt_drv failed
[root на Vigio etc]# depmod
depmod: *** Unresolved symbols in /lib/modules/2.4.20-alt5-up/misc/pt_drv.o
[root на Vigio etc]#
а вот кусок dmesg:
*********************************************
pt_drv: init_module()
pt_drv : driver version 0.41-6
ProcFsInitialize()
ptdrvInit(0)
Init settings done
ScanData = 0xd2ab8000
Using fast I/O
Requested port at 0x378
Requested port (0x378) found
Port mode reported: (0x0047)
Port for device 0 registered
ptdrvOpen(port=0x378)
Try to claim the parport
parport-modi: SPP PS/2 EPP EPP(ECP) PS/2(ECP)
Use of EPP-mode enforced
Starting Scanner-Autodetection
************ DETECTP48xx ************
ModelSet4800()
modelInitPageSettings()
A4 set
ModelSet4800() done.
P48xxInitAsic()
DacInitialize()
ImageInitialize()
IOFuncInitialize()
IOInitialize()
MotorInitialize()
Dataport = 0x0378
Ctrlport = 0x037a
Test 0x55
Test 0xAA
Compare data=0x7e and status=0x7e, port=0x378
detectScannerConnection() returns -9021.
************* ASIC9800x *************
IOInitialize()
ASIC = 0x77
Unknown ASIC-ID
*** DETECTION DONE, result: -9020 ***
ptdrvClose()
MiscRestorePort()
- no need to restore portmode !
Releasing parport
ptdrvShutdown()
cleanup device 0
Port unregistered
ProcFsShutdown()
pt_drv: proc del 'info' root='pt_drv'
pt_drv: proc del 'pt_drv' root='/proc'
pt_drv : no device(s) detected, (-9020)
---------------------------------------------
Подробная информация о списке рассылки community