Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jul 1999 01:47:08 -0700 (PDT)
From:      The Utz Family <utz@serv.net>
To:        freebsd-multimedia@freebsd.org
Subject:   Where is the PCM-SND code that generates the message "this should be an OPTi931"?
Message-ID:  <Pine.BSF.4.02.9907310109400.78658-100000@itchy.serv.net>

next in thread | raw e-mail | index | archive | help

hi;

i have an onboard sound chip called a CMEDIA CMI8330A (www.cmedia.com.tw)
vga1: <SiS model 6326 VGA-compatible display device> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02.9907310109400.78658-100000>