[sane-devel] Plustek 9636T memory test failure

Oskar Schirmer oskar at scara.com
Tue Sep 7 10:29:07 UTC 2010


Trying to get the plustek 9636T work
on an Ubuntu 10.04 500MHz x86 installation,
but it fails during detection. With
export SANE_DEBUG_PLUSTEK_PP=255 set,
scanimage run with root permissions says:

[...]
[plustek_pp] attach (parport0, 0xbf84e5e0, (nil))
[plustek_pp] Device configuration:
[plustek_pp] device name   : >parport0<
[plustek_pp] direct I/O    : yes
[plustek_pp] warmup        : -1s
[plustek_pp] lampOff       : -1
[plustek_pp] lampOffOnEnd  : yes
[plustek_pp] model override: 0
[plustek_pp] ---------------------
[plustek_pp] drvopen()
[plustek_pp] ptdrvInit(0)
[plustek_pp] Init settings done
[plustek_pp] ScanData = 0x08e16d68
[plustek_pp] Assigning port handle 0
[plustek_pp] ptdrvOpen(port=0x0)
[plustek_pp] Try to claim the parport
[plustek_pp] Setting SPP-mode
[plustek_pp] Setting EPP-mode
[plustek_pp] We're using libIEEE1284 I/O
[plustek_pp] Starting Scanner-Autodetection
[plustek_pp] ************ DETECTP48xx ************
[plustek_pp] ModelSet4800()
[plustek_pp] modelInitPageSettings()
[plustek_pp] A4 set
[plustek_pp] ModelSet4800() done.
[plustek_pp] P48xxInitAsic()
[plustek_pp] DacInitialize()
[plustek_pp] ImageInitialize()
[plustek_pp] IOFuncInitialize()
[plustek_pp] IOInitialize()
[plustek_pp] * using readfunction >fnEPPRead<
[plustek_pp] MotorInitialize()
[plustek_pp] ResetPort()
[plustek_pp] Test 0x55
[plustek_pp] Test 0xAA
[plustek_pp] Compare data=0x78 and status=0x58, port=0x0
[plustek_pp] p48xxReadWriteTest()
[plustek_pp] Can't find your model, asic = 0x5a
[plustek_pp] detectScannerConnection() returns -9031.
[plustek_pp] ************* ASIC9800x *************
[plustek_pp] ResetPort()
[plustek_pp] IOInitialize()
[plustek_pp] * using readfunction >fnEPPRead<
[plustek_pp] ASIC = 0x81
[plustek_pp] ************* ASIC98001 *************
[plustek_pp] ModelSet9636()
[plustek_pp] ModelSet9360()
[plustek_pp] modelInitPageSettings()
[plustek_pp] A4 set
[plustek_pp] ModelSet9630() done.
[plustek_pp] modelInitPageSettings()
[plustek_pp] A4 set
[plustek_pp] ModelSet9636() done.
[plustek_pp] P9636InitAsic()
[plustek_pp] DacInitialize()
[plustek_pp] ImageInitialize()
[plustek_pp] IOFuncInitialize()
[plustek_pp] IOInitialize()
[plustek_pp] * using readfunction >fnEPPRead<
[plustek_pp] MotorInitialize()
[plustek_pp] 0x81
[plustek_pp] CCID = 0x00
[plustek_pp] P9636InitAsic() done.
[plustek_pp] ResetPort()
[plustek_pp] Test 0x55
[plustek_pp] Test 0xAA
[plustek_pp] Compare data=0x78 and status=0x18, port=0x0
[plustek_pp] ioP98ReadWriteTest()
[plustek_pp] Moving 1280 bytes to scanner, IODELAY = 0...
[plustek_pp] ... done.
[plustek_pp] Error in memory test at pos 0 (0 != 255)
[plustek_pp] ioP98ReadWriteTest()
[plustek_pp] Moving 1280 bytes to scanner, IODELAY = 1...
[plustek_pp] ... done.
[plustek_pp] Error in memory test at pos 0 (0 != 255)
[plustek_pp] ioP98ReadWriteTest()
[plustek_pp] Moving 1280 bytes to scanner, IODELAY = 2...
[plustek_pp] ... done.
[plustek_pp] Error in memory test at pos 0 (0 != 255)
[plustek_pp] ioP98ReadWriteTest()
[plustek_pp] Moving 1280 bytes to scanner, IODELAY = 3...
[plustek_pp] ... done.
[plustek_pp] Error in memory test at pos 0 (0 != 255)
[plustek_pp] ioP98ReadWriteTest()
[plustek_pp] Moving 1280 bytes to scanner, IODELAY = 4...
[plustek_pp] ... done.
[plustek_pp] Error in memory test at pos 0 (0 != 255)
[plustek_pp] detectScannerConnection() returns -9020.
[plustek_pp] *** DETECTION DONE, result: -9020 ***
[plustek_pp] ptdrvClose()
[plustek_pp] MiscRestorePort()
[plustek_pp] Releasing parport
[plustek_pp] ptdrvShutdown()
[plustek_pp] cleanup device 0
[plustek_pp] open: PtDrvInit failed: -9020
[plustek_pp] open failed: -1
[plustek_pp] sane_get_devices (0xbf8506ec, 0)
scanimage: no SANE devices found
[plustek_pp] sane_exit

With comments dropped, /etc/sane.d/plustek_pp.conf is:

[direct]
device parport0
option warmup    -1
option lOffOnEnd -1
option lampOff   -1

Actually, the lamp, switched on with power up,
goes dark when scanimage is run, so some
parallel communication is probably working.

What's going wrong,
what does the memory test and IODELAY thing tell?

thanks,
  Oskar



More information about the sane-devel mailing list