[sane-devel] unclear error message

2011-07-11 Thread Olaf Meeuwissen
Hi Jeremy,

I saw on the list that you've already got the scanner to work with the
newer sane-backends-1.0.22.  Good.  The epson2 backend in 1.0.21 had a
couple of pretty bad show-stoppers :-(

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2   FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962   Help support software freedom
 http://www.fsf.org/jf?referrer=1962



[sane-devel] unclear error message

2011-07-09 Thread Jeremy Dawson
On 07/08/2011 11:06 PM, Richard Ryniker wrote:
 You might try an update to 1.0.22, which is in the Fedora 14 updates
 repository.  Either use yum update for a general update of your Fedora
 system, or yum update sane-backends to update just that.

 Alternatively (if your machine has no Internet access) retrieve just the 
 sane-backends package from:


 http://download.fedoraproject.org/pub/fedora/linux/updates/14/i386/sane-backends-1.0.22-3.fc14.i686.rpm

 and copy it for local installation on the subject system.

 I expect the SANE maintainers would prefer to diagnose a problem on the
 latest version, instead of 1.0.21.



Seems to work now!  Surprise, as I had the scanner working under Ubuntu 
a year or so ago, long before Fedora 14 arrived, so I didn't think of 
the possibility that the problem would be due to having old software.

Anyway, it works now - thanks very much

Jeremy



[sane-devel] unclear error message

2011-07-08 Thread Jeremy Dawson

I'm not sure where the query should go - please advise.

Trying to scan something, xsane give the message

Failed to start scanner: Invalid argument

Also scanimage image.pnm
give the message
scanimage: sane_start: Invalid argument

Where do I find the information to determine what is wrong?

Regards,

Jeremy Dawson




[sane-devel] unclear error message

2011-07-08 Thread Torfinn Ingolfsen
Hi,

On Fri, Jul 8, 2011 at 9:23 AM, Jeremy Dawson
jlcaadawson at netspeed.com.au wrote:

 I'm not sure where the query should go - please advise.

 Trying to scan something, xsane give the message

 Failed to start scanner: Invalid argument

 Also scanimage image.pnm
 give the message
 scanimage: sane_start: Invalid argument

 Where do I find the information to determine what is wrong?

Have you read the documentation? see http://www.sane-project.org/docs.html

Please provide more detailed information about your equipment and the
problem, so that people are able to help you.

HTH
-- 
Regards,
Torfinn Ingolfsen



[sane-devel] unclear error message

2011-07-08 Thread Jeremy Dawson
On 07/08/2011 05:30 PM, Torfinn Ingolfsen wrote:
 Hi,

 On Fri, Jul 8, 2011 at 9:23 AM, Jeremy Dawson
 jlcaadawson at netspeed.com.au  wrote:

 I'm not sure where the query should go - please advise.

 Trying to scan something, xsane give the message

 Failed to start scanner: Invalid argument

 Also scanimageimage.pnm
 give the message
 scanimage: sane_start: Invalid argument

 Where do I find the information to determine what is wrong?

 Have you read the documentation? see http://www.sane-project.org/docs.html

 Please provide more detailed information about your equipment and the
 problem, so that people are able to help you.

 HTH


Thanks for the prompt reply:

Thanks for the pointer to the documentation, I've found
http://ljm.home.xs4all.nl/SANE-faq.html#50 which looks most nearly 
relevant but not quite.

The equipment is EPSON-Stylus-CX5300 (according to the Printing tool),
but I get
[jeremy at home2006 ~]$ scanimage -L
device `epson2:libusb:003:002' is a Epson CX5400 flatbed scanner

Here is exactly what I did with scanimage:

[jeremy at home2006 ~]$ scanimage image.pnm
scanimage: sane_start: Invalid argument

[jeremy at home2006 ~]$ scanimage -d epson2:libusb:003:002 image.pnm
scanimage: sane_start: Invalid argument

In xsane I just started it up and clicked Scan

I can't think of any further relevant details but happy to provide them 
if I know exactly what further details are required

Thanks,

Jeremy Dawson







[sane-devel] unclear error message

2011-07-08 Thread Olaf Meeuwissen
Jeremy Dawson jlcaadawson at netspeed.com.au writes:

 The equipment is EPSON-Stylus-CX5300 (according to the Printing tool),
 but I get
 [jeremy at home2006 ~]$ scanimage -L
 device `epson2:libusb:003:002' is a Epson CX5400 flatbed scanner

For SANE backend purposes these are the same.

 Here is exactly what I did with scanimage:

 [jeremy at home2006 ~]$ scanimage image.pnm
 scanimage: sane_start: Invalid argument

 [jeremy at home2006 ~]$ scanimage -d epson2:libusb:003:002 image.pnm
 scanimage: sane_start: Invalid argument

Not sure whether this is still an issue, but have you tried specifying a
resolution?  The CX5300 should be able to do 100 but check the output of
scanimage -h for the `--resolution` option for details.

There was a time where the default resolution of 300 wasn't checked
against what the device could actually do.

 I can't think of any further relevant details but happy to provide
 them if I know exactly what further details are required

The out.log file that results from

  SANE_DEBUG_EPSON2=255 scanimage  out.pnm 2 out.log

FWIW, Image Scan! for Linux[1] supports this model just fine.  Click the
All-in-Ones icon and use your browser's find functionality (Ctrl+F ?) to
locate the CX5300.

 [1] http://avasys.jp/eng/linux_driver/download/

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2   FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962   Help support software freedom
 http://www.fsf.org/jf?referrer=1962



[sane-devel] unclear error message

2011-07-08 Thread Jeremy Dawson
On 07/08/2011 08:12 PM, Olaf Meeuwissen wrote:
 Jeremy Dawsonjlcaadawson at netspeed.com.au  writes:

 The equipment is EPSON-Stylus-CX5300 (according to the Printing tool),
 but I get
 [jeremy at home2006 ~]$ scanimage -L
 device `epson2:libusb:003:002' is a Epson CX5400 flatbed scanner

 For SANE backend purposes these are the same.

 Here is exactly what I did with scanimage:

 [jeremy at home2006 ~]$ scanimageimage.pnm
 scanimage: sane_start: Invalid argument

 [jeremy at home2006 ~]$ scanimage -d epson2:libusb:003:002image.pnm
 scanimage: sane_start: Invalid argument

 Not sure whether this is still an issue, but have you tried specifying a
 resolution?  The CX5300 should be able to do 100 but check the output of
 scanimage -h for the `--resolution` option for details.

I tried this - no difference

[jeremy at home2006 ~]$ scanimage a.pnm
scanimage: sane_start: Invalid argument
[jeremy at home2006 ~]$ scanimage --resolution 100 b.pnm
scanimage: sane_start: Invalid argument

 There was a time where the default resolution of 300 wasn't checked
 against what the device could actually do.

 I can't think of any further relevant details but happy to provide
 them if I know exactly what further details are required

 The out.log file that results from

SANE_DEBUG_EPSON2=255 scanimage  out.pnm 2  out.log

[jeremy at home2006 ~]$   SANE_DEBUG_EPSON2=255 scanimage  out.pnm 2 out.log
[jeremy at home2006 ~]$ ls -l out.log
-rw-r--r--. 1 jeremy jeremy 39927 Jul  8 22:16 out.log

Output file is attached


 FWIW, Image Scan! for Linux[1] supports this model just fine.  Click the
 All-in-Ones icon and use your browser's find functionality (Ctrl+F ?) to
 locate the CX5300.

   [1] http://avasys.jp/eng/linux_driver/download/

I'm going away for 2 weeks soon (if I'd known I'd get replies so quickly 
I would have deferred this until I return - thanks for such speedy replies).

I'll try this when I return.

thanks again,

Jeremy



 Hope this helps,

-- next part --
An embedded and charset-unspecified text was scrubbed...
Name: out.log
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20110708/02322bb4/attachment-0001.ksh


[sane-devel] unclear error message

2011-07-08 Thread Jeremy Dawson
On 07/08/2011 10:18 PM, m. allan noah wrote:
 What version of sane-backends is this?

 allan

This is running on Fedora 14, package name is

[jeremy at home2006 ~]$ rpm -q sane-backends
sane-backends-1.0.21-3.fc14.i686

hope this includes the info you want - or this looks as though it should 
do so

[jeremy at home2006 ~]$ scanimage -V
scanimage (sane-backends) 1.0.21; backend version 1.0.21

Cheers,

Jeremy




[sane-devel] unclear error message

2011-07-08 Thread Richard Ryniker
You might try an update to 1.0.22, which is in the Fedora 14 updates
repository.  Either use yum update for a general update of your Fedora
system, or yum update sane-backends to update just that.

Alternatively (if your machine has no Internet access) retrieve just the 
sane-backends package from:

  
http://download.fedoraproject.org/pub/fedora/linux/updates/14/i386/sane-backends-1.0.22-3.fc14.i686.rpm

and copy it for local installation on the subject system.

I expect the SANE maintainers would prefer to diagnose a problem on the
latest version, instead of 1.0.21.





[sane-devel] unclear error message

2011-07-08 Thread m. allan noah
Actually, it might have worked under 1.0.20 and 1.0.22, but been
broken under 1.0.21.

allan

On Fri, Jul 8, 2011 at 9:16 AM, Jeremy Dawson
jlcaadawson at netspeed.com.au wrote:
 On 07/08/2011 11:06 PM, Richard Ryniker wrote:

 You might try an update to 1.0.22, which is in the Fedora 14 updates
 repository. ?Either use yum update for a general update of your Fedora
 system, or yum update sane-backends to update just that.

 Alternatively (if your machine has no Internet access) retrieve just the
 sane-backends package from:


 http://download.fedoraproject.org/pub/fedora/linux/updates/14/i386/sane-backends-1.0.22-3.fc14.i686.rpm

 and copy it for local installation on the subject system.

 I expect the SANE maintainers would prefer to diagnose a problem on the
 latest version, instead of 1.0.21.



 Seems to work now! ?Surprise, as I had the scanner working under Ubuntu a
 year or so ago, long before Fedora 14 arrived, so I didn't think of the
 possibility that the problem would be due to having old software.

 Anyway, it works now - thanks very much

 Jeremy




-- 
The truth is an offense, but not a sin