[soundnua]: new capplet does not expose all profiles (Emu 0404 USB)

Bug #972554 reported by Simon Déziel on 2012-04-03
68
This bug affects 14 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Low
Unassigned

Bug Description

With Ubuntu < 12.04, the Sound menu allows to select various profiles for each sound cards via drop down list in the Hardware tab. I couldn't find this feature in the latest daily-live image of Ubuntu 12.04 (from April 1st).

I'd appreciate if someone would kindly point me where to change this ?

Thanks in advance

Simon Déziel (sdeziel) on 2012-04-03
description: updated
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, what do you call "sound menu"? could you take a screenshot of the issue?

Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Simon Déziel (sdeziel) wrote :

So the issue is that Precise is missing an easy way to select a profile for a card (both input and output).

Sebastien Bacher (seb128) wrote :

ok, when you wrote "menu" you didn't mean menus but panel,capplet,dialog, thanks for the screenshots

Changed in gnome-control-center (Ubuntu):
assignee: nobody → Conor Curran (cjcurran)
status: Incomplete → New
tags: added: sound-nua
tags: added: soundnua
removed: sound-nua
summary: - Ubuntu 12.04: the Sound menu does not expose the sound card profile
+ [soundnua]: the Sound menu does not expose the sound card profile
selection
summary: - [soundnua]: the Sound menu does not expose the sound card profile
- selection
+ [soundnua]: new capplet does not expose the sound card profile selection

@Sebastien, thanks for the explanations and clarifications.

Conor Curran (cjcurran) wrote :

Hi Simon,

The precise implementation attempts to remove the need for exposing profiles to the user if in fact there are no real legitimate choices for the user. Let me explain. Before all profiles on a given card were available to the user.

On a typical HDA intel device these would look like

output:analog-stereo: Analogue Stereo Output (sinks: 1, sources: 0, priority. 6000)
output:analog-stereo+input:analog-stereo: Analogue Stereo Duplex (sinks: 1, sources: 1, priority. 6060)
output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority. 5400)
output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analogue Stereo Input (sinks: 1, sources: 1, priority. 5460)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority. 300)
output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analogue Stereo Input (sinks: 1, sources: 1, priority. 360)
output:hdmi-stereo-extra1: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority. 5200)
output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI) Output + Analogue Stereo Input (sinks: 1, sources: 1, priority. 5260)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority. 100)
output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analogue Stereo Input (sinks: 1, sources: 1, priority. 160)
output:hdmi-stereo-extra2: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority. 5200)
output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI) Output + Analogue Stereo Input (sinks: 1, sources: 1, priority. 5260)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority. 100)
output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analogue Stereo Input (sinks: 1, sources: 1, priority. 160)
input:analog-stereo: Analogue Stereo Input (sinks: 0, sources: 1, priority. 60)
  off: Off (sinks: 0, sources: 0, priority. 0)

From the perspective of the output, there are only two real choices here - HDMI stereo or HDMI surround. Everything else is stereo output.
From the input perspective, there are none - everything is stereo input.

The new sound settings attempts to figure out if there is a choice for the user and if so only present those profiles in the combo for that device. The need to expose the card has been made redundant in favour of exposing the card ports. This means now the user can swap to the HDMI 'port' without having to change profile on the card tab like before. It will hopefully greatly simplify the usage of sound devices. Bluetooth devices can be seen to expose their relevant profiles, currently there is a bug with USB devices which will be fixed shortly (waiting on test device to arrive).

Did you find that the new design is hiding something that you previously could do ?

Changed in gnome-control-center (Ubuntu):
status: New → In Progress
Simon Déziel (sdeziel) wrote :

Hi Conor,

Thanks for looking into this. Unfortunately, the new design is hiding something I used to rely on. The sound card in question, an E-MU 404 USB, also offers many profiles and one of them is "Digital Surround Output 4.0 + IEC958 (S/PDIF) Digital Audio Output " (I don't have the device at hand ATM but it's a similar name). This profile is not shown in the new design where the card only shows 2 other profiles that are not compatible with my setup since I need S/PDIF output.

