Bug 239062 - no sound from Realtek ALC282 (analog) chipset in Trident OS
Summary: no sound from Realtek ALC282 (analog) chipset in Trident OS
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-multimedia (Nobody)
Depends on:
Reported: 2019-07-09 13:12 UTC by mauro
Modified: 2020-01-05 19:40 UTC (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description mauro 2019-07-09 13:12:51 UTC
used Trueos 18.03 before and now Trident at his actual release.  I never could hear any sound played from my onboard audio chipset Realtek ALC282, although it appears as the working default audio item in the mixer. I can provisionally solve this by connecting a common usb audio device which then works fine, but I'd like to make my default audio chipset working as it is supposed to, since it is even detected in the mixer.  I point that on same pc with other OSes (Windows, Linux) have no sound problems with it.
Thank you
Comment 1 BorichL 2019-07-25 15:20:10 UTC
I have same problem on Acer V3-772G (Pegatron VA70HW rev 2.0) with FreeBSD 10, 11,12 - no sound and message from kernel "pcm0: ...... play interrupt timeout, channel dead". 
This codec works fine with Azalia driver on NetBSD or OpenBSD.
Please try sysctl dev.hdac.0.polling=1, this setting helps some people do this codec works.
Comment 2 mauro 2019-07-25 19:59:48 UTC
(In reply to BorichL from comment #1)

hi BorichL, do I have to write this command in the terminal window?
Comment 3 rkoberman 2019-07-25 21:21:23 UTC
(In reply to mauro from comment #2)
Well, I'm not BorichL and can't do much to help, but, yes, you need to enter this as a shell command. "sysctl dev.hdac.0.polling=1"
Comment 4 BorichL 2019-07-25 21:49:19 UTC
(In reply to mauro from comment #2)

You need to enter in the terminal window shell command

dmesg |grep hdaa 

and find in the output string like 

hdaa1: <Realtek ALC282 Audio Function Group> at nid 1 on hdacc1

In this example from my notebook codec having device number 1 (hdaa1) and command must be "sysctl dev.hdac.1.polling=1"

If this help, you may be add dev.hdac.0.polling=1 or dev.hdac.1.polling=1 in your /etc/sysctl.conf 

Even if this setting helps, we need patch for snd_hda driver. Pooling mode will be increase CPU load by comparison with interrupt mode.
Comment 5 mauro 2019-07-27 16:40:10 UTC
Very good!
Now I can hear sounds from the laptop speaker with:


(while dev.hdac.0.polling=1 did not work)

the only oddity remaining it that still no sound coming from my hearphones although connected to the combo audio port, I can still hear same sound/volume from laptop speaker, not from hearphones.

But it is going much more good tha before.
Thank you
Comment 6 Jason W. Bacon freebsd_committer 2020-01-05 15:45:09 UTC
This doesn't sound like the same cause, but for the sake of anyone with similar issues:


Comment 7 mauro 2020-01-05 19:40:58 UTC
(In reply to Jason W. Bacon from comment #6)
Thank you Jason.
Meantime from last post, I realized after some system update distributions that my hearphones play sound if I switch to sound device #2 (pcm Realtek ALC282 Analog) in the sound settings.  The settings situation in audio mixer is:
device #0 High Definition Broadwell HDI
device #1 pcm Realtek ALC282 Analog -default-
device #2 pcm Realtek ALC282 Analog

no sound  from pc speakers if I unplug the hearphones, must switch back to device #1 for that.

If I apply the additional lines in /boot/device.hints as per your suggestion linked, nothing change.
But those lines have the HDAA numeric indicatior =0, then if I change them =1, I get some changes in the sound settings :

device #0 High Definition Broadwell HDI
device #1 pcm Realtek ALC282 (Left) -default-

device #2 disappeared, and I hear sound by hearphones on device #1 (default) but nothing if I unplug them.

So I turned back to the previous situation with no modifications in /boot/device.hints , at least having the option to switch sound between pc speakers and hearphones.

Best regards