Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Aug 2003 18:06:07 +0200
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        Paulo Roberto <nirv199@yahoo.com>
Cc:        hackers@freebsd.org
Subject:   Re: porting a webcam
Message-ID:  <20030808160606.GA46866@cicely12.cicely.de>
In-Reply-To: <20030808145626.80036.qmail@web14914.mail.yahoo.com>
References:  <20030808145626.80036.qmail@web14914.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 08, 2003 at 07:56:26AM -0700, Paulo Roberto wrote:
> Hello,
> 
> I am about to code my first kmod. I am trying to port an usb camera to
> FreeBSD, and since I am new at system development, I hope you don't
> mind helping me out. If this is not the correct list I should post,
> please point me what list I should post to.
> 
> I got a few questions:
> 
> * Does the 5 series differs too much to from the 4-stable to write a
> device driver? I am planning to code for 4.8 (the one I am using now)
> and I wonder how hard would it be to port it later to the 5 series.
> 
> * I am reading the developers handbook, is there another good reference
> recommended? Any good point of reference for usb/camera
> protocols/device drivers?
> 
> * You guys think it is too difficult and I should just give up due to
> my lack of experience? And if I manage to code properly, is it too
> bureaucratic to get it into the FreeBSD kernel?

I wouldn't write a kernel driver for a camera and use ugen(4) instead.
The state of ugen is similar in 4.x and 5.x so you don't have to worry
about a special version.
The most important part is getting informations about the protocol
used by your camera.

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso@bwct.de                                  info@bwct.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030808160606.GA46866>