[Dapper] gnome-sound-properties always defaults to first card

Bug #44101 reported by Sami Haahtinen
20
Affects Status Importance Assigned to Milestone
control-center (Ubuntu)
Invalid
Medium
Martin Pitt
Dapper
Invalid
Undecided
Unassigned

Bug Description

gnome-sound-properties appears to always select the first soundcard as the default card even if another card has been selected.

This might be due to the fact that my USB headset gets the id 'default' that is confusing it.

here is a part of the .asoundrc.asoundconf:
!defaults.pcm.card default
defaults.ctl.card default
defaults.pcm.device 0
defaults.pcm.subdevice -1

That configuration works as it is supposed to, but when g-s-p is launched it shows ICH6 (the other audio device) as the current audio device.

It is also worth mentioning that actually re-selecting the other card requires me to change the selection to the USB headset and then back to ICH6 before closing the dialog.

Changed in control-center:
assignee: nobody → pitti
Revision history for this message
Neilen Marais (neilenmarais) wrote :

I have a similar problem with up to date Dapper. I have two sound cards (snd_via82xx onboard and snd_ens1371 PCI). gnome-sound-properties shows both cards, and let's me select both. However it does not activate the selection, and if I run it again, it's back to the first card. Example

1) run gnome-sound-properties

The first sound card is selected (which one this seems to shuffle around when booting)

2) Select the second card

3) Close gnome-sound-properties

Sound still plays out of the first sound card

4) run gnome-properties again

The first card is shown as selected

Revision history for this message
Sami Haahtinen (ressu) wrote : Re: [Bug 44101] Re: [Dapper] gnome-sound-properties always defaults to first card

Neilen Marais wrote:
> 1) run gnome-sound-properties
> 2) Select the second card
> 3) Close gnome-sound-properties
>
> Sound still plays out of the first sound card

For me, the correct sound card is selected and used for playing sounds.
Are we seeing 2 different bugs? Do you have ESD enabled?

- s

Revision history for this message
Christopher Parker (cparker15) wrote :

I'm also experiencing this problem.

I just upgraded to 6.06 LTS from 5.10 maybe a half hour ago using the Update Manager. Sound was working without a problem in 5.10. Now there's no sound.

If I go to System -> Preferences -> Sound, my USB camera that has a microphone in it (Logitech QuickCam) is selected as "Default sound card". There are three choices:

1. Camera
2. MPU-401 UART
3. NVidia nForce2

If I select the third option, I am able to click the "play" buttons next to each sound that has a value assigned to it (I have the ESD checkbox checked). Upon selection of the correct "Default sound card" option, the only choice I have is to click the Close button on the lower-right corner of the window.

Following this, I am still unable to play sounds. When I open up the Sound Preferences window again, the "Default sound card" option is reset back to "Camera".

Revision history for this message
jwmislan (jwmislan) wrote :

 I am also experiencing the same problem with gnome-sound-properties (not retaining) my default soundcard preference.

The same existed in breezy which never got resolved by a bugfix.
I had to set snd-emu10k1 to index=0 in /etc/modprobe.d/alsa-base to get it to be default (card 0) , and snd-cmipci to index=1 for second soundcard.
This dosn't seem to work anymore in Dapper though.
There should be a dependable way to force these preferences -
like setting soundcard-name=index=0 in ./asoundrc or /etc/asound.conf
This is a serious issue to me not a trivial one.
I have to turn off the cmipci sound on the soyo MB in bios to fix it now , and I Need that second sound card for my audio recording work.

Revision history for this message
sonium (sonium) wrote : Re: [Edgy] gnome-sound-properties always defaults to first card

I can confirm this behavior also on Edgy-Beta.

Its exactly the way Neilen Marais described it.

I don't understand why the status isn't changed to confirmed yet.

Revision history for this message
Sebastien Bacher (seb128) wrote :

marking as confirmed according to the number of duplicates. Martin, do you think you could have a look on that before edgy?

Changed in control-center:
status: Unconfirmed → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

(number of people confirming the issue rahter than "duplicates" in fact)

Martin Pitt (pitti)
Changed in control-center:
status: Confirmed → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Edgy uses a completely different approach (gconf keys for gstreamer instead of asoundconf for ALSA). Creating a dapper task to have an open bug for people that look for it, but it will probably not be fixed in Dapper.

Changed in control-center:
status: Unconfirmed → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Please copy&paste the output of

  gconftool-2 -a /system/gstreamer/0.10/default

before and after changing the default sound card in Edgy.

Changed in control-center:
status: In Progress → Needs Info
Revision history for this message
sonium (sonium) wrote :

sonium@raumstation:~$ gconftool-2 -a /system/gstreamer/0.10/default
 videosink = autovideosink
 chataudiosink = halaudiosink udi=/org/freedesktop/Hal/devices/pci_8086_24d5_alsa_playback_0
 musicaudiosink_description = USB Audio
 audiosrc = halaudiosrc udi=/org/freedesktop/Hal/devices/pci_8086_24d5_alsa_capture_3
 videosrc = v4lsrc
 audiosink = halaudiosink udi=/org/freedesktop/Hal/devices/usb_device_763_200f_noserial_if0_alsa_playback_0
 musicaudiosink = halaudiosink udi=/org/freedesktop/Hal/devices/usb_device_763_200f_noserial_if0_alsa_playback_0
 visualization = goom
 audiosink_description = USB Audio
 chataudiosink_description = Intel ICH5
 audiosrc_description = Intel ICH5 - ADC2
sonium@raumstation:~$ gnome-sound-properties
# changed default soundcard to USB Audio (MobilePre in my case)
sonium@raumstation:~$ gconftool-2 -a /system/gstreamer/0.10/default
 videosink = autovideosink
 chataudiosink = halaudiosink udi=/org/freedesktop/Hal/devices/pci_8086_24d5_alsa_playback_0
 musicaudiosink_description = USB Audio
 audiosrc = halaudiosrc udi=/org/freedesktop/Hal/devices/pci_8086_24d5_alsa_capture_3
 videosrc = v4lsrc
 audiosink = halaudiosink udi=/org/freedesktop/Hal/devices/usb_device_763_200f_noserial_if0_alsa_playback_0
 musicaudiosink = halaudiosink udi=/org/freedesktop/Hal/devices/usb_device_763_200f_noserial_if0_alsa_playback_0
 visualization = goom
 audiosink_description = USB Audio
 chataudiosink_description = Intel ICH5
 audiosrc_description = Intel ICH5 - ADC2
sonium@raumstation:~$

Revision history for this message
Sebastien Bacher (seb128) wrote :

you use edgy? what selector for the UI do you use?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Closing, that patch has been dropped with feisty, the first tab of the dialog is used for that now

Changed in control-center:
status: Needs Info → Rejected
Revision history for this message
Sebastien Bacher (seb128) wrote :

will not change to dapper

Changed in control-center:
status: Confirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.