plustek: OpticPro 9636P - Unknown ASIC-ID?


Previous by date: 20 Oct 2001 16:10:29 -0000 Status USB-Driver, Jaeger, Gerhard
Next by date: 20 Oct 2001 16:10:29 -0000 problem with Optic Pro 6000, Andreas Grund
Previous in thread:
Next in thread: 20 Oct 2001 16:10:29 -0000 Re: OpticPro 9636P - Unknown ASIC-ID?, Jaeger, Gerhard

Subject: OpticPro 9636P - Unknown ASIC-ID?
From: Lorcan Hamill ####@####.####
Date: 20 Oct 2001 16:10:29 -0000
Message-Id: <3BD1A34E.A008E01C@indigo.ie>

Hi,

I'm having a problem getting my OpticPro 9636P working, and would
be very grateful for any help available!

Short Version:

"make load" fails with errors - DEBUG version produces
this in /var/log/messages:

Oct 20 16:51:13 localhost kernel: ************* ASIC9800x *************
Oct 20 16:51:13 localhost kernel: IOInitialize()
Oct 20 16:51:13 localhost kernel: ASIC = 0x20
Oct 20 16:51:13 localhost kernel: Unknown ASIC-ID
Oct 20 16:51:13 localhost kernel: *** DETECTION DONE, result: -9020 ***

The web page says that the 9636P uses Asic 98001, so shouldn't
the ASIC9800x detection work?  What does "Unknown ASIC-ID"
suggest to anyone who knows this stuff?  (I'm guessing my
scanner may use some unsupported chip variant, but it worked
before...)

Long Version:

This was all working some months back with RedHat 7.0 (I think -
maybe it was 6.2) but I lost all the config stuff when I upgraded
to RedHat 7.1.  Today, I wanted to scan some stuff for the first
time in ages, so here's what I did.

Used "rpm  -e" to remove the existing sane, xsane and xsane-gimp
rpms.  (You can't build the plustek modules with those, can you?)

Downloaded the source for sane-backends 1.0.5, built and installed it.

Downloaded plustek-module-0_39_7.tar.gz, built and installed it.

Added three lines at the end of /etc/modules.conf - here's
the whole file, just in case the other modules are significant:

 alias parport_lowlevel parport_pc
 alias usb-controller usb-uhci
 alias sound au8830
 alias midi au8830
 alias sound-slot-0 au8830
 post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L
>/dev/null 2>&1 || :
 pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S
>/dev/null 2>&1 || :
 alias char-major-40 pt_drv
 pre-install pt_drv modprobe -k parport
 options pt_drv lampoff=180 warmup=15 port=0x378 lOffonEnd=0 mov=4
slowIO=1

I'm pretty sure the port is correct:

 [root@localhost plustek_driver]# cat
/proc/sys/dev/parport/parport0/base-addr 
 888   1912

888 = 0x378, yes? :)

Then, when I try "make load", I get an error:

 [root@localhost plustek_driver]# make load
 /sbin/modprobe pt_drv || exit 1
 /lib/modules/2.4.2-2/misc/pt_drv.o: init_module: Success
 Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters
 /lib/modules/2.4.2-2/misc/pt_drv.o: insmod
/lib/modules/2.4.2-2/misc/pt_drv.o failed
 /lib/modules/2.4.2-2/misc/pt_drv.o: insmod pt_drv failed
 make: *** [load] Error 1

Read all the READMEs, FAQs, manpages, etc.  (No, honest, I did!)

Rebuilt the module with:

 make clean
 make all DEBUG=y
 make install
 make load

and got the same errors.  The contents of /var/log/messages after
that attempt are shown below.  As mentioned above, I think these
few lines may be significant:

Oct 20 16:51:13 localhost kernel: ************* ASIC9800x *************
Oct 20 16:51:13 localhost kernel: IOInitialize()
Oct 20 16:51:13 localhost kernel: ASIC = 0x20
Oct 20 16:51:13 localhost kernel: Unknown ASIC-ID
Oct 20 16:51:13 localhost kernel: *** DETECTION DONE, result: -9020 ***

If anyone has any suggestions for what to try next, I'd
be delighted to hear them.  If some information is needed that I
haven't included, just shout!

Thanks in advance,

Lorcan Hamill

Contents of /var/log/messages start  ========================

