You are not logged in.

#1 2020-03-18 03:05:35

Pirotika
Member
Registered: 2020-03-18
Posts: 8

USB headset microphone not detected in pavucontrol

Greetings,

I have been a user of Arch for about a year now, and I recently changed headsets from the Kingston HyperX Cloud II to the Kingston HyperX Cloud Alpha S.

The headset itself works fine for outputting audio, but there is nothing shown in pavucontrol for the attached microphone. I have already eliminated a problem with the headset itself, as the microphone works perfectly on my Windows 10 partition.

Attempting to switch to the HyperX Cloud Alpha S sound card in alsamixer throws up

cannot load mixer controls: Invalid argument

and terminates the process.

I also attempted to follow the wiki's instructions but no luck there.

dmesg | grep usb output after unplugging and replugging the headset:

(literally hundreds of identical endpoint not enabled errors persisted every few milliseconds before I unplugged and replugged, I cut the majority of them out for readability)
[ 1873.292330] usb 1-4: cannot submit urb 0, error -2: endpoint not enabled
[ 1873.292432] usb 1-4: cannot submit urb 0, error -2: endpoint not enabled
[ 1873.292539] usb 1-4: cannot submit urb 0, error -2: endpoint not enabled
[ 1873.293238] usb 1-4: cannot submit urb 0, error -2: endpoint not enabled
[ 1873.293293] usb 1-4: cannot submit urb 0, error -2: endpoint not enabled
[ 1873.293347] usb 1-4: cannot submit urb 0, error -2: endpoint not enabled
[ 1873.293446] usb 1-4: cannot submit urb 0, error -2: endpoint not enabled
[ 1873.293479] usb 1-4: USB disconnect, device number 3
[ 1878.587596] usb 1-4: new full-speed USB device number 6 using xhci_hcd
[ 1878.743686] usb 1-4: New USB device found, idVendor=0951, idProduct=16ed, bcdDevice=41.00
[ 1878.743692] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1878.743696] usb 1-4: Product: HyperX Cloud Alpha S
[ 1878.743699] usb 1-4: Manufacturer: Kingston
[ 1878.743702] usb 1-4: SerialNumber: 000000000001
[ 1878.779238] usb 1-4: 12:0: cannot get min/max values for control 2 (id 12)
[ 1878.786854] usb 1-4: 6:0: cannot get min/max values for control 2 (id 6)
[ 1878.791403] input: Kingston HyperX Cloud Alpha S Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.5/0003:0951:16ED.0007/input/input32
[ 1878.848080] hid-generic 0003:0951:16ED.0007: input,hidraw0: USB HID v1.11 Device [Kingston HyperX Cloud Alpha S] on usb-0000:00:14.0-4/input5
[ 1878.881687] usb 1-4: 12:0: cannot get min/max values for control 2 (id 12)
[ 1878.887547] usb 1-4: 12:0: cannot get min/max values for control 2 (id 12)
[ 1878.894899] usb 1-4: 12:0: cannot get min/max values for control 2 (id 12)
[ 1878.901791] usb 1-4: 12:0: cannot get min/max values for control 2 (id 12)
[ 1878.907396] usb 1-4: 12:0: cannot get min/max values for control 2 (id 12)
[ 1878.914297] usb 1-4: 12:0: cannot get min/max values for control 2 (id 12)
[ 1878.920710] usb 1-4: 12:0: cannot get min/max values for control 2 (id 12)
[ 1878.926899] usb 1-4: 12:0: cannot get min/max values for control 2 (id 12)
[ 1878.934265] usb 1-4: 12:0: cannot get min/max values for control 2 (id 12)

arecord -l output:

