[sane-devel] Re: updated Fujitsu SANE backend
m. allan noah
anoah at pfeiffer.edu
Tue Feb 21 17:07:04 UTC 2006
On Mon, 20 Feb 2006, Charles Duffy wrote:
> Charles Duffy wrote:
>> One regression: Button detection no longer works. I can switch between the
>> two drivers -- startbutton follows whether the "scan" button is pressed on
>> the original driver but not the experimental one.
>
> Looking at the logs with SANE_DEBUG_FUJITSU=255:
>
> We have found 1 buttons!
> [fujitsu] sane_get_option_descriptor: "button"
> [fujitsu] sane_control_option: get value "button"
> [fujitsu] cap = 4
> [fujitsu] get_hardware_status
> [fujitsu] get_hardware_status
> [fujitsu] 000: c2 00 00 00 00 00 00 00 0a 00
> [fujitsu] cmd >>
> [fujitsu] 000: c2 00 00 00 00 00 00 00 0a 00
> [fujitsu] usb_cmd >>
> [fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> [fujitsu] 010: 00 00 00 c2 00 00 00 00 00 00 00 0a 00 00 00
> [fujitsu] writing 31 bytes
> [fujitsu] wrote 31 bytes
> [fujitsu] cmdRetVal: 4
> [fujitsu] ERROR!
> button 0:BOOL: 0
>
do you have the rest of the debug log from this? retval 4 is
SANE_STATUS_INVAL, which could be caused by having not openned the device,
or having closed it prematurely.
allan
--
"so don't tell us it can't be done, putting down what you don't know.
money isn't our god, integrity will free our souls" - Max Cavalera
More information about the sane-devel
mailing list