[sane-devel] Canon FS4000

eric@b.org eric.bachard@free.fr
Tue, 09 Sep 2003 18:01:10 +0200


Hi everyone,

about Canon FS4000US USB/SCSI film/diapos scanner

First, it works fine with Vuescan but with scsi only. Vuescan is a good 
software, so I decided to purchase a (pro) licence. And so I'll be able 
to test new unsupported scanners with it, to find information if I can.

But, I want to see this scanner working with free software under Linux, 
with my favorite Gimp, and under the usb bus...

I've found a documentation about USB implementation, and I have begin to 
work. So, a driver is not for today :-)


Secondly, ...

I've opened the machine :-)

If someone is interested with the chips references I found inside, see 
above :

CARD Z919-03 Main

Other references found :
YH1-0776
YG7-0139-03
[25G]

The biggest chipset is (more than 200 pins) :

Canon Kikka
YH4-0201
0214 Z24

Another one :

Malaysia
29F400TC-90PFTN
0208F59S


The next one :

0212EAI
TMP95C265F
F0025ZAE
Japan

Again :

RONALDO 	# nice name...:-)
FH4-6069
T6W93B-0002
Japan 0206EAI
D0078AAA


And the last one :

LSI
LSA0002
CF92A
Y0204
WPE04020 *or* WPD4020 (not sure)

Hope this help (?) If someone can recognize something interessant, let 
me know...


Thirdly,

I've read the thread about HP4200, and I have the same problem...

Configuration : ibook with Debian sid + kernel 2.4.22pre4-ben0 (benh) + 
libusb-config version 0.1.7 + sane-frontend Version: 1.0.11-2 + 
sane-backends Version: 1.0.12-5


popom:/home/eric# export SANE_DEBUG_CANON=4
popom:/home/eric# scanimage -L
[gphoto2] init_gphoto2: error: serial:/dev/ttyd1 is not a valid gphoto2 
port.  Use "gphoto2 --list-ports" for list.
[sanei_debug] Setting debug level of canon to 4.
[canon] >> sane_init
[canon] sane_init: sane-backends 1.0.12
[canon] >> attach_one
[canon] >> attach
[canon] attach: opening /dev/usb/scanner0
[canon] attach: open failed: Invalid argument
[canon] << attach_one
[canon] << sane_init
[canon] >> sane_get_devices
[canon] << sane_get_devices
device `hp4200:/dev/usb/scanner0' is a Hewlett-Packard HP-4200 flatbed 
scanner
[canon] >> sane_exit
[canon] << sane_exit

But /cat/proc/bus/usb/devices give me a correct :

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 10 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=16 #Cfgs=  1
P:  Vendor=04a9 ProdID=3042 Rev=10.01
S:  Manufacturer=Canon
S:  Product=Scanner
C:* #Ifs= 1 Cfg#= 1 Atr=60 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbscanner
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
E:  Ad=03(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

BTW : scanner.o is loaded ;-)

I'll test all the usb-sniffers I've found under
Windows soon.

Finally, I've got a question : where can I find an example of backend ?
For example, there is a file called usb-skeleton.c in 
/usr/src/linux/drivers/usb, but what for sane-backends (found nothing in 
sane-backend-cvs-snapshot)

Thank you


Best regards

-- 
NO ePATENTS / NON AUX BREVETS SUR LES LOGICIELS. Voir / See 
http://swpat.ffii.org/

eric b