Microfone USB não funciona no Ubuntu 21.10

Comprei um microfone USB e funciona normalmente no Windows até no meu celular Android usando cabo OTG, mas não funciona no Ubuntu, Fedora, nem mesmo no Debian.


Pavucontrol não mostra a barra de nível de entrada ( DRELANMIC Mono )

Esta é a saída gerada pela execução do comando journalctl -f quando conectei e desconectei o microfone USB do meu computador:

[email protected]:~$ journalctl -f
-- Journal begins at Wed 2022-02-16 21:02:04 -03. --
fev 18 06:52:38 ubuntu systemd[1]: apport.service: Deactivated successfully.
fev 18 06:52:38 ubuntu systemd[1]: Stopped LSB: automatic crash report generation.
fev 18 06:52:38 ubuntu systemd[1]: Starting LSB: automatic crash report generation...
fev 18 06:52:38 ubuntu apport[32508]:  * Starting automatic crash report generation: apport
fev 18 06:52:38 ubuntu systemd[916]: Starting Notification regarding a crash report...
fev 18 06:52:38 ubuntu apport[32508]:    ...done.
fev 18 06:52:38 ubuntu systemd[1]: Started LSB: automatic crash report generation.
fev 18 06:52:38 ubuntu update-notifier-crash[32518]: /usr/bin/whoopsie
fev 18 06:52:38 ubuntu systemd[916]: update-notifier-crash.service: Deactivated successfully.
fev 18 06:52:38 ubuntu systemd[916]: Finished Notification regarding a crash report.
fev 18 06:52:56 ubuntu pulseaudio[946]: Got POLLNVAL from ALSA
fev 18 06:52:56 ubuntu kernel: usb 1-1.1: USB disconnect, device number 3
fev 18 06:52:56 ubuntu acpid[654]: input device has been disconnected, fd 16
fev 18 06:52:56 ubuntu /usr/libexec/gdm-x-session[995]: (II) config/udev: removing device Solid State System Co.,Ltd. DRELANMIC
fev 18 06:52:56 ubuntu /usr/libexec/gdm-x-session[995]: (**) Option "fd" "47"
fev 18 06:52:56 ubuntu /usr/libexec/gdm-x-session[995]: (II) event2  - Solid State System Co.,Ltd. DRELANMIC: device removed
fev 18 06:52:56 ubuntu /usr/libexec/gdm-x-session[995]: (II) UnloadModule: "libinput"
fev 18 06:52:56 ubuntu /usr/libexec/gdm-x-session[995]: (II) systemd-logind: releasing fd for 13:66
fev 18 06:52:56 ubuntu pulseaudio[946]: Error opening PCM device hw:1: Arquivo ou diretório inexistente
fev 18 06:52:56 ubuntu gsd-media-keys[1371]: Unable to get default source
fev 18 06:53:03 ubuntu kernel: usb 1-1.1: new full-speed USB device number 5 using ehci-pci
fev 18 06:53:03 ubuntu kernel: usb 1-1.1: New USB device found, idVendor=0c76, idProduct=120c, bcdDevice= 1.00
fev 18 06:53:03 ubuntu kernel: usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
fev 18 06:53:03 ubuntu kernel: usb 1-1.1: Product: DRELANMIC
fev 18 06:53:03 ubuntu kernel: usb 1-1.1: Manufacturer: Solid State System Co.,Ltd.
fev 18 06:53:03 ubuntu kernel: usb 1-1.1: SerialNumber: 010000000000
fev 18 06:53:03 ubuntu kernel: usb 1-1.1: Warning! Unlikely big volume range (=496), cval->res is probably wrong.
fev 18 06:53:03 ubuntu kernel: usb 1-1.1: [50] FU [Mic Capture Volume] ch = 1, val = 0/7936/16
fev 18 06:53:03 ubuntu kernel: input: Solid State System Co.,Ltd. DRELANMIC as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.2/0003:0C76:120C.0006/input/input21
fev 18 06:53:03 ubuntu mtp-probe[34056]: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1"
fev 18 06:53:03 ubuntu mtp-probe[34056]: bus: 1, device: 5 was not an MTP device
fev 18 06:53:03 ubuntu kernel: hid-generic 0003:0C76:120C.0006: input,hidraw0: USB HID v1.00 Device [Solid State System Co.,Ltd. DRELANMIC] on usb-0000:00:1a.0-1.1/input2
fev 18 06:53:03 ubuntu systemd[916]: Reached target Sound Card.
fev 18 06:53:03 ubuntu /usr/libexec/gdm-x-session[995]: (II) config/udev: Adding input device Solid State System Co.,Ltd. DRELANMIC (/dev/input/event2)
fev 18 06:53:03 ubuntu /usr/libexec/gdm-x-session[995]: (**) Solid State System Co.,Ltd. DRELANMIC: Applying InputClass "libinput keyboard catchall"
fev 18 06:53:03 ubuntu /usr/libexec/gdm-x-session[995]: (II) Using input driver 'libinput' for 'Solid State System Co.,Ltd. DRELANMIC'
fev 18 06:53:04 ubuntu /usr/libexec/gdm-x-session[995]: (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 69 paused 0
fev 18 06:53:04 ubuntu /usr/libexec/gdm-x-session[995]: (**) Solid State System Co.,Ltd. DRELANMIC: always reports core events
fev 18 06:53:04 ubuntu /usr/libexec/gdm-x-session[995]: (**) Option "Device" "/dev/input/event2"
fev 18 06:53:04 ubuntu /usr/libexec/gdm-x-session[995]: (**) Option "_source" "server/udev"
fev 18 06:53:04 ubuntu /usr/libexec/gdm-x-session[995]: (II) event2  - Solid State System Co.,Ltd. DRELANMIC: is tagged by udev as: Keyboard
fev 18 06:53:04 ubuntu /usr/libexec/gdm-x-session[995]: (II) event2  - Solid State System Co.,Ltd. DRELANMIC: device is a keyboard
fev 18 06:53:04 ubuntu /usr/libexec/gdm-x-session[995]: (II) event2  - Solid State System Co.,Ltd. DRELANMIC: device removed
fev 18 06:53:04 ubuntu /usr/libexec/gdm-x-session[995]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.2/0003:0C76:120C.0006/input/input21/event2"
fev 18 06:53:04 ubuntu /usr/libexec/gdm-x-session[995]: (II) XINPUT: Adding extended input device "Solid State System Co.,Ltd. DRELANMIC" (type: KEYBOARD, id 8)
fev 18 06:53:04 ubuntu /usr/libexec/gdm-x-session[995]: (**) Option "xkb_model" "pc105"
fev 18 06:53:04 ubuntu /usr/libexec/gdm-x-session[995]: (**) Option "xkb_layout" "br"
fev 18 06:53:04 ubuntu /usr/libexec/gdm-x-session[995]: (WW) Option "xkb_variant" requires a string value
fev 18 06:53:04 ubuntu /usr/libexec/gdm-x-session[995]: (WW) Option "xkb_options" requires a string value
fev 18 06:53:04 ubuntu /usr/libexec/gdm-x-session[995]: (II) event2  - Solid State System Co.,Ltd. DRELANMIC: is tagged by udev as: Keyboard
fev 18 06:53:04 ubuntu /usr/libexec/gdm-x-session[995]: (II) event2  - Solid State System Co.,Ltd. DRELANMIC: device is a keyboard
fev 18 06:53:04 ubuntu mtp-probe[34074]: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1"
fev 18 06:53:04 ubuntu mtp-probe[34074]: bus: 1, device: 5 was not an MTP device
fev 18 06:53:04 ubuntu rtkit-daemon[972]: Supervising 9 threads of 4 processes of 1 users.
fev 18 06:53:04 ubuntu rtkit-daemon[972]: Successfully made thread 34077 of process 946 owned by '1000' RT at priority 5.
fev 18 06:53:04 ubuntu rtkit-daemon[972]: Supervising 10 threads of 4 processes of 1 users.
fev 18 06:53:04 ubuntu kernel: usb 1-1.1: cannot submit urb 0, error -28: not enough bandwidth
^[  fev 18 06:53:05 ubuntu gnome-shell[1252]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
fev 18 06:53:05 ubuntu gnome-shell[1252]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
fev 18 06:53:05 ubuntu gnome-shell[1252]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
fev 18 06:53:05 ubuntu gnome-shell[1252]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
fev 18 06:53:05 ubuntu gnome-shell[1252]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
fev 18 06:53:05 ubuntu gnome-shell[1252]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
fev 18 06:53:05 ubuntu gnome-shell[1252]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
fev 18 06:53:05 ubuntu gnome-shell[1252]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
fev 18 06:53:05 ubuntu gnome-shell[1252]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
fev 18 06:53:16 ubuntu systemd[1]: Reloading.
fev 18 06:53:17 ubuntu systemd[1]: Reloading.
fev 18 06:53:17 ubuntu systemd[1]: uuidd.socket: Deactivated successfully.
fev 18 06:53:17 ubuntu systemd[1]: Closed UUID daemon activation socket.
fev 18 06:53:17 ubuntu systemd[1]: Stopping UUID daemon activation socket.
fev 18 06:53:17 ubuntu systemd[1]: Listening on UUID daemon activation socket.
^C

Parece que o Ubuntu pensa que meu microfone USB é um teclado.

Beleza?
Na aba de dispositivo de entrada no pavucontrol você precisa mudar o seletor de dispositivo ativo como o microfone externo.
Na sua imagem está selecionado para o microfone interno e ele ainda está com volume baixo quase mute.
Em caso de gravação mesmo que o vu meter do mic indique que esta chegando áudio ele não vai capturar porque ele esta tentando gravar do audio interno que esta selecionado.

Opa, beleza!

Desculpe, eu estava com outros dispositivos conectados, aquele Rear Microphone é do meu headset, eu deixo baixo a captação de áudio dele mesmo.

Veja a foto abaixo, agora tenho conectado apenas meu microfone USB, perceba que nem a barra de nível de entrada é exibida. E se for ver no comando journalctl -f, ele exibe alguns erros quando eu conecto o microfone e seleciono ele como dispositivo de entrada nas configurações de som do Ubuntu.

Se for ver na segunda imagem das configurações de som do Ubuntu, ele tem uma barra de entrada, mas aquele resultado vermelho é do outro microfone, se eu selecionar o DRELANMIC ele fique com o resultado da última captação de áudio e não capta mais nenhum áudio, mesmo se eu tirar a espuma do microfone e soprar, nada é captado. :frowning:

Obrigado por me responder! Estou tentando resolver isso já tem alguns dias!

Qual a saída dos comandos?

lsusb

E

lsusb -t

Esta é a saída ( o microfone é o Bus 001 Device 005: ID 0c76:120c JMTek, LLC. DRELANMIC
):

[email protected]:~$ lsusb
Bus 002 Device 006: ID 046d:c092 Logitech, Inc. G203 LIGHTSYNC Gaming Mouse
Bus 002 Device 004: ID 1b3f:1167 Generalplus Technology Inc. WEB CAM
Bus 002 Device 003: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 258a:002a SINO WEALTH Gaming KB 
Bus 001 Device 005: ID 0c76:120c JMTek, LLC. DRELANMIC
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[email protected]:~$ lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
        |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=rt2800usb, 480M
        |__ Port 5: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M
        |__ Port 5: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
        |__ Port 5: Dev 4, If 2, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 5: Dev 4, If 3, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 6: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 6: Dev 6, If 1, Class=Human Interface Device, Driver=usbhid, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 5, If 0, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 1: Dev 5, If 1, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 1: Dev 5, If 2, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 2: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 2: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M
[email protected]:~$ 

Qual a saida do comando?

inxi -Faz

Este é o resutado do comando inxi -Faz:

[email protected]:~$ inxi -Faz
System:    Kernel: 5.13.0-28-generic x86_64 bits: 64 compiler: gcc v: 11.2.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.13.0-28-generic root=UUID=c0ee204d-10b5-47eb-a1e4-82200bdf7cea ro quiet 
           splash vt.handoff=7 
           Desktop: GNOME 40.5 tk: GTK 3.24.30 wm: gnome-shell dm: GDM3 41.rc Distro: Ubuntu 21.10 (Impish Indri) 
Machine:   Type: Desktop System: Gigabyte product: N/A v: N/A serial: <filter> Chassis: type: 3 serial: <filter> 
           Mobo: Gigabyte model: H61M-S1 serial: <filter> UEFI: American Megatrends v: 10b date: 02/25/2014 
CPU:       Info: Quad Core model: Intel Core i5-2400 bits: 64 type: MCP arch: Sandy Bridge family: 6 model-id: 2A (42) 
           stepping: 7 microcode: 2F cache: L2: 6 MiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 24744 
           Speed: 1604 MHz min/max: 1600/3400 MHz Core speeds (MHz): 1: 1604 2: 2935 3: 2839 4: 2635 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
           Type: mds mitigation: Clear CPU buffers; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: disabled, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: NVIDIA GK208B [GeForce GT 710] vendor: Micro-Star MSI driver: nvidia v: 470.103.01 
           alternate: nvidiafb,nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:128b class-ID: 0300 
           Device-2: Generalplus WEB CAM type: USB driver: snd-usb-audio,uvcvideo bus-ID: 2-1.5:4 chip-ID: 1b3f:1167 
           class-ID: 0102 
           Display: x11 server: X.Org 1.20.13 compositor: gnome-shell driver: loaded: nvidia 
           unloaded: fbdev,modesetting,nouveau,vesa display-ID: :0 screens: 1 
           Screen-1: 0 s-res: 1366x768 s-dpi: 84 s-size: 413x232mm (16.3x9.1") s-diag: 474mm (18.6") 
           Monitor-1: VGA-0 res: 1366x768 hz: 60 dpi: 85 size: 410x230mm (16.1x9.1") diag: 470mm (18.5") 
           OpenGL: renderer: NVIDIA GeForce GT 710/PCIe/SSE2 v: 4.6.0 NVIDIA 470.103.01 direct render: Yes 
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: Gigabyte driver: snd_hda_intel v: kernel 
           bus-ID: 00:1b.0 chip-ID: 8086:1c20 class-ID: 0403 
           Device-2: NVIDIA GK208 HDMI/DP Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 01:00.1 
           chip-ID: 10de:0e0f class-ID: 0403 
           Device-3: JMTek LLC. DRELANMIC type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-1.1:5 
           chip-ID: 0c76:120c class-ID: 0300 serial: <filter> 
           Device-4: Generalplus WEB CAM type: USB driver: snd-usb-audio,uvcvideo bus-ID: 2-1.5:4 chip-ID: 1b3f:1167 
           class-ID: 0102 
           Sound Server-1: ALSA v: k5.13.0-28-generic running: yes 
           Sound Server-2: PulseAudio v: 15.0 running: yes 
           Sound Server-3: PipeWire v: 0.3.32 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 v: kernel port: d000 bus-ID: 03:00.0 
           chip-ID: 10ec:8168 class-ID: 0200 
           IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
           Device-2: Ralink RT5370 Wireless Adapter type: USB driver: rt2800usb bus-ID: 2-1.1:3 chip-ID: 148f:5370 
           class-ID: 0000 serial: <filter> 
           IF: wlx00c1410903c8 state: down mac: <filter> 
Drives:    Local Storage: total: 931.51 GiB used: 18.29 GiB (2.0%) 
           SMART Message: Required tool smartctl not installed. Check --recommends 
           ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: HD103SJ size: 931.51 GiB block-size: physical: 512 B 
           logical: 512 B speed: <unknown> type: HDD rpm: 7200 serial: <filter> rev: 0001 scheme: GPT 
Partition: ID-1: / raw-size: 931.01 GiB size: 915.32 GiB (98.31%) used: 18.28 GiB (2.0%) fs: ext4 dev: /dev/sda3 maj-min: 8:3 
           ID-2: /boot/efi raw-size: 513 MiB size: 512 MiB (99.80%) used: 5.2 MiB (1.0%) fs: vfat dev: /dev/sda2 maj-min: 8:2 
Swap:      Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
           ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile 
Sensors:   System Temperatures: cpu: 56.0 C mobo: 27.8 C gpu: nvidia temp: 58 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 50% 
Info:      Processes: 246 Uptime: 36m wakeups: 0 Memory: 7.72 GiB used: 2.68 GiB (34.7%) Init: systemd v: 248 runlevel: 5 
           tool: systemctl Compilers: gcc: 11.2.0 alt: 11 Packages: 1939 apt: 1930 lib: 982 snap: 9 Shell: Bash v: 5.1.8 
           running-in: gnome-terminal inxi: 3.3.06 
[email protected]:~$ 

Sound Server-1: ALSA v: k5.13.0-28-generic running: yes 
           Sound Server-2: PulseAudio v: 15.0 running: yes 
           Sound Server-3: PipeWire v: 0.3.32 running: yes

O Pipewire pode estar tentando controlar os dispositivos de áudio do PulseAudio, mas o Pipewire não pode funcionar a menos que todos os pacotes do PulseAudio sejam substituídos por dependências do Pipewire

Você pode desabilitar o soquete e o serviço pipewire systemd para continuar usando o PulseAudio

systemctl --user mask --now pipewire.socket && systemctl --user stop pipewire.service

Obs:

Ou usa pipewire ou pulseaudio, não os dois ao mesmo tempo

Pode tentar desinstalar um

Não sei o nome no ubuntu

Ex

sudo apt remove pulseaudio

Desativei o Pulseaudio e mantive o PipeWire, também fiz o contrário, tanto no Ubuntu quanto no Fedora, infelizmente não funcionou. Parece que esse microfone não foi feito para funcionar no Linux. :confused:

Você viu se no alsamixer está mudo?

Sim, verifiquei bem o alsamixer também. Mutei e desmutei mas nada não capta o áudio.

https://wiki.archlinux.org/title/PulseAudio/Troubleshooting#Microphone

https://wiki.archlinux.org/title/PipeWire#Troubleshooting

Dei o microfone para o meu irmão que usa Windows.

1 curtida

Este tópico foi fechado automaticamente 3 dias depois da última resposta. Novas respostas não são mais permitidas.