[sane-devel] SANE: Error during device I/O (code=9)

2010-03-05 Thread Brano
On 03/04/2010 08:25 PM, m. allan noah wrote:
> hpaio backend, hp-scan, and scangui? I don't think we make any of
> those pieces of software. Perhaps you could try asking the hplip guys?
>
> allan
>
> On Wed, Mar 3, 2010 at 10:30 PM, Brano  wrote:
>   
>> Hi.
>>
>> I'm on openSUSE 11.2 with network connected all-in-one printer HP
>> LaserJet3055 (print/scan/fax)
>>
>> Until recently printer and scanner was working fine. After some official
>> updates scanner stopped working.
>>
>> I've tried hpaio rpm drivers from openSUSE distribution as well as the
>> newest from hp site.
>>
>> Still same problem, printer is working just fine, scanner is getting me
>> following error when using hp-scan:
>>
>> Using device hpaio:/net/HP_LaserJet_3055?zc=printer
>> Opening connection to device...
>> error: SANE: Error during device I/O (code=9)
>>
>> or with scangui
>> sane_open(" "hpaio:/net/HP_LaserJet_3055?zc=printer" ", &handle) failed!
>> status =  9
>>
>> My config:
>> python-imaging-sane-1.1.6-214.1.i586
>> xsane-0.997-2.1.i586
>> sane-backends-autoconfig-1.0.20-8.3.i586
>> libksane0-4.3.5-4.2.i586
>> sane-backends-1.0.20-8.3.i586
>> HP Linux Imaging and Printing System (ver. 3.10.2)
>> Scan Utility ver. 2.2
>>
>>
>> Any hints where to start looking for the problem much appreciated.
>>
>> --
>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>> to sane-devel-request at lists.alioth.debian.org
>>
>> 
>   
What are the native sane tools I sould be using for throubleshooting?
Pleas point me to a tool/log/debug tool.

Thanks.



[sane-devel] SANE: Error during device I/O (code=9)

2010-03-05 Thread Johannes Meixner

Hello,

On Mar 3 22:30 Brano wrote (shortened):
> I'm on openSUSE 11.2 with network connected all-in-one
> printer HP LaserJet3055 (print/scan/fax)
>
> Until recently printer and scanner was working fine.
> After some official updates scanner stopped working.
...
> HP Linux Imaging and Printing System (ver. 3.10.2)

openSUSE 11.2 provides HPLIP version 3.9.8 so that your
installed HPLIP version is never ever an "official update".

Note that whatever packages you may get via the openSUSE build
service or via whatever package repository which you can select
to be used additionally in YaST are in very most cases not at all
"official updates". Basically ony the repositories which are
available by default in YaST after an openSUSE 11.2 installation
from scratch are official update repositories.


Kind Regards
Johannes Meixner
-- 
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex



[sane-devel] SANE: Error during device I/O (code=9)

2010-03-04 Thread m. allan noah
hpaio backend, hp-scan, and scangui? I don't think we make any of
those pieces of software. Perhaps you could try asking the hplip guys?

allan

On Wed, Mar 3, 2010 at 10:30 PM, Brano  wrote:
> Hi.
>
> I'm on openSUSE 11.2 with network connected all-in-one printer HP
> LaserJet3055 (print/scan/fax)
>
> Until recently printer and scanner was working fine. After some official
> updates scanner stopped working.
>
> I've tried hpaio rpm drivers from openSUSE distribution as well as the
> newest from hp site.
>
> Still same problem, printer is working just fine, scanner is getting me
> following error when using hp-scan:
>
> Using device hpaio:/net/HP_LaserJet_3055?zc=printer
> Opening connection to device...
> error: SANE: Error during device I/O (code=9)
>
> or with scangui
> sane_open(" "hpaio:/net/HP_LaserJet_3055?zc=printer" ", &handle) failed!
> status =? 9
>
> My config:
> python-imaging-sane-1.1.6-214.1.i586
> xsane-0.997-2.1.i586
> sane-backends-autoconfig-1.0.20-8.3.i586
> libksane0-4.3.5-4.2.i586
> sane-backends-1.0.20-8.3.i586
> HP Linux Imaging and Printing System (ver. 3.10.2)
> Scan Utility ver. 2.2
>
>
> Any hints where to start looking for the problem much appreciated.
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
> ? ? ? ? ? ? to sane-devel-request at lists.alioth.debian.org
>



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



