You are not logged in.

#26 2016-02-27 12:43:47

skongshoj
Member
Registered: 2015-03-30
Posts: 12

Re: Clicking/Poping sound from intel hda

It's for the snd-hda-intel driver, so only HDA.

Offline

#27 2017-09-19 20:35:22

DCengineer
Member
Registered: 2015-12-11
Posts: 15

Re: Clicking/Poping sound from intel hda

On my system, the popping only occurs when audio is routed through HDMI (and possibly DisplayPort). I also tried setting power_save=0 and power_save_controller=N with no luck, so I created a udev hack that monitors whether an external display is connected and "disables" power_save by assigning it a very large value.

# /etc/udev/rules.d/99-hda_power.rules
# Detects when a an HDMI or DisplayPort status is changed
# - If a display is connected, the power save cutoff is set to be very large
# - If no displays are connected, the cutoff is set to a reasonable value
#
# This rule is intended for laptops that ignore setting
# /sys/module/snd_hda_intel/parameters/power_save to N
#
# It is designed NOT to trigger when the status of the internal display is         
# changed or when a display that does not support audio is connected.

ACTION=="change", SUBSYSTEM=="drm", RUN+="/bin/sh -c 'if grep -xq connected /sys%p/%k-HDMI-*/status /sys%p/%k-DP-*/status; then echo 1000000; else echo 10; fi > /sys/module/snd_hda_intel/parameters/power_save;'"

Tested on my laptop: Lenovo ThinkPad T470p

Offline

#28 2017-09-19 20:49:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,740

Re: Clicking/Poping sound from intel hda

Thanks for sharing, however please pay attention to the dates and don't necrobump topics

Closing.

Offline

Board footer

Powered by FluxBB