Mic on a 3.5mm combo headset not working

Hello and apologies in advance if i am misusing the forum.
I am dual booting Garuda Linux on an 27 inch imac late 2011 and i'm having a blast...that being said, the only issue i am having is that my headset microphone is not working. I have searched the web for a solution, but i was unable to find one.
Let me clarify that the imac has a combo 3.5mm jack slot and that i am a new linux user in general, so any help would be much appreciated.
Thank you for your time in advance..

Try (right) click on Speaker icon , volume control.

Read

please
and post

inxi -Fxxxza

as text!
and
:slight_smile:

2 Likes
System:    Kernel: 5.11.2-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 10.2.1  
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=546a35dc-68d5-4074-bbd9-ebbb1d248b6c rw  
[email protected] quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma 5.21.2 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 dm: SDDM Distro: Garuda Linux  
Machine:   Type: Desktop System: Apple product: iMac12,2 v: 1.0 serial: <filter> Chassis: type: 13  
v: Mac-942B59F58194171B serial: <filter>  
Mobo: Apple model: Mac-942B59F58194171B v: iMac12,2 serial: <filter> UEFI: Apple v: 87.0.0.0.0  
date: 06/14/2019  
CPU:       Info: Quad Core model: Intel Core i5-2500S bits: 64 type: MCP arch: Sandy Bridge family: 6 model-id: 2A (42)  
stepping: 7 microcode: 2F L2 cache: 6 MiB  
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 21552  
Speed: 1746 MHz min/max: 1600/3700 MHz Core speeds (MHz): 1: 1746 2: 3311 3: 1709 4: 1773  
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: Intel 2nd Generation Core Processor Family Integrated Graphics vendor: Apple driver: i915 v: kernel  
bus ID: 00:02.0 chip ID: 8086:0102 class ID: 0380  
Device-2: Advanced Micro Devices [AMD/ATI] Whistler [Radeon HD 6730M/6770M/7690M XT] vendor: Apple  
driver: radeon v: kernel bus ID: 01:00.0 chip ID: 1002:6740 class ID: 0300  
Device-3: Apple FaceTime HD Camera (Built-in) type: USB driver: uvcvideo bus ID: 1-2:3 chip ID: 05ac:850b  
class ID: 0e02 serial: <filter>  
Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: ati,intel,radeon unloaded: modesetting  
alternate: fbdev,vesa display ID: :0 screens: 1  
Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.7x15.0") s-diag: 777mm (30.6")  
Monitor-1: eDP res: 2560x1440 hz: 60 dpi: 109 size: 597x336mm (23.5x13.2") diag: 685mm (27")  
OpenGL: renderer: AMD TURKS (DRM 2.50.0 / 5.11.2-zen1-1-zen LLVM 11.1.0) v: 3.3 Mesa 20.3.4 compat-v: 3.1  
direct render: Yes  
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio driver: snd_hda_intel v: kernel  
bus ID: 00:1b.0 chip ID: 8086:1c20 class ID: 0403  
Device-2: AMD Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series] vendor: Apple driver: snd_hda_intel  
v: kernel bus ID: 01:00.1 chip ID: 1002:aa90 class ID: 0403  
Sound Server: ALSA v: k5.11.2-zen1-1-zen  
Network:   Device-1: Broadcom NetXtreme BCM57765 Gigabit Ethernet PCIe driver: tg3 v: kernel port: 2000 bus ID: 02:00.0  
chip ID: 14e4:16b4 class ID: 0200  
IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter>  
Device-2: Qualcomm Atheros AR93xx Wireless Network Adapter vendor: Apple AirPort Extreme driver: ath9k  
v: kernel port: 2000 bus ID: 03:00.0 chip ID: 168c:0030 class ID: 0280  
IF: wlp3s0 state: down mac: <filter>  
Bluetooth: Device-1: Apple Built-in Bluetooth 2.0+EDR HCI type: USB driver: btusb v: 0.8 bus ID: 1-1.1.1:5
chip ID: 05ac:8215 class ID: fe01 serial: <filter>
Message: Required tool hciconfig not installed. Check --recommends
Drives:    Local Storage: total: 931.51 GiB used: 30.9 GiB (3.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST31000528AS size: 931.51 GiB block size: physical: 512 B
logical: 512 B speed: 3.0 Gb/s rotation: 7200 rpm serial: <filter> rev: AP63 scheme: GPT
Partition: ID-1: / raw size: 92.61 GiB size: 92.61 GiB (100.00%) used: 30.87 GiB (33.3%) fs: btrfs dev: /dev/sda5
maj-min: 8:5
ID-2: /boot/efi raw size: 200 MiB size: 196.9 MiB (98.45%) used: 27.5 MiB (14.0%) fs: vfat dev: /dev/sda1
maj-min: 8:1
ID-3: /home raw size: 92.61 GiB size: 92.61 GiB (100.00%) used: 30.87 GiB (33.3%) fs: btrfs dev: /dev/sda5
maj-min: 8:5
ID-4: /var/log raw size: 92.61 GiB size: 92.61 GiB (100.00%) used: 30.87 GiB (33.3%) fs: btrfs dev: /dev/sda5
maj-min: 8:5
ID-5: /var/tmp raw size: 92.61 GiB size: 92.61 GiB (100.00%) used: 30.87 GiB (33.3%) fs: btrfs dev: /dev/sda5
maj-min: 8:5
Swap:      Kernel: swappiness: 10 (default 60) cache pressure: 75 (default 100)
ID-1: swap-1 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram0
ID-2: swap-2 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram1
ID-3: swap-3 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram2
ID-4: swap-4 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram3
Sensors:   System Temperatures: cpu: 54.0 C mobo: N/A
Fan Speeds (RPM): cpu: 939
Info:      Processes: 229 Uptime: 5m wakeups: 0 Memory: 7.74 GiB used: 2.41 GiB (31.1%) Init: systemd v: 247 Compilers:
gcc: 10.2.0 clang: 11.1.0 Packages: pacman: 1846 lib: 552 Shell: fish v: 3.1.2 running in: konsole
inxi: 3.3.01

Hope i posted this the right way...

2 Likes

Fine but did you

Next

```
Mobo: Apple model: Mac-942B59F58194171B v: iMac12,2
```

Maybe try whoogle search or special apple forum.

1 Like

I tried through volume control, the mic is not identified. Just the internal mic. I have tried with alsamixer and pavucontrol, no luck. I have tried to modify a .conf file inside alsamixer if i am not mistaken and tweaked around, but i ended up messing the system. Thank the developers of garuda, i managed to snapshot back to a stable version....

2 Likes

Apple special cases need some effort to find the proper workaround.
Have you checked Archwiki? I suggest you study these articles to make your troubleshooting joyful :grinning_face_with_smiling_eyes: (Don't forget to give feedback)

https://wiki.archlinux.org/index.php/IMac_Aluminum#Getting_sound_to_work_right
https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#Getting_debug_output_from_pulseaudio
https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture/Troubleshooting#No_microphone_input

Welcome to Garuda Γιάννη! :slightly_smiling_face:

3 Likes

Ευχαριστω!!! I will check these out and report back my progress...

1 Like

Here is some update....
I've tried editing the '/etc/modprobe.d/sound.conf' file
with the following options but nothing worked

options snd-hda-intel model=mbp53
options snd-hda-intel model=mbp55
options snd-hda-intel model=imac27
options snd-hda-intel model=imac27_122
options snd-hda-intel model=mbp101
options snd-hda-intel model=mbp81
options snd-hda-intel model=mba42
options snd-hda-intel model=auto
options snd-hda-intel model=apple
options snd-hda-intel model=mba6

The closest one was the 'imac27' option which gave me an internal mic and microphone,
but then it could not detect my headphones when i plugged them in, thus i could not
test the mic...
I am out of ideas... :expressionless:

I don't know how iMac HW is, concerning audio I/O ports.
Normal PC audio I/O uses two ports. Is it the same or is there only one, like on mobiles?
Or try other type of mic/headset HW. :man_shrugging:

2 Likes

just one, like in mobiles...but the thing is that when i boot to osx,
the mic works just fine...i don't know...i've found that many users have
the same issue in linux in general but i haven't found a general solution.
In an ubuntu forum i think, the guy who had the same problem like me
just bought a usb headset...and they marked the topic as solved.... :smile:

1 Like

Have you read this?
https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Correctly_detect_microphone_plugged_in_a_4-pin_3.5mm_(TRRS)_jack

List of models:
https://www.kernel.org/doc/html/latest/sound/hd-audio/models.html

3 Likes

No change...
These are the same options as the ones i tried before, but in a different
file with underscores plus an 'index=0'.
These are the options i tried before in '/etc/modprobe.d/sound.conf

options snd-hda-intel model=mbp53
options snd-hda-intel model=mbp55
options snd-hda-intel model=imac27
options snd-hda-intel model=imac27_122
options snd-hda-intel model=mbp101
options snd-hda-intel model=mbp81
options snd-hda-intel model=mba42
options snd-hda-intel model=auto
options snd-hda-intel model=apple
options snd-hda-intel model=mba6

And these are the ones i tried on '/etc/modprobe.d/alsa-base.conf

options snd_hda_intel index=0 model=mbp53
options snd_hda_intel index=0 model=mbp55
options snd_hda_intel index=0 model=imac27
options snd_hda_intel index=0 model=imac27_122
options snd_hda_intel index=0 model=mbp101
options snd_hda_intel index=0 model=mbp81
options snd_hda_intel index=0 model=mba42
options snd_hda_intel index=0 model=auto
options snd_hda_intel index=0 model=apple
options snd_hda_intel index=0 model=mba6

I hoped maybe these little details might make a change, but no luck...
Everything runs great so far on garuda, but this obstacle is making me boot to osx
everytime i want to use the microphone..
Thank you petsam for your help so far...

I suppose you tested them one by one... :smiley:

Have you tried these sites?
https://duckduckgo.com/?t=ffcm&q=online+mic+test&ia=web

2 Likes

Yes i did... :smile:

I did but my mic isn't getting picked up... just the internal one...

Get info from logs and find relevant messages, find the HW paths assigned and maybe using udevadm something comes up, so you may use more specific iSearches.
Run journalctl -f in a terminal and unplug and replug your headset, watching for messages.
With man udevadm you could search for useful info, attributes etc of HW... and so on... Standard troubleshooting :man_shrugging:
I know it's not an answer, but audio HW gurus are rare :slightly_smiling_face: .
Maybe @c00ter has some tip from his decades long experience :stuck_out_tongue:

2 Likes