Run .py script in /etc/pm/sleep.d to get my headphones to keep working when I close my laptop
Toshiba P205 laptop with Linux Mint 17 and cinnamon.
The headphones port would not work. I ran HDA Analyzer and checked EAPD, created a script "audio.py" from there and managed to run it on reboot in r-local.
I'd like to run it in /etc/pm/sleep.d so my headphones can still work on resume.
case "$1" in
What am I missing?
Please help! I've had mint for 2 weeks.
Thanks for looking.