Bug#456009: libsane-dev: hp5590 scanner requires an entry in /etc/sane.d/hp5590.conf to work

2007-12-15 Thread richard
Hi JB,
 
  Setting up libsane-dev (1.0.19~cvs20071213-1) ...
 
  I shutdown and restarted xsane. All appears to be well. 
  The preview operates as expected, no further tests run.
  Here is the output from scanimage -L
  $scanimage -L
  device `v4l:/dev/video0' is a Noname Hauppauge WinTV-HVR1100 DVB-T/H 
  virtual device
  device `hp5590:libusb:001:005' is a HP 5590 Workgroup scanner
  $
 
 That's without the hp5590.conf config file, right ?
 
Correct. As far as I can tell all the *.conf files are deleted and 
replaced. The /etc/sane.d/hp5590.conf file is gone.

  Let me know if further work is needed, and thanks for the your input. 
 
 Only the answer to the question above ;) And if you could check the
 behaviour when the ADF is jammed, we may be able to clear up #456011
 too :)

Qualified success. For information, I created the jam by taping 
the trailing edge of an A4 page to the tray when it was halfway through 
the scanning process in ADF mode. The process threw up a window with an 
error message saying the document had jammed. 

Clicking on the scan button gives now gives the message :
failed to start scanner: device busy

Both xsane and scanimage -L fails to find the scanner once xsane is 
closed. 

However, if the reset button on the scanner is pressed, and xsane 
restarted, the scanner is found. Similarly scanimage -L now works. 
While I cannot be certain, I believe that the scanner's behaviour has 
changed. My recollection of the earlier behaviour is that neither the 
reset button, the on/off switch, nor disconnecting the power lead had 
any effect. 

The bug is fixed IMHO. The reset switch is a sufficient remedy.
Let me know if I should confirm this by reinstalling the old code 
and re-running the test.

Richard




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



Bug#456009: libsane-dev: hp5590 scanner requires an entry in /etc/sane.d/hp5590.conf to work

2007-12-15 Thread Julien BLACHE
Source: sane-backends
Version: 1.0.19~cvs20071213-1

richard [EMAIL PROTECTED] wrote:

Hi,

 That's without the hp5590.conf config file, right ?
 
 Correct. As far as I can tell all the *.conf files are deleted and 
 replaced. The /etc/sane.d/hp5590.conf file is gone.

Great! That's it for #456009, then :)

 However, if the reset button on the scanner is pressed, and xsane 
 restarted, the scanner is found. Similarly scanimage -L now works. 
 While I cannot be certain, I believe that the scanner's behaviour has 
 changed. My recollection of the earlier behaviour is that neither the 
 reset button, the on/off switch, nor disconnecting the power lead had 
 any effect. 

 The bug is fixed IMHO. The reset switch is a sufficient remedy.
 Let me know if I should confirm this by reinstalling the old code 
 and re-running the test.

That won't be needed, thanks for the test and confirmation. I think
it's all good :-)

Closing #456009 and #456011 with this message.

Thanks,

JB.

-- 
 Julien BLACHE - Debian  GNU/Linux Developer - [EMAIL PROTECTED] 
 
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



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



Bug#456009: libsane-dev: hp5590 scanner requires an entry in /etc/sane.d/hp5590.conf to work

2007-12-14 Thread richard
On Thu, Dec 13, 2007 at 10:40:51PM +0100, Julien BLACHE wrote:
 Ilia Sotnikov [EMAIL PROTECTED] wrote:
 
 Hi,
 
  Is that possible to try latest sane-backends CVS version?
 
 Richard, libsane 1.0.19~cvs20071213-1 will be available from
 http://incoming.debian.org shortly, and on any unstable mirror
 tomorrow afternoon.
 
 Can you give it a try and let us know how it goes?
 
 Thanks,
 
 JB.
 
Hi JB, 

The relevant part of the install script follows:

Setting up libsane (1.0.19~cvs20071213-1) ...

