[sane-devel] load module with a primax colorado, probable 4800...(tce s440)

Louco.com você na internet. prowler at ig.com.br
Tue Oct 30 20:12:58 GMT 2001


When i try to load the module:
# modprobe pt_drv
or
# make load

I've got this error:
root at loko:/usr/src/sane# modprobe pt_drv
/lib/modules/2.4.12-ac2/misc/pt_drv.o: init_module: Success
/lib/modules/2.4.12-ac2/misc/pt_drv.o: Hint: insmod errors can be caused by 
incorrect
module parameters, including invalid IO or IRQ parameters
/lib/modules/2.4.12-ac2/misc/pt_drv.o: insmod 
/lib/modules/2.4.12-ac2/misc/pt_drv.o failed
/lib/modules/2.4.12-ac2/misc/pt_drv.o: insmod pt_drv failed

Like the device does not exist! And in my logs the message:

Oct 27 17:26:35 loko kernel: pt_drv : driver version 0.39-8
Oct 27 17:26:35 loko kernel: pt_drv : no device(s) detected, (-9020)

The message with debug go in atathement.

I've tryed epp and spp modes and the errors are the same.

And tryed active and deactive IEEE1284 in kernel too.

My paralel port is configured in bios in 0x378,irq7, my printer 
(epson lx300) is perfect with this. Note: its unpluged.

Whats going wrong?

My box is an k6-3-400 with 128mb ram, mb fic 503a, with slack8 and kernel 
2.4.12-ac2. I tryed with kernel 2.2.19, 2.4.13 and 2.4.13-ac3 too.

This scanner goes ok with the program primax_scan-0.93beta3 from 
http://primax.sourceforge.net/
primax_scan recognizes it like an "primax colorado"

And it's the third(3) from this list: 
http://primax.sourceforge.net/part_numbers.html
I've opened it and look for the ICs.

Thank you.
And sorry for my poor english, gramatical error corrections are welcome too.

--------------------------------------------------------------------------
   _o)(o_   LOUCURA, LOUCURA, LOUCURA!!!
 -./\\//\.- Foi difícil mas escolhi o duelo de pinguins, hehe.
  _\_VV_/_  DUELO TOTAL! Sem noção joselito, sem noção!
--------------------------------------------------------------------------
-------------- next part --------------
Oct 29 21:07:46 loko login[107]: ROOT LOGIN on `tty1'
Oct 29 21:08:28 loko kernel: parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
Oct 29 21:08:28 loko kernel: parport0: cpp_mux: aa55f00f52ad51(80)
Oct 29 21:08:28 loko kernel: parport0: cpp_daisy: aa5500ff(80)
Oct 29 21:08:28 loko kernel: parport0: assign_addrs: aa5500ff(80)
Oct 29 21:08:28 loko kernel: parport0: cpp_mux: aa55f00f52ad51(80)
Oct 29 21:08:28 loko kernel: parport0: cpp_daisy: aa5500ff(80)
Oct 29 21:08:28 loko kernel: parport0: assign_addrs: aa5500ff(80)
Oct 29 21:08:28 loko kernel: parport_pc: Via 686A parallel port: io=0x378
Oct 29 21:08:34 loko kernel: *********************************************
Oct 29 21:08:34 loko kernel: pt_drv: init_module()
Oct 29 21:08:34 loko kernel: pt_drv : driver version 0.39-8
Oct 29 21:08:34 loko kernel: ProcFsInitialize()
Oct 29 21:08:34 loko kernel: ptdrvInit(0)
Oct 29 21:08:34 loko kernel: Init settings done
Oct 29 21:08:34 loko kernel: ScanData = 0xc4d74000
Oct 29 21:08:34 loko kernel: Using fast I/O
Oct 29 21:08:34 loko kernel: Requested port at 0x378
Oct 29 21:08:34 loko kernel: Requested port (0x378) found
Oct 29 21:08:34 loko kernel: Port mode reported: (0x0047)
Oct 29 21:08:34 loko kernel: Port for device 0 registered
Oct 29 21:08:34 loko kernel: ptdrvOpen(port=0x378)
Oct 29 21:08:34 loko kernel: Try to claim the parport
Oct 29 21:08:34 loko kernel: parport-modi: SPP PS/2 EPP EPP(ECP) PS/2(ECP)
Oct 29 21:08:34 loko kernel: Using EPP-mode
Oct 29 21:08:34 loko kernel: Starting Scanner-Autodetection
Oct 29 21:08:34 loko kernel: ************ DETECTP48xx ************
Oct 29 21:08:34 loko kernel: ModelSet4800()
Oct 29 21:08:34 loko kernel: modelInitPageSettings()
Oct 29 21:08:34 loko kernel: A4 set
Oct 29 21:08:34 loko kernel: ModelSet4800() done.
Oct 29 21:08:34 loko kernel: P48xxInitAsic()
Oct 29 21:08:34 loko kernel: DacInitialize()
Oct 29 21:08:34 loko kernel: ImageInitialize()
Oct 29 21:08:34 loko kernel: IOFuncInitialize()
Oct 29 21:08:35 loko kernel: IOInitialize()
Oct 29 21:08:35 loko kernel: MotorInitialize()
Oct 29 21:08:35 loko kernel: Dataport = 0x0378
Oct 29 21:08:35 loko kernel: Ctrlport = 0x037a
Oct 29 21:08:35 loko kernel: Test 0x55
Oct 29 21:08:35 loko kernel: Test 0xAA
Oct 29 21:08:35 loko kernel: Compare data=0x80 and status=0x80, port=0x378
Oct 29 21:08:35 loko kernel: detectScannerConnection() returns -9021.
Oct 29 21:08:35 loko kernel: ************* ASIC9800x *************
Oct 29 21:08:35 loko kernel: IOInitialize()
Oct 29 21:08:35 loko kernel: ASIC = 0x88
Oct 29 21:08:35 loko kernel: Unknown ASIC-ID
Oct 29 21:08:35 loko kernel: *** DETECTION DONE, result: -9020 ***
Oct 29 21:08:35 loko kernel: ptdrvClose()
Oct 29 21:08:35 loko kernel: MiscRestorePort()
Oct 29 21:08:35 loko kernel: - no need to restore portmode !
Oct 29 21:08:35 loko kernel: Releasing parport
Oct 29 21:08:35 loko kernel: ptdrvShutdown()
Oct 29 21:08:35 loko kernel: cleanup device 0
Oct 29 21:08:35 loko kernel: Port unregistered
Oct 29 21:08:35 loko kernel: ProcFsShutdown()
Oct 29 21:08:35 loko kernel: pt_drv: proc del 'info' root='pt_drv'
Oct 29 21:08:35 loko kernel: pt_drv: proc del 'pt_drv' root='/proc'
Oct 29 21:08:35 loko kernel: pt_drv : no device(s) detected, (-9020)
Oct 29 21:08:35 loko kernel: ---------------------------------------------


More information about the sane-devel mailing list