On 27/07/16 12:10:59, Jonathan McDowell wrote:
On Tue, Jul 26, 2016 at 04:31:09PM +0100, Barry Samuels wrote:
I'm running Debian Testing, up to date as of today, and for a few months now have had no audio. I used to have sound both on the desktop and in the browser then I lost sound in the browser and finally in the desktop.
I suspect that an upgrade somewhere along the way has caused this but I don't know what and I haven't been able to cure it.
Which desktop environment are you using? It's likely you're running pulseaudio (which has a bad reputation, but I haven't had any problems with in quite some time). If you're using GNOME 3 (the default) then if you go to Sound in the control panel you should be able to select the appropriate HDMI output as the default. Alternatively you might find playing with "pacmd" useful:
$ pacmd list-sinks | grep -e 'name:' -e 'index'
gives me:
index: 0
name: <alsa_output.pci-0000_00_03.0.hdmi-stereo>
- index: 1
name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
Indicating the analog output is the default at present. I could change that with:
$ pacmd set-default-sink alsa_output.pci-0000_00_03.0.hdmi-stereo
and if that did what I wanted then /etc/pulse/default.pa is where the default configuration lives and I could add the "set-default-sink alsa_output.pci-0000_00_03.0.hdmi-stereo" there.
Jonathan
Thanks for your reply which is interesting.
I generally run Fluxbox but have also tried KDE and XFCE with this problem but with the same results.
Yes I am using Pulse Audio. This wasn't my choice, as such, but came with the Debian default install.
At your suggestion I tried:
$ pacmd list-sinks | grep -e 'name:' -e 'index'
* index: 0 name: <alsa_output.0.analog-stereo>
So it isn't even seeing the HDMI bit which explains why, when I run pavucontrol, the configuration tab shows a message 'No cards available for configuration'.
I couldn't try your final suggestion as I wouldn't know what to put for the name.
Where do you think I should go fom here?