[pulseaudio-tickets] [Bug 101973] New: Selection of a card profile does not correctly set card's input

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jul 30 19:10:17 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101973

            Bug ID: 101973
           Summary: Selection of a card profile does not correctly set
                    card's input
           Product: PulseAudio
           Version: unspecified
          Hardware: ARM
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: alsa
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: Shulyaka at gmail.com
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

Hi,

Short: I can't configure PA by setting card profile to record from SPDIF-In
instead of analog input.

Long:
I have a USB sound card reported by lsusb as "0d8c:0102 C-Media Electronics,
Inc. CM106 Like Sound Device". The card has several input sources, which can be
managed by alsa:

[root at speaker ~]# amixer -c 2 get 'PCM Capture Source'
Simple mixer control 'PCM Capture Source',0
  Capabilities: enum
  Items: 'Mic' 'Line' 'IEC958 In' 'Mixer'
  Item0: 'IEC958 In'

Pulseaudio lists two input sources with 'pactl list cards' command
(input:analog-stereo and input:iec958-stereo), however selection of the card
profile always reset this to Mic:

[root at speaker ~]# amixer -c 2 set 'PCM Capture Source' 'IEC958 In'
Simple mixer control 'PCM Capture Source',0
  Capabilities: enum
  Items: 'Mic' 'Line' 'IEC958 In' 'Mixer'
  Item0: 'IEC958 In'
[root at speaker ~]# pactl set-card-profile 0
output:analog-surround-51+input:analog-stereo
[root at speaker ~]# amixer -c 2 get 'PCM Capture Source'
Simple mixer control 'PCM Capture Source',0
  Capabilities: enum
  Items: 'Mic' 'Line' 'IEC958 In' 'Mixer'
  Item0: 'Mic'
[root at speaker ~]# pactl set-card-profile 0
output:analog-surround-51+input:iec958-stereo
[root at speaker ~]# amixer -c 2 get 'PCM Capture Source'
Simple mixer control 'PCM Capture Source',0
  Capabilities: enum
  Items: 'Mic' 'Line' 'IEC958 In' 'Mixer'
  Item0: 'Mic'
[root at speaker ~]# pulseaudio --version
pulseaudio 10.0

I can also confirm by listening that after setting the card profile to
"output:analog-surround-51+input:iec958-stereo" the parecord command still
records from analog input instead of SPDIF, unless I reconfigure it again with
amixer.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20170730/4ea2076d/attachment.html>


More information about the pulseaudio-bugs mailing list