From owner-freebsd-drivers@FreeBSD.ORG Sun Jan 20 23:25:23 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BB2D16A41A for ; Sun, 20 Jan 2008 23:25:23 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (pool-96-225-216-68.ptldor.fios.verizon.net [96.225.216.68]) by mx1.freebsd.org (Postfix) with ESMTP id 324AE13C47E for ; Sun, 20 Jan 2008 23:25:22 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (localhost.home.localnet [127.0.0.1]) by schitzo.solgatos.com (8.14.1/8.13.8) with ESMTP id m0KMwC1v028638; Sun, 20 Jan 2008 14:58:12 -0800 Received: from sopwith.solgatos.com (uucp@localhost) by schitzo.solgatos.com (8.14.1/8.13.4/Submit) with UUCP id m0KMwCQT028635; Sun, 20 Jan 2008 14:58:12 -0800 Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id VAA02966; Sun, 20 Jan 2008 21:40:51 GMT Message-Id: <200801202140.VAA02966@sopwith.solgatos.com> To: freebsd-multimedia@freebsd.org, freebsd-drivers@freebsd.org In-reply-to: Your message of "Sun, 20 Jan 2008 05:51:51 GMT." Date: Sun, 20 Jan 2008 13:40:51 +0000 From: Dieter Cc: Subject: Writing BSD device drivers (was: Re: Philips SAA7130 ) X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2008 23:25:23 -0000 [ -drivers added ] > I've been still trying to get my AverMedia Hybrid PCMCIA card to work, but = > I don't think its coming anytime soon. Trouble is I've been trying to use t= > he linux compat but I haven't got any answer on how, I've asked about how t= > o build a driver (so I might be able to use linux compat and use the driver= > s from there) but got no answer- I reckon for the new tv cards you might ne= > ed to go to linux. There are current linux drivers available for Avermedia = > at linuxtv.org but I can't get them to work on bsd unfortunately. I'd like = > to get it to work on bsd, but I keep coming up blanks and it seems beyond m= > y skills to build a driver for it. > Currently I'm using fc8 to run my multimedia, and I'll use bsd on my server= > s. Seems to be the only way atm, but I will be watching... NetBSD has a Device Driver Writing Guide: http://www.netbsd.org/Documentation/kernel/ddwg.html Also, see the 'FreeBSD Kernel "Newbies"' thread in http://lists.freebsd.org/pipermail/freebsd-drivers/2007-December/date.html I am not a FreeBSD device driver writing wizard, but I gather the usual method is not to port a linux driver (due to massive differences between the linux kernel and the *BSD kernels, and also due to concerns with the quality of linux code), but to write a new driver. Data sheets and linux driver source are useful for learning how the device works.