Another problem with the new design is that I don't know how to define the "default" output. Less importantly, I also miss the "off" profile for a card (i.e: to turn off built-in sound card with horrible speakers).

Let me know if I can provide more informations.

Conor Curran (cjcurran) wrote :

Simon,

could you provide the results of 'pactl list cards' from terminals ?

Thanks,
Conor

Simon Déziel (sdeziel) wrote :
Download full text (3.7 KiB)

I was only able to get the "pactl list cards" from Lucid as the laptop is not physically accessible ATM and I cannot easily reboot on Precise LiveCD. I hope that's good enough for now.

Here is the information pertaining to the card in question (also in the attached log) :

Card #2
  Name: alsa_card.usb-E-MU_Systems__Inc._E-MU_0404___USB_E-MU-38-3F04-07D80409-0B038-STATION03-00-USB
  Driver: module-alsa-card.c
  Owner Module: 19
  Properties:
    alsa.card = "1"
    alsa.card_name = "E-MU 0404 | USB"
    alsa.long_card_name = "E-MU Systems, Inc. E-MU 0404 | USB at usb-0000:00:1d.7-1, high speed"
    alsa.driver_name = "snd_usb_audio"
    device.bus_path = "pci-0000:00:1d.7-usb-0:1:1.0"
    sysfs.path = "/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/sound/card1"
    udev.id = "usb-E-MU_Systems__Inc._E-MU_0404___USB_E-MU-38-3F04-07D80409-0B038-STATION03-00-USB"
    device.bus = "usb"
    device.vendor.id = "041e"
    device.vendor.name = "Creative Technology, Ltd"
    device.product.id = "3f04"
    device.product.name = "E-Mu 0404"
    device.serial = "E-MU_Systems__Inc._E-MU_0404___USB_E-MU-38-3F04-07D80409-0B038-STATION03"
    device.string = "1"
    device.description = "E-Mu 0404"
    module-udev-detect.discovered = "1"
    device.icon_name = "audio-card-usb"
  Profiles:
    output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority. 6000)
    output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority. 6060)
    output:analog-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority. 6055)
    output:analog-stereo+input:iec958-surround-40: Analog Stereo Output + Digital Surround 4.0 (IEC958) Input (sinks: 1, sources: 1, priority. 6001)
    output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority. 700)
    output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority. 760)
    output:analog-surround-40+input:iec958-stereo: Analog Surround 4.0 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority. 755)
    output:analog-surround-40+input:iec958-surround-40: Analog Surround 4.0 Output + Digital Surround 4.0 (IEC958) Input (sinks: 1, sources: 1, priority. 701)
    output:iec958-stereo: Digital Stereo Duplex (IEC958) (sinks: 1, sources: 0, priority. 5500)
    output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority. 5560)
    output:iec958-stereo+input:iec958-stereo: Digital Stereo (IEC958) Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority. 5555)
    output:iec958-stereo+input:iec958-surround-40: Digital Stereo (IEC958) Output + Digital Surround 4.0 (IEC958) Input (sinks: 1, sources: 1, priority. 5501)
    output:iec958-surround-40: Digital Surround 4.0 (IEC958) Output (sinks: 1, sources: 0, priority. 100)
    output:iec958-surround-40+input:analog-stereo: Digital Surround 4.0 (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority. 160)
    output:iec958-surround-40+input:iec958-stereo: Digital Surround 4.0 (IEC958) Output...

Read more...

Nelo (nelo) wrote :

Hello,

I can not select a different sound output.

How could get I it?

Nelo (nelo) wrote :
Conor Curran (cjcurran) wrote :

Hi Simon,

Did you manage to get a list of the profiles from your precise machine ? If so could you highlight exactly which profile is being omitted. I have looked at the list above and AFAICT this is the profile you are after