[sane-devel] SANE: Error during device I/O (code=9)

2010-03-03 Thread Brano
Hi.

I'm on openSUSE 11.2 with network connected all-in-one printer HP
LaserJet3055 (print/scan/fax)

Until recently printer and scanner was working fine. After some official
updates scanner stopped working.

I've tried hpaio rpm drivers from openSUSE distribution as well as the
newest from hp site.

Still same problem, *printer is working just fine*, scanner is getting
me following error when using hp-scan:

Using device hpaio:/net/HP_LaserJet_3055?zc=printer
Opening connection to device...
error: SANE: Error during device I/O (code=9)

or with scangui
sane_open(" "hpaio:/net/HP_LaserJet_3055?zc=printer" ", &handle) failed!
status =  9

My config:
python-imaging-sane-1.1.6-214.1.i586
xsane-0.997-2.1.i586
sane-backends-autoconfig-1.0.20-8.3.i586
libksane0-4.3.5-4.2.i586
sane-backends-1.0.20-8.3.i586
HP Linux Imaging and Printing System (ver. 3.10.2)
Scan Utility ver. 2.2


Any hints where to start looking for the problem much appreciated.
-- next part --
An HTML attachment was scrubbed...
URL: 



[sane-devel] Sane Error

2009-06-26 Thread David Solomon


From: bagwell.chris at gmail.com [mailto:bagwell.ch...@gmail.com] On Behalf Of 
Chris Bagwell
Sent: Friday, June 26, 2009 12:32 PM
To: David Solomon
Cc: m. allan noah; sane-devel at lists.alioth.debian.org
Subject: Re: [sane-devel] Sane Error


On Fri, Jun 26, 2009 at 10:45 AM, David Solomon mailto:dsolomon at rx30.com>> wrote:
Is there any way to disable the usage globally for testing?

David

You can try to change to pthreads instead of fork as an easy test by using a 
configure option.  Not sure if it will make a difference.

Are you using 1.0.20 or git?

For 1.0.20:

configure --disable-fork-process

For git:

--enable-pthreads

Chris


-


Chris,

That seemed to do the trick.  Scanning is working.  Now, anyone know if xInetd 
is ported to Windows?

David
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20090626/e028a1ff/attachment.htm>


[sane-devel] Sane Error

2009-06-26 Thread David Solomon


From: bagwell.chris at gmail.com [mailto:bagwell.ch...@gmail.com] On Behalf Of 
Chris Bagwell
Sent: Friday, June 26, 2009 12:32 PM
To: David Solomon
Cc: m. allan noah; sane-devel at lists.alioth.debian.org
Subject: Re: [sane-devel] Sane Error


On Fri, Jun 26, 2009 at 10:45 AM, David Solomon mailto:dsolomon at rx30.com>> wrote:
Is there any way to disable the usage globally for testing?

David

You can try to change to pthreads instead of fork as an easy test by using a 
configure option.  Not sure if it will make a difference.

Are you using 1.0.20 or git?

For 1.0.20:

configure --disable-fork-process

For git:

--enable-pthreads

Chris



That did get it to scan locally.  I haven't tried network scanning yet.

David
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20090626/2abc28b5/attachment.htm>


[sane-devel] Sane Error

2009-06-26 Thread David Solomon

-Original Message-
From: Michael Cronenworth [mailto:m...@cchtml.com]
Sent: Friday, June 26, 2009 11:56 AM
To: David Solomon
Cc: m. allan noah; sane-devel at lists.alioth.debian.org
Subject: Re: [sane-devel] Sane Error

David Solomon on 06/26/2009 10:45 AM wrote:
> Is there any way to disable the usage globally for testing?
>