Oct 20 16:51:13 localhost kernel:
*********************************************
Oct 20 16:51:13 localhost kernel: pt_drv: init_module()
Oct 20 16:51:13 localhost kernel: pt_drv : driver version 0.39-8
Oct 20 16:51:13 localhost kernel: ProcFsInitialize()
Oct 20 16:51:13 localhost kernel: ptdrvInit(0)
Oct 20 16:51:13 localhost kernel: Init settings done
Oct 20 16:51:13 localhost kernel: ScanData = 0xcdfe4000
Oct 20 16:51:13 localhost kernel: Using slow I/O
Oct 20 16:51:13 localhost kernel: Requested port at 0x378
Oct 20 16:51:13 localhost kernel: Winbond Super-IO detection, now
testing ports 3F0,370,250,4E,2E ...
Oct 20 16:51:13 localhost kernel: SMSC Super-IO detection, now testing
Ports 2F0, 370 ...
Oct 20 16:51:13 localhost kernel: parport0: PC-style at 0x378
[PCSPP,TRISTATE,EPP]
Oct 20 16:51:13 localhost kernel: Requested port (0x378) found
Oct 20 16:51:13 localhost kernel: Port mode reported: (0x0047)
Oct 20 16:51:13 localhost kernel: Port for device 0 registered
Oct 20 16:51:13 localhost kernel: ptdrvOpen(port=0x378)
Oct 20 16:51:13 localhost kernel: Try to claim the parport
Oct 20 16:51:13 localhost kernel: parport-modi: SPP PS/2 EPP EPP(ECP)
PS/2(ECP)
Oct 20 16:51:13 localhost kernel: Using EPP-mode
Oct 20 16:51:13 localhost kernel: Starting Scanner-Autodetection
Oct 20 16:51:13 localhost kernel: ************ DETECTP48xx ************
Oct 20 16:51:13 localhost kernel: ModelSet4800()
Oct 20 16:51:13 localhost kernel: modelInitPageSettings()
Oct 20 16:51:13 localhost kernel: A4 set
Oct 20 16:51:13 localhost kernel: ModelSet4800() done.
Oct 20 16:51:13 localhost kernel: P48xxInitAsic()
Oct 20 16:51:13 localhost kernel: DacInitialize()
Oct 20 16:51:13 localhost kernel: ImageInitialize()
Oct 20 16:51:13 localhost kernel: IOFuncInitialize()
Oct 20 16:51:13 localhost kernel: IOInitialize()
Oct 20 16:51:13 localhost kernel: MotorInitialize()
Oct 20 16:51:13 localhost kernel: Dataport = 0x0378
Oct 20 16:51:13 localhost kernel: Ctrlport = 0x037a
Oct 20 16:51:13 localhost kernel: Test 0x55
Oct 20 16:51:13 localhost kernel: Test 0xAA
Oct 20 16:51:13 localhost kernel: Compare data=0x78 and status=0x8,
port=0x378
Oct 20 16:51:13 localhost kernel: p48xxReadWriteTest()
Oct 20 16:51:13 localhost kernel: Found a 96003 ASIC at Reg 0x13
Oct 20 16:51:13 localhost kernel: ModelSet4830()
Oct 20 16:51:13 localhost kernel: modelInitPageSettings()
Oct 20 16:51:13 localhost kernel: A4 set
Oct 20 16:51:13 localhost kernel: ModelSet4830() done.
Oct 20 16:51:13 localhost kernel: p48xxDoTest()
Oct 20 16:51:13 localhost kernel: Bank 0 overwritten
Oct 20 16:51:13 localhost kernel: found 0 bytes of memory
Oct 20 16:51:13 localhost kernel: No memory ! No scanner...
Oct 20 16:51:13 localhost kernel: p48xxReadWriteTest()
Oct 20 16:51:13 localhost kernel: Found a 96003 ASIC at Reg 0x13
Oct 20 16:51:13 localhost kernel: ModelSet4830()
Oct 20 16:51:13 localhost kernel: modelInitPageSettings()
Oct 20 16:51:13 localhost kernel: A4 set
Oct 20 16:51:13 localhost kernel: ModelSet4830() done.
Oct 20 16:51:13 localhost kernel: p48xxDoTest()
Oct 20 16:51:13 localhost kernel: Bank 0 overwritten
Oct 20 16:51:13 localhost kernel: found 0 bytes of memory
Oct 20 16:51:13 localhost kernel: No memory ! No scanner...
Oct 20 16:51:13 localhost kernel: p48xxReadWriteTest()
Oct 20 16:51:13 localhost kernel: Found a 96003 ASIC at Reg 0x13
Oct 20 16:51:13 localhost kernel: ModelSet4830()
Oct 20 16:51:13 localhost kernel: modelInitPageSettings()
Oct 20 16:51:13 localhost kernel: A4 set
Oct 20 16:51:13 localhost kernel: ModelSet4830() done.
Oct 20 16:51:13 localhost kernel: p48xxDoTest()
Oct 20 16:51:13 localhost kernel: Bank 0 overwritten
Oct 20 16:51:13 localhost kernel: found 0 bytes of memory
Oct 20 16:51:13 localhost kernel: No memory ! No scanner...
Oct 20 16:51:13 localhost kernel: p48xxReadWriteTest()
Oct 20 16:51:13 localhost kernel: Found a 96003 ASIC at Reg 0x13
Oct 20 16:51:13 localhost kernel: ModelSet4830()
Oct 20 16:51:13 localhost kernel: modelInitPageSettings()
Oct 20 16:51:13 localhost kernel: A4 set
Oct 20 16:51:13 localhost kernel: ModelSet4830() done.
Oct 20 16:51:13 localhost kernel: p48xxDoTest()
Oct 20 16:51:13 localhost kernel: Bank 0 overwritten
Oct 20 16:51:13 localhost kernel: found 0 bytes of memory
Oct 20 16:51:13 localhost kernel: No memory ! No scanner...
Oct 20 16:51:13 localhost kernel: p48xxReadWriteTest()
Oct 20 16:51:13 localhost kernel: Found a 96003 ASIC at Reg 0x13
Oct 20 16:51:13 localhost kernel: ModelSet4830()
Oct 20 16:51:13 localhost kernel: modelInitPageSettings()
Oct 20 16:51:13 localhost kernel: A4 set
Oct 20 16:51:13 localhost kernel: ModelSet4830() done.
Oct 20 16:51:13 localhost kernel: p48xxDoTest()
Oct 20 16:51:13 localhost kernel: Bank 0 overwritten
Oct 20 16:51:13 localhost kernel: found 0 bytes of memory
Oct 20 16:51:13 localhost kernel: No memory ! No scanner...
Oct 20 16:51:13 localhost kernel: detectScannerConnection() returns
-9020.
Oct 20 16:51:13 localhost kernel: ************* ASIC9800x *************
Oct 20 16:51:13 localhost kernel: IOInitialize()
Oct 20 16:51:13 localhost kernel: ASIC = 0x20
Oct 20 16:51:13 localhost kernel: Unknown ASIC-ID
Oct 20 16:51:13 localhost kernel: *** DETECTION DONE, result: -9020 ***
Oct 20 16:51:13 localhost kernel: ptdrvClose()
Oct 20 16:51:13 localhost kernel: MiscRestorePort()
Oct 20 16:51:13 localhost kernel: - no need to restore portmode !
Oct 20 16:51:13 localhost kernel: Releasing parport
Oct 20 16:51:13 localhost kernel: ptdrvShutdown()
Oct 20 16:51:13 localhost kernel: cleanup device 0
Oct 20 16:51:13 localhost kernel: Port unregistered
Oct 20 16:51:13 localhost kernel: ProcFsShutdown()
Oct 20 16:51:13 localhost kernel: pt_drv: proc del 'info' root='pt_drv'
Oct 20 16:51:13 localhost kernel: pt_drv: proc del 'pt_drv' root='/proc'
Oct 20 16:51:13 localhost kernel: pt_drv : no device(s) detected,
(-9020)
Oct 20 16:51:13 localhost kernel:
---------------------------------------------
Oct 20 17:10:00 localhost kernel: Uniform CD-ROM driver unloaded
Oct 20 17:10:01 localhost kernel: hdc: ATAPI 32X DVD-ROM drive, 256kB
Cache, DMA
Oct 20 17:10:01 localhost kernel: Uniform CD-ROM driver Revision: 3.12

Contents of /var/log/messages end  ========================

Previous by date: 20 Oct 2001 16:10:29 -0000 Status USB-Driver, Jaeger, Gerhard
Next by date: 20 Oct 2001 16:10:29 -0000 problem with Optic Pro 6000, Andreas Grund
Previous in thread:
Next in thread: 20 Oct 2001 16:10:29 -0000 Re: OpticPro 9636P - Unknown ASIC-ID?, Jaeger, Gerhard


Powered by ezmlm-browse 0.20.