You are not logged in.
Pages: 1
hi,
I've installed pulseaudio in order to switch audio from pc to hdmi when I need it.
the problem is: at boot pulseaudio is mute and in order to listen audio contents I have to open pulseaudio mixer and switch to "hearphones (unplugged)" and so I can listen music from pc speaker....
why pc speaker is not recognized?
Offline
Sometimes detection is somewhat flaky, you can work around this by commenting out
load-module module-switch-on-port-available
in your /etc/pulse/default.pa . Additionally use
pacmd list-sinks
to find the name of your card and the name of the port to switch to, and append said information at the end of the default.pa like so
set-sink-port $cardname $portname
i.e.:
pacmd list-sinks #Filtered for the relevant parts
name: <alsa_output.pci-0000_0c_04.0.analog-surround-40>
...
ports:
analog-output: Analoge Ausgabe (priority 9900, latency offset 0 usec, available: unknown)
properties:
I only have one port here, but the command to switch to the correct port to be appended at the end of the default.pa would be
set-sink-port alsa_output.pci-0000_0c_04.0.analog-surround-40 analog-output
Offline
thank you! I'll try..
but what if I have two ports?
here my output:
name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
(...)
ports:
analog-output-speaker: Altoparlanti (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-speakers"
analog-output-headphones: Cuffie analogiche (priority 9000, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
which one do I have to append?
edit: I appended the first one but with no results....
Last edited by steoguitar (2016-03-26 13:10:40)
Offline
you have to add the second one since that's the one that's producing sound
Offline
Pages: 1