Configuration file `/etc/sane.d/dll.conf'
 == Modified (by you or by a script) since installation.
 == Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
Y or I  : install the package maintainer's version
N or O  : keep your currently-installed version
  D : show the differences between the versions
  Z : background this process to examine the situation
 The default action is to keep your current version.
*** dll.conf (Y/I/N/O/D/Z) [default=N] ? Y
Installing new version of config file /etc/sane.d/dll.conf ...
udev active, devices will be created in /dev/.static/dev/
Setting up libsane-dev (1.0.19~cvs20071213-1) ...

I shutdown and restarted xsane. All appears to be well. 
The preview operates as expected, no further tests run.
Here is the output from scanimage -L
$scanimage -L
device `v4l:/dev/video0' is a Noname Hauppauge WinTV-HVR1100 DVB-T/H virtual 
device
device `hp5590:libusb:001:005' is a HP 5590 Workgroup scanner
$

Let me know if further work is needed, and thanks for the your input. 

Richard



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



Bug#456009: libsane-dev: hp5590 scanner requires an entry in /etc/sane.d/hp5590.conf to work

2007-12-14 Thread Julien BLACHE
richard [EMAIL PROTECTED] wrote:

Hi,

 Setting up libsane-dev (1.0.19~cvs20071213-1) ...

 I shutdown and restarted xsane. All appears to be well. 
 The preview operates as expected, no further tests run.
 Here is the output from scanimage -L
 $scanimage -L
 device `v4l:/dev/video0' is a Noname Hauppauge WinTV-HVR1100 DVB-T/H virtual 
 device
 device `hp5590:libusb:001:005' is a HP 5590 Workgroup scanner
 $

That's without the hp5590.conf config file, right ?

 Let me know if further work is needed, and thanks for the your input. 

Only the answer to the question above ;) And if you could check the
behaviour when the ADF is jammed, we may be able to clear up #456011
too :)

JB.

-- 
 Julien BLACHE [EMAIL PROTECTED]  |  Debian, because code matters more 
 Debian  GNU/Linux Developer|   http://www.debian.org
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



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



Bug#456009: libsane-dev: hp5590 scanner requires an entry in /etc/sane.d/hp5590.conf to work

2007-12-13 Thread Julien BLACHE
richard [EMAIL PROTECTED] wrote:

Hi,

 Running $ sane-find-scanner works correctly
 The next test advised for a new installation is 
 $ scanimage -L
 This fails. 
 I followed some advice and installed the following line in hp5590.conf
 $ echo usb 0x03F0 0x1705 /etc/sane.d/hp5590.conf

I'm told the config file isn't necessary at all, and we would like
more information, in the form of a debug log.

Can you please run

 $ SANE_DEBUG_HP5590=255 scanimage -L

with *no* config file ?

Thanks,

JB.

-- 
 Julien BLACHE - Debian  GNU/Linux Developer - [EMAIL PROTECTED] 
 
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



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



Bug#456009: libsane-dev: hp5590 scanner requires an entry in /etc/sane.d/hp5590.conf to work

2007-12-13 Thread Julien BLACHE
richard [EMAIL PROTECTED] wrote:

Hi,

Thanks, forwarding to Ilia :-)

Nice assertion failure at the end of the log, looks like you may have
a 64bit specific bug after all :)

JB.

 Output as requested follows:

 $ SANE_DEBUG_HP5590=255 scanimage -L
 [sanei_debug] Setting debug level of hp5590 to 255.
 [hp5590] SANE backed for HP 5550/5590/7650 1.0.2
 [hp5590] (c) Ilia Sotnikov [EMAIL PROTECTED]
 [hp5590] attach_usb_device: Opening USB device
 [hp5590] attach_usb_device: USB device opened
 [hp5590] hp5590_init_scanner
 [hp5590] hp5590_cmd: USB-in-USB: command : 0012
 [hp5590] hp5590_control_msg: USB-in-USB: core data: no
 [hp5590] hp5590_control_msg: USB-in-USB: sending control msg
 [hp5590] hp5590_control_msg: USB-in-USB: checking acknowledge for control 
 message
 [hp5590] hp5590_get_ack
 [hp5590] hp5590_get_ack: USB-in-USB: accepted
 [hp5590] hp5590_control_msg: USB-in-USB: checking if confirmation was 
 acknowledged
 [hp5590] hp5590_get_ack
 [hp5590] hp5590_get_ack: USB-in-USB: accepted
 [hp5590] hp5590_verify_last_cmd: USB-in-USB: command verification requested
 [hp5590] hp5590_control_msg: USB-in-USB: core data: no
 [hp5590] hp5590_control_msg: USB-in-USB: sending control msg
 [hp5590] hp5590_control_msg: USB-in-USB: checking acknowledge for control 
 message
 [hp5590] hp5590_get_ack
 [hp5590] hp5590_get_ack: USB-in-USB: accepted
 [hp5590] hp5590_control_msg: USB-in-USB: checking if confirmation was 
 acknowledged
 [hp5590] hp5590_get_ack
 [hp5590] hp5590_get_ack: USB-in-USB: accepted
 [hp5590] hp5590_verify_last_cmd: USB-in-USB: command verification 0012, last 
 command: 0012, core status: 
 [hp5590] hp5590_verify_last_cmd: USB-in-USB: command verified successfully
 [hp5590] HP5590 flags (0x0a)
 [hp5590] HP5590 flags: ADF yes, TMA no, LCD yes
 [hp5590] HP5590 firmware version: 1.05
 [hp5590] HP5590 max resolution X: 2400 DPI
 [hp5590] HP5590 max resolution Y: 2400 DPI
 [hp5590] HP5590 max pixels X: 20400
 [hp5590] HP5590 max pixels Y: 28128
 [hp5590] HP5590 max size X: 8.500 inches
 [hp5590] HP5590 max size Y: 11.720 inches
 [hp5590] HP5590 normal motor param: 100, max motor param: 1000
 [hp5590] hp5590_get_status
 [hp5590] hp5590_init_scanner: scanner status OK
 [hp5590] attach_usb_device: found HP5590 scanner at 'libusb:001:004'
 [hp5590] attach_usb_device: Reading max scan count
 [hp5590] hp5590_read_max_scan_count
 [hp5590] Reading max scan count
 [hp5590] hp5590_read_eeprom
 [hp5590] Reading EEPROM: addr 0010, size 3
 [hp5590] hp5590_cmd: USB-in-USB: command : 00f2
 [hp5590] hp5590_control_msg: USB-in-USB: core data: no
 [hp5590] hp5590_control_msg: USB-in-USB: sending control msg
 [hp5590] hp5590_control_msg: USB-in-USB: checking acknowledge for control 
 message
 [hp5590] hp5590_get_ack
 [hp5590] hp5590_get_ack: USB-in-USB: accepted
 [hp5590] hp5590_control_msg: USB-in-USB: checking if data was accepted
 [hp5590] hp5590_get_ack
 [hp5590] hp5590_get_ack: USB-in-USB: accepted
 [hp5590] hp5590_control_msg: USB-in-USB: getting response
 [hp5590] hp5590_control_msg: USB-in-USB: got correct response
 [hp5590] hp5590_verify_last_cmd: USB-in-USB: command verification requested
 [hp5590] hp5590_control_msg: USB-in-USB: core data: no
 [hp5590] hp5590_control_msg: USB-in-USB: sending control msg
 [hp5590] hp5590_control_msg: USB-in-USB: checking acknowledge for control 
 message
 [hp5590] hp5590_get_ack
 [hp5590] hp5590_get_ack: USB-in-USB: accepted
 [hp5590] hp5590_control_msg: USB-in-USB: checking if confirmation was 
 acknowledged
 [hp5590] hp5590_get_ack
 [hp5590] hp5590_get_ack: USB-in-USB: accepted
 [hp5590] hp5590_verify_last_cmd: USB-in-USB: command verification 00f2, last 
 command: 00f2, core status: 
 [hp5590] hp5590_verify_last_cmd: USB-in-USB: command verified successfully
 [hp5590] hp5590_cmd: USB-in-USB: command : 0bf0
 [hp5590] hp5590_control_msg: USB-in-USB: core data: no
 [hp5590] hp5590_control_msg: USB-in-USB: sending control msg
 [hp5590] hp5590_control_msg: USB-in-USB: checking acknowledge for control 
 message
 [hp5590] hp5590_get_ack
 [hp5590] hp5590_get_ack: USB-in-USB: accepted
 [hp5590] hp5590_control_msg: USB-in-USB: checking if confirmation was 
 acknowledged
 [hp5590] hp5590_get_ack
 [hp5590] hp5590_get_ack: USB-in-USB: accepted
 [hp5590] hp5590_verify_last_cmd: USB-in-USB: command verification requested
 [hp5590] hp5590_control_msg: USB-in-USB: core data: no
 [hp5590] hp5590_control_msg: USB-in-USB: sending control msg
 [hp5590] hp5590_control_msg: USB-in-USB: checking acknowledge for control 
 message
 [hp5590] hp5590_get_ack
 [hp5590] hp5590_get_ack: USB-in-USB: accepted
 [hp5590] hp5590_control_msg: USB-in-USB: checking if confirmation was 
 acknowledged
 [hp5590] hp5590_get_ack
 [hp5590] hp5590_get_ack: USB-in-USB: accepted
 [hp5590] hp5590_verify_last_cmd: USB-in-USB: command verification 00f0, last 
 command: 00f0, core status: 
 [hp5590] hp5590_verify_last_cmd: USB-in-USB: command verified successfully
 [hp5590] Max scan count 3801088
 [hp5590] 

Bug#456009: libsane-dev: hp5590 scanner requires an entry in /etc/sane.d/hp5590.conf to work

2007-12-13 Thread Ilia Sotnikov
On Dec 13, 2007 6:29 PM, Julien BLACHE [EMAIL PROTECTED] wrote:
 richard [EMAIL PROTECTED] wrote:

 Hi,

 Thanks, forwarding to Ilia :-)

 Nice assertion failure at the end of the log, looks like you may have
 a 64bit specific bug after all :)

 
  [hp5590] sane_hp5590_exit
  [hp5590] Assertion 'ptr-opts != NULL' failed at hp5590.c:360
 
 ...

The false 'assertion failed' (mistakenly issued by the backend when
sane_exit() is called without calling sane_open() first) is already
fixed in CVS.

Is that possible to try latest sane-backends CVS version?

Thanks for help,
-- 
 Ilia Sotnikov



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



Bug#456009: libsane-dev: hp5590 scanner requires an entry in /etc/sane.d/hp5590.conf to work

2007-12-13 Thread Julien BLACHE
Ilia Sotnikov [EMAIL PROTECTED] wrote:

Hi,

 The false 'assertion failed' (mistakenly issued by the backend when
 sane_exit() is called without calling sane_open() first) is already
 fixed in CVS.

 Is that possible to try latest sane-backends CVS version?

I'll upload a new CVS snapshot tomorrow.

JB.

-- 
 Julien BLACHE [EMAIL PROTECTED]  |  Debian, because code matters more 
 Debian  GNU/Linux Developer|   http://www.debian.org
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



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



Bug#456009: libsane-dev: hp5590 scanner requires an entry in /etc/sane.d/hp5590.conf to work

2007-12-13 Thread Julien BLACHE
Ilia Sotnikov [EMAIL PROTECTED] wrote:

Hi,

 Is that possible to try latest sane-backends CVS version?

Richard, libsane 1.0.19~cvs20071213-1 will be available from
http://incoming.debian.org shortly, and on any unstable mirror
tomorrow afternoon.

Can you give it a try and let us know how it goes?

Thanks,

JB.

-- 
 Julien BLACHE [EMAIL PROTECTED]  |  Debian, because code matters more 
 Debian  GNU/Linux Developer|   http://www.debian.org
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



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



Bug#456009: libsane-dev: hp5590 scanner requires an entry in /etc/sane.d/hp5590.conf to work

2007-12-12 Thread Julien BLACHE
richard [EMAIL PROTECTED] wrote:

Hi,

 Running $ sane-find-scanner works correctly
 The next test advised for a new installation is 
 $ scanimage -L
 This fails. 
 I followed some advice and installed the following line in hp5590.conf
 $ echo usb 0x03F0 0x1705 /etc/sane.d/hp5590.conf

The backend lacks a conffile, indeed. That needs to be fixed upstream.

Thanks,

JB.

-- 
 Julien BLACHE - Debian  GNU/Linux Developer - [EMAIL PROTECTED] 
 
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



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



Bug#456009: libsane-dev: hp5590 scanner requires an entry in /etc/sane.d/hp5590.conf to work

2007-12-12 Thread richard
Package: libsane-dev
Version: 1.0.19~cvs20071028-1
Severity: normal

Running $ sane-find-scanner works correctly
The next test advised for a new installation is 
$ scanimage -L
This fails. 
I followed some advice and installed the following line in hp5590.conf
$ echo usb 0x03F0 0x1705 /etc/sane.d/hp5590.conf

The program xsane detects the scanner and most features are now
fully operational. This includes the automatic document feed (ADF)
although there are still some issues with the duplex 
(double sided) handling that may not be the fault of the backend.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-ver.1.3 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libsane-dev depends on:
ii  libieee1284-3-dev   0.2.11-3 cross-platform library for paralle
hi  libjpeg62-dev   6b-14Development files for the IJG JPEG
hi  libsane 1.0.19~cvs20071028-1 API library for scanners
ii  libtiff4-dev3.8.2-7  Tag Image File Format library (TIF
ii  libusb-dev  2:0.1.12-8   userspace USB programming library 

Versions of packages libsane-dev recommends:
pn  libgphoto2-2-dev  none (no description available)

-- no debconf information



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