benoit, thanks for the hack :) i am currently re-writing the fujitsu backend to better support the newer model usb scanners. i would not use it for your customers, but i have been placing the updated backend here:
http://www2.pfeiffer.edu/~anoah/fujitsu/ can i ask you to test this code in the future, as i make new versions? allan On Tue, 21 Feb 2006, Beno?t Dejean wrote: > Hi, > we (Clarisys Informatique) need sane support for Fujitsu 5120 > scanner for our customers. We already use many Fujitsu 4120 scanners and > we have recently bought 8 Fujitsu 5120. The 5120 model looks like the > 4120 one, so we tried to use it as if it was a 4120 (MODEL_FI4x20). And > it works fine (at least it seems to). > > Here's the stupid patch we did in order to get support for Fujitsu 5120 > scanners. > Thanks. > > Beno?t. > > -- "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 From [email protected] Tue Feb 21 17:07:04 2006 From: [email protected] (m. allan noah) Date: Tue Feb 21 17:07:37 2006 Subject: [sane-devel] Re: updated Fujitsu SANE backend In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Message-ID: <[email protected]> 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