output:iec958-surround-40+input:iec958-stereo: Digital Surround 4.0 (IEC958) Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority. 155).

I removed the inclusion of the OFF profile on purpose maybe I shouldn't have done this. When you select a device it will then become default. In the previous version did it remember for you that your EMU was to be the default device ?

Conor

On 12-04-20 02:48 PM, Conor Curran wrote:
> Hi Simon,

Hi Conor,

> Did you manage to get a list of the profiles from your precise machine ?

No, unfortunately I still don't have access to the laptop in question. I
hoped the Lucid listing was enough ... I'll do my best to get you the
list from Precise but that won't happen this week.

> If so could you highlight exactly which profile is being omitted. I have
> looked at the list above and AFAICT this is the profile you are after
>
>
> output:iec958-surround-40+input:iec958-stereo: Digital Surround 4.0 (IEC958) Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority. 155).

Indeed, this one looks like what I need : 4.0 output and IEC958.

> I removed the inclusion of the OFF profile on purpose maybe I shouldn't
> have done this.

IMO that was not cluttering the interface too much. I'll miss it but
that's not a big concern.

> When you select a device it will then become default.

IIUC, selecting (highlighting) a card and closing the GUI window makes
the selected card the default device ? If that's how it works ATM I
think that's not a very explicit way to assign a default card.

> In the previous version did it remember for you that your EMU was to be the
> default device ?

Yes it did.

I really appreciate the time you spend on this, thanks.

Simon

Hi Simon,

Just so that I can get more of an idea of what is going on, could you copy the .so to /usr/lib/control-center-1/panels/.

just in case you are unfamiliar, go to the terminal, go the directory where you downloaded the .so and type

 sudo cp libsoundnua.so /usr/lib/control-center-1/panels/

Then run the control center from terminal and please paste the output on terminal to here.

Thanks,
Conor

Piotr Krzyzek (pistr) wrote :

I don't have the same card as the others, though I have the same problem. I have a Creative CTXFI Titanium and with < 12.04 this all worked just fine (after a few tweaks). I can confirm that in 12.04 I cannot select the digital surround sound options simply because they do not exist ... though just "Digital Output (S/PDIF)" does exist.

Here is a link to the output:

http://pastebin.com/Hs8GbR02

> aplay -l

does list all the surround options (listed in this following pastbin):

http://pastebin.com/7Yzwdk23

Why it lists hundreds of subdevices I don't know, though the important thing is that digital surround sound is listed.

and the command "pacmd list-cards" does list all the correct profiles (see line 47), just none of them are selectable via the GUI:

http://pastebin.com/e6pYv8KZ

Fauchelevent (fauchelevent) wrote :

Same problem in Kubuntu 12.04.

Conor Curran (cjcurran) wrote :

@pistr, could you follow instructions in comment 15 and paste the debug trace here.

Piotr Krzyzek (pistr) wrote :
Download full text (51.2 KiB)

Hey Conor,

I did paste the output into the 1st pastebin, though as you requested here is the past directly into this box, fair warning it's 1045 lines long:

 SET PROFILES Digital Output (S/PDIF)
 Attempt to split profile, p->profile output:iec958-stereo on device Digital Output (S/PDIF)

 Single profile, key output:iec958-stereo against value output:iec958-stereo for device Digital Output (S/PDIF)

 Attempt to split profile, p->profile output:iec958-stereo+input:analog-mono on device Digital Output (S/PDIF)

 Found an output profile - storing key output:iec958-stereo+input:analog-mono against value output:iec958-stereo for device Digital Output (S/PDIF)

 Attempt to split profile, p->profile output:iec958-stereo+input:analog-stereo on device Digital Output (S/PDIF)

 Found an output profile - storing key output:iec958-stereo+input:analog-stereo against value output:iec958-stereo for device Digital Output (S/PDIF)
