Re: [sane-devel] Canon LIDE 110 + USB3

2015-06-27 Thread Marc Cousin
On Friday 26 June 2015 15:49:38 m. allan noah wrote: > I'm sorry if I missed it, but what version of sane-backends are you > running? can you upgrade to a current development snapshot? > > allan > Latest git snapshot (I did an update yesterday just in case :) ) -- sane-devel mailing list: sane

[sane-devel] Problem with pixma mx535 network scanner

2015-06-27 Thread Graham Perry
It had been working fine on a previous development build, but after the latest pull from git it now returns: > scanimage: open of device pixma:MX530_192.168.1.66 failed: Invalid argument Full debug output is as follows: http://pastebin.com/KPm5eZqn Any help greatly appreciated. -- sane-devel ma

Re: [sane-devel] Problem with pixma mx535 network scanner

2015-06-27 Thread Louis Lagendijk
On Sat, 2015-06-27 at 12:31 +0100, Graham Perry wrote: > It had been working fine on a previous development build, but after > the latest pull from git it now returns: > > > > scanimage: open of device pixma:MX530_192.168.1.66 failed: Invalid > argument > > > Full debug output is as follows: ht

Re: [sane-devel] Problem with pixma mx535 network scanner

2015-06-27 Thread Graham Perry
Thanks, but I had already tried that. Tried again with the same result. /usr/lib64/sane only contains .1.0.25 versions. On 27 June 2015 at 15:10, Louis Lagendijk wrote: > On Sat, 2015-06-27 at 12:31 +0100, Graham Perry wrote: > > It had been working fine on a previous development build, but afte

Re: [sane-devel] Problem with pixma mx535 network scanner

2015-06-27 Thread Louis Lagendijk
On Sat, 2015-06-27 at 15:33 +0100, Graham Perry wrote: > Thanks, but I had already tried that. Tried again with the same > result. /usr/lib64/sane only contains .1.0.25 versions. > Please pull the latest version of the bjnp-code from git: I added some more debugging code and fixed a nasty missing

Re: [sane-devel] Canon laser multi-functional support: MFNP protocol

2015-06-27 Thread Louis Lagendijk
On Mon, 2015-06-22 at 14:58 +0300, Michael Shigorin wrote: > On Wed, Apr 01, 2015 at 06:19:05PM +0200, Louis Lagendijk wrote: > > Before anything: if scanning over USB does not work, trying to > > scan over the network is bound to fail. > > Got that; both devices and a winxp vm are handy today (w

[sane-devel] Potential buffer overflow when scanning more than 16384 bytes per line with Brother MFC-6490CW

2015-06-27 Thread Yuval Levy
Good day developers! I need direction and help tracking down a bug. I have done some testing, described in detail below, and found that on my system scanimage hangs if the data for a single line is more than 16384 bytes. My intuition is that somewhere in the driver or in the scanning software th

Re: [sane-devel] Problem with pixma mx535 network scanner

2015-06-27 Thread Graham Perry
That seems to have done the trick, thanks. http://pastebin.com/G9Ywn2tt But just for completeness: 1. Yes, scanimage -L did find the scanner on the last git version, it only failed when trying to connect. The only version it doesn't find it on is the current stable (1.0.24). 2. My build environm

Re: [sane-devel] Problem with pixma mx535 network scanner

2015-06-27 Thread Louis Lagendijk
On Sat, 2015-06-27 at 19:16 +0100, Graham Perry wrote: > That seems to have done the trick, thanks. > > > http://pastebin.com/G9Ywn2tt > > > > But just for completeness: > > > 1. Yes, scanimage -L did find the scanner on the last git version, it > only failed when trying to connect. The onl

Re: [sane-devel] Potential buffer overflow when scanning more than 16384 bytes per line with Brother MFC-6490CW

2015-06-27 Thread m. allan noah
Can you try using scanimage -B ? allan On Sat, Jun 27, 2015 at 2:07 PM, Yuval Levy wrote: > Good day developers! > > I need direction and help tracking down a bug. I have done some > testing, described in detail below, and found that on my system > scanimage hangs if the data for a single line

Re: [sane-devel] Potential buffer overflow when scanning more than 16384 bytes per line with Brother MFC-6490CW

2015-06-27 Thread Yuval Levy
Thank you, Allan, for the very quick reply. I hate to be the harbinger of bad news, but there is only bad news or worse news to choose from. It is not directed at you. Here it is: On 15-06-27 02:35 PM, m. allan noah wrote: > Can you try using scanimage -B ? TL;DR: Does not change a thing, and I

Re: [sane-devel] Canon laser multi-functional support: MFNP protocol

2015-06-27 Thread Rolf Bensch
Hi, The MF6100 Series scanner is only working with flatbed scans and with single page scans in adf. Just now, I'm struggling with multiple pages in adf and duplex adf. A patch will take a while, because I only have sporadical access to a MF6140 scanner. Everytime the scanner reports an error on

Re: [sane-devel] Potential buffer overflow when scanning more than 16384 bytes per line with Brother MFC-6490CW

2015-06-27 Thread m. allan noah
t/l/x/y are weird in scanimage, they are basically renamed options from the backend, and the '=' sign rules are different than other options. if you don't specify an arg to -B, it defaults to 1 meg. If that does not solve your issue, then it sounds like a bug in the brother backend. You might try

Re: [sane-devel] Potential buffer overflow when scanning more than 16384 bytes per line with Brother MFC-6490CW

2015-06-27 Thread Yuval Levy
Thank you Allan. TL;DR: It was indeed a problem with the Brother backend, and even more so with Brother's outdated downloads on its website. On 15-06-27 06:35 PM, m. allan noah wrote: > t/l/x/y are weird in scanimage, they are basically renamed options > from the backend, and the '=' sign rules