If you search through the mailing list archives you should find my MinGW
patches (still don't seem to be accepted by the maintainers?) and
compile a native libsane.dll unless you require saned.


P.S. Please stop top posting.

---
I do require saned, but that could be pathed as well.

David



[sane-devel] Sane Error

2009-06-26 Thread David Solomon
Is there any way to disable the usage globally for testing?

David

-Original Message-
From: m. allan noah [mailto:kitno...@gmail.com]
Sent: Friday, June 26, 2009 10:57 AM
To: David Solomon
Cc: sane-devel at lists.alioth.debian.org
Subject: Re: [sane-devel] Sane Error

the avision backend uses sanei_thread, and hence either a sub-process
or a thread to talk to the scanner. I wonder how that works on cygwin?

allan

On Fri, Jun 26, 2009 at 10:52 AM, David Solomon wrote:
> The backend doesn't work directly either.  I am able to see it communicate 
> with the scanner, it goes into a busy state and then gets the I/O error 
> immediately after.
>
> I am going to try to compile 1.0.19 in cygwin and see if that has any 
> different results.
>
> The test interface does work.
>
> David
>
> -Original Message-
> From: m. allan noah [mailto:kitno455 at gmail.com]
> Sent: Thursday, June 25, 2009 7:19 PM
> To: David Solomon
> Cc: sane-devel at lists.alioth.debian.org
> Subject: Re: [sane-devel] Sane Error
>
> 1. does avision backend work directly?
> 2. please join the list with address.
>
> allan
>
> On Thu, Jun 25, 2009 at 6:43 PM, David Solomon wrote:
>> I am running scanimage -d net:localhost:avision > test.pnm with a saned -d 
>> server running.
>>
>> I haven't tried any of the test backends.
>>
>> David
>> 
>> From: m. allan noah [kitno455 at gmail.com]
>> Sent: Thursday, June 25, 2009 6:14 PM
>> To: David Solomon
>> Cc: sane-devel at lists.alioth.debian.org
>> Subject: Re: [sane-devel] Sane Error
>>
>> which part is running cygwin- the client or the saned server, or both?
>> Does it happen with the test or pnm backends?
>>
>> allan
>>
>> On Thu, Jun 25, 2009 at 5:03 PM, David Solomon wrote:
>>> I am trying to compile sane-backends using cygwin for Win32.  I am getting
>>> the following error in saned when trying to get the scan:
>>>
>>>
>>>
>>> [[avision] avision] Timeouts: write: 3, read: sane_set_io_mode:
>>>
>>> [, status: dll] sane_get_select_fd(handle=1
>>>
>>> 10015d18,fdp=0x22a52c)
>>>
>>> [avision] try to write cmd, count: 10.
>>>
>>> [avision] sane_get_select_fd:
>>>
>>> sanei_usb] sanei_usb_write_bulk: trying to write 10 bytes[
>>>
>>> ] [sane_get_parameters(handle=sanei_usb0x] 10015d18000 16 00 00 00 00 00 00
>>> 00
>>>
>>> 0 00   ..  ,params=0x
>>>
>>> )2a414
>>>
>>> sanei_usb[] avisionsanei_usb_write_bulk: write failed: ]
>>> sane_get_parameters:No
>>>
>>> such file or directory
>>>
>>>
>>>
>>> [avision] wrote 0 bytes
>>>
>>> [avision] === Got error 9 trying to write, wrote: 0. ===
>>>
>>> [avision] try to read status to clear the FIFO
>>>
>>> [avision] avision_usb_status: timeout 500, 1 retries
>>>
>>> [avision] ==> (bulk read) going down ...
>>>
>>>
>>>
>>> David
>>>
>>> --
>>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>>> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
>>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>>> to sane-devel-request at lists.alioth.debian.org
>>>
>>
>>
>>
>> --
>> "The truth is an offense, but not a sin"
>>
>
>
>
> --
> "The truth is an offense, but not a sin"
>



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



[sane-devel] Sane Error

2009-06-26 Thread Chris Bagwell
On Fri, Jun 26, 2009 at 10:45 AM, David Solomon  wrote:

> Is there any way to disable the usage globally for testing?
>
> David
>

You can try to change to pthreads instead of fork as an easy test by using a
configure option.  Not sure if it will make a difference.

Are you using 1.0.20 or git?

For 1.0.20:

configure --disable-fork-process

For git:

--enable-pthreads

Chris
-- next part --
An HTML attachment was scrubbed...
URL: 



