From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 8 20:32:51 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 799E516A4CF for ; Thu, 8 Jul 2004 20:32:51 +0000 (GMT) Received: from anchor-post-32.mail.demon.net (anchor-post-32.mail.demon.net [194.217.242.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFDFE43D2D for ; Thu, 8 Jul 2004 20:32:50 +0000 (GMT) (envelope-from mark@markdnet.demon.co.uk) Received: from lizacnet.demon.co.uk ([80.177.208.105] helo=[192.168.0.2]) by anchor-post-32.mail.demon.net with esmtp (Exim 3.35 #1) id 1BifZZ-000Cjq-0W for freebsd-hackers@freebsd.org; Thu, 08 Jul 2004 21:32:49 +0100 From: Mark Dixon To: freebsd-hackers@freebsd.org Date: Thu, 8 Jul 2004 21:35:34 +0100 User-Agent: KMail/1.6.2 References: <20040704182047.GD72520@silverwraith.com> In-Reply-To: <20040704182047.GD72520@silverwraith.com> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-03=_tAb7AKttLCkhtPS"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407082136.10818.mark@markdnet.demon.co.uk> Subject: Re: where to get info to write basic usb driver for own device? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2004 20:32:51 -0000 --Boundary-03=_tAb7AKttLCkhtPS Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 04 Jul 2004 19:20, Avleen Vig wrote: > > I am actually in a similar situation. > I know some C, and want to write a device driver for a USB device (web > cam), but I have no idea where to start. > I've searched for a "beginners guide to writing device drivers" but > failed miserably :-( I briefly looked into this as well, and in summery, webcams are a bit of a= =20 pain. Unlike Linux folks, there's no Video4BSD (although there was some tal= k=20 of one a while back), and so there's no standard way of doing it.=20 The only proven video in API is the one used by meteora (I think) and bktr,= =20 and thats by all accounts hideous, which leaves you needing to write a lot= =20 more code than you first thought, and that was enough to put me off. A=20 standard thing to do with the video stream having extracted it from the=20 webcam which applications like gnomemeeting understand would make the job=20 much easier. =2D-=20 Mark 'If it compiles, ship it' --Boundary-03=_tAb7AKttLCkhtPS Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBA7bAtLqgJ90OcaiARApzMAJ0aGmIrcJ726T+kxD9dfmQ/XO9mpQCgsg77 gAVJUz1+ihYyy0a470h0vUI= =5pFH -----END PGP SIGNATURE----- --Boundary-03=_tAb7AKttLCkhtPS--