[sane-devel] add support fujitsu 5120

Benoît Dejean benoit at clarisys.fr
Wed Feb 22 14:43:58 UTC 2006


Le mardi 21 février 2006 à 10:01 -0500, m. allan noah a écrit : 
> 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?

I would certainly but "CURRENTLY FOR USB ONLY! SCSI IS BROKEN!"
prevents me from doing it. We never managed to make 4120 work reliably
with USB, that's why we use only the SCSI interface. Btw, i've tried
your fujitsu backend (+ one line patch to detect the 5120). It's no
usable by USB, scanimage just hangs. Here is what i've tried :


$ sane-find-scanner 
found USB scanner (vendor=0x04c5, product=0x10e0) at libusb:001:004

$ sudo vim /etc/sane.d/fujitsu.conf 

$ cat /etc/sane.d/fujitsu.conf
scsi FUJITSU
usb 0x04c5 0x10e0
option force-model fi-4x20

$ scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).


/proc/bus/usb/devices :
T: Bus=01 Lev=01 Prnt=01 Port=06 Cnt=01 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=04c5 ProdID=10e0 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 98mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=31875us

syslog :
ehci_hcd 0000:00:03.3: port 7 high speed
ehci_hcd 0000:00:03.3: GetStatus port 7 status 001005 POWER sig=se0 PE CONNECT
usb 1-7: new device strings: Mfr=0, Product=0, SerialNumber=0
usb 1-7: hotplug
usb 1-7: adding 1-7:1.0 (config #1, interface 0)
usb 1-7:1.0: hotplug

Thanks.




More information about the sane-devel mailing list