Sound issue in bulleye with USB Headset and Internal Audio

Rainer Dorsch ml at bokomoko.de
Wed Apr 7 17:39:21 BST 2021


Hello,

I have a bullseye system with an on-board Intel sound device and a Logitech 
USB headset. Everything works perfect, if I boot without the USB headset 
plugged in. Both devices are detected and I can switch between them as 
expected. If I boot with the USB headset plugged in, inxi still finds both 
devices, but pacmd list-cards outputs only the USB headset. I am wondering if 
that is a pulseaudio feature or a bug.

Unfortunately, unplugging the USB device and pulseaudio -k does not fix the 
problem :-/ Any ideas or hints for a workaround to avoid a reboot are very 
welcome.

Here is the output of inxi -F
[...]
Audio:     Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel  
          Device-2: Logitech Headset H390 type: USB driver: hid-generic,snd-
usb-audio,usbhid  
          Sound Server: ALSA v: k5.10.0-5-amd64 
[...]

pacmd lists both cards

rd at h370:~$ pacmd list-cards
2 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_00_1f.3>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xa1130000 irq 127"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a348"
                device.product.name = "Cannon Lake PCH cAVS"
                device.form_factor = "internal"
                device.string = "0"
                device.description = "Internes Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:analog-stereo: Analog Stereo-Eingabe (priority 65, 
available: no)
                output:analog-stereo: Analog Stereo-Ausgabe (priority 6500, 
available: unknown)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex 
(priority 6565, available: no)
                output:iec958-stereo: Digital Stereo (IEC958)-Ausgabe 
(priority 5500, available: unknown)
                output:iec958-stereo+input:analog-stereo: Digital Stereo 
(IEC958)-Ausgabe + Analog Stereo-Eingabe (priority 5565, available: no)
                output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/
AC3)-Ausgabe (priority 300, available: unknown)
                output:iec958-ac3-surround-51+input:analog-stereo: Digital 
Surround 5.1 (IEC958/AC3)-Ausgabe + Analog Stereo-Eingabe (priority 365, 
available: no)
                output:hdmi-stereo: Digital Stereo (HDMI)-Ausgabe (priority 
5900, available: no)
                output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI)-
Ausgabe + Analog Stereo-Eingabe (priority 5965, available: no)
                output:hdmi-surround: Digital Surround 5.1 (HDMI)-Ausgabe 
(priority 800, available: no)
                output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 
(HDMI)-Ausgabe + Analog Stereo-Eingabe (priority 865, available: no)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI)-Ausgabe 
(priority 800, available: no)
                output:hdmi-surround71+input:analog-stereo: Digital Surround 
7.1 (HDMI)-Ausgabe + Analog Stereo-Eingabe (priority 865, available: no)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2)-Ausgabe 
(priority 5700, available: unknown)
                output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo 
(HDMI 2)-Ausgabe + Analog Stereo-Eingabe (priority 5765, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3)-Ausgabe 
(priority 5700, available: no)
                output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo 
(HDMI 3)-Ausgabe + Analog Stereo-Eingabe (priority 5765, available: no)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3)-
Ausgabe (priority 600, available: no)
                output:hdmi-surround-extra2+input:analog-stereo: Digital 
Surround 5.1 (HDMI 3)-Ausgabe + Analog Stereo-Eingabe (priority 665, 
available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3)-
Ausgabe (priority 600, available: no)
                output:hdmi-surround71-extra2+input:analog-stereo: Digital 
Surround 7.1 (HDMI 3)-Ausgabe + Analog Stereo-Eingabe (priority 665, 
available: no)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4)-Ausgabe 
(priority 5700, available: no)
                output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo 
(HDMI 4)-Ausgabe + Analog Stereo-Eingabe (priority 5765, available: no)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4)-
Ausgabe (priority 600, available: no)
                output:hdmi-surround-extra3+input:analog-stereo: Digital 
Surround 5.1 (HDMI 4)-Ausgabe + Analog Stereo-Eingabe (priority 665, 
available: no)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4)-
Ausgabe (priority 600, available: no)
                output:hdmi-surround71-extra3+input:analog-stereo: Digital 
Surround 7.1 (HDMI 4)-Ausgabe + Analog Stereo-Eingabe (priority 665, 
available: no)
                output:hdmi-stereo-extra4: Digital Stereo (HDMI 5)-Ausgabe 
(priority 5700, available: no)
                output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo 
(HDMI 5)-Ausgabe + Analog Stereo-Eingabe (priority 5765, available: no)
                output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5)-
Ausgabe (priority 600, available: no)
                output:hdmi-surround-extra4+input:analog-stereo: Digital 
Surround 5.1 (HDMI 5)-Ausgabe + Analog Stereo-Eingabe (priority 665, 
available: no)
                output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5)-
Ausgabe (priority 600, available: no)
                output:hdmi-surround71-extra4+input:analog-stereo: Digital 
Surround 7.1 (HDMI 5)-Ausgabe + Analog Stereo-Eingabe (priority 665, 
available: no)
                off: Aus (priority 0, available: unknown)
        active profile: <output:analog-stereo>
        sinks:
                alsa_output.pci-0000_00_1f.3.analog-stereo/#0: Internes Audio 
Analog Stereo
        sources:
                alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#0: Monitor 
