From owner-freebsd-multimedia Sat Jul 31 1:48:51 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from itchy.serv.net (itchy.serv.net [205.153.153.233]) by hub.freebsd.org (Postfix) with ESMTP id 00B0715013 for ; Sat, 31 Jul 1999 01:48:44 -0700 (PDT) (envelope-from utz@itchy.serv.net) Received: from localhost (utz@localhost) by itchy.serv.net (8.8.5/8.8.5) with SMTP id BAA79175 for ; Sat, 31 Jul 1999 01:47:10 -0700 (PDT) Date: Sat, 31 Jul 1999 01:47:08 -0700 (PDT) From: The Utz Family To: freebsd-multimedia@freebsd.org Subject: Where is the PCM-SND code that generates the message "this should be an OPTi931"? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hi; i have an onboard sound chip called a CMEDIA CMI8330A (www.cmedia.com.tw) vga1: rev 0x0b on pci1.0.0 Probing for PnP devices: CSN 1 Vendor ID: CMI0001 [0x0100a90d] Serial 0x01000100 Comp ID: @@@0000 [0x00000000] Probing for devices on the ISA bus: the pdf doc claims it to be: Sound Blaster 16/PRO compatible with stereo voice up to 48Khz sampling rates. 16-bits Microsoft Windows Sound System hardware compatible. so it seems to give the kernel some idea that it is an OPTi931 because it emits the message after probing the card: npx0: INT 16 interface this should be an OPTi931 mss0 at 0x530 irq 5 drq 1 on isa but it doesnt appear to be working! john# cat /dev/sndstat cat: /dev/sndstat: Device not configured $ more /boot/kernel.conf pnp 1 0 os enable port0 0x534 port2 0x220 irq0 5 drq0 1 drq1 3 what's transpiring here? i notice in ad1848.c there is some switching based on vendor id in the crystal sound probe code but not really in anything else. is this just due to a high mutation rate in the disparate crystal implementations? is there some simple hacks that i can try to get this guy fully functional? or is this likely to be something that will require me taking all the OPTi931 specific routines as templates and examining the chip docs ( which seem to be adequate for the job, btw ) and implementing CMI8330A_intr(int unit), CMI8330A_read, CMI8330A_write, ..etc? tnx again! johnu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message