09-22-2020, 12:08 AM
I recently received a Pinebook Pro (September 2020), and noticed that my speaker output has the polarity reversed.
The contents of:
was:
but when I tried running one of those commands manually I received the following error message:
Once I modified the contents of the file to:
It works properly, and my speakers are no longer out of phase.
This is the YouTube video I used to test the polarity: https://www.youtube.com/watch?v=H-kxtKGR2vY
The contents of:
Code:
/etc/acpi/audio_jack_plugged_in.sh
Code:
#!/usr/bin/env sh
case "$3" in
plug)
amixer sset Speaker off
amixer sset 'Playback Polarity' Normal ;;
unplug)
amixer sset 'Playback Polarity' 'R Invert'
amixer sset Speaker on ;;
esac
Code:
Unable to find simple control 'Playback Polarity',0
Once I modified the contents of the file to:
Code:
#!/usr/bin/env sh
case "$3" in
plug)
amixer -c 0 sset Speaker off
amixer -c 0 sset 'Playback Polarity' Normal ;;
unplug)
amixer -c 0 sset 'Playback Polarity' 'R Invert'
amixer -c 0 sset Speaker on ;;
esac
This is the YouTube video I used to test the polarity: https://www.youtube.com/watch?v=H-kxtKGR2vY