of Internes Audio Analog Stereo
        ports:
                analog-input-front-mic: Front Microphone (priority 8500, 
latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-rear-mic: Rear Microphone (priority 8200, latency 
offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-linein: Line In (priority 8100, latency offset 0 
usec, available: no)
                        properties:

                analog-output-lineout: Line Out (priority 9000, latency offset 
0 usec, available: yes)
                        properties:

                analog-output-speaker: Speakers (priority 10000, latency offset 
0 usec, available: no)
                        properties:
                                device.icon_name = "audio-speakers"
                analog-output-headphones: Headphones (priority 9900, latency 
offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
                iec958-stereo-output: Digital Output (S/PDIF) (priority 0, 
latency offset 0 usec, available: unknown)
                        properties:

                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency 
offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency 
offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "video-display"
                                device.product.name = "DELL U2718Q"
                hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency 
offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency 
offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency 
offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
    index: 1
        name: <alsa_card.usb-Logitech_Logitech_USB_Headset-00>
        driver: <module-alsa-card.c>
        owner module: 24
        properties:
                alsa.card = "1"
                alsa.card_name = "Logitech USB Headset"
                alsa.long_card_name = "Logitech Logitech USB Headset at 
usb-0000:00:14.0-13.1, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:14.0-usb-0:13.1:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:14.0/
usb1/1-13/1-13.1/1-13.1:1.0/sound/card1"
                udev.id = "usb-Logitech_Logitech_USB_Headset-00"
                device.bus = "usb"
                device.vendor.id = "046d"
                device.vendor.name = "Logitech, Inc."
                device.product.id = "0a44"
                device.product.name = "Headset H390"
                device.serial = "Logitech_Logitech_USB_Headset"
                device.form_factor = "headset"
                device.string = "1"
                device.description = "Headset H390"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-headset-usb"
                device.intended_roles = "phone"
        profiles:
                input:mono-fallback: Mono-Eingabe (priority 1, available: 
unknown)
                input:multichannel-input: Mehrkanal-Eingabe (priority 1, 
available: unknown)
                output:analog-stereo: Analog Stereo-Ausgabe (priority 6500, 
available: unknown)
                output:analog-stereo+input:mono-fallback: Analog Stereo-
Ausgabe + Mono-Eingabe (priority 6501, available: unknown)
                output:analog-stereo+input:multichannel-input: Analog Stereo-
Ausgabe + Mehrkanal-Eingabe (priority 6501, available: unknown)
                off: Aus (priority 0, available: unknown)
        active profile: <output:analog-stereo+input:mono-fallback>
        sinks:
                alsa_output.usb-Logitech_Logitech_USB_Headset-00.analog-
stereo/#1: Headset H390 Analog Stereo
        sources:
                alsa_output.usb-Logitech_Logitech_USB_Headset-00.analog-
stereo.monitor/#1: Monitor of Headset H390 Analog Stereo
                alsa_input.usb-Logitech_Logitech_USB_Headset-00.mono-fallback/
#2: Headset H390 Mono
        ports:
                analog-input-mic: Microphone (priority 8700, latency offset 0 
usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-output-headphones: Headphones (priority 9900, latency 
offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-headphones"
rd at h370:~$ 

If I boot with the USB headset plugged, inxi -F still reports both devices, 
but pulseaudio only knows one card:

rd at h370:~$ inxi -F
[...]
Audio:     Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel 
           Device-2: Logitech Headset H390 type: USB driver: hid-generic,snd-
usb-audio,usbhid 
           Sound Server: ALSA v: k5.10.0-5-amd64 
[...]
rd at h370:~$ pacmd list-cards
1 card(s) available.
    index: 0
        name: <alsa_card.usb-Logitech_Logitech_USB_Headset-00>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "1"
                alsa.card_name = "Logitech USB Headset"
                alsa.long_card_name = "Logitech Logitech USB Headset at 
usb-0000:00:14.0-13.1, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:14.0-usb-0:13.1:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:14.0/
usb1/1-13/1-13.1/1-13.1:1.0/sound/card1"
                udev.id = "usb-Logitech_Logitech_USB_Headset-00"
                device.bus = "usb"
                device.vendor.id = "046d"
                device.vendor.name = "Logitech, Inc."
                device.product.id = "0a44"
                device.product.name = "Headset H390"
                device.serial = "Logitech_Logitech_USB_Headset"
                device.form_factor = "headset"
                device.string = "1"
                device.description = "Headset H390"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-headset-usb"
                device.intended_roles = "phone"
        profiles:
                input:mono-fallback: Mono-Eingabe (priority 1, available: 
unknown)
                input:multichannel-input: Mehrkanal-Eingabe (priority 1, 
available: unknown)
                output:analog-stereo: Analog Stereo-Ausgabe (priority 6500, 
available: unknown)
                output:analog-stereo+input:mono-fallback: Analog Stereo-
Ausgabe + Mono-Eingabe (priority 6501, available: unknown)
                output:analog-stereo+input:multichannel-input: Analog Stereo-
Ausgabe + Mehrkanal-Eingabe (priority 6501, available: unknown)
                off: Aus (priority 0, available: unknown)
        active profile: <output:analog-stereo+input:mono-fallback>
        sinks:
                alsa_output.usb-Logitech_Logitech_USB_Headset-00.analog-
stereo/#0: Headset H390 Analog Stereo
        sources:
                alsa_output.usb-Logitech_Logitech_USB_Headset-00.analog-
stereo.monitor/#0: Monitor of Headset H390 Analog Stereo
                alsa_input.usb-Logitech_Logitech_USB_Headset-00.mono-fallback/
#1: Headset H390 Mono
        ports:
                analog-input-mic: Microphone (priority 8700, latency offset 0 
usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-output-headphones: Headphones (priority 9900, latency 
offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-headphones"
rd at h370:~$ 

Thanks
Rainer


-- 
Rainer Dorsch
http://bokomoko.de/





More information about the pkg-pulseaudio-devel mailing list