[pulseaudio-discuss] using the line-out of my plugable usb audio adapter

Sean Greenslade sean at seangreenslade.com
Sat Jan 28 05:53:17 UTC 2023


On Fri, Jan 27, 2023 at 03:57:25PM -0500, Paul Elliott wrote:
>>
>> Can you post the output of this command while the card is plugged in?
> 
> OK, here it is:

I trimmed it down to just the card in question:

> Card #3
> Name: alsa_card.usb-C-Media_Electronics_Inc._USB_Audio_Device-00
> Driver: module-alsa-card.c
> Owner Module: 27
> Properties:
> alsa.card = "1"
> alsa.card_name = "USB Audio Device"
> alsa.long_card_name = "C-Media Electronics Inc. USB Audio Device at
> usb-0000:00:1a.0-2, full speed"
> alsa.driver_name = "snd_usb_audio"
> device.bus_path = "pci-0000:00:1a.0-usb-0:2:1.0"
> sysfs.path = "/devices/pci0000:00/0000:00:1a.0/usb2/2-2/2-2:1.0/sound/card1"
> udev.id = "usb-C-Media_Electronics_Inc._USB_Audio_Device-00"
> device.bus = "usb"
> device.vendor.id = "0d8c"
> device.vendor.name = "C-Media Electronics, Inc."
> device.product.id = "0014"
> device.product.name = "Audio Adapter (Unitek Y-247A)"
> device.serial = "C-Media_Electronics_Inc._USB_Audio_Device"
> device.string = "1"
> device.description = "Audio Adapter (Unitek Y-247A)"
> module-udev-detect.discovered = "1"
> device.icon_name = "audio-card-usb"

Here we see the available profiles of the card:

> Profiles:
> input:mono-fallback: Mono Input (sinks: 0, sources: 1, priority: 1,
> available: yes)
> input:multichannel-input: Multichannel Input (sinks: 0, sources: 1,
> priority: 1, available: yes)
> output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority:
> 6500, available: yes)
> output:analog-stereo+input:mono-fallback: Analog Stereo Output + Mono Input
> (sinks: 1, sources: 1, priority: 6501, available: yes)
> output:analog-stereo+input:multichannel-input: Analog Stereo Output +
> Multichannel Input (sinks: 1, sources: 1, priority: 6501, available: yes)
> output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0,
> priority: 5500, available: yes)
> output:iec958-stereo+input:mono-fallback: Digital Stereo (IEC958) Output +
> Mono Input (sinks: 1, sources: 1, priority: 5501, available: yes)
> output:iec958-stereo+input:multichannel-input: Digital Stereo (IEC958)
> Output + Multichannel Input (sinks: 1, sources: 1, priority: 5501,
> available: yes)
> output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output
> (sinks: 1, sources: 0, priority: 300, available: yes)
> output:iec958-ac3-surround-51+input:mono-fallback: Digital Surround 5.1
> (IEC958/AC3) Output + Mono Input (sinks: 1, sources: 1, priority: 301,
> available: yes)
> output:iec958-ac3-surround-51+input:multichannel-input: Digital Surround
> 5.1 (IEC958/AC3) Output + Multichannel Input (sinks: 1, sources: 1,
> priority: 301, available: yes)
> off: Off (sinks: 0, sources: 0, priority: 0, available: yes)

And the current active profile is one that only handles the output:

> Active Profile: output:analog-stereo

Try this command to set it to the combo stereo output plus multichannel
input (though this card probably only has mono input):

$ pactl set-card-profile alsa_card.usb-C-Media_Electronics_Inc._USB_Audio_Device-00 output:analog-stereo+input:multichannel-input


--Sean



More information about the pulseaudio-discuss mailing list