Hi,

Bert Verbeek wrote:
Op Friday 11 July 2008, schreef René Rebe:
Hi Julien,

Patches, especially for stuff I can not reproduce welcome.

Hello Rene,

first of all, thanks for your time in advance.

As I like to get this scanner going again, I started today reading in the tree of the debian sane-backends source package. For your info: I'm a scientist with C++ experience in number-crunching, not in programming devices, but I'm willing to learn ...

I found the 'sane-backends-1.0.19/frontend/tstbackend.c' program, liked it for simpleness as a starter and compiled it.
./tstbackend -l 1 -r 0 gives:

----------
tstbackend, Copyright (C) 2002 Frank Zago
tstbackend comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions. See COPYING file for details

This is tstbackend build 18

          TEST: init/exit
          using device avision:libusb:004:002
          TEST: open/close
          TEST: options consistency
ERROR : cannot set option [25, power-save-time] value, although it is active and settable (Error during device I/O) ERROR : cannot set option [25, power-save-time] value, although it is active and settable (Error during device I/O) ERROR : cannot set option [27, nvram-values] value, although it is active and settable (Invalid argument) ERROR : cannot set option [27, nvram-values] value, although it is active and settable (Invalid argument)
ERROR   : cannot set option [27, nvram-values] value
warnings: 0  error: 5  checks: 1140
--------

testing option 25 and up, takes a lot of time.
After this usb access is messed up.
the next call to tstbackend -l0 gives:
--------
tstbackend, Copyright (C) 2002 Frank Zago
tstbackend comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions. See COPYING file for details

This is tstbackend build 18

          TEST: init/exit
ERROR   : no SANE devices found
warnings: 0  error: 1  checks: 28
---------

rmmod uhci-hcd; modprobe uhci-hcd, makes the scanner react again, without rebooting.

Is this info helpfull Rene? Is it consistent with the HP5300C you own?

I will dig further and try to understand what is going on, but any guidance in the digging is of course welcome.

Bert
Hm, have not used this test thing for ages, probably should
give it a try and fix the special nvram and power-save-time.

I'm right now quite busy, but I recall some user reported long
delays using xsane, so maybe resetting tons of options takes
some time.

I can some other day check on my side, for your bug hunting
I woudl strongly recommend starting with simple scans
using xscanimage instead of this massive random option
tweaking.

Yours,

--
 René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
 http://exactcode.de | http://t2-project.org | http://rene.rebe.name




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to