try to compare output:iec958-stereo with output:iec958-stereotry to compare output:iec958-stereo with output:iec958-stereo
 device->priv->disable_profile_swapping = 1

 Profile population
 FOR DEVICE Digital Output (S/PDIF)
 key output:iec958-stereo against
 profile output:iec958-stereo

 SET PROFILES Line In
 Attempt to split profile, p->profile input:analog-mono on device Line In

 Single profile, key input:analog-mono against value input:analog-mono for device Line In

 Attempt to split profile, p->profile input:analog-stereo on device Line In

 Single profile, key input:analog-stereo against value input:analog-stereo for device Line In

 Attempt to split profile, p->profile output:analog-mono+input:analog-mono on device Line In

 Found an input profile - storing key output:analog-mono+input:analog-mono against value input:analog-mono for device Line In

 Attempt to split profile, p->profile output:analog-mono+input:analog-stereo on device Line In

 Found an input profile - storing key output:analog-mono+input:analog-stereo against value input:analog-stereo for device Line In

 Attempt to split profile, p->profile output:iec958-stereo+input:analog-mono on device Line In

 Found an input profile - storing key output:iec958-stereo+input:analog-mono against value input:analog-mono for device Line In

 Attempt to split profile, p->profile output:iec958-stereo+input:analog-stereo on device Line In

 Found an input profile - storing key output:iec958-stereo+input:analog-stereo against value input:analog-stereo for device Line In

 Attempt to split profile, p->profile output:analog-surround-40+input:analog-mono on device Line In

 Found an input profile - storing key output:analog-surround-40+input:analog-mono against value input:analog-mono for device Line In

 Attempt to split profile, p->profile output:analog-surround-50+input:analog-mono on device Line In

 Found an input profile - storing key output:analog-surround-50+input:analog-mono against value input:analog-mono for device Line In

 Attempt to split profile, p->profile output:analog-surround-71+input:analog-mono on device Line In

 Found an input profile - storing key output:analog-surround-71+input:analog-mono against value input:analog-mono for ...

Conor Curran (cjcurran) wrote :

Hi Piotr,

Sorry about that, will investigate tomorrow.
Thanks for the feedback.
Conor

Maraschin (carlo-maraschin) wrote :
Download full text (5.8 KiB)

Hi I've the same problem but with a bluetooth device that does not show up in the sound panel (input and output). I only have headphones and speakers there and I do not have as well the HDMI and all the other options...

Note that in the output bellow the card show with the "Active profile" OFF

BTW, I can control rhythmbox with the bluetooth device (SonyEricsson MW600), set to play, jump to the next and priory music but I can't select it in the sound control panel to receive or play music!

Here is my $ pactl list cards
Card #0
 Name: alsa_card.pci-0000_01_00.1
 Driver: module-alsa-card.c
 Owner Module: 4
 Properties:
  alsa.card = "1"
  alsa.card_name = "HD-Audio Generic"
  alsa.long_card_name = "HD-Audio Generic at 0xc0720000 irq 55"
  alsa.driver_name = "snd_hda_intel"
  device.bus_path = "pci-0000:01:00.1"
  sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
  device.bus = "pci"
  device.vendor.id = "1002"
  device.vendor.name = "Advanced Micro Devices [AMD] nee ATI"
  device.product.name = "Juniper HDMI Audio [Radeon HD 5700 Series]"
  device.string = "1"
  device.description = "Juniper HDMI Audio [Radeon HD 5700 Series]"
  module-udev-detect.discovered = "1"
  device.icon_name = "audio-card-pci"
 Profiles:
  output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority. 5400)
  off: Off (sinks: 0, sources: 0, priority. 0)
 Active Profile: output:hdmi-stereo
 Ports:
  hdmi-output-0: HDMI / DisplayPort (priority 5900)
   Part of profile(s): output:hdmi-stereo

