I have tried multiple variations to this script but I cannot get it to work. The UDEV Rule fires the script and the script exectutes but simply does not change the audio profile.
If I run the script manually in terminal, it works but not when the UDEV Rule fires it... please help, thank you.
Tl; Dr
Udev fires script but does not switch audio profile and no notification is shown.
Manually running in terminal leads to the audio profile being switched with the notification correctly shown.
UPDATE: When adding a check on if the command worked, it reports that it failed. Here is a link to my whole script.
HDMI-audio modules
are not loaded? – LittleByBlue Sep 22 '14 at 15:42/etc/modprobe.d/blacklist-oss.conf
. and seelsmod|less
– LittleByBlue Sep 22 '14 at 15:46sudo lshw|less
search for the HDMI interface and take a look at the driver. in yourblacklist
you'll search for something likei123_HDMI
.and GIYF! – LittleByBlue Sep 22 '14 at 17:16HDMI-audio modules
? – elemer82 Oct 07 '14 at 19:57modprobe
it, seeinfo modprobe
. you will search for something likei<aNumber>_HDMI
– LittleByBlue Dec 07 '14 at 09:27