[sane-devel] Sane Error

2009-06-26 Thread Michael Cronenworth
Chris Bagwell on 06/26/2009 11:25 AM wrote:
> 
> I was going to attempt to submit at least non-issue chunks of your
> patches (for example, anything under  "lib/" which is to support
> multiple platforms anyways).  Last email I saw from you, you mentioned
> going to re-update your patches so I held off.  Mind resending the latest?
> 
> I've also now installed mingw cross compiler on Fedora 11 box so can
> help verify things. 
> 

Here's the patches against sane-backends 1.0.21.

Plus I included the RPM SPEC file so you may generate a MinGW RPM under
Fedora. It requires libusb (0.1.x) as well so that's included, too.

Thanks.
-- next part --
A non-text attachment was scrubbed...
Name: sane-win32-backend.patch
Type: text/x-patch
Size: 2924 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: sane-win32-configure.patch
Type: text/x-patch
Size: 366 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: sane-win32-dll.patch
Type: text/x-patch
Size: 556 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: sane-win32-frontend.patch
Type: text/x-patch
Size: 803 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: sane-win32-include.patch
Type: text/x-patch
Size: 309 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: sane-win32-lib.patch
Type: text/x-patch
Size: 1599 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: sane-win32-sanei.patch
Type: text/x-patch
Size: 4581 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: sane-win32-sanei-thread.patch
Type: text/x-patch
Size: 3328 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: sane-win32-tools.patch
Type: text/x-patch
Size: 1123 bytes
Desc: not available
URL: 

-- next part --
An embedded and charset-unspecified text was scrubbed...
Name: mingw32-sane-backends.spec
URL: 

-- next part --
An embedded and charset-unspecified text was scrubbed...
Name: mingw32-libusb-win32.spec
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: mingw32-libusb-win32.patch
Type: text/x-patch
Size: 1243 bytes
Desc: not available
URL: 



[sane-devel] Sane Error

2009-06-26 Thread Chris Bagwell
On Fri, Jun 26, 2009 at 10:55 AM, Michael Cronenworth wrote:

> David Solomon on 06/26/2009 10:45 AM wrote:
> > Is there any way to disable the usage globally for testing?
> >
>
>
> If you search through the mailing list archives you should find my MinGW
> patches (still don't seem to be accepted by the maintainers?) and
> compile a native libsane.dll unless you require saned.
>
>
Michael,

I was going to attempt to submit at least non-issue chunks of your patches
(for example, anything under  "lib/" which is to support multiple platforms
anyways).  Last email I saw from you, you mentioned going to re-update your
patches so I held off.  Mind resending the latest?

I've also now installed mingw cross compiler on Fedora 11 box so can help
verify things.

Chris
-- next part --
An HTML attachment was scrubbed...
URL: 



[sane-devel] Sane Error

2009-06-26 Thread m. allan noah
the avision backend uses sanei_thread, and hence either a sub-process
or a thread to talk to the scanner. I wonder how that works on cygwin?

allan

On Fri, Jun 26, 2009 at 10:52 AM, David Solomon wrote:
> The backend doesn't work directly either. ?I am able to see it communicate 
> with the scanner, it goes into a busy state and then gets the I/O error 
> immediately after.
>
> I am going to try to compile 1.0.19 in cygwin and see if that has any 
> different results.
>
> The test interface does work.
>
> David
>
> -Original Message-
> From: m. allan noah [mailto:kitno455 at gmail.com]
> Sent: Thursday, June 25, 2009 7:19 PM
> To: David Solomon
> Cc: sane-devel at lists.alioth.debian.org
> Subject: Re: [sane-devel] Sane Error
>
> 1. does avision backend work directly?
> 2. please join the list with address.
>
> allan
>
> On Thu, Jun 25, 2009 at 6:43 PM, David Solomon wrote:
>> I am running scanimage -d net:localhost:avision > test.pnm with a saned -d 
>> server running.
>>
>> I haven't tried any of the test backends.
>>
>> David
>> 
>> From: m. allan noah [kitno455 at gmail.com]
>> Sent: Thursday, June 25, 2009 6:14 PM
>> To: David Solomon
>> Cc: sane-devel at lists.alioth.debian.org
>> Subject: Re: [sane-devel] Sane Error
>>
>> which part is running cygwin- the client or the saned server, or both?
>> Does it happen with the test or pnm backends?
>>
>> allan
>>
>> On Thu, Jun 25, 2009 at 5:03 PM, David Solomon wrote:
>>> I am trying to compile sane-backends using cygwin for Win32. ?I am getting
>>> the following error in saned when trying to get the scan:
>>>
>>>
>>>
>>> [[avision] avision] Timeouts: write: 3, read: sane_set_io_mode:
>>>
>>> [, status: dll] sane_get_select_fd(handle=1
>>>
>>> 10015d18,fdp=0x22a52c)
>>>
>>> [avision] try to write cmd, count: 10.
>>>
>>> [avision] sane_get_select_fd:
>>>
>>> sanei_usb] sanei_usb_write_bulk: trying to write 10 bytes[
>>>
>>> ] [sane_get_parameters(handle=sanei_usb0x] 10015d18000 16 00 00 00 00 00 00
>>> 00
>>>
>>> 0 00 ? ? ? ? ? ? ? ? ? .. ? ? ?,params=0x
>>>
>>> )2a414
>>>
>>> sanei_usb[] avisionsanei_usb_write_bulk: write failed: ]
>>> sane_get_parameters:No
>>>
>>> such file or directory
>>>
>>>
>>>
>>> [avision] wrote 0 bytes
>>>
>>> [avision] === Got error 9 trying to write, wrote: 0. ===
>>>
>>> [avision] try to read status to clear the FIFO
>>>
>>> [avision] avision_usb_status: timeout 500, 1 retries
>>>
>>> [avision] ==> (bulk read) going down ...
>>>
>>>
>>>
>>> David
>>>
>>> --
>>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>>> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
>>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>>> ? ? ? ? ? ? to sane-devel-request at lists.alioth.debian.org
>>>
>>
>>
>>
>> --
>> "The truth is an offense, but not a sin"
>>
>
>
>
> --
> "The truth is an offense, but not a sin"
>



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



