Subject: Re: digital camera
To: netbsd-help@netbsd.org, Richard Rauch <rauch@eecs.ukans.edu>
From: James Vodanovich <jim@arrakis.com.au>
List: netbsd-help
Date: 02/16/2001 00:23:57
--------------=_4D4800996A9C4B10B818
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable



>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 2/16/01, 7:31:38 AM, Richard Rauch <rauch@eecs.ukans.edu> wrote=20
regarding Re: digital camera:


> However, the various packages provide support for a number of cameras.=
=20
 I
> have an Olympus D-360L, which which I am pretty happy.  It is=20
supported by
> PhotoPC.  (gPhoto claims to support the 360, too, but the actual=20
gPhoto
> package must be a version or few behind---I have never been able to=20
get
> gPhoto to work with the Olympus 360.)


> I'm not aware of any cameras working with USB on NetBSD.  (On the=20
other
> hand, people have recommended a Kodak model that lets you pop the=20
memory
> card into a PCMCIA port on a laptop...)

I have a Sony PC110e, I spent an afternoon hacking the freebsd usb.c=20
that came with the current gphotos usblib. The usb test program found=20
the camera, but after all that work gphoto doesn't support that=20
camera, so I stopped work.=20

 It is basically untested beyond opening the device and getting the=20
cameras name, (I assume from the camera). It is a total kludge it is=20
hardwired to /dev/ugen0.0

ghpoto2 comes with libusb I have version 0.1.2 and attached is the=20
patch against freebsd.c

The current version of gphoto must be downloaded using CVS the details=20
are on their web page http://www.gphoto.org/download.html

Note=20



--------------=_4D4800996A9C4B10B818
Content-Description: filename="t"
Content-Disposition: inline; filename="t"
Content-Type: text/plain; name ="t"
Content-Transfer-Encoding: quoted-printable

2c2
<  * NetBSD USB support
---
>  * FreeBSD USB support
4c4
<  * Derived from Freebsd version Which was based on the Linux  version =
by Richard Tobin.
---
>  * Derived from Linux version by Richard Tobin.
13,16d12
<=20
< Like Wise
< I just hacking this to work
< James Vodanovich
19,24d14
< /*For NetBSD */
< #define USB_SET_TIMEOUT 1000000
<=20
<=20
<=20
<=20
285,286c275
< 	    /* FIXME kludge for NetBSD=20
< 	     for(j=3D0; j<4; j++)
---
> 	    for(j=3D0; j<4; j++)
288d276
< 		*/
294,295d281
< 	    /* best not to play with things we don't understand */
<             /* FIXME kludge for NetBSD          netbsd uses ugen
296a283
> 	    /* best not to play with things we don't understand */
298d284
< */
301,304d286
<             /* FIXME kludge for NetBSD        =20
< 	sprintf(buf, "/dev/%s", di.devnames[0]);
< 	*/
< 	sprintf(buf, "/dev/%s","ugen0.00");
305a288
> 	sprintf(buf, "/dev/%s", di.devnames[0]);
310c293
< 		   buf, strerror(errno));
---
> 		    di.devnames[0], strerror(errno));


--------------=_4D4800996A9C4B10B818--