This is a preliminary patch to gphoto-0.5-dev to support the Olympus
C3030-Zoom on USB. To get the usb support, you'll have to get
a recent USB stack. I personally used the backport 
usb-2.4.0-test2-pre2-for-2.2.16-v3 available at
http://www.suse.cz/development/usb-backport/

Then apply the patch usb-2.4.0-test2-pre2.clear_halt_devio.diff
that adds a new ioctl() to the usbdevfs. Recompile your kernel.

Download libusb, a library for user space access to USB devices.
This library is available at http://sourceforge.net/project/?group_id=1674
Latest version at the time of this writing is libusb-0.1.1.
Apply the patch libusb-0.1.1.diff, compile and install.

Get the latest CVS sources of gphoto-0.5-dev and libgpio from
the gnome CVS repository :

cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome login
--> password : just hit returns
cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome co -rgphoto_0_5_dev gphoto
cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome co  libgpio

Apply the patch libgpio.diff to libgpio, compile and install.
gpio configure must detect libusb.

Apply the patches gphoto-0.5-dev.diff, and gphoto-0.5-dev.diff2,
Compile and install gphoto. (These patches include support for
the Olympus C2500L too, submitted recently on gphoto-devel 
by Adam Fritzler.)

Load the usb modules, and mount the usbdevfs :
for example, if you have an uhci hub :

     modprobe uhci
     mount none /proc/bus/usb -t usbdevfs

You should have some files in the mounted directory. Plug and switch
the camera on. If you have installed usb-utils, you can check
that the camera is detected with lsusb. Else, check in /var/log/messages
or with dmesg if you enabled the verbose usb debugging in the kernel
configuration.

Start gphoto. If autodetection fails, you can write manually the 
~/.gphoto/gphotorc file with this (the value 2 tells gphoto to use 
USB instead of Serial) :
/dev/ttyS0
Olympus C-3030Z

2

Have fun !

Tue Jul  4 23:23:00 MET DST 2000
Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>