**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC1220 Analog [ALC1220 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: ALC1220 Alt Analog [ALC1220 Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Controller [Wireless Controller], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: S [HyperX Cloud Alpha S], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

cat /proc/asound/cards output:

0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xdf440000 irq 163
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xdf080000 irq 17
 2 [Controller     ]: USB-Audio - Wireless Controller
                      Sony Interactive Entertainment Wireless Controller at usb-0000:00:14.0-3, full 
 3 [S              ]: USB-Audio - HyperX Cloud Alpha S
                      Kingston HyperX Cloud Alpha S at usb-0000:00:14.0-4, full speed

Any help that can be offered would be greatly appreciated.

Offline

#2 2020-03-18 08:52:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 11,272

Re: USB headset microphone not detected in pavucontrol

Does it technically work with

arecord -Dhw:3,0 test.wav

?

pacmd list-cards
pacmd list-sources
journalctl -b --user-unit=pulseaudio
alsa-info.sh

for starters

Last edited by V1del (2020-03-18 08:55:40)

Offline

#3 2020-03-18 10:38:40

Pirotika
Member
Registered: 2020-03-18
Posts: 8

Re: USB headset microphone not detected in pavucontrol

V1del wrote:

Does it technically work with

arecord -Dhw:3,0 test.wav

?

arecord: main:830: audio open error: No such file or directory

This is shown when I attempt to run that command.

V1del wrote:
pacmd list-cards
pacmd list-sources
journalctl -b --user-unit=pulseaudio
alsa-info.sh

for starters

pacmd list-cards:

4 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_01_00.1>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "1"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xdf080000 irq 17"
                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 = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "10f1"
                device.product.name = "GP106 High Definition Audio Controller"
                device.string = "1"
                device.description = "GP106 High Definition Audio Controller"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
                output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
                output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
                output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
                output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (priority 5700, available: no)
                output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (priority 600, available: no)
                output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (priority 600, available: no)
                output:hdmi-stereo-extra6: Digital Stereo (HDMI 7) Output (priority 5700, available: no)
                output:hdmi-surround-extra6: Digital Surround 5.1 (HDMI 7) Output (priority 600, available: no)
                output:hdmi-surround71-extra6: Digital Surround 7.1 (HDMI 7) Output (priority 600, available: no)
                off: Off (priority 0, available: unknown)
        active profile: <off>
        ports:
                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: no)
                        properties:
                                device.icon_name = "video-display"
                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"
                hdmi-output-5: HDMI / DisplayPort 6 (priority 5400, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-6: HDMI / DisplayPort 7 (priority 5300, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
    index: 1
        name: <alsa_card.usb-Sony_Interactive_Entertainment_Wireless_Controller-00>
        driver: <module-alsa-card.c>
        owner module: 7
        properties:
                alsa.card = "2"
                alsa.card_name = "Wireless Controller"
                alsa.long_card_name = "Sony Interactive Entertainment Wireless Controller at usb-0000:00:14.0-3, full"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:14.0-usb-0:3:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/sound/card2"
                udev.id = "usb-Sony_Interactive_Entertainment_Wireless_Controller-00"
                device.bus = "usb"
                device.vendor.id = "054c"
                device.vendor.name = "Sony Corp."
                device.product.id = "09cc"
                device.product.name = "DualShock 4 [CUH-ZCT2x]"
                device.serial = "Sony_Interactive_Entertainment_Wireless_Controller"
                device.string = "2"
                device.description = "DualShock 4 [CUH-ZCT2x]"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        profiles:
                input:mono-fallback: Mono Input (priority 1, available: unknown)
                input:multichannel-input: Multichannel Input (priority 1, available: unknown)
                output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)
                output:analog-stereo+input:mono-fallback: Analog Stereo Output + Mono Input (priority 6501, available: unknown)
                output:analog-stereo+input:multichannel-input: Analog Stereo Output + Multichannel Input (priority 6501, available: unknown)
                output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
                output:iec958-stereo+input:mono-fallback: Digital Stereo (IEC958) Output + Mono Input (priority 5501, available: unknown)
                output:iec958-stereo+input:multichannel-input: Digital Stereo (IEC958) Output + Multichannel Input (priority 5501, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <off>
        ports:
                analog-input-headset-mic: Headset Microphone (priority 8800, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
                multichannel-input: Multichannel Input (priority 0, latency offset 0 usec, available: unknown)
                        properties:

                analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
                        properties:

                iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
                        properties:

    index: 3
        name: <alsa_card.pci-0000_00_1f.3>
        driver: <module-alsa-card.c>
        owner module: 9
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xdf440000 irq 163"
                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 = "a2f0"
                device.product.name = "200 Series PCH HD Audio"
                device.form_factor = "internal"
                device.string = "0"
                device.description = "Built-in Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:analog-stereo: Analog Stereo Input (priority 65, available: no)
                output:analog-stereo: Analog Stereo Output (priority 6500, available: no)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: no)
                output:analog-surround-21: Analog Surround 2.1 Output (priority 1300, available: no)
                output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 1365, available: no)
                output:analog-surround-40: Analog Surround 4.0 Output (priority 1200, available: no)
                output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 1265, available: no)
                output:analog-surround-41: Analog Surround 4.1 Output (priority 1300, available: no)
                output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 1365, available: no)
                output:analog-surround-50: Analog Surround 5.0 Output (priority 1200, available: no)
                output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 1265, available: no)
                output:analog-surround-51: Analog Surround 5.1 Output (priority 1300, available: no)
                output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 1365, available: no)
                output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
                output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5565, available: no)
                off: Off (priority 0, available: unknown)
        active profile: <output:iec958-stereo>
        sinks:
                alsa_output.pci-0000_00_1f.3.iec958-stereo/#1: Built-in Audio Digital Stereo (IEC958)
        sources:
                alsa_output.pci-0000_00_1f.3.iec958-stereo.monitor/#1: Monitor of Built-in Audio Digital Stereo (IEC958)
        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: no)
                        properties:

                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:

    index: 4
        name: <alsa_card.usb-Kingston_HyperX_Cloud_Alpha_S_000000000001-00>
        driver: <module-alsa-card.c>
        owner module: 28
        properties:
                alsa.card = "3"
                alsa.card_name = "HyperX Cloud Alpha S"
                alsa.long_card_name = "Kingston HyperX Cloud Alpha S at usb-0000:00:14.0-4, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:14.0-usb-0:4:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/sound/card3"
                udev.id = "usb-Kingston_HyperX_Cloud_Alpha_S_000000000001-00"
                device.bus = "usb"
                device.vendor.id = "0951"
                device.vendor.name = "Kingston Technology"
                device.product.id = "16ed"
                device.product.name = "HyperX Cloud Alpha S"
                device.serial = "Kingston_HyperX_Cloud_Alpha_S_000000000001"
                device.string = "3"
                device.description = "HyperX Cloud Alpha S"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        profiles:
                output:analog-surround-71: Analog Surround 7.1 Output (priority 1200, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <output:analog-surround-71>
        sinks:
                alsa_output.usb-Kingston_HyperX_Cloud_Alpha_S_000000000001-00.analog-surround-71/#2: HyperX Cloud Alpha S Analog Surround 7.1
        sources:
                alsa_output.usb-Kingston_HyperX_Cloud_Alpha_S_000000000001-00.analog-surround-71.monitor/#2: Monitor of HyperX Cloud Alpha S Analog Surround 7.1

pacmd list-sources:

2 source(s) available.
    index: 1
        name: <alsa_output.pci-0000_00_1f.3.iec958-stereo.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY 
        state: SUSPENDED
        suspend cause: IDLE
        priority: 1030
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max rewind: 0 KiB
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        fixed latency: 99.95 ms
        monitor_of: 1
        card: 3 <alsa_card.pci-0000_00_1f.3>
        module: 9
        properties:
                device.description = "Monitor of Built-in Audio Digital Stereo (IEC958)"
                device.class = "monitor"
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xdf440000 irq 163"
                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 = "a2f0"
                device.product.name = "200 Series PCH HD Audio"
                device.form_factor = "internal"
                device.string = "0"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
  * index: 2
        name: <alsa_output.usb-Kingston_HyperX_Cloud_Alpha_S_000000000001-00.analog-surround-71.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY 
        state: IDLE
        suspend cause: (none)
        priority: 1040
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB,   rear-left: 65536 / 100% / 0.00 dB,   rear-right: 65536 / 100% / 0.00 dB,   front-center: 65536 / 100% / 0.00 dB,   lfe: 65536 / 100% / 0.00 dB,   side-left: 65536 / 100% / 0.00 dB,   side-right: 65536 / 100% / 0.00 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max rewind: 74 KiB
        sample spec: s16le 8ch 48000Hz
        channel map: front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
                     Surround 7.1
        used by: 0
        linked by: 0
        fixed latency: 99.94 ms
        monitor_of: 2
        card: 4 <alsa_card.usb-Kingston_HyperX_Cloud_Alpha_S_000000000001-00>
        module: 28
        properties:
                device.description = "Monitor of HyperX Cloud Alpha S Analog Surround 7.1"
                device.class = "monitor"
                alsa.card = "3"
                alsa.card_name = "HyperX Cloud Alpha S"
                alsa.long_card_name = "Kingston HyperX Cloud Alpha S at usb-0000:00:14.0-4, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:14.0-usb-0:4:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/sound/card3"
                udev.id = "usb-Kingston_HyperX_Cloud_Alpha_S_000000000001-00"
                device.bus = "usb"
                device.vendor.id = "0951"
                device.vendor.name = "Kingston Technology"
                device.product.id = "16ed"
                device.product.name = "HyperX Cloud Alpha S"
                device.serial = "Kingston_HyperX_Cloud_Alpha_S_000000000001"
                device.string = "3"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"

journalctl -b --user-unit=pulseaudio:

Mar 17 16:28:36 pirotika systemd[1025]: Starting Sound Service...
Mar 17 16:28:37 pirotika pulseaudio[1182]: W: [pulseaudio] alsa-util.c: Unable to load mixer: Invalid argument
Mar 17 16:28:37 pirotika pulseaudio[1182]: W: [pulseaudio] alsa-util.c: Unable to load mixer: Invalid argument
Mar 17 16:28:37 pirotika pulseaudio[1182]: E: [pulseaudio] module.c: Module "module-udev-detect" should be loaded once at most. Refusing to load.
Mar 17 16:28:37 pirotika pulseaudio[1182]: E: [pulseaudio] module.c: Failed to load module "module-alsa-source" (argument: "device=hw:3,0"): initialization failed.
Mar 17 16:28:37 pirotika systemd[1025]: Started Sound Service.
Mar 17 16:45:36 pirotika pulseaudio[1182]: E: [alsa-sink-USB Audio] alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write.
Mar 17 16:45:36 pirotika pulseaudio[1182]: E: [alsa-sink-USB Audio] alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_usb_audio'. Please report this issue to the ALSA developers.
Mar 17 16:45:36 pirotika pulseaudio[1182]: E: [alsa-sink-USB Audio] alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Mar 17 16:55:08 pirotika pulseaudio[1182]: E: [alsa-sink-USB Audio] alsa-sink.c: Failed to set hardware parameters: Broken pipe
Mar 17 16:55:08 pirotika pulseaudio[1182]: E: [alsa-sink-USB Audio] alsa-sink.c: Failed to set hardware parameters: Broken pipe
Mar 17 16:55:08 pirotika pulseaudio[1182]: E: [alsa-sink-USB Audio] alsa-sink.c: Failed to set hardware parameters: Broken pipe
Mar 17 16:55:08 pirotika pulseaudio[1182]: E: [alsa-sink-USB Audio] alsa-sink.c: Failed to set hardware parameters: Broken pipe
Mar 17 16:55:08 pirotika pulseaudio[1182]: E: [alsa-sink-USB Audio] alsa-sink.c: Failed to set hardware parameters: Broken pipe
Mar 17 16:55:08 pirotika pulseaudio[1182]: E: [alsa-sink-USB Audio] alsa-sink.c: Failed to set hardware parameters: Broken pipe
Mar 17 16:55:08 pirotika pulseaudio[1182]: E: [alsa-sink-USB Audio] alsa-sink.c: Failed to set hardware parameters: Broken pipe
Mar 17 16:55:08 pirotika pulseaudio[1182]: E: [alsa-sink-USB Audio] alsa-sink.c: Failed to set hardware parameters: Broken pipe
Mar 17 16:55:08 pirotika pulseaudio[1182]: E: [alsa-sink-USB Audio] alsa-sink.c: Failed to set hardware parameters: Broken pipe

(So on and so forth for over 100000 lines of the same error... cut for readability, obviously, since it's actually too big to be put onto ix.io)

alsa-info.sh:

ALSA Information Script v 0.4.64
--------------------------------

This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.

  dmesg
  lspci
  aplay
  amixer
  alsactl
  /proc/asound/
  /sys/class/sound/
  ~/.asoundrc (etc.)

See '/usr/bin/alsa-info.sh --help' for command line options.

alsactl: get_control:256: Cannot read control '2,0,0,PCM Playback Switch,1': Invalid argument
cat: /tmp/alsa-info.5ii0ZM4xhZ/alsactl.tmp: No such file or directory
Automatically upload ALSA information to www.alsa-project.org? [y/N] : y
Uploading information to www.alsa-project.org ... Done!

Your ALSA information is located at http://alsa-project.org/db/?f=408f9907fba5f40b29352e4dd8dcf856b0fb6ad1
Please inform the person helping you.

Offline

#4 2020-04-09 21:24:28

Pirotika
Member
Registered: 2020-03-18
Posts: 8

Re: USB headset microphone not detected in pavucontrol

I've been busy for the past couple of weeks, and I have been sporadically attempting to tackle this again.

Reinstalling alsa-utils and alsa-lib did nothing, unfortunately, and I'm stumped. I removed my asound.conf to see if that was the culprit, but there was no change in microphone detection.

I did some research, and according to this, there was a quirk with the HyperX Cloud Alpha S itself that was patched in the kernel. Unfortunately, there was no change when I updated the kernel.

I'll update with more up-to-date outputs.

dmesg | grep usb:

[    0.790814] usbcore: registered new interface driver usbfs
[    0.790814] usbcore: registered new interface driver hub
[    0.790814] usbcore: registered new device driver usb
[    1.015466] usbcore: registered new interface driver usbserial_generic
[    1.015468] usbserial: USB Serial support registered for generic
[    1.652383] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06
[    1.652384] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.652385] usb usb1: Product: xHCI Host Controller
[    1.652386] usb usb1: Manufacturer: Linux 5.6.3-arch1-1 xhci-hcd
[    1.652387] usb usb1: SerialNumber: 0000:00:14.0
[    1.654456] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.06
[    1.654456] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.654457] usb usb2: Product: xHCI Host Controller
[    1.654458] usb usb2: Manufacturer: Linux 5.6.3-arch1-1 xhci-hcd
[    1.654458] usb usb2: SerialNumber: 0000:00:14.0
[    1.711586] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06
[    1.711587] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.711588] usb usb3: Product: xHCI Host Controller
[    1.711589] usb usb3: Manufacturer: Linux 5.6.3-arch1-1 xhci-hcd
[    1.711589] usb usb3: SerialNumber: 0000:04:00.0
[    1.711879] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.711890] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.06
[    1.711890] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.711891] usb usb4: Product: xHCI Host Controller
[    1.711892] usb usb4: Manufacturer: Linux 5.6.3-arch1-1 xhci-hcd
[    1.711892] usb usb4: SerialNumber: 0000:04:00.0
[    1.984100] usb 1-5: new low-speed USB device number 2 using xhci_hcd
[    2.130214] usb 1-5: New USB device found, idVendor=0c45, idProduct=0133, bcdDevice= 1.01
[    2.130215] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.130216] usb 1-5: Product: USB Keyboard
[    2.130217] usb 1-5: Manufacturer: SONiX
[    2.254101] usb 1-6: new full-speed USB device number 3 using xhci_hcd
[    2.395314] usb 1-6: New USB device found, idVendor=046d, idProduct=c332, bcdDevice= 3.02
[    2.395315] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.395316] usb 1-6: Product: Gaming Mouse G502
[    2.395317] usb 1-6: Manufacturer: Logitech
[    2.395318] usb 1-6: SerialNumber: 167A365D3037
[    2.527365] usb 1-12: new full-speed USB device number 4 using xhci_hcd
[    2.686650] usb 1-12: New USB device found, idVendor=0951, idProduct=16ed, bcdDevice=41.00
[    2.686652] usb 1-12: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.686653] usb 1-12: Product: HyperX Cloud Alpha S
[    2.686653] usb 1-12: Manufacturer: Kingston
[    2.686654] usb 1-12: SerialNumber: 000000000001
[    2.741972] usbcore: registered new interface driver usbhid
[    2.741973] usbhid: USB HID core driver
[    3.017957] input: SONiX USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:0C45:0133.0001/input/input4
[    3.074248] hid-generic 0003:0C45:0133.0001: input,hidraw0: USB HID v1.00 Keyboard [SONiX USB Keyboard] on usb-0000:00:14.0-5/input0
[    3.074362] input: SONiX USB Keyboard Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:0C45:0133.0002/input/input12
[    3.130795] input: SONiX USB Keyboard System Control as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:0C45:0133.0002/input/input13
[    3.131299] hid-generic 0003:0C45:0133.0002: input,hidraw1: USB HID v1.00 Device [SONiX USB Keyboard] on usb-0000:00:14.0-5/input1
[    3.131383] input: Logitech Gaming Mouse G502 as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:046D:C332.0003/input/input21
[    3.131480] hid-generic 0003:046D:C332.0003: input,hidraw2: USB HID v1.11 Mouse [Logitech Gaming Mouse G502] on usb-0000:00:14.0-6/input0
[    3.131641] input: Logitech Gaming Mouse G502 Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.1/0003:046D:C332.0004/input/input22
[    3.144630] usb 1-12: 12:0: cannot get min/max values for control 2 (id 12)
[    3.149660] usb 1-12: 6:0: cannot get min/max values for control 2 (id 6)
[    3.149758] usbcore: registered new interface driver snd-usb-audio
[    3.190855] input: Logitech Gaming Mouse G502 Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.1/0003:046D:C332.0004/input/input23
[    3.190914] input: Logitech Gaming Mouse G502 System Control as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.1/0003:046D:C332.0004/input/input24
[    3.191063] hid-generic 0003:046D:C332.0004: input,hiddev0,hidraw3: USB HID v1.11 Keyboard [Logitech Gaming Mouse G502] on usb-0000:00:14.0-6/input1
[    3.191138] input: Kingston HyperX Cloud Alpha S Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.5/0003:0951:16ED.0005/input/input27
[    3.250853] hid-generic 0003:0951:16ED.0005: input,hidraw4: USB HID v1.11 Device [Kingston HyperX Cloud Alpha S] on usb-0000:00:14.0-12/input5
[    3.347414] usb 1-12: 12:0: cannot get min/max values for control 2 (id 12)
[    3.354611] usb 1-12: 12:0: cannot get min/max values for control 2 (id 12)
[    3.362902] usb 1-12: 12:0: cannot get min/max values for control 2 (id 12)
[    3.368225] usb 1-12: 12:0: cannot get min/max values for control 2 (id 12)
[    3.375340] usb 1-12: 12:0: cannot get min/max values for control 2 (id 12)
[    3.382973] usb 1-12: 12:0: cannot get min/max values for control 2 (id 12)
[    3.388264] usb 1-12: 12:0: cannot get min/max values for control 2 (id 12)
[    3.395007] usb 1-12: 12:0: cannot get min/max values for control 2 (id 12)
[    3.400257] usb 1-12: 12:0: cannot get min/max values for control 2 (id 12)
[  576.243889] usb 1-12: 12:0: cannot get min/max values for control 2 (id 12)
[  576.251380] usb 1-12: 12:0: cannot get min/max values for control 2 (id 12)
[  576.257772] usb 1-12: 12:0: cannot get min/max values for control 2 (id 12)
[  576.263446] usb 1-12: 12:0: cannot get min/max values for control 2 (id 12)
[  576.270822] usb 1-12: 12:0: cannot get min/max values for control 2 (id 12)
[  576.275822] usb 1-12: 12:0: cannot get min/max values for control 2 (id 12)
[  576.283130] usb 1-12: 12:0: cannot get min/max values for control 2 (id 12)
[  576.288458] usb 1-12: 12:0: cannot get min/max values for control 2 (id 12)
[  576.295834] usb 1-12: 12:0: cannot get min/max values for control 2 (id 12)

