[sane-devel] Xerox DocuMate takes long to return BUSY when on standby

m. allan noah kitno455 at gmail.com
Tue Jun 15 18:32:21 UTC 2010


Well, at least it is short:

TUR
5 byte INQ
0x60 byte INQ
READ page code 0x69 (NVRAM data?)
SEND page code 0xa2 (Power Save Timer? data: 0x000f)

I would guess that the last command is the trick.

backend/avision.c already has a set_power_save_time(), so perhaps that
can be used during scanner startup?

allan


On Tue, Jun 15, 2010 at 12:46 PM, dabicho <tsukebumi at gmail.com> wrote:
> Ok.
> This Log is from twain (twacker)
> Here I did the twain steps form Open Twain Source Manager, Open a
> Source (at this point, the scanner came out of its stand by state),
> Close the Source, Unload the Source Manager.
>
> I also did a scan preview, but the uncompressed log file is 13M aprox.
> and 1.3 compressed with bzip2
>
> On Tue, Jun 15, 2010 at 10:17 AM, m. allan noah <kitno455 at gmail.com> wrote:
>> No problem. Can you also leave the logger running, and let the scanner
>> go to sleep, and then start it up again?
>>
>> allan
>>
>> On Tue, Jun 15, 2010 at 11:04 AM, dabicho <tsukebumi at gmail.com> wrote:
>>> Sorry, I did not realize I was replying to you only.
>>> After just opening a twain app, the scanner comes out of its stand by state.
>>> This is what I got, but I can not make much sense off it.
>>>
>>>
>>> On Mon, Jun 14, 2010 at 1:20 PM, m. allan noah <kitno455 at gmail.com> wrote:
>>>> http://www.pcausa.com/Utilities/UsbSnoop/
>>>>
>>>> allan
>>>>
>>>> On Mon, Jun 14, 2010 at 2:19 PM, dabicho <tsukebumi at gmail.com> wrote:
>>>>> What tool can I use to get a log of that?
>>>>> I have an XP machine in which I can test.
>>>>>
>>>>> On Mon, Jun 14, 2010 at 1:03 PM, m. allan noah <kitno455 at gmail.com> wrote:
>>>>>> No- there is generally one backend per scanner chipset. The avision
>>>>>> backend is the only one that supports this machine.
>>>>>>
>>>>>> You could try to get a log of the windows driver in action, and see
>>>>>> what it does to wake up the scanner. Perhaps it is something simple
>>>>>> that can be replicated in sane.
>>>>>>
>>>>>> allan
>>>>>>
>>>>>> On Mon, Jun 14, 2010 at 2:01 PM, dabicho <tsukebumi at gmail.com> wrote:
>>>>>>> On Mon, Jun 14, 2010 at 12:29 PM, m. allan noah <kitno455 at gmail.com> wrote:
>>>>>>>> yes- avision. Unfortunately, this backend is unmaintained, so I'm not
>>>>>>>> sure who can fix it.
>>>>>>>>
>>>>>>>> allan
>>>>>>>>
>>>>>>>
>>>>>>> Is there any way in which I can force a different backend? (I don't
>>>>>>> know how sane works internally, meaning I don't know how it chooses a
>>>>>>> backend over the rest) To try and find something.
>>>>>>>
>>>>>>> the avision backend manpage did not help either
>>>>>>>
>>>>>>> Thank  you
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> "The truth is an offense, but not a sin"
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> "The truth is an offense, but not a sin"
>>>>
>>>
>>> --
>>> 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"



More information about the sane-devel mailing list