Hi,
New to freebsd, I can't change sound output => Always on the speaker
Here are some outputs :
root@bsdjmlm:~ # dmesg |grep pcm
pcm0: <NVIDIA (0x0051) (HDMI/DP 8ch)> at nid 4 on hdaa0
pcm1: <NVIDIA (0x0051) (HDMI/DP 8ch)> at nid 5 on hdaa0
pcm2: <Realtek ALC221 (Analog)> at nid 23 and 26,27 on hdaa1
pcm3: <Realtek ALC221 (Analog 2.0+HP)> at nid 20,33 on hdaa1
pcm4: <Intel Skylake (HDMI/DP 8ch)> at nid 3 on hdaa2
pcm5: <USB audio> on uaudio0
pcm6: <USB audio> on uaudio1
root@bsdjmlm:~ # kldstat
Id Refs Address Size Name
1 98 0xffffffff80200000 1d345b0 kernel
2 1 0xffffffff81f35000 6cd8 uplcom.ko
3 2 0xffffffff81f3c000 a088 ucom.ko
4 1 0xffffffff81f47000 a2f8 ng_ubt.ko
5 3 0xffffffff81f52000 13f40 ng_hci.ko
6 3 0xffffffff81f66000 4318 ng_bluetooth.ko
7 4 0xffffffff81f6b000 16cf0 netgraph.ko
8 1 0xffffffff82b10000 3558 fdescfs.ko
9 1 0xffffffff82b14000 73c0 linprocfs.ko
10 6 0xffffffff82b1c000 be70 linux_common.ko
11 1 0xffffffff82b28000 440c linsysfs.ko
12 1 0xffffffff82b2d000 e6df0 nvidia-modeset.ko
13 1 0xffffffff82e00000 db7e50 nvidia.ko
14 2 0xffffffff82c14000 31a10 linux.ko
15 1 0xffffffff82c46000 12e08 fusefs.ko
16 1 0xffffffff82c59000 3390 acpi_wmi.ko
17 1 0xffffffff82c5d000 3250 ichsmb.ko
18 1 0xffffffff82c61000 2178 smbus.ko
19 1 0xffffffff82c64000 2110 pchtherm.ko
20 1 0xffffffff82c67000 2dc30 linux64.ko
21 1 0xffffffff82c95000 2278 pty.ko
22 1 0xffffffff82c98000 3360 uhid.ko
23 1 0xffffffff82c9c000 4364 ums.ko
24 1 0xffffffff82ca1000 33c0 usbhid.ko
25 1 0xffffffff82ca5000 3380 hidbus.ko
26 1 0xffffffff82ca9000 e5ac snd_uaudio.ko
27 1 0xffffffff82cb8000 3360 wmt.ko
28 1 0xffffffff82cbc000 5bd8 autofs.ko
29 1 0xffffffff82cc2000 2a68 mac_ntpd.ko
cat /dev/sndstat
FreeBSD Audio Driver (64bit 2009061500/amd64)
Installed devices:
pcm0: <NVIDIA (0x0051) (HDMI/DP 8ch)> on hdaa0 (1p:1v/0r:0v)
pcm1: <NVIDIA (0x0051) (HDMI/DP 8ch)> on hdaa0 (1p:1v/0r:0v)
pcm2: <Realtek ALC221 (Analog)> on hdaa1 (1p:1v/1r:1v)
pcm3: <Realtek ALC221 (Analog 2.0+HP)> on hdaa1 (1p:1v/0r:0v)
pcm4: <Intel Skylake (HDMI/DP 8ch)> on hdaa2 (1p:1v/0r:0v)
pcm5: <USB audio> at ? kld snd_uaudio (0p:0v/1r:1v)
pcm6: <USB audio> at ? kld snd_uaudio (1p:1v/1r:1v) default
If I try to change => seems to work (default changes) but the output is always the speaker !
root@bsdjmlm:~ # sysctl hw.snd.default_unit=3
hw.snd.default_unit: 6 -> 3
root@bsdjmlm:~ # cat /dev/sndstat
FreeBSD Audio Driver (64bit 2009061500/amd64)
Installed devices:
pcm0: <NVIDIA (0x0051) (HDMI/DP 8ch)> on hdaa0 (1p:1v/0r:0v)
pcm1: <NVIDIA (0x0051) (HDMI/DP 8ch)> on hdaa0 (1p:1v/0r:0v)
pcm2: <Realtek ALC221 (Analog)> on hdaa1 (1p:1v/1r:1v)
pcm3: <Realtek ALC221 (Analog 2.0+HP)> on hdaa1 (1p:1v/0r:0v) default
pcm4: <Intel Skylake (HDMI/DP 8ch)> on hdaa2 (1p:1v/0r:0v)
pcm5: <USB audio> at ? kld snd_uaudio (0p:0v/1r:1v)
pcm6: <USB audio> at ? kld snd_uaudio (1p:1v/1r:1v)
Same effect if I change in the sysctl.conf and reboot
I've also tried to load snd_driver but no effect !
If I try to plug an headphone and change from pcm2 to pcm3 => nothing change also.
Thanks in advance.
Regards
New to freebsd, I can't change sound output => Always on the speaker
Here are some outputs :
root@bsdjmlm:~ # dmesg |grep pcm
pcm0: <NVIDIA (0x0051) (HDMI/DP 8ch)> at nid 4 on hdaa0
pcm1: <NVIDIA (0x0051) (HDMI/DP 8ch)> at nid 5 on hdaa0
pcm2: <Realtek ALC221 (Analog)> at nid 23 and 26,27 on hdaa1
pcm3: <Realtek ALC221 (Analog 2.0+HP)> at nid 20,33 on hdaa1
pcm4: <Intel Skylake (HDMI/DP 8ch)> at nid 3 on hdaa2
pcm5: <USB audio> on uaudio0
pcm6: <USB audio> on uaudio1
root@bsdjmlm:~ # kldstat
Id Refs Address Size Name
1 98 0xffffffff80200000 1d345b0 kernel
2 1 0xffffffff81f35000 6cd8 uplcom.ko
3 2 0xffffffff81f3c000 a088 ucom.ko
4 1 0xffffffff81f47000 a2f8 ng_ubt.ko
5 3 0xffffffff81f52000 13f40 ng_hci.ko
6 3 0xffffffff81f66000 4318 ng_bluetooth.ko
7 4 0xffffffff81f6b000 16cf0 netgraph.ko
8 1 0xffffffff82b10000 3558 fdescfs.ko
9 1 0xffffffff82b14000 73c0 linprocfs.ko
10 6 0xffffffff82b1c000 be70 linux_common.ko
11 1 0xffffffff82b28000 440c linsysfs.ko
12 1 0xffffffff82b2d000 e6df0 nvidia-modeset.ko
13 1 0xffffffff82e00000 db7e50 nvidia.ko
14 2 0xffffffff82c14000 31a10 linux.ko
15 1 0xffffffff82c46000 12e08 fusefs.ko
16 1 0xffffffff82c59000 3390 acpi_wmi.ko
17 1 0xffffffff82c5d000 3250 ichsmb.ko
18 1 0xffffffff82c61000 2178 smbus.ko
19 1 0xffffffff82c64000 2110 pchtherm.ko
20 1 0xffffffff82c67000 2dc30 linux64.ko
21 1 0xffffffff82c95000 2278 pty.ko
22 1 0xffffffff82c98000 3360 uhid.ko
23 1 0xffffffff82c9c000 4364 ums.ko
24 1 0xffffffff82ca1000 33c0 usbhid.ko
25 1 0xffffffff82ca5000 3380 hidbus.ko
26 1 0xffffffff82ca9000 e5ac snd_uaudio.ko
27 1 0xffffffff82cb8000 3360 wmt.ko
28 1 0xffffffff82cbc000 5bd8 autofs.ko
29 1 0xffffffff82cc2000 2a68 mac_ntpd.ko
cat /dev/sndstat
FreeBSD Audio Driver (64bit 2009061500/amd64)
Installed devices:
pcm0: <NVIDIA (0x0051) (HDMI/DP 8ch)> on hdaa0 (1p:1v/0r:0v)
pcm1: <NVIDIA (0x0051) (HDMI/DP 8ch)> on hdaa0 (1p:1v/0r:0v)
pcm2: <Realtek ALC221 (Analog)> on hdaa1 (1p:1v/1r:1v)
pcm3: <Realtek ALC221 (Analog 2.0+HP)> on hdaa1 (1p:1v/0r:0v)
pcm4: <Intel Skylake (HDMI/DP 8ch)> on hdaa2 (1p:1v/0r:0v)
pcm5: <USB audio> at ? kld snd_uaudio (0p:0v/1r:1v)
pcm6: <USB audio> at ? kld snd_uaudio (1p:1v/1r:1v) default
If I try to change => seems to work (default changes) but the output is always the speaker !
root@bsdjmlm:~ # sysctl hw.snd.default_unit=3
hw.snd.default_unit: 6 -> 3
root@bsdjmlm:~ # cat /dev/sndstat
FreeBSD Audio Driver (64bit 2009061500/amd64)
Installed devices:
pcm0: <NVIDIA (0x0051) (HDMI/DP 8ch)> on hdaa0 (1p:1v/0r:0v)
pcm1: <NVIDIA (0x0051) (HDMI/DP 8ch)> on hdaa0 (1p:1v/0r:0v)
pcm2: <Realtek ALC221 (Analog)> on hdaa1 (1p:1v/1r:1v)
pcm3: <Realtek ALC221 (Analog 2.0+HP)> on hdaa1 (1p:1v/0r:0v) default
pcm4: <Intel Skylake (HDMI/DP 8ch)> on hdaa2 (1p:1v/0r:0v)
pcm5: <USB audio> at ? kld snd_uaudio (0p:0v/1r:1v)
pcm6: <USB audio> at ? kld snd_uaudio (1p:1v/1r:1v)
Same effect if I change in the sysctl.conf and reboot
I've also tried to load snd_driver but no effect !
If I try to plug an headphone and change from pcm2 to pcm3 => nothing change also.
Thanks in advance.
Regards