[sane-devel] Sane Error

2009-06-26 Thread Michael Cronenworth
David Solomon on 06/26/2009 10:45 AM wrote:
> Is there any way to disable the usage globally for testing?
> 


If you search through the mailing list archives you should find my MinGW
patches (still don't seem to be accepted by the maintainers?) and
compile a native libsane.dll unless you require saned.


P.S. Please stop top posting.



[sane-devel] Sane Error

2009-06-26 Thread David Solomon
The backend doesn't work directly either.  I am able to see it communicate with 
the scanner, it goes into a busy state and then gets the I/O error immediately 
after.

I am going to try to compile 1.0.19 in cygwin and see if that has any different 
results.

The test interface does work.

David

-Original Message-
From: m. allan noah [mailto:kitno...@gmail.com]
Sent: Thursday, June 25, 2009 7:19 PM
To: David Solomon
Cc: sane-devel at lists.alioth.debian.org
Subject: Re: [sane-devel] Sane Error

1. does avision backend work directly?
2. please join the list with address.

allan

On Thu, Jun 25, 2009 at 6:43 PM, David Solomon wrote:
> I am running scanimage -d net:localhost:avision > test.pnm with a saned -d 
> server running.
>
> I haven't tried any of the test backends.
>
> David
> 
> From: m. allan noah [kitno455 at gmail.com]
> Sent: Thursday, June 25, 2009 6:14 PM
> To: David Solomon
> Cc: sane-devel at lists.alioth.debian.org
> Subject: Re: [sane-devel] Sane Error
>
> which part is running cygwin- the client or the saned server, or both?
> Does it happen with the test or pnm backends?
>
> allan
>
> On Thu, Jun 25, 2009 at 5:03 PM, David Solomon wrote:
>> I am trying to compile sane-backends using cygwin for Win32.  I am getting
>> the following error in saned when trying to get the scan:
>>
>>
>>
>> [[avision] avision] Timeouts: write: 3, read: sane_set_io_mode:
>>
>> [, status: dll] sane_get_select_fd(handle=1
>>
>> 10015d18,fdp=0x22a52c)
>>
>> [avision] try to write cmd, count: 10.
>>
>> [avision] sane_get_select_fd:
>>
>> sanei_usb] sanei_usb_write_bulk: trying to write 10 bytes[
>>
>> ] [sane_get_parameters(handle=sanei_usb0x] 10015d18000 16 00 00 00 00 00 00
>> 00
>>
>> 0 00   ..  ,params=0x
>>
>> )2a414
>>
>> sanei_usb[] avisionsanei_usb_write_bulk: write failed: ]
>> sane_get_parameters:No
>>
>> such file or directory
>>
>>
>>
>> [avision] wrote 0 bytes
>>
>> [avision] === Got error 9 trying to write, wrote: 0. ===
>>
>> [avision] try to read status to clear the FIFO
>>
>> [avision] avision_usb_status: timeout 500, 1 retries
>>
>> [avision] ==> (bulk read) going down ...
>>
>>
>>
>> David
>>
>> --
>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>> to sane-devel-request at lists.alioth.debian.org
>>
>
>
>
> --
> "The truth is an offense, but not a sin"
>



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



