[sane-devel] Sane Error

David Solomon dsolomon at rx30.com
Fri Jun 26 15:45:56 UTC 2009


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

David

-----Original Message-----
From: m. allan noah [mailto:kitno455 at 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<dsolomon at rx30.com> 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<dsolomon at rx30.com> 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<dsolomon at rx30.com> 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: 30000, read: sane_set_io_mode:
>>>
>>> [, status: dll] sane_get_select_fd(handle=10000
>>>
>>> 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"



More information about the sane-devel mailing list