ubuntuusers.de

Headset-Mikrofon wird nicht erkannt

Status: Ungelöst | Ubuntu-Version: Ubuntu 20.04 (Focal Fossa)
Antworten |

Seralor

Anmeldungsdatum:
27. April 2020

Beiträge: Zähle...

Hallo allerseits, Ich habe das Problem, das mein Headset-Mikrofon unter Ubuntu 20.04 (und auch unter vorherigen Versionen) nicht funktioniert.

Bei dem Rechner handelt es sich um ein HP Pavilion 14-bf114ng (Laptop) mit einem einzelnen, kombinierten Klinkenanschluss. Beim verbauten Soundkarten-Chip handelt es sich um einen Realtek ALC295. Das Headset ist über einen Adapter angeschlossen, welcher die Kopfhörer und die Mikrofonklinke zu einem Anschluss zusammenführt.

Unter Windows funktioniert alles problemfrei, also lässt sich ein Defekt der Hardware (sowohl von Laptop als auch Headset) vermutlich ausschließen. Wenn ich den Klinkenadapter am Laptop einstecke bekomme ich über alsactl monitor folgende Ausgabe:

1
2
3
4
5
6
node hw:0, #14 (0,0,0,Headphone Jack,0) VALUE
node hw:0, #3 (2,0,0,Speaker Playback Volume,0) VALUE
node hw:0, #1 (2,0,0,Headphone Playback Volume,0) VALUE
node hw:0, #10 (2,0,0,Master Playback Volume,0) VALUE
node hw:0, #11 (2,0,0,Master Playback Switch,0) VALUE
node hw:0, #2 (2,0,0,Headphone Playback Switch,0) VALUE

Habe auch schon mit hdajackretask herumexperimentiert, bekomme da aber nach jedem mal, wenn ich auf apply drücke die Meldung:

1
"tee: /sys/class/sound/hwC0D0/reconfig: Das Gerät oder die Resource ist belegt"

Im Terminal ist dann, je nach getesteter Einstellung, folgende Ausgabe zu sehen:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
E: [pulseaudio] main.c: Hintergrundprozess konnte nicht abgebrochen werden: Kein passender Prozess gefunden
0x12 0xb7a60130
0x13 0x40000000
0x14 0x90170110
0x16 0x411111f0
0x17 0x411111f0
0x18 0x411111f0
0x19 0x90a60160
0x1a 0x411111f0
0x1b 0x411111f0
0x1d 0x40600001
0x1e 0x411111f0
0x21 0x04211020
1

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Oh oh,nicht gut! Zeige bitte

pactl info

dmesg | egrep -i "alsa|snd|hdmi" 

Seralor

(Themenstarter)

Anmeldungsdatum:
27. April 2020

Beiträge: 8

pactl info:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
Server-Zeichenkette: /run/user/1000/pulse/native
Bibliotheks-Protokollversion: 33
Server-Protokollversion: 33
ist lokal: ja
Client-Index: 10
Tile-Größe: 65472
Name des Benutzers: philippe
Rechnername: hplaptop
Name des Servers: pulseaudio
Version des Servers: 13.99.1
Standard-Abtastwert-Angabe: s16le 2ch 44100Hz
Standard-Kanal-Zuordnung: front-left,front-right
Standard-Ziel: alsa_output.pci-0000_00_1f.3.analog-stereo
Standard-Quelle: alsa_input.pci-0000_00_1f.3.analog-stereo
Cookie: 8107:1e33

dmesg | egrep -i "alsa|snd|hdmi":

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
[    0.209448] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    3.698981] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    3.713398] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.747181] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC295: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    3.747183] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.747185] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    3.747186] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    3.747187] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    3.747189] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x19
[    3.747190] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Da ist keine Firmware geladen von hdajackretask ☺ Davon ab sieht es bis jetzt gut aus – nur das das Einstecken des Mic nicht erkannt wird.

Zeige noch mal wenn der Klinkerstecker schon im Laptop steckt

alsactl monitor

wenn du nur das MIC ein und aus steckst.

Seralor

(Themenstarter)

Anmeldungsdatum:
27. April 2020

Beiträge: 8

Kellerkind_2009 schrieb:

Da ist keine Firmware geladen von hdajackretask ☺ Davon ab sieht es bis jetzt gut aus – nur das das Einstecken des Mic nicht erkannt wird.