[sane-devel] Sane Error

2009-06-25 Thread David Solomon
I will test direct scanning in the morning and get back to you.  As for joining 
the list, it is funny that I recently left the list.  I was on it when I ported 
1.0.18 to the Linuxsys NSLU2 running OpenWRT.  Go figure.  I will join again.

David

From: m. allan noah [kitno...@gmail.com]
Sent: Thursday, June 25, 2009 7:18 PM
To: David Solomon
Cc: sane-devel at lists.alioth.debian.org
Subject: Re: [sane-devel] Sane Error

1. does avision backend work directly?
2. please join the list with address.

allan

On Thu, Jun 25, 2009 at 6:43 PM, David Solomon wrote:
> I am running scanimage -d net:localhost:avision > test.pnm with a saned -d 
> server running.
>
> I haven't tried any of the test backends.
>
> David
> 
> From: m. allan noah [kitno455 at gmail.com]
> Sent: Thursday, June 25, 2009 6:14 PM
> To: David Solomon
> Cc: sane-devel at lists.alioth.debian.org
> Subject: Re: [sane-devel] Sane Error
>
> which part is running cygwin- the client or the saned server, or both?
> Does it happen with the test or pnm backends?
>
> allan
>
> On Thu, Jun 25, 2009 at 5:03 PM, David Solomon wrote:
>> I am trying to compile sane-backends using cygwin for Win32.  I am getting
>> the following error in saned when trying to get the scan:
>>
>>
>>
>> [[avision] avision] Timeouts: write: 3, read: sane_set_io_mode:
>>
>> [, status: dll] sane_get_select_fd(handle=1
>>
>> 10015d18,fdp=0x22a52c)
>>
>> [avision] try to write cmd, count: 10.
>>
>> [avision] sane_get_select_fd:
>>
>> sanei_usb] sanei_usb_write_bulk: trying to write 10 bytes[
>>
>> ] [sane_get_parameters(handle=sanei_usb0x] 10015d18000 16 00 00 00 00 00 00
>> 00
>>
>> 0 00   ..  ,params=0x
>>
>> )2a414
>>
>> sanei_usb[] avisionsanei_usb_write_bulk: write failed: ]
>> sane_get_parameters:No
>>
>> such file or directory
>>
>>
>>
>> [avision] wrote 0 bytes
>>
>> [avision] === Got error 9 trying to write, wrote: 0. ===
>>
>> [avision] try to read status to clear the FIFO
>>
>> [avision] avision_usb_status: timeout 500, 1 retries
>>
>> [avision] ==> (bulk read) going down ...
>>
>>
>>
>> David
>>
>> --
>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>> to sane-devel-request at lists.alioth.debian.org
>>
>
>
>
> --
> "The truth is an offense, but not a sin"
>



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



[sane-devel] Sane Error

2009-06-25 Thread m. allan noah
1. does avision backend work directly?
2. please join the list with address.

allan

