Bug#990683: Audio from USB Headset not working

Bruno Cuesta brunomcuesta at hotmail.com
Sun Jul 4 18:55:26 BST 2021


Package: Pulseaudio
Version: 12.2

When I connect my USB Headset I don't hear audio. When I remove the USB cable from the Headset the audio is routed to the Laptop speaker.

My headset is recognized as:
ID 1b3f:2008 Generalplus Technology Inc.

The headset microphone works as people can hear me. The problem is with the audio routing to the Headset when I connect it.
The system does not emit the volume sound when using the fn+F3 and fn+F4 hotkeys. But it does when I use the volume icon.
I checked the settings in alsamixer and there is nothing muted.

Informations:

bruno at debian:~$ lsusb
Bus 002 Device 005: ID 1b3f:2008 Generalplus Technology Inc.
Bus 002 Device 003: ID 0458:0186 KYE Systems Corp. (Mouse Systems)
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 064e:a213 Suyin Corp.
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

bruno at debian:~$ pactl list short sinks
0 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
2 alsa_output.usb-GeneralPlus_USB_Audio_Device-00.analog-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED

bruno at debian:~$ cat /proc/asound/cards
 0 [MID            ]: HDA-Intel - HDA Intel MID
                      HDA Intel MID at 0xf6000000 irq 28
 1 [Device         ]: USB-Audio - USB Audio Device
                      GeneralPlus USB Audio Device at usb-0000:00:1d.0-1.5, full speed

bruno at debian:~$ sudo dmesg | grep General
[  584.514861] usb 2-1.5: Manufacturer: GeneralPlus
[  584.516507] input: GeneralPlus USB Audio Device as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.3/0003:1B3F:2008.0002/input/input15
[  584.575814] hid-generic 0003:1B3F:2008.0002: input,hidraw1: USB HID v2.01 Device [GeneralPlus USB Audio Device] on usb-0000:00:1d.0-1.5/input3
[  974.656859] usb 2-1.5: Manufacturer: GeneralPlus
[  974.680652] input: GeneralPlus USB Audio Device as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.3/0003:1B3F:2008.0003/input/input16
[  974.738008] hid-generic 0003:1B3F:2008.0003: input,hidraw1: USB HID v2.01 Device [GeneralPlus USB Audio Device] on usb-0000:00:1d.0-1.5/input3