Zeige noch mal wenn der Klinkerstecker schon im Laptop steckt

alsactl monitor

wenn du nur das MIC ein und aus steckst.

Headset hängt über einen Adapter am Laptop, wenn ich den Mikrofonstecker vom Adapter trenne oder wieder einstecke, dann gibt es keine Ausgabe über alsactl monitor

Edit: Wenn ich nur das Mikro direkt am Laptop einstecke, kommt folgendes:

1
2
3
4
5
6
7
8
node hw:0, #14 (0,0,0,Headphone Jack,0) VALUE
node hw:0, #3 (2,0,0,Speaker Playback Volume,0) VALUE
node hw:0, #1 (2,0,0,Headphone Playback Volume,0) VALUE
node hw:0, #1 (2,0,0,Headphone Playback Volume,0) VALUE
node hw:0, #10 (2,0,0,Master Playback Volume,0) VALUE
node hw:0, #11 (2,0,0,Master Playback Switch,0) VALUE
node hw:0, #2 (2,0,0,Headphone Playback Switch,0) VALUE
node hw:0, #2 (2,0,0,Headphone Playback Switch,0) VALUE

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Genau das hab ich mir gedacht – und zeigt auch

node hw:0, #14 (0,0,0,Headphone Jack,0) VALUE
node hw:0, #3 (2,0,0,Speaker Playback Volume,0) VALUE
node hw:0, #1 (2,0,0,Headphone Playback Volume,0) VALUE
node hw:0, #10 (2,0,0,Master Playback Volume,0) VALUE
node hw:0, #11 (2,0,0,Master Playback Switch,0) VALUE
node hw:0, #2 (2,0,0,Headphone Playback Switch,0) VALUE

Stecke das MIC wieder an und zeige

ls /proc/asound/card*/codec* | xargs grep "\[\(Jack\|Fixed\|Both\)"

sudo hdajacksensetest

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Nur das Mic in die Buchse Funktioniert bei Kombisteckern nicht.

Seralor

(Themenstarter)

Anmeldungsdatum:
27. April 2020

Beiträge: 8

1
2
3
4
Pin Default 0xb7a60130: [Fixed] Mic at Oth Mobile-In
  Pin Default 0x90170110: [Fixed] Speaker at Int N/A
  Pin Default 0x04a11040: [Jack] Mic at Ext Right
  Pin Default 0x04211020: [Jack] HP Out at Ext Right

hdajacksensetest wird nicht gefunden auf meinem Rechner

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Dachte das hattest du schon ☺

sudo apt-get install alsa-tools

dann zeigen

sudo hdajacksensetest

Seralor

(Themenstarter)

Anmeldungsdatum:
27. April 2020

Beiträge: 8

Wenn das Headset über den Adapter angesteckt wird, kommt folgendes:

1
2
Pin 0x19 (Black Mic, Right side): present = No
Pin 0x21 (Black Headphone, Right side): present = Yes

Die selbe Ausgabe kommt auch, wenn ich nur die Kopfhörer-Klinke, oder auch nur die Mikrofonklinke einzeln eingesteckt habe

Edit:

Habe gerade gemerkt, dass mein Mikro nun plötzlich doch erkannt wird und funktioniert, bekomme nun folgende Ausgabe:

1
2
Pin 0x19 (Black Mic, Right side): present = Yes
Pin 0x21 (Black Headphone, Right side): present = Yes

Habe daraufhin in OBS Studio das Mikrofon getestet, ob es korrekt funktioniert. Es klappt soweit alles ganz gut, nur hat mein Headset noch einen Schalter, mit dem ich das Mikrofon stummschalten / abschalten kann, was eigentlich recht nützlich ist. Allerdings rauscht es abartig, wenn ich dies mache und das erneute aktivieren des Mikrofons benötigt ca 2-3 Sekunden, bis man wieder hört was ich spreche.

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Na wenigstens Funktioniert es nun mal.Es gibt zwei mögliche Optionen für dein Soundchip.Mal sehen ob es damit besser oder schlechter wird.

Kopiere das hier ins Terminal

echo -e "options snd-hda-codec-realtek model=alc295-disable-dac3" | sudo tee -a /etc/modprobe.d/alsa.conf

