It won't identify it through the native BSD sound drivers because it's not yet included for support so I have had to fall back to the OSSv4 driver.
Here in lies the first problem. OSSv4 Open Source driver will compile fine and build correctly without errors. It's however when I attempt to load the module and start the sound daemon that the system freezes up requiring a hard reset and if I attempt to autoload the module at startup the system gets a failure panic and auto-reboots.
I have attempted the binary distributed driver and it will more or less do the same thing.
The card I have is a C-Media 8788 Oxygen HD based/rebranded ASUS Xonar DX.
To be honest I have never had luck getting a driver from OpenSound working at all on any system I have ever used when I have used Linux or BSD based systems.
I followed these EXACT instructions from 4Front to get the binary driver working but it would not produce any sound.
- Login as root or superuser
- cd /usr/src/sys/i386/conf (for 32bit CPUS) or /usr/src/sys/amd64/conf (for 64bit CPUs)
- Edit the file GENERIC
- Comment out all the lines under Sound Support as follows:
# Sound Support
#device sound # Generic sound driver (required)
#device snd_es137x # Ensoniq AUdioPCI ES137x
#device snd_hda # Intel High Definition Audio
#device snd_ich # Intel, Nvidia and other ICH AC'97 audio
#device snd_uaudio # USB Audio
#device snd_via8233 # VIA VT823x Audio
- type: config GENERIC
- type: cd ../compile/GENERIC
- type: make cleandepend && make depend
- type: make; make install
- type: reboot to reboot your new kernel
I even attempted this for the Free driver from ports:
- Some of the sound cards driver module are not available in the kernel, it will need to use the OSS (Open Sound System driver) ports in /usr/ports/audio/oss. Install it by :
make install clean
- Insert the line :
- Start the OSS service by :
- To check whether the device driver for the sound card works or not, use
- Cross your finger and hope that the sound card driver module from OSS works.
The problem with Method 2 is when I get to Step 4, the system locks up and has to be manually reset and powered down to reboot, and if I add the rc.conf line, the system goes into an infinite reboot loop unless I select the Windows OS I use on the system as well.
I don't know what I'm doing wrong on my end but this is getting very frustrating.