[sane-devel] Umax Astra 200P Bug-Report OS/2

stef stef-listes@wanadoo.fr
Fri, 26 Apr 2002 15:03:57 +0200


On Wed, Apr 03, 2002 at 10:23:15PM +0200, Franz Bakan wrote:
> On Fri, 29 Mar 2002 06:35:17 +0100, stef wrote:
> 
> >	There are two options:
> >
> >	- set parallel port to EPP only in BIOS, and see what happens
> >
> >	- try latest CVS which has some code to set ECPEPP in this case
> 
> In EPP-Mode
> scanimage -L seems to work now, with latest CVS-code compiled, but
> 
> scanimage --device=umax_pp 1>1.pnm 2>errors-scan.log
> 
> results in the following lines at the end of the error-log:
> 
> ...
> [umax_pp] init: evaluating option <option astra 2000>
> [umax_pp] init: option astra 2000 P
> [umax_pp] open: device `'
> [umax_pp] open: trying default device 0x378, port=0x378
> [umax_pp_low] SendCommand(0xE0) passed...
> [umax_pp_low] ClearRegister(0) passed...
> [umax_pp_low] Init001() passed... (umax_pp_low.c:3896)
> [umax_pp_low] Error! expected reg0B=0xC7, found 0x00! (umax_pp_low.c:3902) 
> [umax_pp_low] Scanner needs probing ... 
> [umax_pp_low] EPPRegisterWrite(0xA,0x0) passed...   (umax_pp_low.c:3399)
> [umax_pp_low] ReleaseScanner() done ...
> [umax_pp_low] status 170 doesn't match! umax_pp_low.c:2640
> [umax_pp_low] No scanner detected by 'RingScanner(2,0)'...
> [umax_pp_low] status 170 doesn't match! umax_pp_low.c:2640
> [umax_pp_low] No scanner detected by 'RingScanner(5,0)'...
> [umax_pp_low] status 170 doesn't match! umax_pp_low.c:2640
> [umax_pp_low] No scanner detected by 'RingScanner(5,10000)'...
> [umax_pp_low] status 170 doesn't match! umax_pp_low.c:2640
> [umax_pp_low] No scanner detected by 'RingScanner(5,10000)'...
> [umax_pp_low] RingScanner passed...
> [umax_pp_low] SendCommand(0x30) passed ... (umax_pp_low.c:4388)
> [umax_pp_low] SendCommand(0x00) passed... (umax_pp_low.c:4395)
> [umax_pp_low] status 170 doesn't match! umax_pp_low.c:2806
> [umax_pp_low] TestVersion(0) (umax_pp_low.c:4399) failed ...
> [umax_pp_mid] sanei_umax_pp_InitTransport() failed (umax_pp_mid.c:284)
> [umax_pp] failed to init transport layer on port 0x000
> scanimage: open of device umax_pp failed: Error during device I/O
> [umax_pp] sane_exit: (...)
> 
> I have sent the complete errorlogs to stef.
> 
> Bye,
> Franz
> 
> 
> _______________________________________________
> Sane-devel mailing list
> Sane-devel@www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel

	Sorry for being so long to answer, 

	it seems that the trouble arise from the arguments given. It should have been
	scanimage --device=umax_pp:0x378 1>1.pnm 2>errors-scan.log 
note the 0x378, since it isn't given, the device tried was 0x00, which eventually 
fails: 'failed to init transport layer on port 0x000' . You may have to change 0x378
to the real parport address.

Regards,
	Stef