Hmm. Maybe there's something at the driver level controlling that. Can you give alsainfo? https://wiki.ubuntu.com/Audio/AlsaInfo
Hmm. Maybe there's something at the driver level controlling that. Can you give alsainfo? https://wiki.ubuntu.com/Audio/AlsaInfo
Does this command turn off the Digital Output?
If so, you could incorporate it into the scriptCode:amixer set 'IEC958 Output',0 'Playback' 'off'
Code:#!/bin/sh analog="`pactl list cards | grep attivo | grep analog`" if [ "$analog" ] then pactl set-card-profile alsa_card.pci-0000_00_1b.0 output:iec958-stereo amixer set 'IEC958 Output',0 'Playback' 'on' else pactl set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo amixer set 'IEC958 Output',0 'Playback' 'off' fi
Many thanks.
For the whole month of August I'll be outdoors so I'm going to check on September.
Good holidays
It worked like a charm. Thanks for everything. I felt one more time Ubuntu community is still the best!
Bookmarks