https://bugs.freedesktop.org/show_bug.cgi?id=68286

--- Comment #17 from Raman Gupta <rocketra...@gmail.com> ---
Specifically, this is what seems to work perfectly with my setup in order to
have audio on either the speakers or the headphones, but not both:

Switch to speakers:

#!/bin/sh
amixer -c 1 sset "Auto-Mute Mode" Disabled
pactl set-card-profile alsa_card.pci-0000_00_1b.0
output:analog-surround-40+input:analog-stereo
pactl set-sink-port alsa_output.pci-0000_00_1b.0.analog-surround-40
analog-output-speaker
amixer -c 1 sset 'Speaker' 100
amixer -c 1 sset 'Headphone',1 0

Switch to headphones:

#!/bin/sh
# Leave Auto-Mute Mode on Disabled for output headphones + speakers
amixer -c 1 sset "Auto-Mute Mode" 'Line Out+Speaker'
pactl set-card-profile alsa_card.pci-0000_00_1b.0
output:analog-stereo+input:analog-stereo
pactl set-sink-port alsa_output.pci-0000_00_1b.0.analog-stereo analog-output
amixer -c 1 sset 'Speaker' 0
amixer -c 1 sset 'Headphone',1 100

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs

Reply via email to