und starte danach mal Neu.Teste das Mic.Wenn es schlechter ist löscht du die Datei wieder

sudo rm /etc/modprobe.d/alsa.conf

Danach dann ebenfalls ein Neustart.

schoenwetter

Anmeldungsdatum:
5. April 2021

Beiträge: Zähle...

Hi, und frohe Ostertage. Ich habe ein ähnliches Problem: Headset wird beim einstecken erkannt, Mikro geht aber trotzdem nicht(es wird weiterhin das interne Mic angenommen)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
ich:~$ pactl info
Server-Zeichenkette: /run/user/1000/pulse/native
Bibliotheks-Protokollversion: 33
Server-Protokollversion: 33
ist lokal: ja
Client-Index: 28
Tile-Größe: 65472
Name des Benutzers: ich
Rechnername: dirk-Aspire-ES1-572
Name des Servers: pulseaudio
Version des Servers: 13.99.1
Standard-Abtastwert-Angabe: s16le 2ch 44100Hz
Standard-Kanal-Zuordnung: front-left,front-right
Standard-Ziel: alsa_output.pci-0000_00_1f.3.analog-stereo
Standard-Quelle: alsa_input.pci-0000_00_1f.3.analog-stereo
Cookie: cf2e:3f9e
ich:~$ dmesg | egrep -i "alsa|snd|hdmi" 
[    4.576609] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    4.617292] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC233: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    4.617296] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.617298] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    4.617300] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    4.617302] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    4.617305] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x1b
[    4.679141] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input11
[    4.679207] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input12
[    4.679275] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input13
[    4.679343] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input14
[    4.679415] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input15
ich:~$ alsactl monitor
node hw:0, #17 (0,0,0,Headphone Jack,0) VALUE
node hw:0, #4 (2,0,0,Speaker Playback Switch,0) VALUE
node hw:0, #3 (2,0,0,Speaker Playback Volume,0) VALUE
node hw:0, #2 (2,0,0,Headphone Playback Switch,0) VALUE
node hw:0, #2 (2,0,0,Headphone Playback Switch,0) VALUE
node hw:0, #1 (2,0,0,Headphone Playback Volume,0) VALUE
node hw:0, #1 (2,0,0,Headphone Playback Volume,0) VALUE
node hw:0, #14 (2,0,0,Master Playback Volume,0) VALUE

node hw:0, #17 (0,0,0,Headphone Jack,0) VALUE
node hw:0, #2 (2,0,0,Headphone Playback Switch,0) VALUE
node hw:0, #2 (2,0,0,Headphone Playback Switch,0) VALUE
node hw:0, #1 (2,0,0,Headphone Playback Volume,0) VALUE
node hw:0, #1 (2,0,0,Headphone Playback Volume,0) VALUE
node hw:0, #4 (2,0,0,Speaker Playback Switch,0) VALUE
node hw:0, #4 (2,0,0,Speaker Playback Switch,0) VALUE
node hw:0, #3 (2,0,0,Speaker Playback Volume,0) VALUE
node hw:0, #3 (2,0,0,Speaker Playback Volume,0) VALUE
node hw:0, #14 (2,0,0,Master Playback Volume,0) VALUE
^Cich:~$ ls /proc/asound/card*/codec* | xargs grep "\[\(Jack\|Fixed\|Both\)"
/proc/asound/card0/codec#0:  Pin Default 0x90170110: [Fixed] Speaker at Int N/A
/proc/asound/card0/codec#0:  Pin Default 0x90a70120: [Fixed] Mic at Int N/A
/proc/asound/card0/codec#0:  Pin Default 0x0321101f: [Jack] HP Out at Ext Left
/proc/asound/card0/codec#2:  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
/proc/asound/card0/codec#2:  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
/proc/asound/card0/codec#2:  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
ich:~$ sudo hdajacksensetest
einegsteckt
Pin 0x21 (Black Headphone, Left side): present = Yes
ich:~$ sudo hdajacksensetest
ausgesteckt
Pin 0x21 (Black Headphone, Left side): present = No

Kann mir jemand auf die Sprünge helfen?

marant...

Anmeldungsdatum:
2. Februar 2021

Beiträge: 645

Servus, mache erstmal dazu ein eigenes Thema auf.

Antworten |