Card #1
 Name: alsa_card.pci-0000_00_1b.0
 Driver: module-alsa-card.c
 Owner Module: 5
 Properties:
  alsa.card = "0"
  alsa.card_name = "HDA Intel PCH"
  alsa.long_card_name = "HDA Intel PCH at 0xc1700000 irq 54"
  alsa.driver_name = "snd_hda_intel"
  device.bus_path = "pci-0000:00:1b.0"
  sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
  device.bus = "pci"
  device.vendor.id = "8086"
  device.vendor.name = "Intel Corporation"
  device.product.name = "6 Series/C200 Series Chipset Family High Definition Audio Controller"
  device.form_factor = "internal"
  device.string = "0"
  device.description = "Built-in Audio"
  module-udev-detect.discovered = "1"
  device.icon_name = "audio-card-pci"
 Profiles:
  output:analog-stereo: Analogue Stereo Output (sinks: 1, sources: 0, priority. 6000)
  output:analog-stereo+input:analog-stereo: Analogue Stereo Duplex (sinks: 1, sources: 1, priority. 6060)
  output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority. 5400)
  output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analogue Stereo Input (sinks: 1, sources: 1, priority. 5460)
  output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority. 300)
  output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analogue Stereo Input (sinks: 1, sources: 1, priority. 360)
  output:hdmi-stereo-extra1: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority. 5200)
  output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI) Output + Analogue Stereo Input (sinks: 1, sources: 1, priority. 5260)
  output:hdmi-surround-extra1: Digital Surround 5.1 (HD...

Read more...

Simon Déziel (sdeziel) wrote :

Hi Connor,

I finally managed to get access to the affected sound card again. I have attached a few files as you asked previously. In comment #13 you asked me which profile I think I was missing but I don't really know since what's available in Precise does not work from the gnome-control-center sound test.

Also, I can't have the default device to stay the "Digital Output (S/PDIF) EMu 0404". Every time I select this device and close the applet, it reverts to the old default device. The other devices are selectable as default though.

Simon Déziel (sdeziel) wrote :

From the "pactl list cards" under Precise, I see that all the profiles with "iec958" are missing the "40" and are only "stereo" profiles. I think that's part of the problem since on Lucid I need to use the "output:iec958-surround-40+input:iec958-stereo: Digital Surround 4.0 (IEC958) Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority. 155)" profile to have the sound working.

Simon Déziel (sdeziel) wrote :

Also attaching "aplay -l" and gnome-control-center with the libsoundnua.so log output.

David Henningsson (diwic) wrote :

Hi Simon!

I've been working on a fix for your problem, that we're considering releasing as an 12.04. Can you test it first to make sure it resolves your problem?

(It won't give you any "Off" profiles, but the rest of the profiles should be selectable)

I'm assuming you're running a 64 bit system. Please install the attached .so file the same way Conor suggested earlier:

sudo cp libsoundnua.so /usr/lib/control-center-1/panels/

You might want to back the original up first so you can restore it in case something is not working as expected with the new .so.

Thanks in advance!

Simon Déziel (sdeziel) wrote :

Hi David,

Yes I'm using a 64 bit system so there should be no problem there.

I don't have the USB sound card at hand right now (it belongs to my father that I converted to Ubuntu :) ) and probably won't for the next 2 weeks or so. If another affected user could run the test that might be faster for you to get the results. I will do the test myself as soon as possible anyway.

Many thanks for looking into this.

Simon Déziel (sdeziel) wrote :

Hi David,

Unfortunately, the new .so that you added in comment #26 does not work either. I have attached the "pactl list" just in case.

David Henningsson (diwic) wrote :

Thanks for testing. Can you select the right profile with the pavucontrol application? If not, this is actually a pulseaudio problem rather than a problem with the sound settings UI.

On 12-06-19 03:27 AM, David Henningsson wrote:
> Thanks for testing. Can you select the right profile with the
> pavucontrol application? If not, this is actually a pulseaudio problem
> rather than a problem with the sound settings UI.

I will test this as soon as I get back access to the hardware(might be
in about a month). Since I only have access to the hardware every so
often, a list of all the informations to collect could help me provide
you those in batch instead of waiting that long between the different
tests. Your help on this is very much appreciated, thanks.

Simon

Download full text (6.9 KiB)

The sound setting in gnome session in Precise 12.04 is similar to comment #2

and the sound setting in Unity session in Precise 12.04 is similar to comment #3

Are the sound setting in gnome and unity session different program ?

Since I can select Analog Mono Duplex in Gnome sesssion
in unity session , able to select Analog Mono Output + Analog Stereo Input in Mode of Output tab
but in input tab, the mode only show two choices and there is no Analog Mono Duplex

1)Analog Stereo Output + Analog Stereo Input
2)Analog Stereo Output + Analog Mono Output