arecord -l:

**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC1220 Analog [ALC1220 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: ALC1220 Alt Analog [ALC1220 Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: S [HyperX Cloud Alpha S], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

cat /proc/asound/cards:

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xdf440000 irq 163
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xdf080000 irq 17
 2 [S              ]: USB-Audio - HyperX Cloud Alpha S
                      Kingston HyperX Cloud Alpha S at usb-0000:00:14.0-12, full speed

pacmd list-cards:

3 card(s) available.
    index: 0
        name: <alsa_card.usb-Kingston_HyperX_Cloud_Alpha_S_000000000001-00>
        driver: <module-alsa-card.c>
        owner module: 24
        properties:
                alsa.card = "2"
                alsa.card_name = "HyperX Cloud Alpha S"
                alsa.long_card_name = "Kingston HyperX Cloud Alpha S at usb-0000:00:14.0-12, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:14.0-usb-0:12:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/sound/card2"
                udev.id = "usb-Kingston_HyperX_Cloud_Alpha_S_000000000001-00"
                device.bus = "usb"
                device.vendor.id = "0951"
                device.vendor.name = "Kingston Technology"
                device.product.id = "16ed"
                device.product.name = "HyperX Cloud Alpha S"
                device.serial = "Kingston_HyperX_Cloud_Alpha_S_000000000001"
                device.string = "2"
                device.description = "HyperX Cloud Alpha S"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        profiles:
                output:analog-surround-71: Analog Surround 7.1 Output (priority 1200, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <output:analog-surround-71>
        sinks:
                alsa_output.usb-Kingston_HyperX_Cloud_Alpha_S_000000000001-00.analog-surround-71/#1: HyperX Cloud Alpha S Analog Surround 7.1
        sources:
                alsa_output.usb-Kingston_HyperX_Cloud_Alpha_S_000000000001-00.analog-surround-71.monitor/#1: Monitor of HyperX Cloud Alpha S Analog Surround 7.1
    index: 1
        name: <alsa_card.pci-0000_01_00.1>
        driver: <module-alsa-card.c>
        owner module: 25
        properties:
                alsa.card = "1"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xdf080000 irq 17"
                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 = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "10f1"
                device.product.name = "GP106 High Definition Audio Controller"
                device.string = "1"
                device.description = "GP106 High Definition Audio Controller"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
                output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
                output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
                output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
                output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (priority 5700, available: no)
                output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (priority 600, available: no)
                output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (priority 600, available: no)
                output:hdmi-stereo-extra6: Digital Stereo (HDMI 7) Output (priority 5700, available: no)
                output:hdmi-surround-extra6: Digital Surround 5.1 (HDMI 7) Output (priority 600, available: no)
                output:hdmi-surround71-extra6: Digital Surround 7.1 (HDMI 7) Output (priority 600, available: no)
                off: Off (priority 0, available: unknown)
        active profile: <off>
        ports:
                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: no)
                        properties:
                                device.icon_name = "video-display"
                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"
                hdmi-output-5: HDMI / DisplayPort 6 (priority 5400, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-6: HDMI / DisplayPort 7 (priority 5300, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
    index: 2
        name: <alsa_card.pci-0000_00_1f.3>
        driver: <module-alsa-card.c>
        owner module: 26
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xdf440000 irq 163"
                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 = "a2f0"
                device.product.name = "200 Series PCH HD Audio"
                device.form_factor = "internal"
                device.string = "0"
                device.description = "Built-in Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:analog-stereo: Analog Stereo Input (priority 65, available: no)
                output:analog-stereo: Analog Stereo Output (priority 6500, available: no)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: no)
                output:analog-surround-21: Analog Surround 2.1 Output (priority 1300, available: no)
                output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 1365, available: no)
                output:analog-surround-40: Analog Surround 4.0 Output (priority 1200, available: no)
                output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 1265, available: no)
                output:analog-surround-41: Analog Surround 4.1 Output (priority 1300, available: no)
                output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 1365, available: no)
                output:analog-surround-50: Analog Surround 5.0 Output (priority 1200, available: no)
                output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 1265, available: no)
                output:analog-surround-51: Analog Surround 5.1 Output (priority 1300, available: no)
                output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 1365, available: no)
                output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
                output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5565, available: no)
                off: Off (priority 0, available: unknown)
        active profile: <output:iec958-stereo>
        sinks:
                alsa_output.pci-0000_00_1f.3.iec958-stereo/#2: Built-in Audio Digital Stereo (IEC958)
        sources:
                alsa_output.pci-0000_00_1f.3.iec958-stereo.monitor/#2: Monitor of Built-in Audio Digital Stereo (IEC958)
        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: no)
                        properties:

                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:

pacmd list-sources:

2 source(s) available.
  * index: 1
        name: <alsa_output.usb-Kingston_HyperX_Cloud_Alpha_S_000000000001-00.analog-surround-71.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY 
        state: SUSPENDED
        suspend cause: IDLE
        priority: 1040
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB,   rear-left: 65536 / 100% / 0.00 dB,   rear-right: 65536 / 100% / 0.00 dB,   front-center: 65536 / 100% / 0.00 dB,   lfe: 65536 / 100% / 0.00 dB,   side-left: 65536 / 100% / 0.00 dB,   side-right: 65536 / 100% / 0.00 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max rewind: 0 KiB
        sample spec: s16le 8ch 48000Hz
        channel map: front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
                     Surround 7.1
        used by: 0
        linked by: 0
        fixed latency: 99.94 ms
        monitor_of: 1
        card: 0 <alsa_card.usb-Kingston_HyperX_Cloud_Alpha_S_000000000001-00>
        module: 24
        properties:
                device.description = "Monitor of HyperX Cloud Alpha S Analog Surround 7.1"
                device.class = "monitor"
                alsa.card = "2"
                alsa.card_name = "HyperX Cloud Alpha S"
                alsa.long_card_name = "Kingston HyperX Cloud Alpha S at usb-0000:00:14.0-12, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:14.0-usb-0:12:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/sound/card2"
                udev.id = "usb-Kingston_HyperX_Cloud_Alpha_S_000000000001-00"
                device.bus = "usb"
                device.vendor.id = "0951"
                device.vendor.name = "Kingston Technology"
                device.product.id = "16ed"
                device.product.name = "HyperX Cloud Alpha S"
                device.serial = "Kingston_HyperX_Cloud_Alpha_S_000000000001"
                device.string = "2"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
    index: 2
        name: <alsa_output.pci-0000_00_1f.3.iec958-stereo.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY 
        state: SUSPENDED
        suspend cause: IDLE
        priority: 1030
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max rewind: 0 KiB
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        fixed latency: 99.95 ms
        monitor_of: 2
        card: 2 <alsa_card.pci-0000_00_1f.3>
        module: 26
        properties:
                device.description = "Monitor of Built-in Audio Digital Stereo (IEC958)"
                device.class = "monitor"
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xdf440000 irq 163"
                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 = "a2f0"
                device.product.name = "200 Series PCH HD Audio"
                device.form_factor = "internal"
                device.string = "0"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"

