Dear Forum,
I am trying to switch to FreeBSD as a desktop and after few days there is no sound.
I have tried lxqt, xfce, kde. Installed manually and with desktop-installer.
DE see there is a device in mixers/config application but there is no sound.
The hardware is ok (because kubuntu have sound out of the box).
See below for some config. There is something i do not know / not see (i am new with FreeBSD as desktop).
There is probably something so tiny i do not see.
What to do?
After boot there is no dsp* devices.
After starting kde there appeared /dev/dsp0.0, /dev/dsp1.0, /dev/dsp2.0
After exiting kde there are 6 dsp* /dev/dsp0.0, /dev/dsp0.1, /dev/dsp1.0, /dev/dsp1.1, /dev/dsp2.0, /dev/dsp2.1
cat /dev/random > /dev/dsp0.0
make noise but via internal speaker (simple beeper - unusable as a sound device)
DE see devices but testing "Kaby Lake HDMI" throws "No such driver".
However, without those effect was the same, but kldstat shows that sound module was loaded.
The rc.conf has (among not connected items):
Adding mixer_enable did nothing.
I have added default unit selection: hw.snd.default_unit=2 to sysctl.conf.
After this I have tried hw.snd.default_auto=1 but no luck.
I am trying to switch to FreeBSD as a desktop and after few days there is no sound.
I have tried lxqt, xfce, kde. Installed manually and with desktop-installer.
DE see there is a device in mixers/config application but there is no sound.
The hardware is ok (because kubuntu have sound out of the box).
See below for some config. There is something i do not know / not see (i am new with FreeBSD as desktop).
There is probably something so tiny i do not see.
What to do?
Code:
dmesg|grep hda
pcm0: <Realtek ALC235 (Analog 2.0+HP/2.0)> at nid 20,33 and 25 on hdaa0
pcm1: <Realtek ALC235 (Front Analog Mic)> at nid 26 on hdaa0
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa1
hdac0: <Intel Coffee Lake HDA Controller> mem 0xb1430000-0xb1433fff,0xb1000000-0xb10fffff irq 16 at device 31.3 on pci0
hdacc0: <Realtek ALC235 HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek ALC235 Audio Function Group> at nid 1 on hdacc0
hdacc1: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac0
hdaa1: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc1
Code:
cat /dev/sndstat
Installed devices:
pcm0: <Realtek ALC235 (Analog 2.0+HP/2.0)> (play/rec)
pcm1: <Realtek ALC235 (Front Analog Mic)> (rec)
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> (play) default
No devices installed from userspace.
Code:
sysctl dev.hdac.0.pindump=1
hdaa0: nid 0x as seq device conn jack loc color misc
hdaa0: 18 40000000 0 0 Line-out None Unknown 0x00 Unknown 0 DISA
hdaa0: Caps: IN
hdaa0: 20 90170110 1 0 Speaker Fixed Analog Internal Unknown 1
hdaa0: Caps: OUT EAPD Sense: 0x00000000 (disconnected)
hdaa0: 23 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
hdaa0: Caps: OUT
hdaa0: 24 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
hdaa0: Caps: IN VREF Sense: 0x00000000 (disconnected)
hdaa0: 25 02a11020 2 0 Mic Jack 1/8 Front Black 0
hdaa0: Caps: IN VREF Sense: 0x00000000 (disconnected)
hdaa0: 26 02a11030 3 0 Mic Jack 1/8 Front Black 0
hdaa0: Caps: IN VREF Sense: 0x00000000 (disconnected)
hdaa0: 27 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
hdaa0: Caps: IN OUT HP EAPD VREF Sense: 0x80000000 (connected)
hdaa0: 30 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
hdaa0: Caps: OUT Sense: 0x00000000 (disconnected)
hdaa0: 33 0221101f 1 15 Headphones Jack 1/8 Front Black 0
hdaa0: Caps: OUT HP EAPD Sense: 0x00000000 (disconnected)
hdaa0: NumGPIO=3 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdaa0: GPIO0: disabled
hdaa0: GPIO1: disabled
hdaa0: GPIO2: disabled
hdaa1: Dumping AFG pins:
hdaa1: nid 0x as seq device conn jack loc color misc
hdaa1: 3 18560010 1 0 Digital-out Jack Digital 0x18 Unknown 0
hdaa1: Caps: OUT Sense: 0x00000000 (disconnected)
hdaa1: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
Code:
sysctl dev.hdaa|grep original
dev.hdaa.1.nid3_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.0.nid33_original: 0x0221101f as=1 seq=15 device=Headphones conn=Jack ctype=1/8 loc=Front color=Black misc=0
dev.hdaa.0.nid30_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
dev.hdaa.0.nid29_original: 0x40400001 as=0 seq=1 device=SPDIF-out conn=None ctype=Unknown loc=0x00 color=Unknown misc=0
dev.hdaa.0.nid27_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
dev.hdaa.0.nid26_original: 0x02a11030 as=3 seq=0 device=Mic conn=Jack ctype=1/8 loc=Front color=Black misc=0
dev.hdaa.0.nid25_original: 0x02a11020 as=2 seq=0 device=Mic conn=Jack ctype=1/8 loc=Front color=Black misc=0
dev.hdaa.0.nid24_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
dev.hdaa.0.nid23_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
dev.hdaa.0.nid20_original: 0x90170110 as=1 seq=0 device=Speaker conn=Fixed ctype=Analog loc=Internal color=Unknown misc=1
dev.hdaa.0.nid18_original: 0x40000000 as=0 seq=0 device=Line-out conn=None ctype=Unknown loc=0x00 color=Unknown misc=0
After boot there is no dsp* devices.
After starting kde there appeared /dev/dsp0.0, /dev/dsp1.0, /dev/dsp2.0
After exiting kde there are 6 dsp* /dev/dsp0.0, /dev/dsp0.1, /dev/dsp1.0, /dev/dsp1.1, /dev/dsp2.0, /dev/dsp2.1
cat /dev/random > /dev/dsp0.0
make noise but via internal speaker (simple beeper - unusable as a sound device)
DE see devices but testing "Kaby Lake HDMI" throws "No such driver".
Code:
loader.conf
sound_load="YES"
snd_hda_load="YES"
uplcom_load="YES"
ng_ubt_load="YES"
The rc.conf has (among not connected items):
Code:
dbus_enable="YES"
mixer_enable="YES"
I have added default unit selection: hw.snd.default_unit=2 to sysctl.conf.
After this I have tried hw.snd.default_auto=1 but no luck.