Bug#479052: saned uses incorrect protocol

2008-05-03 Thread Julien BLACHE
Giuseppe Sacco [EMAIL PROTECTED] wrote: Hi, this is a log on the same machine without any scanner connected: [sanei_wire] sanei_w_array: DECODE: maximum amount of allocated memory exceeded (limit: 1048576, new allocation: 3145728, total: 4194304 bytes) [net] sane_get_devices: ignoring

Bug#479052: saned uses incorrect protocol

2008-05-03 Thread Giuseppe Sacco
Hi Julien, I did a few more tests. I am not able to reproduce the problem if I call saned from the command line. The problem only arise when I use it via inetd. Running it via inetd with SANE_DEBUG_DLL=255 I get (in syslog) http://eppesuigoccas.homedns.org/~giuseppe/debian/saned.log I cannot see

Bug#479052: saned uses incorrect protocol

2008-05-03 Thread Julien BLACHE
Giuseppe Sacco [EMAIL PROTECTED] wrote: Hi, I did a few more tests. I am not able to reproduce the problem if I call saned from the command line. The problem only arise when I use it via inetd. Very indicative of the problem already : If, as it was suggested, I comment out the line net

Bug#479052: saned uses incorrect protocol

2008-05-03 Thread Alessandro Zummo
On Sat, 03 May 2008 16:43:44 +0200 Julien BLACHE [EMAIL PROTECTED] wrote: And I can perfectly reproduce it here, debug output from epson2 shows this: May 3 16:18:39 thumper saned[23647]: [epson2] attach: devname = autodiscovery, type = 4 May 3 16:18:39 thumper saned[23647]: [epson2]

Bug#479052: saned uses incorrect protocol

2008-05-02 Thread Giuseppe Sacco
Package: sane-utils Version: 1.0.19-5 Severity: important The latest version of saned doesn't work anymore. Whenever you connect to saned and try to get a list of available devices, saned will reply incorrectly, i.e., a wrong number as number of devices, and wrong values when downloading the

Bug#479052: saned uses incorrect protocol

2008-05-02 Thread Julien BLACHE
Giuseppe Sacco [EMAIL PROTECTED] wrote: Hi, The latest version of saned doesn't work anymore. Whenever you connect to saned and try to get a list of available devices, saned will reply incorrectly, i.e., a wrong number as number of devices, and wrong values when downloading the devices

Bug#479052: saned uses incorrect protocol

2008-05-02 Thread Giuseppe Sacco
Hi Julien, Il giorno ven, 02/05/2008 alle 16.25 +0200, Julien BLACHE ha scritto: [...] So neither saned nor the net backend are at fault here. Which backend is used by saned on the server side? I know we've seen some strange things with the epson backend in the past. I have the same

Bug#479052: saned uses incorrect protocol

2008-05-02 Thread Julien BLACHE
Giuseppe Sacco [EMAIL PROTECTED] wrote: Hi, Which backend is used by saned on the server side? I know we've seen some strange things with the epson backend in the past. I have the same behavior with two scanners: fujitsu fi-5110C (backend fujitsu) epson perfection 1670 photo (backend

Bug#479052: saned uses incorrect protocol

2008-05-02 Thread Giuseppe Sacco
Hi Julien, I am testing it on an i386 machine. The tcpdump file is attached. About the test device: how do I do it? I tried this way: [EMAIL PROTECTED]:~$ scanimage -d net:localhost:test P5 # SANE data follows 157 196 255 but notice that this is not calling the SANE_LIST_DEVICES (or the way it

Bug#479052: saned uses incorrect protocol

2008-05-02 Thread Julien BLACHE
Giuseppe Sacco [EMAIL PROTECTED] wrote: Hi, I am testing it on an i386 machine. The tcpdump file is attached. About the test device: how do I do it? I tried this way: [EMAIL PROTECTED]:~$ scanimage -d net:localhost:test but notice that this is not calling the SANE_LIST_DEVICES (or the way

Bug#479052: saned uses incorrect protocol

2008-05-02 Thread Giuseppe Sacco
Hi Julien, this is a log on the same machine without any scanner connected: [EMAIL PROTECTED]:~$ env SANE_DEBUG_NET=255 scanimage -L [sanei_debug] Setting debug level of net to 255. [net] sane_init: authorize = 0x804ae30, version_code = 0xbfb775f8 [net] sane_init: SANE net backend version 1.0.14