journalctl -b --user-unit=pulseaudio:

-- Logs begin at Wed 2020-02-19 12:08:38 PST, end at Thu 2020-04-09 14:18:15 PDT. --
Apr 09 13:48:45 pirotika systemd[1059]: Starting Sound Service...
Apr 09 13:48:45 pirotika pulseaudio[1213]: E: [pulseaudio] module.c: Module "module-udev-detect" should be loaded once at most. Refusing to load.
Apr 09 13:48:45 pirotika pulseaudio[1213]: E: [pulseaudio] module.c: Failed to load module "module-alsa-source" (argument: "device=hw:3,0"): initialization failed.
Apr 09 13:48:45 pirotika systemd[1059]: Started Sound Service.
Apr 09 13:48:46 pirotika pulseaudio[1213]: W: [pulseaudio] alsa-util.c: Unable to load mixer: Invalid argument
Apr 09 13:48:46 pirotika pulseaudio[1213]: W: [pulseaudio] alsa-util.c: Unable to load mixer: Invalid argument
Apr 09 14:08:52 pirotika pulseaudio[1213]: E: [alsa-sink-USB Audio] alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write.
Apr 09 14:08:52 pirotika pulseaudio[1213]: E: [alsa-sink-USB Audio] alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_usb_audio'. Please report this issue to the ALSA developers.
Apr 09 14:08:52 pirotika pulseaudio[1213]: E: [alsa-sink-USB Audio] alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.

