From owner-freebsd-multimedia@FreeBSD.ORG Tue Apr 15 07:12:42 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2012037B401 for ; Tue, 15 Apr 2003 07:12:42 -0700 (PDT) Received: from puma.icir.org (puma.icir.org [192.150.187.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8A9F43FB1 for ; Tue, 15 Apr 2003 07:12:41 -0700 (PDT) (envelope-from hodson@puma.icir.org) Received: from puma.icir.org (localhost [127.0.0.1]) by puma.icir.org (8.12.8p1/8.12.3) with ESMTP id h3FECfnR015749 for ; Tue, 15 Apr 2003 07:12:41 -0700 (PDT) (envelope-from hodson@puma.icir.org) Message-Id: <200304151412.h3FECfnR015749@puma.icir.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.3 From: Orion Hodson Cc: freebsd-multimedia@freebsd.org Mime-Version: 1.0 In-Reply-To: <3E9B484D.6050709@Ncrypted.ORG> Content-Type: text/plain; charset=us-ascii Date: Tue, 15 Apr 2003 07:12:41 -0700 Sender: hodson@icir.org Subject: Re: RME 96xx with FreeBSD X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2003 14:12:42 -0000 /-- Steven Campbell wrote: | Hi, I would like my RME Digi96/8 working under FreeBSD. | | I'm currently running FreeBSD 5.0 on an SMP Pentium Pro box. | | I haven't seen anything more recent than Daniel Pouzzner's comments ( | douzzer@mega.nu ) in May 2000. You can view it by googling for "freebsd | rme". | | I have read and understand the RME 96xx driver from ALSA, but I don't | want to get involved in porting the ALSA stuff, since FreeBSD's pcm | seems to be well-written. | | I would like to get the ALSA drivers working under FreeBSD, keeping in | mind GPL vs. FreeBSD kernel copyright issues. | | Wondering if somebody could share any notes or pages on porting ALSA or | OSS sound drivers to FreeBSD's pcm driver. I'd recommend taking a look at Bruce Montague's Geode driver code - it's heavily commented and gives a pretty clear indication of what needs to be done to write a newpcm driver: http://63.249.85.132/gx_audio/index.html There's a skeleton driver under: http://people.freebsd.org/~cg/template.c And plenty of examples under: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/sound/pci There are notes in the handbook on writing device drivers: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/driverbas ics.html Obviously it'd be helpful to have register specs for the h/w in addition to the ALSA source. Kind Regards - Orion