Card #2
 Name: alsa_card.pci-0000_04_02.0
 Driver: module-alsa-card.c
 Owner Module: 6
 Properties:
  alsa.card = "0"
  alsa.card_name = "Aureal Vortex au8830"
  alsa.long_card_name = "Aureal Vortex au8830 at 0xff7c0000 irq 23"
  alsa.driver_name = "snd_au8830"
  device.bus_path = "pci-0000:04:02.0"
  sysfs.path = "/devices/pci0000:00/0000:00:1e.0/0000:04:02.0/sound/card0"
  device.bus = "pci"
  device.vendor.id = "12eb"
  device.vendor.name = "Aureal Semiconductor"
  device.product.name = "Vortex 2"
  device.string = "0"
  device.description = "Vortex 2"
  module-udev-detect.discovered = "1"
  device.icon_name = "audio-card-pci"
 Profiles:
  output:analog-mono: Analog Mono Output (sinks: 1, sources: 0, priority. 100)
  output:analog-mono+input:analog-mono: Analog Mono Duplex (sinks: 1, sources: 1, priority. 101)
  output:analog-mono+input:analog-stereo: Analog Mono Output + Analog Stereo Input (sinks: 1, sources: 1, priority. 160)
  output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority. 6000)
  output:analog-stereo+input:analog-mono: Analog Stereo Output + Analog Mono Input (sinks: 1, sources: 1, priority. 6001)
  output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority. 6060)
  output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority. 700)
  output:analog-surround-40+input:analog-mono: Analog Surround 4.0 Output + Analog Mono Input (sinks: 1, sources: 1, priority. 701)
  output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority. 760)
  output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority. 5500)
  output:iec958-stereo+input:analog-mono: Digital Stereo (IEC958) Output + Analog Mono Input (sinks: 1, sources: 1, priority. 5501)
  output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority. 5560)
  input:analog-mono: Analog Mono Input (sinks: 0, sources: 1, priority. 1)
  input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority. 60)
  off: Off (sinks: 0, sources: 0, priority. 0)
 Active Profile: output:analog-mono+input:analog-stereo
 Ports:
  analog-output;output-amplifier-on: Analog Output / Amplifier (priority 9910)
   Part of profile(s): output:analog-mono, output:analog-mono+input:analog-mono, output:analog-mono+input:analog-stereo, output:analog-stereo, output:analog-stereo+input:analog-mono, output:analog-stereo+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-mono, output:analog-s...

Read more...

On 12-06-19 03:27 AM, David Henningsson wrote:
> Thanks for testing. Can you select the right profile with the
> pavucontrol application?

Actually, pavucontrol allows to set the profile to "Analog Surround 4.0"
and that works! Here is an overview of the situation:

On Lucid:
1) "Analog Surround 4.0": works
2) "Digital Surround (IEC958) 4.0": works

On Precise:
3) "Analog Surround 4.0": works after pavucontrol "exposed" this profile
4) "Digital Surround (IEC958) 4.0": not available even in pavucontrol

In all the tests, the wiring is the same: USB sound card with an optical
fiber connection to the sound system. Nothing is "analog" in this setup
so why are the "analog" profiles working ? It's maybe not relevant but
it's an oddity that I wanted to mention.

