I installed FreeBSD 13.2 on a ThinkPad E15 gen 2 laptop together with pre-installed Windows 10 (double boot UEFI using rEFInd Boot Manager).
I have a strange problem with sound (the card is detected as Conexant (0x1f86) HDA CODEC). The card needs one boot into Windows to work correctly for some time. It means that if I boot to Windows - I can boot into FreeBSD (even after shutting down the laptop!!) for some time, and the sound works correctly. Then after one boot everything remains as before (I see the sound output in pulseaudio mixer), but I have no sound. This situation concerns the internal speakers only. The jack output works for the right channel only, I hear the noise only in the left channel. This situation is constant (does not matter boot into Windows).
I tried to dump the configuration it these two situations with the following commands:
...but there is no difference.
I've read several forum posts and
Some Hardware/OEM vendors tend to screw up BIOS settings or use custom unusual CODEC wiring that create problems to the driver. This may result in missing pcm devices, or a state where the snd_hda driver seems to attach and work, but no sound is played. Some cases can be solved by tuning loader.conf variables.
Please, help me or point me to some resource that can help me in debugs.
I have a strange problem with sound (the card is detected as Conexant (0x1f86) HDA CODEC). The card needs one boot into Windows to work correctly for some time. It means that if I boot to Windows - I can boot into FreeBSD (even after shutting down the laptop!!) for some time, and the sound works correctly. Then after one boot everything remains as before (I see the sound output in pulseaudio mixer), but I have no sound. This situation concerns the internal speakers only. The jack output works for the right channel only, I hear the noise only in the left channel. This situation is constant (does not matter boot into Windows).
I tried to dump the configuration it these two situations with the following commands:
Code:
sysctl hw.snd
sysctl dev.pcm
sysctl hw.snd.default_unit
sysctl dev.hdaa.0
...but there is no difference.
I've read several forum posts and
man snd_hda
but I still don't understand how can I debug this problem. BTW, I cannot find even a method to boot the driver in verbose mode. The nearest recommendation is in man snd_hda
but it does not give me a real hints: Some Hardware/OEM vendors tend to screw up BIOS settings or use custom unusual CODEC wiring that create problems to the driver. This may result in missing pcm devices, or a state where the snd_hda driver seems to attach and work, but no sound is played. Some cases can be solved by tuning loader.conf variables.
Please, help me or point me to some resource that can help me in debugs.