Hi everyone,
Here is my issue, I just install and upgrade my system to CURRENT and after some manipulations I figured it out that I had no sound. My chipset is a VIA VT2020 and after some google research, it seems that it is supported by the snd_hda driver.
Well ... here some outputs
I tried to recompile the kernel checking that snd_hda was well enabled, recompile snd_hda alone and then load the new version ... unsuccessfully.
The only sound I can hear is by doing "cat /dev/urandom > /dev/dsp7.0" which is my USB headset.
I may admit that I started on this system and a little help would be appreciated
Thank you in advance
Here is my issue, I just install and upgrade my system to CURRENT and after some manipulations I figured it out that I had no sound. My chipset is a VIA VT2020 and after some google research, it seems that it is supported by the snd_hda driver.
Well ... here some outputs
Code:
$ uname -imor
FreeBSD 9.0-BETA2 amd64 GENERIC
Code:
$ kldstat
Id Refs Address Size Name
1 20 0xffffffff80200000 14ddd88 kernel
2 1 0xffffffff816de000 ffb160 nvidia.ko
3 2 0xffffffff826da000 45d70 linux.ko
4 3 0xffffffff82720000 4c670 vboxdrv.ko
5 2 0xffffffff82812000 2940 vboxnetflt.ko
6 2 0xffffffff82815000 9158 netgraph.ko
7 1 0xffffffff8281f000 15dc ng_ether.ko
8 1 0xffffffff82821000 e70 vboxnetadp.ko
Code:
$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play)
pcm1: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play)
pcm2: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play)
pcm3: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play)
pcm4: <HDA VIA VT2020 PCM #0 Analog> (play/rec) default
pcm5: <HDA VIA VT2020 PCM #1 HDMI> (play)
pcm6: <HDA VIA VT2020 PCM #2 Digital> (play)
pcm7: <USB audio> (play/rec)
Code:
$ dmesg | grep hda
hdac0: <NVidia (Unknown) High Definition Audio Controller> mem 0xfb8fc000-0xfb8fffff irq 17 at device 0.1 on pci1
hdac1: <Intel 5 Series/3400 Series High Definition Audio Controller> mem 0xf9ff8000-0xf9ffbfff irq 22 at device 27.0 on pci0
hdac0: HDA Codec #0: NVidia (Unknown)
hdac0: HDA Codec #1: NVidia (Unknown)
hdac0: HDA Codec #2: NVidia (Unknown)
hdac0: HDA Codec #3: NVidia (Unknown)
pcm0: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 0 nid 1 on hdac0
pcm1: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 1 nid 1 on hdac0
pcm2: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 2 nid 1 on hdac0
pcm3: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 3 nid 1 on hdac0
hdac1: HDA Codec #0: VIA VT2020
pcm4: <HDA VIA VT2020 PCM #0 Analog> at cad 0 nid 1 on hdac1
pcm5: <HDA VIA VT2020 PCM #1 HDMI> at cad 0 nid 1 on hdac1
pcm6: <HDA VIA VT2020 PCM #2 Digital> at cad 0 nid 1 on hdac1
Code:
$ pciconf -lv | grep hda -B4
vendor = 'Intel Corporation'
device = '5 Series/3400 Series Chipset USB2 Enhanced Host Controller'
class = serial bus
subclass = USB
hdac1@pci0:0:27:0: class=0x040300 card=0x83751043 chip=0x3b568086 rev=0x05 hdr=0x00
--
vendor = 'nVidia Corporation'
device = 'GF110 [Geforce GTX 570]'
class = display
subclass = VGA
hdac0@pci0:1:0:1: class=0x040300 card=0x15723842 chip=0x0e0910de rev=0xa1 hdr=0x00
Code:
$ cat /boot/loader.conf| grep hda
snd_hda_load="YES"
Code:
$ kldunload snd_hda ; kldload snd_hda
kldunload: can't find file snd_hda
kldload: can't load snd_hda: File exists
Code:
$ kldload /boot/kernel/snd_hda.ko
kldload: can't load /boot/kernel/snd_hda.ko: Exec format error
I tried to recompile the kernel checking that snd_hda was well enabled, recompile snd_hda alone and then load the new version ... unsuccessfully.
The only sound I can hear is by doing "cat /dev/urandom > /dev/dsp7.0" which is my USB headset.
I may admit that I started on this system and a little help would be appreciated

Thank you in advance