[sane-devel] Primax 400 (plustek_pp) only detected by kernel module

Gerhard Jaeger gerhard@gjaeger.de
Mon, 7 Feb 2005 08:31:47 +0100


On Friday 04 February 2005 22:57, john wrote:
> Hello,
> 
> I've got an antique "Primax 4800 Driect 30 bit" which is supported by
> the plustek_pp module.
> 
> If I load the kernel module, everything works fine. But using the
> [direct] user-mode driver, I get this from scanimage -L:
> 
> <snip>
> [plustek_pp] Compare data=0x7f and status=0xf, port=0x0
> [plustek_pp] p48xxReadWriteTest()
> [plustek_pp] Can't find your model, asic = 0x77
> [plustek_pp] detectScannerConnection() returns -9031.
> [plustek_pp] ************* ASIC9800x *************
> [plustek_pp] ResetPort()
> [plustek_pp] IOInitialize()
> [plustek_pp] * using readfunction >fnBiDirRead<
> [plustek_pp] ASIC = 0x00
> [plustek_pp] Unknown ASIC-ID
> [plustek_pp] *** DETECTION DONE, result: -9020 ***
> <snip>
> No scanners were identified.
> 
> I've tested on Debian unstable (2.4 kernel) and Slackware current (2.6
> kernel) with the same results. Cn anyone point me to where I should
> start looking for the problem?
> 
Hi,

this could be because of different timing behaviour, when accessing a device
via kernel directly or via user-mode application. As you didn't send the complete
debug stuff, I simply guess, that the parport didn't run in EPP mode (or is not
detected correctly), please make sure to have it in EPP mode (check BIOS settings),
also check the options for the parport_pc modules (no IRQ should be assigned)...

Ciao,
Gerhard