[sane-devel] umax_pp questions

Steve Brenneis sbrenneis@surry.net
Mon, 01 Jul 2002 19:56:36 -0400


Henning Meier-Geinitz wrote:

>Hi,
>
>On Mon, Jul 01, 2002 at 06:03:49AM -0400, Steve Brenneis wrote:
>  
>
>>I have tried everything to figure out what the setup for using the 
>>umax_pp backend might be. When I was using the old umax_pp driver under 
>>RH7.1, I set an environment variable (SANE_DEFAULT_DEV, I think) to 
>>umax_pp:0x278 (or similar).
>>    
>>
>
>Probably SANE_DEFAULT_DEVICE. It's not necessary but this variable
>preselects your scanner if you have more than one. See man scanimage
>and man xscanimage.
>
>  
>
>>I had to be root then when using scanimage. 
>>    
>>
>
>If I understand the manual page (sane-umax_pp) correctly, this is only
>true if you don't want to use the kernel ppdev driver.
>
>  
>
>>I have looked through the man pages and they are not particularly 
>>helpful. Does anyone have an example of how to set up the backend for 
>>use with an HP3200C scanner?
>>    
>>
>
>What's your actual problem? Did you enable umax_pp in dll.conf? Did
>you enter the correct port number in umax_pp.conf?
>
>If your scanner still isn't found, the umax_pp developers may help you
>better if you send the output of something like:
>
>SANE_DEBUG_UMAX_PP=255 scanimage -L
>
>Bye,
>  Henning
>_______________________________________________
>Sane-devel mailing list
>Sane-devel@www.mostang.com
>http://www.mostang.com/mailman/listinfo/sane-devel
>
>  
>
Thanks Henning, I guess I should have been clearer.

Yes, umax_pp is enabled in dll.conf. I have tried all three suggested 
ports in umax_pp.conf with mixed results.

Port 0x278 yieds the following:
[sanei_debug] Setting debug level of umax_pp to 255.
[umax_pp] init: SANE_Auth_Callback not supported (yet) ...
[umax_pp] init: SANE v1.0.5, backend v1.0.4-devel
[umax_pp] init: option buffer 2097152
[umax_pp] init: setting global option buffer to 2097152
[umax_pp] init: trying port `0x278'
[umax_pp] attach(0x278)
[umax_pp_low] EPPRegisterRead, found 0xFF expected 0xC7 (umax_pp_low.c:2991)
[umax_pp_low] Error! expected STATUS=0x38, found 0xFF! (umax_pp_low.c:4911)
[umax_pp_low] SendWord610P failed, expected tmp=0xC8 , found 0xFF 
(umax_pp_low.c:2035)
[umax_pp_low] SendWord(zero) failed (umax_pp_low.c:3374)
[umax_pp_mid] sanei_umax_pp_InitTransport() failed (umax_pp_mid.c:130)
[umax_pp] attach: waiting for busy scanner on port 0x278
[umax_pp] attach: failed to recognize scanner model on port 0x278
[umax_pp] init: couldn't attach to port `0x278'
[umax_pp] init: option buffer 8
[umax_pp] init: setting global option red-gain to 8
[umax_pp] init: option green-gain 4
[umax_pp] init: setting global option green-gain to 4
[umax_pp] init: option blue-gain 8
[umax_pp] init: setting global option blue-gain to 8
[umax_pp] init: invalid value `ight 2`, falling back to 8
[umax_pp] init: option buffer 8
[umax_pp] init: setting global option red-highlight to 8
[umax_pp] get_devices
[umax_pp] unused arg: local_only = 0

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[umax_pp] exit: (...)

Port 0x378 resets my printer (it is on a feed-through attached to the 
scanner) and prints the following:

[sanei_debug] Setting debug level of umax_pp to 255.
[umax_pp] init: SANE_Auth_Callback not supported (yet) ...
[umax_pp] init: SANE v1.0.5, backend v1.0.4-devel
[umax_pp] init: option buffer 2097152
[umax_pp] init: setting global option buffer to 2097152
[umax_pp] init: trying port `0x378'
[umax_pp] attach(0x378)
[umax_pp_low] EPPRegisterRead, found 0xFF expected 0xC7 (umax_pp_low.c:2991)
[umax_pp_low] Error! expected STATUS=0x38, found 0xB8! (umax_pp_low.c:4911)
[umax_pp_low] SendWord610P failed, expected tmp=0xC8 , found 0xB8 
(umax_pp_low.c:2035)
[umax_pp_low] SendWord(zero) failed (umax_pp_low.c:3374)
[umax_pp_mid] sanei_umax_pp_InitTransport() failed (umax_pp_mid.c:130)
[umax_pp] attach: waiting for busy scanner on port 0x378
[umax_pp] attach: failed to recognize scanner model on port 0x378
[umax_pp] init: couldn't attach to port `0x378'
[umax_pp] init: option buffer 8
[umax_pp] init: setting global option red-gain to 8
[umax_pp] init: option green-gain 4
[umax_pp] init: setting global option green-gain to 4
[umax_pp] init: option blue-gain 8
[umax_pp] init: setting global option blue-gain to 8
[umax_pp] init: invalid value `ight 2`, falling back to 8
[umax_pp] init: option buffer 8
[umax_pp] init: setting global option red-highlight to 8
[umax_pp] get_devices
[umax_pp] unused arg: local_only = 0

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[umax_pp] exit: (...)


Port 0x3c8 yields the following:

[sanei_debug] Setting debug level of umax_pp to 255.
[umax_pp] init: SANE_Auth_Callback not supported (yet) ...
[umax_pp] init: SANE v1.0.5, backend v1.0.4-devel
[umax_pp] init: option buffer 2097152
[umax_pp] init: setting global option buffer to 2097152
[umax_pp] init: trying port `0x3c8'
[umax_pp] attach(0x3c8)
[umax_pp] attach: failed to probe scanner on port 0x3c8
[umax_pp] attach: couldn't attach to `0x3c8' (Error during device I/O)
[umax_pp] attach(v1.0.4-devel): line 209: debug exception
[umax_pp] init: couldn't attach to port `0x3c8'
[umax_pp] init: option buffer 8
[umax_pp] init: setting global option red-gain to 8
[umax_pp] init: option green-gain 4
[umax_pp] init: setting global option green-gain to 4
[umax_pp] init: option blue-gain 8
[umax_pp] init: setting global option blue-gain to 8
[umax_pp] init: invalid value `ight 2`, falling back to 8
[umax_pp] init: option buffer 8
[umax_pp] init: setting global option red-highlight to 8
[umax_pp] get_devices
[umax_pp] unused arg: local_only = 0

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[umax_pp] exit: (...)

According to the commentary and the man pages, I should be configuring 
the driver to use 0x3c8 since it is attached to /dev/lp0. This doesn't 
seem right since the old driver always found the scanner on 0x278.

Thanks for any additional help.