@PowerKiKi
The to912 script needs to be re-run after the audio sleeps. I have been running 
it manually for two years. Yesterday, I wrote a script that runs automatically 
after booting. It is much more convenient now. The script snippet:


LAST=0
while true; do
    #pacmd list-sink-inputs  | grep -w state | grep -q RUNNING && CUR=1 || CUR=0
    cat /proc/asound/card0/pcm0p/sub0/status | grep -q RUNNING && CUR=1 || CUR=0
    
    sleep 1
    [ $LAST != $CUR ] && echo "audio state: $LAST -> $CUR @ $(date)"
    if [ $LAST == 0 ] && [ $CUR == 1 ]; then
        echo "run fix_audio ..."
        ./to912_fix_audio.sh &> /dev/null
    fi
    LAST=$CUR
done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1851518

Title:
  [950SBE/951SBE, Realtek ALC298, Speaker, Internal] No sound on
  internal speakers, very very quiet on headphones

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1851518/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to