On Thu, Jun 25, 2009 at 6:43 PM, David Solomon wrote:
> I am running scanimage -d net:localhost:avision > test.pnm with a saned -d 
> server running.
>
> I haven't tried any of the test backends.
>
> David
> 
> From: m. allan noah [kitno455 at gmail.com]
> Sent: Thursday, June 25, 2009 6:14 PM
> To: David Solomon
> Cc: sane-devel at lists.alioth.debian.org
> Subject: Re: [sane-devel] Sane Error
>
> which part is running cygwin- the client or the saned server, or both?
> Does it happen with the test or pnm backends?
>
> allan
>
> On Thu, Jun 25, 2009 at 5:03 PM, David Solomon wrote:
>> I am trying to compile sane-backends using cygwin for Win32. ?I am getting
>> the following error in saned when trying to get the scan:
>>
>>
>>
>> [[avision] avision] Timeouts: write: 3, read: sane_set_io_mode:
>>
>> [, status: dll] sane_get_select_fd(handle=1
>>
>> 10015d18,fdp=0x22a52c)
>>
>> [avision] try to write cmd, count: 10.
>>
>> [avision] sane_get_select_fd:
>>
>> sanei_usb] sanei_usb_write_bulk: trying to write 10 bytes[
>>
>> ] [sane_get_parameters(handle=sanei_usb0x] 10015d18000 16 00 00 00 00 00 00
>> 00
>>
>> 0 00 ? ? ? ? ? ? ? ? ? .. ? ? ?,params=0x
>>
>> )2a414
>>
>> sanei_usb[] avisionsanei_usb_write_bulk: write failed: ]
>> sane_get_parameters:No
>>
>> such file or directory
>>
>>
>>
>> [avision] wrote 0 bytes
>>
>> [avision] === Got error 9 trying to write, wrote: 0. ===
>>
>> [avision] try to read status to clear the FIFO
>>
>> [avision] avision_usb_status: timeout 500, 1 retries
>>
>> [avision] ==> (bulk read) going down ...
>>
>>
>>
>> David
>>
>> --
>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>> ? ? ? ? ? ? to sane-devel-request at lists.alioth.debian.org
>>
>
>
>
> --
> "The truth is an offense, but not a sin"
>



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



[sane-devel] Sane Error

2009-06-25 Thread David Solomon
I am running scanimage -d net:localhost:avision > test.pnm with a saned -d 
server running.

I haven't tried any of the test backends.

David

From: m. allan noah [kitno...@gmail.com]
Sent: Thursday, June 25, 2009 6:14 PM
To: David Solomon
Cc: sane-devel at lists.alioth.debian.org
Subject: Re: [sane-devel] Sane Error

which part is running cygwin- the client or the saned server, or both?
Does it happen with the test or pnm backends?

allan

On Thu, Jun 25, 2009 at 5:03 PM, David Solomon wrote:
> I am trying to compile sane-backends using cygwin for Win32.  I am getting
> the following error in saned when trying to get the scan:
>
>
>
> [[avision] avision] Timeouts: write: 3, read: sane_set_io_mode:
>
> [, status: dll] sane_get_select_fd(handle=1
>
> 10015d18,fdp=0x22a52c)
>
> [avision] try to write cmd, count: 10.
>
> [avision] sane_get_select_fd:
>
> sanei_usb] sanei_usb_write_bulk: trying to write 10 bytes[
>
> ] [sane_get_parameters(handle=sanei_usb0x] 10015d18000 16 00 00 00 00 00 00
> 00
>
> 0 00   ..  ,params=0x
>
> )2a414
>
> sanei_usb[] avisionsanei_usb_write_bulk: write failed: ]
> sane_get_parameters:No
>
> such file or directory
>
>
>
> [avision] wrote 0 bytes
>
> [avision] === Got error 9 trying to write, wrote: 0. ===
>
> [avision] try to read status to clear the FIFO
>
> [avision] avision_usb_status: timeout 500, 1 retries
>
> [avision] ==> (bulk read) going down ...
>
>
>
> David
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
> to sane-devel-request at lists.alioth.debian.org
>



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



[sane-devel] Sane Error

2009-06-25 Thread m. allan noah
which part is running cygwin- the client or the saned server, or both?
Does it happen with the test or pnm backends?

allan

