Linux Lite Forums

Hardware - Support => Sound => Topic started by: Duckeenie on May 12, 2016, 06:30:23 PM

Title: Set Default Playback Device HDMI
Post by: Duckeenie on May 12, 2016, 06:30:23 PM
Unlike on Ubuntu 16.04 vanilla, on  a new install of any of the 2.x, 3.x series of Linux Lite my default playback device is always set to HDMI  even though my monitor doesn't have speakers.  My audio device is a USB DAC that works fine with LL once I change the default sink.


Small thing I know but it mars the out of the box experience slightly for me, is it something you can/is worth addressing?
Title: Re: Set Default Playback Device HDMI
Post by: torreydale on May 12, 2016, 06:41:07 PM
Duckeenie,

How do you change the default?  Whenever I connect my laptop to my television, I always have to open the Volume Control, go to the Configuration tab, and select the appropriate Profile.  I have to reverse this when I disconnect my laptop from my television.
Title: Re: Set Default Playback Device HDMI
Post by: Duckeenie on May 12, 2016, 06:55:34 PM
Duckeenie,

How do you change the default?  Whenever I connect my laptop to my television, I always have to open the Volume Control, go to the Configuration tab, and select the appropriate Profile.  I have to reverse this when I disconnect my laptop from my television.

It's been a while(haven't got around to it on 3 yet, just disabled hdmi as quick workaround) but from my bookmark and memory I believe I used the first two lines of the answer found here: http://askubuntu.com/questions/14077/how-can-i-change-the-default-audio-device-from-command-line (http://askubuntu.com/questions/14077/how-can-i-change-the-default-audio-device-from-command-line)

Update: Just tried the above, seems on my machine default is set to 1, 0 would be the correct sink.

However, I sense that you're looking for it to auto-switch when you change the device though, in which case my method won't work for you. I just don't want LL to set the device that has no audio capability as default.
Title: Re: Set Default Playback Device HDMI
Post by: jcoles on May 26, 2016, 05:46:13 PM
I had the same problem on an Asus eeePC X101CH. There was no sound from the speaker, even with volume at 100%.

A partial solution is to change the channel being controlled to Headphone. In the panel, right-click the volume control and click Preferences. It's only a partial solution because Lite always starts with the sound level at 0. You can easily turn up the volume, but if you plug in headphones and then unplug them, the volume control once again returns to zero.
Title: Re: Set Default Playback Device HDMI
Post by: Wirezfree on May 26, 2016, 06:20:32 PM
Not sure if it's the same.?
But when my HDMI default changed,
I opened volume control, Output Devices tab and click on the tick mark to make it default, the tool tip says "Set as fallback"
(http://i.imgur.com/mo0Kxwt.png)
Title: Re: Set Default Playback Device HDMI
Post by: Duckeenie on June 02, 2016, 07:58:53 PM
@Wirezfree My problem is more with LL setting a non audio device as default. It seems to assume that anything attached to an HDMI cable does audio, monitors more often that not don't.
Title: Re: Set Default Playback Device HDMI
Post by: Wirezfree on June 02, 2016, 08:29:43 PM
So if I understand correctly..??
Your USB Audio device is showing on that "Output Device" page.??
But it will not retain the "Set as fall-back" [X] selection, after a re-boot.

Does this help?: http://askubuntu.com/questions/398030/change-default-sound-device (http://askubuntu.com/questions/398030/change-default-sound-device)
See the pacmd comands/comments by bak202

Mine shows the on-board Audio,
and my HDMI in my monitor, which is clicked to "Set as fall-back"
Title: Re: Set Default Playback Device HDMI
Post by: Duckeenie on June 03, 2016, 08:13:27 AM
@Wirezfree No! :)

Mine shows both HDMI, which LL sets as default and my USB audio device.  The irritation here is that the HDMI cable in question isn't connected to an audio device , therefore shouldn't even be in Output Devices,  let alone set as default.
Title: Re: Set Default Playback Device HDMI
Post by: Wirezfree on June 03, 2016, 10:41:08 AM
Hi,

It looks like it is being mis-read, and thinks it's a HDMI device.?
If you run the command pacmd in that link I gave, it should show "2" devices, #1 & #2
You maybe able to see a difference.?,
and then use the other commands to force it to use the device you want

I just checked with a Syba USB Audio device (https://www.amazon.co.uk/Syba-SD-CM-UAUD-USB-Audio-Adaptor/dp/B001MSS6CS) I have, it's a C_Media, shown with lsusb
It see's it correctly, and I can set it as default if I wanted.
Note,
I'm still on 2.8, so yes, something may have changed in 3.0.?

(http://i.imgur.com/j2kYkRu.png)
Title: Re: Set Default Playback Device HDMI
Post by: aus9 on June 24, 2016, 12:18:27 AM
I have a mini tut that might help swap default sound
https://www.linuxliteos.com/forums/tutorials/(tutorial)-sound-changing-default-device-mainly-for-intel-sound-users/msg24482/#msg24482