alsa-info.sh:

ALSA Information Script v 0.4.64
--------------------------------

This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.

  dmesg
  lspci
  aplay
  amixer
  alsactl
  /proc/asound/
  /sys/class/sound/
  ~/.asoundrc (etc.)

See '/usr/bin/alsa-info.sh --help' for command line options.

alsactl: get_control:256: Cannot read control '2,0,0,PCM Playback Switch,1': Invalid argument
cat: /tmp/alsa-info.IVSEn7eoTN/alsactl.tmp: No such file or directory
Automatically upload ALSA information to www.alsa-project.org? [y/N] : y
Uploading information to www.alsa-project.org ... Done!

Your ALSA information is located at http://alsa-project.org/db/?f=f803fce24de40eb37b75393901e453a89ddbb362
Please inform the person helping you.

My apologies if the thread is too old for me to bump with new information.

EDIT: Updated with new outputs for commands that were in the first post.

Last edited by Pirotika (2020-04-09 21:55:32)

Offline

#5 2020-04-14 09:02:17

Pirotika
Member
Registered: 2020-03-18
Posts: 8

Re: USB headset microphone not detected in pavucontrol

I've tried more things, but I am no closer to solving my problem.

I reinstalled pulseaudio-alsa to generate a new asound.conf, but no luck.