Since pavucontrol gives access to the "Analog Surround 4.0" profile
under Precise and that profile sticks throughout reboots, that is a
valid workaround. Many thanks for this suggestion.

> If not, this is actually a pulseaudio problem
> rather than a problem with the sound settings UI.

Since the "Analog Surround 4.0" profile works well, it would be nice if
the soundnua could make it visible/available/selectable.

Great thanks,
Simon

This confirms that in 12.04 we are able to set profiles with pavucontrol that are not accessible from gnome-control-center sound settings. In our case for profile `Analog Stereo' (non-duplex) we need to run pavucontrol. Sound settings only allow `Analog Stereo Duplex' profile.

Simon Déziel (sdeziel) wrote :

@Conor, I just wanted to let you know I'm still available (and much interested) in testing any test/debug build to assist you solving this issue. Thanks in advance.

David Henningsson (diwic) wrote :

@Simon, unfortunately Conor has been assigned to other tasks. But I thought that the fix I did in comment #26 was released into Ubuntu 12.04, is this not the case?

Simon Déziel (sdeziel) wrote :

@David, I'll check that this weekend. I wasn't aware of this because the bug is still marked as "in progress". Thanks for the follow-up, I'll keep you posted.

Simon Déziel (sdeziel) wrote :

Hi David, I got access to the Emu-0404 card and confirmed that "pavucontrol" effectively gives access to all the profiles. As noted in comment #32, this work around is working but I still feel that masking all the profiles supported by a sound card is risky. I understand the initial intend of not cluttering the interface with too many choices but maybe having giving access to more profiles by right-clicking on the device would be good compromise?

David Henningsson (diwic) wrote :

@Simon, everything but "Off" (in either direction) should be supported by gnome sound settings. Last UDS we decided that the Off profile should be supported too, but nobody has implemented it yet.

Is there a full duplex profile you still can't set with an 12.04 installation and all updates installed?

Simon Déziel (sdeziel) wrote :

@David, not having the "Off" profile is not a problem, especially if you are saying that is temporary. The problem is I cannot select profiles with more than 2 channels yet I require "4.0" for my card to work properly on my setup.

Right now, on my fully up to date 12.04 setup, the Gnome applet is only showing me 2 output profiles, one digital stereo and one analog stereo but the cards has ~8 profiles accessible in "pavucontrol". My card may be a bit funky but it need an analog *or* digital 4.0 profile to output on the optical S/PDIF.

David Henningsson (diwic) wrote :

@Simon, I have taken a deeper look at the pactl list you submitted in comment #28 and just realized the problem is more complex than expected.

I thought the problem was related to not being able to select the right combination of input and output, that the output was changed when you changed input and vice versa.
In your case, you don't have any output ports at all for the profile you want to select. Fixing that would require some more work, and I'll try to fix that if/when I get around to digging deep into that code again. So; I'm marking it as Triaged for now.

Changed in gnome-control-center (Ubuntu):
status: In Progress → Triaged
assignee: Conor Curran (cjcurran) → nobody
summary: - [soundnua]: new capplet does not expose the sound card profile selection
+ [soundnua]: new capplet does not expose all profiles (Emu 0404 USB)
Simon Déziel (sdeziel) wrote :

Sorry for not being very clear in the first place. So just to recap, all I'm after is selecting the right *output* profile which is a "4.0" one in my case. I'm only using the card to output sound so I haven't look at the "input" situation. Thanks for your help so far!

Matthias Niess (mniess) wrote :

Hi. Calling in from 2013. This problem still exists in raring and saucy.

micwallace (micwallace) wrote :

Calling from 2016, problem still exists in 16.04.
I'd be happy to fix it if you point me to the file.

Sebastien Bacher (seb128) wrote :

The panel has been deprecated since, closing the bug

Changed in gnome-control-center (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.