From owner-freebsd-multimedia Mon Nov 9 21:38:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA13429 for freebsd-multimedia-outgoing; Mon, 9 Nov 1998 21:38:17 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id VAA13419 for ; Mon, 9 Nov 1998 21:38:13 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id EAA29559; Tue, 10 Nov 1998 04:38:03 +0100 From: Luigi Rizzo Message-Id: <199811100338.EAA29559@labinfo.iet.unipi.it> Subject: Re: Luigi's driver, AOpen AW37, and me. To: dkelly@HiWAAY.net (David Kelly) Date: Tue, 10 Nov 1998 04:38:03 +0100 (MET) Cc: freebsd-multimedia@FreeBSD.ORG In-Reply-To: <199811100515.XAA00327@n4hhe.ampr.org> from "David Kelly" at Nov 9, 98 11:14:53 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Eventually I got it working, but is it right? Here's how I got there: > > On advice that Crystal Semiconductor based sound cards were Good Stuff, > plus the fact CS has 1MB PDF manuals online, I purchased an AOpen AW37 > sound card for use under FreeBSD. This is based on the CS42345 chip. the problem is that the card has a PnP ID which is not on the list of recognized pnp ids.. in ad1848.c, in all places where you see a test against 0x3700630e, you should also add one for 0x25d9630e. This is in ad1848.c: (in exchange, could you tell me where did you get the card and how much payed for it, just to update my database...) cheers luigi static char * cs423x_probe(u_long csn, u_long vend_id) { char *s = NULL ; u_long id = vend_id & 0xff00ffff; if ( id == 0x3700630e ) s = "CS4237" ; + else if ( id == 0x25d9630e) + s = "CS4235" ; ... case 0x3700630e: /* CS4237 */ tmp_d.bd_id = MD_CS4237 ; break; + case 0x25d9630e: /* CS4235 */ + tmp_d.bd_id = MD_CS4237 ; /* really 4235 */ + break; cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message