Then, I switched to the ZEN kernel to see if that would help, but it didn't.

Lastly, I changed default.pa to remove the error about module-udev-detect loading more than once, but that didn't affect anything regarding my microphone.

Does anyone have any other ideas? I feel like I'm missing something obvious at this point.

Offline

#6 2020-04-14 09:12:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 11,272

Re: USB headset microphone not detected in pavucontrol

Try the LTS kernel, going from the same logical version (stable to ZEN) is unlikely to have a difference. and if the arecord command fails to open the device it's failing to enumerate at a level way before pulse becomes relevant. Does audio output work correctly? What do you get from

sudo lsusb -vd 0951:16ed

Offline

#7 2020-04-14 09:23:45

Pirotika
Member
Registered: 2020-03-18
Posts: 8

Re: USB headset microphone not detected in pavucontrol

V1del wrote:

Try the LTS kernel, going from the same logical version (stable to ZEN) is unlikely to have a difference. and if the arecord command fails to open the device it's failing to enumerate at a level way before pulse becomes relevant. Does audio output work correctly? What do you get from

sudo lsusb -vd 0951:16ed

Changing to the LTS kernel didn't change anything, unfortunately. Furthermore, I suspect that the kernel patch that I mentioned earlier isn't in the LTS kernel anyway.

As mentioned before, audio output via the headphones works perfectly.

sudo lsusb -vd 0951:16ed:

Bus 001 Device 004: ID 0951:16ed Kingston Technology HyperX Cloud Alpha S
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0951 Kingston Technology
  idProduct          0x16ed 
  bcdDevice           41.00
  iManufacturer           1 Kingston
  iProduct                2 HyperX Cloud Alpha S
  iSerial                 3 000000000001
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0155
    bNumInterfaces          6
    bConfigurationValue     1
    iConfiguration          4 Headset Earphone
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface             11 HyperX Cloud Alpha S Game
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength       0x002e
        bInCollection           1
        baInterfaceNr(0)        1
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels             8
        wChannelConfig     0x063f
          Left Front (L)
          Right Front (R)
          Center Front (C)
          Low Frequency Enhancement (LFE)
          Left Surround (LS)
          Right Surround (RS)
          Side Left (SL)
          Side Right (SR)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                16
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 2
        bSourceID               1
        bControlSize            1
        bmaControls(0)       0x01
          Mute Control
        bmaControls(1)       0x02
          Volume Control
        bmaControls(2)       0x02
          Volume Control
        bmaControls(3)       0x02
          Volume Control
        bmaControls(4)       0x02
          Volume Control
        bmaControls(5)       0x02
          Volume Control
        bmaControls(6)       0x02
          Volume Control
        bmaControls(7)       0x02
          Volume Control
        bmaControls(8)       0x02
          Volume Control
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0301 Speaker
        bAssocTerminal          7
        bSourceID               2
        iTerminal              11 HyperX Cloud Alpha S Game
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           1
        bDelay                  3 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             8
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x0300  1x 768 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         1 Milliseconds
          wLockDelay         0x0004
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface             10 HyperX Cloud Alpha S Chat
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength       0x004e
        bInCollection           2
        baInterfaceNr(0)        3
        baInterfaceNr(1)        4
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID            11
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                12
        bSourceID              11
        bControlSize            1
        bmaControls(0)       0x01
          Mute Control
        bmaControls(1)       0x02
          Volume Control
        bmaControls(2)       0x02
          Volume Control
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID            13
        wTerminalType      0x0404 Echo-suppressing speakerphone
        bAssocTerminal          0
        bSourceID              12
        iTerminal               8 Headset Earphone
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             4
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               5
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      5 (SELECTOR_UNIT)
        bUnitID                 5
        bNrInPins               1
        baSourceID(0)           6
        iSelector               0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 6
        bSourceID               7
        bControlSize            1
        bmaControls(0)       0x03
          Mute Control
          Volume Control
        bmaControls(1)       0x00
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             7
        wTerminalType      0x0201 Microphone
        bAssocTerminal          3
        bNrChannels             1
        wChannelConfig     0x0001
          Left Front (L)
        iChannelNames           0 
        iTerminal               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           4
        bDelay                  3 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                20
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            4 Discrete
        tSamFreq[ 0]        16000
        tSamFreq[ 1]        32000
        tSamFreq[ 2]        44100
        tSamFreq[ 3]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x0062  1x 98 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         1 Milliseconds
          wLockDelay         0x0004
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        4
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        4
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink          11
        bDelay                  3 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        16000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         1 Milliseconds
          wLockDelay         0x0004
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        5
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      71
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0000
  (Bus Powered)

