kldload snd_driver
, this is not a specific soundcard driver but it'll load all available soundcard drivers. Then have a look at what's actually being detect by running cat /dev/sndstat
. kldload snd_driver
. Section 7.2 of the handbook was written for FreeBSD =< 9.* and should be updated.ALC887 is an snd_hda(4) codec and is statically compiled in the kernel for FreeBSD => 10.* .
There is no need tokldload snd_driver
. Section 7.2 of the handbook was written for FreeBSD =< 9.* and should be updated.
FreeBSD groups sound inputs/outputs by location. PCM1 may be a grouping of the rear panel jacks while the PCM2 grouping may consist of the front panel headers. PCM0 could be the HDMI output on your video card. By default, FreeBSD only uses one grouping.
cat /dev/sndstat
No devices installed.
No devices installed from userspace.
kldstat
Id Refs Address Size Name
1 80 0xffffffff80200000 1e88868 kernel
2 1 0xffffffff8208a000 12c80 linprocfs.ko
3 5 0xffffffff8209d000 df88 linux_common.ko
4 1 0xffffffff820ab000 abe00 linux.ko
5 1 0xffffffff82157000 1e6e8 snd_uaudio.ko
6 1 0xffffffff82176000 2678 accf_http.ko
7 1 0xffffffff82179000 102d98 i915kms.ko
8 2 0xffffffff8227c000 55a0 iicbb.ko
9 5 0xffffffff82282000 6fe0 iicbus.ko
10 2 0xffffffff82289000 4460 iic.ko
11 2 0xffffffff8228e000 887d8 drm2.ko
12 1 0xffffffff82317000 13060 cpufreq.ko
13 1 0xffffffff8232b000 e690 cuse.ko
14 1 0xffffffff82421000 5936 fdescfs.ko
15 1 0xffffffff82427000 5a8e linsysfs.ko
16 1 0xffffffff8242d000 bb55 tmpfs.ko
17 1 0xffffffff82439000 9a4c if_bridge.ko
18 1 0xffffffff82443000 5e61 bridgestp.ko
19 1 0xffffffff82449000 2986 uhid.ko
20 1 0xffffffff8244c000 3650 ums.ko
21 1 0xffffffff82450000 43da ng_ether.ko
22 1 0xffffffff82455000 4acf ng_pppoe.ko
23 1 0xffffffff8245a000 3c93f linux64.ko
24 1 0xffffffff82497000 3725 wlan_xauth.ko
5 1 0xffffffff82157000 1e6e8 snd_uaudio.ko
# sysctl dev.hdac.1.pindump=1 && dmesg
This is a usb audio device. Are you also using a usb device in addition to the built-in audio devices on the mother board? Which one would you like to use as the default?
The built-in audio devices can be determined by
# sysctl dev.hdac.1.pindump=1 && dmesg
hdac0: <Intel Panther Point HDA Controller> mem 0xf7e10000-0xf7e13fff irq 22 at device 27.0 on pci0
hdac0: Unable to put hdac in reset
----
hdac0: Command timeout on address 2
hdac0: Command timeout on address 2
hdac0: CODEC is not responding!
Hello community! Is a version 14-p4 of FreeBSD today and docs.freebsd.org sound-setup is still not work for High Definition Audio Realtek® ALC887 in FreeBSD.First, have a look here: Handbook: 7.2. Setting Up the Sound Card
The easiest is to load snd_driver;kldload snd_driver
, this is not a specific soundcard driver but it'll load all available soundcard drivers. Then have a look at what's actually being detect by runningcat /dev/sndstat
.
pciconf -lv
hdac1@pci0:0:27:0: class=0x040300 rev=0x04 hdr=0x00 vendor=0x8086 device=0x1e20 subvendor=0x1458 subdevice=0xa002
vendor = 'Intel Corporation'
device = '7 Series/C216 Chipset Family High Definition Audio Controller'
class = multimedia
subclass = HDA
dmesg
hdac1: <Intel Panther Point HDA Controller> mem 0xf7110000-0xf7113fff irq 22 at device 27.0 on pci0
...
hdacc1: <Realtek ALC887 HDA CODEC> at cad 2 on hdac1
hdaa1: <Realtek ALC887 Audio Function Group> at nid 1 on hdacc1
pcm3: <Realtek ALC887 (Analog 5.1/2.0)> at nid 20,26,24 and 25 on hdaa1
Can you check if it works with other OS?
sound is works on this motherboard in other OS
/boot/loader.conf
put the following compat.linuxkpi.i915_disable_power_well="0"
, it's something about HDMI cord.Hello community! Is a version 14-p4 of FreeBSD today and docs.freebsd.org sound-setup is still not work for High Definition Audio Realtek® ALC887 in FreeBSD.
Just nothing changed. This is great support. Keep it up!
$ cat /dev/sndstat
Installed devices:
pcm0: <NVIDIA (0x0051) (HDMI/DP 8ch)> (play)
pcm1: <NVIDIA (0x0051) (HDMI/DP 8ch)> (play)
pcm2: <Realtek ALC892 (Rear Analog 5.1/2.0)> (play/rec)
pcm3: <Realtek ALC892 (Rear Digital)> (play) default
pcm4: <Realtek ALC892 (Rear Digital)> (play)
No devices installed from userspace.