Bug 253744 - ThinkPad E490 - sound/audio only works after specific boot (from poweroff, not any connected plug)
Summary: ThinkPad E490 - sound/audio only works after specific boot (from poweroff, no...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 13.0-STABLE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-multimedia (Nobody)
Depends on:
Reported: 2021-02-21 15:53 UTC by Nils Johannsen
Modified: 2021-02-21 20:05 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Nils Johannsen 2021-02-21 15:53:59 UTC
If I boot the notebook after power off, without anything connected, no power supply, no headphone connected in the audio jack and the sound works. It is possible to switch between the notebook sound (pcm0) and the headphone (pcm1) without any issue.
But after a reboot, if anything is connected as e.g. the power supply on the USB-C connector and/or some headphone on the audio jack the notebook makes some very strange and loud noises while booting and after boot I am not able to get notebook to make any noise or sound on any output.

- FreeBSD 12.2-RELEASE GENERIC amd64 (https://bsd-hardware.info/?probe=1ffaf5420c)
- FreeBSD 13.0-BETA3 GENERIC amd64 (https://bsd-hardware.info/?probe=7f8c483af1)

See https://gist.github.com/NealsJoe/c940299c2b362381d254b34496ec1d66
These files on gist are from the system, sndstat, dmesg, sysctl I grabbed with the script below



doas cat /dev/sndstat > sndstat.txt

doas pciconf -lv | grep -i audio -B2 > sound-pciconf.txt
doas dmesg | grep -e 'sound' -e 'audio' -e 'snd' -e 'pcm' -e 'hda' > sound-dmesg.txt
doas sysctl -a | grep -e 'sound' -e 'audio' -e 'snd' -e 'pcm' -e 'hda' > sound-sysctl.txt

doas sysctl dev.pcm > sound-sysctl-pcm.txt
doas sysctl dev.hdaa > sound-sysctl-hdaa.txt
doas sysctl dev.hdac > sound-sysctl-hdac.txt
doas sysctl dev.hdacc > sound-sysctl-hdacc.txt
doas sysctl hw.snd > sound-sysctl-snd.txt

See https://forums.freebsd.org/threads/thinkpad-e490-sound-audio-only-works-after-specific-boot-from-poweroff-not-any-connected-plug.78286/
In the FreeBSD Forums I already discussed this issue with others, having the same issue.

Thanks in advance, Neals