Last edited by Pirotika (2020-04-14 09:24:34)

Offline

#8 2020-04-14 09:40:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 11,272

Re: USB headset microphone not detected in pavucontrol

Sorry I missed that, it's quite unlikely that a patch this new is already in a stable release, however you should be able to enforce the use of the quirk mentioned there with something like /etc/modprobe.d/snd_usb_kingston_quirk.conf

options snd_usb_audio vid=0951 pid=16ed quirk_alias=0951:16d8

Edit: On checking again, that commit that introduced that quirk is also not released yet. So you'll get this at the latest in a 5.7 release, or it might get backported to a stable branch. Alternatively you could build your own kernel with https://git.kernel.org/pub/scm/linux/ke … 01982a679c and https://git.kernel.org/pub/scm/linux/ke … 27e85d2705 applied

Last edited by V1del (2020-04-14 09:49:21)

Offline

#9 2020-04-14 09:52:16

Pirotika
Member
Registered: 2020-03-18
Posts: 8

Re: USB headset microphone not detected in pavucontrol

V1del wrote:

Sorry I missed that, it's quite unlikely that a patch this new is already in a stable release, however you should be able to enforce the use of the quirk mentioned there with something like /etc/modprobe.d/snd_usb_kingston_quirk.conf

options snd_usb_audio vid=0951 pid=16ed quirk_alias=0951:16d8

Adding that quirk to /etc/modprobe.d made the headset disappear from the list of cards, both in cat /proc/asound/cards and arecord -l. As a result, I am unable to hear any audio through the headphones with that quirk applied. Removing the quirk from /etc/modprobe.d restored audio output through the headphones.

sudo lsusb -vd 0951:16ed output seems to be identical with the quirk applied.

Offline

#10 2020-04-15 00:40:26

Pirotika
Member
Registered: 2020-03-18
Posts: 8

Re: USB headset microphone not detected in pavucontrol

V1del wrote:

Edit: On checking again, that commit that introduced that quirk is also not released yet. So you'll get this at the latest in a 5.7 release, or it might get backported to a stable branch. Alternatively you could build your own kernel with https://git.kernel.org/pub/scm/linux/ke … 01982a679c and https://git.kernel.org/pub/scm/linux/ke … 27e85d2705 applied

I attempted to build my own kernel with those patches applied, but I ran into a problem. The first patch applied correctly, but the second patch failed with

Applying patch hyperx-alpha-s.patch...
patching file sound/usb/quirks.c
Hunk #1 FAILED at 1827.
1 out of 1 hunk FAILED -- saving rejects to file sound/usb/quirks.c.rej

Looking at quirks.c, it seems like the class that the second patch is attempting to add to doesn't exist in the file. How can I modify the .patch file to where it will add that entire class?

Offline

#11 2020-04-15 03:16:17

Pirotika
Member
Registered: 2020-03-18
Posts: 8

Re: USB headset microphone not detected in pavucontrol

After some fruitless attempts to create my own patch, I tried to install the mainline kernel from the AUR, as it looks like the quirk is in the release candidate version. However, nvidia-dkms was not able to be applied, so the graphical interface does not work.

==> dkms install nvidia/440.82 -k 5.7.0-rc1-1-mainline
Error! Bad return status for module build on kernel: 5.7.0-rc1-1-mainline (x86_64)
Consult /var/lib/dkms/nvidia/440.82/build/make.log for more information.

The log file mentioned by the error does not exist.

I did install linux-mainline-headers along with linux-mainline, so I don't think that's the problem. Do I need to install nvidia-beta instead?

Offline

#12 2020-04-15 06:59:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 11,272

Re: USB headset microphone not detected in pavucontrol

No, it's quite likely nvidia did not yet release a driver with 5.7 compatibility and the "beta" driver is currently basically the same thing as the repo package.

Offline

#13 2020-05-01 01:48:43

hamzarm
Member
Registered: 2020-05-01
Posts: 1

Re: USB headset microphone not detected in pavucontrol

Greetings sir, I have just bought the cloud alpha S and i am experiencing the same problem, i was wondering if you got it fixed. 
I updated to the Linux 5.6.8 but that didn't fix it,I also tried to apply the patch to the kernel myself, but that didnt work either do to problems that i am not an expert on.
I have an unrelated problem with 5.7 so I don't to bother trying to fix it if the microphone isn't working on 5.7, i am wondering if you were able to fix it. 
Thanks a lot!

Offline

#14 2020-10-30 22:26:25

snoopiethedogie
Member
Registered: 2020-10-29
Posts: 3

Re: USB headset microphone not detected in pavucontrol

Similar problem here, with hyperx cloud 2 headset, just wanted to chip in and say that the workaround for me was to remove pulseaudio and do some other stuff, all documented here: https://bbs.archlinux.org/viewtopic.php?id=260298

Offline

Board footer

Powered by FluxBB