[sane-devel] Re: log file concerning post: "Failed to open device `umax_pp:/dev/parport0': Error during device I/O." on sane-devel
svoltz@wanadoo.fr
svoltz@wanadoo.fr
Fri, 14 May 2004 06:54:59 -0400
On Thu, May 13, 2004 at 09:07:50PM -0400, Chase James [Roboticon Systems] wrote:
> Here is the .bz2 of debug.log. Hope this helps. I really appreciate this.
>
> Chase
>
> --
>
>
> - Roboticon Systems
> Web Design|Computer Systems|Repair
> www.roboticon.com answers@roboticon.com aim:roboticonhelp
>
Hello,
when we look at the beginning of the log we have:
[sanei_debug] Setting debug level of umax_pp_low to 255.
[umax_pp_low] sanei_umax_pp_InitPort(0x0,/dev/parport0)
[umax_pp_low] parport modes: 47
[umax_pp_low] parport modes:
PARPORT_MODE_PCSPP
PARPORT_MODE_TRISTATE
PARPORT_MODE_EPP
[umax_pp_low] umax_pp: ppdev couldn't negociate mode IEEE1284_MODE_EPP
for '/dev/parport0'
[umax_pp_low] umax_pp: mode set to PARPORT_MODE_EPP for '/dev/parport0'
[umax_pp_low] Using /dev/parport0 ...
[umax_pp_low] RingScanner passed...
.....
[umax_pp_low] SendLength(word,4) passed ... (umax_pp_low.c:6388)
[umax_pp_low] RegisterWrite(0xA,0x0) passed... (umax_pp_low.c:5723)
[umax_pp_low] RegisterRead(0xD)=0x40 passed... (umax_pp_low.c:5724)
[umax_pp_low] RegisterWrite(0xD,0x0) passed... (umax_pp_low.c:5725)
[umax_pp_low] RegisterWrite(0xA,0x0) passed... (umax_pp_low.c:3917)
[umax_pp_low] ppdev short write (umax_pp_low.c:1943)
[umax_pp_low] ppdev short read (umax_pp_low.c:1955)
[umax_pp_low] ReleaseScanner() done ...
[umax_pp_low] End session done ...
[sanei_debug] Setting debug level of umax_pp_low to 255
^----- means new session starts
[umax_pp_low] sanei_umax_pp_InitPort(0x0,/dev/usb/scanner0)
^--- !!! should be /dev/parport0 !!!
[umax_pp_low] umax_pp: '/dev/usb/scanner0' does not exist
[umax_pp_low] SendCommand(0xE0) passed...
[umax_pp_low] ClearRegister(0) passed...
[umax_pp_low] Init001() passed... (umax_pp_low.c:4414)
[umax_pp_low] Error! expected reg0B=0xC7, found 0xFF!
(umax_pp_low.c:4420)
So gimp plugin probe is correctly done with /dev/parport0, while
the aquire uses /dev/usb/scanner0 whichcannot work. It is a gimp,
xsane gimp plugin or installation bug. Unless you have some settings to
keep you may try to delete your $HOME/.sane/xsane directory . Also
knowing if stand-alone xsane works would be interesting.
Last, check that you don't have several umax_pp.conf files, with
one configured with 'port /dev/usb/scanner0'. Or one with a few port
options. I know that the 9.2 mandrake panel adds a 'port' line every time
without removing existing ones when you configure your scanner.
Regards,
Stef