On Thu, Jun 25, 2009 at 5:03 PM, David Solomon wrote:
> I am trying to compile sane-backends using cygwin for Win32.? I am getting
> the following error in saned when trying to get the scan:
>
>
>
> [[avision] avision] Timeouts: write: 3, read: sane_set_io_mode:
>
> [, status: dll] sane_get_select_fd(handle=1
>
> 10015d18,fdp=0x22a52c)
>
> [avision] try to write cmd, count: 10.
>
> [avision] sane_get_select_fd:
>
> sanei_usb] sanei_usb_write_bulk: trying to write 10 bytes[
>
> ] [sane_get_parameters(handle=sanei_usb0x] 10015d18000 16 00 00 00 00 00 00
> 00
>
> 0 00?? ..? ,params=0x
>
> )2a414
>
> sanei_usb[] avisionsanei_usb_write_bulk: write failed: ]
> sane_get_parameters:No
>
> such file or directory
>
>
>
> [avision] wrote 0 bytes
>
> [avision] === Got error 9 trying to write, wrote: 0. ===
>
> [avision] try to read status to clear the FIFO
>
> [avision] avision_usb_status: timeout 500, 1 retries
>
> [avision] ==> (bulk read) going down ...
>
>
>
> David
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
> ? ? ? ? ? ? to sane-devel-request at lists.alioth.debian.org
>



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



[sane-devel] Sane Error

2009-06-25 Thread David Solomon
I am trying to compile sane-backends using cygwin for Win32.  I am getting the 
following error in saned when trying to get the scan:

[[avision] avision] Timeouts: write: 3, read: sane_set_io_mode:
[, status: dll] sane_get_select_fd(handle=1
10015d18,fdp=0x22a52c)
[avision] try to write cmd, count: 10.
[avision] sane_get_select_fd:
sanei_usb] sanei_usb_write_bulk: trying to write 10 bytes[
] [sane_get_parameters(handle=sanei_usb0x] 10015d18000 16 00 00 00 00 00 00 00
0 00   ..  ,params=0x
)2a414
sanei_usb[] avisionsanei_usb_write_bulk: write failed: ] sane_get_parameters:No
such file or directory

[avision] wrote 0 bytes
[avision] === Got error 9 trying to write, wrote: 0. ===
[avision] try to read status to clear the FIFO
[avision] avision_usb_status: timeout 500, 1 retries
[avision] ==> (bulk read) going down ...

David
-- next part --
An HTML attachment was scrubbed...
URL: 



[sane-devel] Sane Error reboots my Computer

2002-04-03 Thread Henning Meier-Geinitz
Hi,

On Tue, Apr 02, 2002 at 10:16:09PM +0200, Christian Nieling wrote:
> I have this problem with my HP Scanjet 4100c and sane. When running 
> sane-find-scanner i see the following line:
> 
> sane-find-scanner: found USB scanner (vendor = 0x03f0, product = 0x0101) at 
> device /dev/usb/scanner0
> 
> So sane has found my scanner, but when i run scanimage my computer just 
> reboots without any warning or message and without stopping any services. I 
> am running on RedHat 7.2 and i am using sane version 1.0.7. Can anyone please 
> tell me what to do about this.

I have never heard about scanimage rebooting a computer until now. If
you don't run scanimage as root I guess there is a kernel bug or
permission problem because a user shouldn't be able to crash or reboot
the kernel.

You can check if this is a problem of the hp backend by commenting out
all the other backends in dll.conf. 

Also check that you don't have a link /dev/scanner pointing to any
USB device.

Is hp.conf configured according to man sane-hp?

Bye,
  Henning


[sane-devel] Sane Error reboots my Computer

2002-04-02 Thread Christian Nieling
Hi,

I have this problem with my HP Scanjet 4100c and sane. When running 
sane-find-scanner i see the following line:

sane-find-scanner: found USB scanner (vendor = 0x03f0, product = 0x0101) at 
device /dev/usb/scanner0

So sane has found my scanner, but when i run scanimage my computer just 
reboots without any warning or message and without stopping any services. I 
am running on RedHat 7.2 and i am using sane version 1.0.7. Can anyone please 
tell me what to do about this.

Thanx a lot,
C. Nieling
christ...@nieling.cjb.net