From owner-freebsd-drivers@FreeBSD.ORG Sun Jul 23 23:12:15 2006 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C495E16A4DD for ; Sun, 23 Jul 2006 23:12:15 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D01543D49 for ; Sun, 23 Jul 2006 23:12:14 +0000 (GMT) (envelope-from stapleton.41@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so2114592uge for ; Sun, 23 Jul 2006 16:12:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=M6m/ZWHkVw29Vv/Y+fKkJdR2hgGiz/iVOjILel5PESru/spetStQHsytP6PQxR5ql89qmW3lKgi62dk1OY/YAuMEo3TEkJL9LKH2Jz5Ai8UEjezMR+fSVRSilKODKxqHmOLm4CCdxV38YFn5yjYjuJvv+OQh5QKkH8zuUfvAI3w= Received: by 10.67.100.17 with SMTP id c17mr2912865ugm; Sun, 23 Jul 2006 16:12:13 -0700 (PDT) Received: by 10.67.86.11 with HTTP; Sun, 23 Jul 2006 16:12:13 -0700 (PDT) Message-ID: <80f4f2b20607231612y14182babqf04c196f484b7dff@mail.gmail.com> Date: Sun, 23 Jul 2006 19:12:13 -0400 From: "Jim Stapleton" To: freebsd-drivers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Quick question by a noob 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, 23 Jul 2006 23:12:15 -0000 I have a notebook, and there is no audio driver for this particular model (OSS provides some, but they don't work). I'm just wondering if some people could point me in the right direction for writing my own driver (or editing an existing driver) to get the sound working on my notebook, including good faqs, as I've not writtend any drivers before. And yes, I've verified, no one knows of work, the generic snd driver gives no results, the obvious ich driver does not work, and the OSS drivers cause my system to reboot. Notebook: Toshiba Satellite A105-4001 MB/Graphics Chip: i950 (many refer to this as a moniker for the i945GM) Audio "Codec": Realtek ALC861. Any suggestions, or someone willing to walk me through this? I have the kernel source for my kernel available (6.1-STABLE), and I've glanced over some of the files for sound (well just once, and I could kinda figure out some of the stuff, but it's beyond my current knowledge). I also have the Realtek datasheet on my current sound card. Thanks, -Jim Stapleton From owner-freebsd-drivers@FreeBSD.ORG Mon Jul 24 20:57:54 2006 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7E4016A4DE; Mon, 24 Jul 2006 20:57:54 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADDF443D4C; Mon, 24 Jul 2006 20:57:52 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k6OKvo6m028334; Mon, 24 Jul 2006 16:57:51 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-drivers@freebsd.org Date: Mon, 24 Jul 2006 16:33:46 -0400 User-Agent: KMail/1.9.1 References: <80f4f2b20607200729o26cc0c2bwebbea605e15a4457@mail.gmail.com> In-Reply-To: <80f4f2b20607200729o26cc0c2bwebbea605e15a4457@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607241633.46926.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 24 Jul 2006 16:57:51 -0400 (EDT) X-Virus-Scanned: ClamAV 0.87.1/1616/Mon Jul 24 13:49:29 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: freebsd-ia32@freebsd.org Subject: Re: quick question as to which list I want 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: Mon, 24 Jul 2006 20:57:54 -0000 On Thursday 20 July 2006 10:29, Jim Stapleton wrote: > please reply to this mail, as I've not joined either of these lists yet. > > I've never written a driver before, but there are no drivers for my > notebook's sound chipset, and I want to get one written, so I can have > some sound. My notebook is an i386 notebook, and I was wondering > should I use the general "freebsd-drivers" list, or the ia32 list? For a sound driver you actually might want to try on freebsd-multimedia@ first. This list can help if you have questions that aren't specific to sound once you get going. -- John Baldwin From owner-freebsd-drivers@FreeBSD.ORG Mon Jul 24 20:57:56 2006 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A67A816A4DF for ; Mon, 24 Jul 2006 20:57:56 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B17043D49 for ; Mon, 24 Jul 2006 20:57:53 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k6OKvo6n028334; Mon, 24 Jul 2006 16:57:52 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-drivers@freebsd.org Date: Mon, 24 Jul 2006 16:34:34 -0400 User-Agent: KMail/1.9.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607241634.35302.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 24 Jul 2006 16:57:52 -0400 (EDT) X-Virus-Scanned: ClamAV 0.87.1/1616/Mon Jul 24 13:49:29 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Subject: Re: freebsd device driver tutorial ? 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: Mon, 24 Jul 2006 20:57:56 -0000 On Thursday 20 July 2006 10:32, Only OpenSource wrote: > Hi: > > I am a newbie and want to learn more about FreeBSD kernel internals. > My long-term plan is to contribute towards FreeBSD kernel development. > > Does anybody know where can I find a "detailed" freebsd device driver > tutorial ? There isn't a real "tutorial" per se. There are some brief notes in the Kernel Handbook on the website, but other than that the only real resource is reading the code of existing drivers unfortunately. -- John Baldwin