Hi everyone,
I've installed FreeBSD (GNOME 2) and am very pleased with it. I'd very much appreciate some help with this. I've spent hours trying to get sound from a PCI Soundblaster card, but without luck so far. The main problem appears to be that its place is being hogged by the NVIDIA HDMI audio, so I wish to set the Soundblaster as the default.
I've installed FreeBSD 9.1-RELEASE-p3.
I'm trying to get 5.1 (surround sound) working. I got no sound from the default audio setup when I had practically the same result as I have now with OSS4 having compiled the kernel exactly as detailed at www.4front-tech.com/freebsd.html. I installed OSS4 with
There's no problem with hardware; I know the card works perfectly.However,only NVIDIA HDMI audio is shown by
dmesg only shows:
But
There's another onboard audio card but that's disabled in the BIOS. So I'm at a bit of a loss as to how to enable OSS4. Neither ossmix nor ossxmix work:
.
There seems to be no way at the moment I can do anything with a command like:
Short of removing the NCIDIA graphics/audio card, is there some way I can disable the NVIDIA audio? Finally, which do you recommend? The default audio setup for this card or would it be preferable to use the OSS4 driver for 5.1 surround sound?
Thank you for reading.
I've installed FreeBSD (GNOME 2) and am very pleased with it. I'd very much appreciate some help with this. I've spent hours trying to get sound from a PCI Soundblaster card, but without luck so far. The main problem appears to be that its place is being hogged by the NVIDIA HDMI audio, so I wish to set the Soundblaster as the default.
I've installed FreeBSD 9.1-RELEASE-p3.
I'm trying to get 5.1 (surround sound) working. I got no sound from the default audio setup when I had practically the same result as I have now with OSS4 having compiled the kernel exactly as detailed at www.4front-tech.com/freebsd.html. I installed OSS4 with
# pkg_install -r -v oss
Code:
# ossdetect -v
Detected Sound Blaster Audigy LS / Live7.1
There's no problem with hardware; I know the card works perfectly.However,only NVIDIA HDMI audio is shown by
Code:
# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <NVIDIA GT21x (HDMI/DP 8ch)> (play) default
pcm1: <NVIDIA GT21x (HDMI/DP 8ch)> (play)
pcm2: <NVIDIA GT21x (HDMI/DP 8ch)> (play)
pcm3: <NVIDIA GT21x (HDMI/DP 8ch)> (play)
Code:
# dmesg | grep 'pcm[0-9]'
pcm0: <NVIDIA GT21x (HDMI/DP 8ch)> at nid 5 on hdaa0
pcm1: <NVIDIA GT21x (HDMI/DP 8ch)> at nid 5 on hdaa1
pcm2: <NVIDIA GT21x (HDMI/DP 8ch)> at nid 5 on hdaa2
pcm3: <NVIDIA GT21x (HDMI/DP 8ch)> at nid 5 on hdaa3
pcm0: <NVIDIA GT21x (HDMI/DP 8ch)> at nid 5 on hdaa0
pcm1: <NVIDIA GT21x (HDMI/DP 8ch)> at nid 5 on hdaa1
pcm2: <NVIDIA GT21x (HDMI/DP 8ch)> at nid 5 on hdaa2
pcm3: <NVIDIA GT21x (HDMI/DP 8ch)> at nid 5 on hdaa3
Code:
$ pciconf -lv
vendor = 'nVidia Corporation'
device = 'High Definition Audio Controller'
class = multimedia
subclass = HDA
re0@pci0:3:0:0: class=0x020000 card=0xe0001458 chip=0x816810ec rev=0x02 hdr=0x00
vendor = 'Creative Labs'
device = 'CA0106 Soundblaster'
class = multimedia
subclass = audio
Code:
$ ossmix
No such file or directory
$ ossxmix
SNDCTL_MIX_NRMIX: Invalid argument
Error: OSS version 4.0 or later is required
There seems to be no way at the moment I can do anything with a command like:
Code:
# sysctl hw.snd.default_unit=0
hw.snd.default_unit: 1 -> 0
Short of removing the NCIDIA graphics/audio card, is there some way I can disable the NVIDIA audio? Finally, which do you recommend? The default audio setup for this card or would it be preferable to use the OSS4 driver for 5.1 surround sound?
Thank you for reading.