bruno at debian:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: ALC269 Analog [ALC269 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

bruno at debian:~$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: ALC269 Analog [ALC269 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

bruno at debian:~$ pacmd list-cards
2 card(s) available.
    index: 0
name: <alsa_card.pci-0000_00_1b.0>
driver: <module-alsa-card.c>
owner module: 6
properties:
alsa.card = "0"
alsa.card_name = "HDA Intel MID"
alsa.long_card_name = "HDA Intel MID at 0xf6000000 irq 28"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "3b56"
device.product.name = "5 Series/3400 Series Chipset High Definition Audio"
device.form_factor = "internal"
device.string = "0"
device.description = "Áudio interno"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
input:analog-stereo: Entrada de Estéreo analógico (priority 65, available: unknown)
output:analog-stereo: Saída de Estéreo analógico (priority 6500, available: unknown)
output:analog-stereo+input:analog-stereo: Duplex estéreo analógico (priority 6565, available: unknown)
output:hdmi-stereo: Saída de Digital Stereo (HDMI) (priority 5900, available: no)
output:hdmi-stereo+input:analog-stereo: Saída de Digital Stereo (HDMI) + Entrada de Estéreo analógico (priority 5965, available: unknown)
output:hdmi-surround: Saída de Digital Surround 5.1 (HDMI) (priority 800, available: no)
output:hdmi-surround+input:analog-stereo: Saída de Digital Surround 5.1 (HDMI) + Entrada de Estéreo analógico (priority 865, available: unknown)
output:hdmi-surround71: Saída de Digital Surround 7.1 (HDMI) (priority 800, available: no)
output:hdmi-surround71+input:analog-stereo: Saída de Digital Surround 7.1 (HDMI) + Entrada de Estéreo analógico (priority 865, available: unknown)
off: Desligado (priority 0, available: unknown)
active profile: <output:analog-stereo+input:analog-stereo>
sinks:
alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Áudio interno Estéreo analógico
sources:
alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Áudio interno Estéreo analógico
alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Áudio interno Estéreo analógico
ports:
analog-input-internal-mic: Microfone interno (priority 8900, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-input-microphone"
analog-input-mic: Microfone (priority 8700, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
analog-output-speaker: Alto-falantes (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-speakers"
analog-output-headphones: Fones de ouvidos (priority 9000, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
index: 2
name: <alsa_card.usb-GeneralPlus_USB_Audio_Device-00>
driver: <module-alsa-card.c>
owner module: 25
properties:
alsa.card = "1"
alsa.card_name = "USB Audio Device"
alsa.long_card_name = "GeneralPlus USB Audio Device at usb-0000:00:1d.0-1.5, full speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "pci-0000:00:1d.0-usb-0:1.5:1.0"
sysfs.path = "/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/sound/card1"
udev.id = "usb-GeneralPlus_USB_Audio_Device-00"
device.bus = "usb"
device.vendor.id = "1b3f"
device.vendor.name = "Generalplus Technology Inc."
device.product.id = "2008"
device.product.name = "USB Audio Device"
device.serial = "GeneralPlus_USB_Audio_Device"
device.string = "1"
device.description = "USB Audio Device"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-usb"
profiles:
input:analog-mono: Entrada de Monofônico analógico (priority 7, available: unknown)
output:analog-stereo: Saída de Estéreo analógico (priority 6500, available: unknown)
output:analog-stereo+input:analog-mono: Saída de Estéreo analógico + Entrada de Monofônico analógico (priority 6507, available: unknown)
output:iec958-stereo: Saída de Estéreo digital (IEC958) (priority 5500, available: unknown)
output:iec958-stereo+input:analog-mono: Saída de Estéreo digital (IEC958) + Entrada de Monofônico analógico (priority 5507, available: unknown)
output:iec958-ac3-surround-51: Saída de Surround digital 5.1 (IEC958/AC3) (priority 300, available: unknown)
output:iec958-ac3-surround-51+input:analog-mono: Saída de Surround digital 5.1 (IEC958/AC3) + Entrada de Monofônico analógico (priority 307, available: unknown)
off: Desligado (priority 0, available: unknown)
active profile: <output:analog-stereo+input:analog-mono>
sinks:
alsa_output.usb-GeneralPlus_USB_Audio_Device-00.analog-stereo/#2: USB Audio Device Estéreo analógico
sources:
alsa_output.usb-GeneralPlus_USB_Audio_Device-00.analog-stereo.monitor/#4: Monitor of USB Audio Device Estéreo analógico
alsa_input.usb-GeneralPlus_USB_Audio_Device-00.analog-mono/#5: USB Audio Device Monofônico analógico
ports:
analog-input-mic: Microfone (priority 8700, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-input-microphone"
analog-output-speaker: Alto-falantes (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-speakers"
iec958-stereo-output: Saída digital (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
properties:

bruno at debian:~$ systemctl --user status pulseaudio.*
● pulseaudio.service - Sound Service
   Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2021-07-04 12:22:33 -03; 31min ago
 Main PID: 1211 (pulseaudio)
   CGroup: /user.slice/user-1000.slice/user at 1000.service/pulseaudio.service
           ├─1211 /usr/bin/pulseaudio --daemonize=no
           └─1224 /usr/lib/x86_64-linux-gnu/pulse/gsettings-helper

● pulseaudio.socket - Sound System
   Loaded: loaded (/usr/lib/systemd/user/pulseaudio.socket; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2021-07-04 12:22:33 -03; 31min ago
   Listen: /run/user/1000/pulse/native (Stream)
   CGroup: /user.slice/user-1000.slice/user at 1000.service/pulseaudio.socket

bruno at debian:~$ sudo fuser -v /dev/snd/*
                     USUÁRIO     PID ACESSO COMANDO
/dev/snd/controlC0:  root        614 f.... alsactl
                     bruno      1211 F.... pulseaudio
/dev/snd/controlC1:  bruno      1211 F.... pulseaudio

bruno at debian:~$ pulseaudio -v
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 12.2
I: [pulseaudio] main.c: Page size is 4096 bytes
I: [pulseaudio] main.c: Machine ID is 177d64e43d7843bf995c21237063e1e8.
I: [pulseaudio] main.c: Session ID is 2.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/bruno/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-12.2/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() fail.

bruno at debian:~$ sudo cat /var/log/syslog | grep pulse
Jul  4 13:39:06 debian dbus-daemon[617]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.39' (uid=117 pid=927 comm="/usr/bin/pulseaudio --daemonize=no ")
Jul  4 13:39:15 debian pulseaudio[1089]: W: [pulseaudio] authkey.c: Failed to open cookie file '/home/bruno/.config/pulse/cookie': No such file or directory
Jul  4 13:39:15 debian pulseaudio[1089]: W: [pulseaudio] authkey.c: Failed to load authentication key '/home/bruno/.config/pulse/cookie': No such file or directory
Jul  4 13:39:15 debian pulseaudio[1089]: W: [pulseaudio] authkey.c: Failed to open cookie file '/home/bruno/.pulse-cookie': No such file or directory
Jul  4 13:39:15 debian pulseaudio[1089]: W: [pulseaudio] authkey.c: Failed to load authentication key '/home/bruno/.pulse-cookie': No such file or directory
Jul  4 13:39:38 debian systemd[734]: pulseaudio.service: Succeeded.
Jul  4 13:39:38 debian systemd[734]: pulseaudio.socket: Succeeded.
Jul  4 13:40:38 debian pulseaudio[1089]: W: [alsa-sink-USB Audio] alsa-util.c: Got POLLNVAL from ALSA
Jul  4 13:40:38 debian pulseaudio[1089]: W: [alsa-sink-USB Audio] alsa-util.c: Could not recover from POLLERR|POLLNVAL|POLLHUP with snd_pcm_prepare(): No such device

bruno at debian:~$ ls .config/pulse/
177d64e43d7843bf995c21237063e1e8-card-database.tdb  177d64e43d7843bf995c21237063e1e8-device-volumes.tdb
177d64e43d7843bf995c21237063e1e8-default-sink       177d64e43d7843bf995c21237063e1e8-stream-volumes.tdb
177d64e43d7843bf995c21237063e1e8-default-source     cookie

bruno at debian:~$ uname -a
Linux debian 4.19.0-17-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_64 GNU/Linux

bruno at debian:~$ id
uid=1000(bruno) gid=1000(bruno) grupos=1000(bruno),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),109(netdev),112(bluetooth),117(lpadmin),118(scanner),126(vboxusers)

Laptop: Sony Vaio VPCEA23FB

Procedures tried:
- Delete the contents of ~./config/pulse folder and restart the machine.
- Kill the Pulseaudio process with pulseaudio -k and then start it with pulseaudio --- start.
- Check the Pulseaudio configuration in pavucontrol.
- Check if there was something mutated in the alsamixer.
- Uninstall and reinstall Pulseaudio.

Expected behavior:
- When plugging the USB Headset, the audio must be interrupted in the Laptop speaker and directed to the Headset.
- When using the fn+F3 and fn+F4 hotkeys to decrease and increase the volume there should be the same system sound that is emitted when controlling the volume by the volume icon.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pulseaudio-devel/attachments/20210704/dda22624/attachment-0001.htm>


More information about the pkg-pulseaudio-devel mailing list