Linux Mint Cinnamon 20 does not detect Logitech H110 headset

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
Wayne
Level 1
Level 1
Posts: 13
Joined: Wed Jul 08, 2020 11:38 pm

Re: Linux Mint Cinnamon 20 does not detect Logitech H110 headset

Post by Wayne »

No, it does not work. output of cat /var/lib/alsa/asound.state:

Code: Select all

state.PCH {
	control.1 {
		iface MIXER
		name 'Channel Mode'
		value '2ch'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 '2ch'
			item.1 '4ch'
			item.2 '6ch'
		}
	}
	control.2 {
		iface MIXER
		name 'Front Playback Volume'
		value.0 64
		value.1 64
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.3 {
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.4 {
		iface MIXER
		name 'Surround Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -6400
			dbvalue.1 -6400
		}
	}
	control.5 {
		iface MIXER
		name 'Surround Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.6 {
		iface MIXER
		name 'Center Playback Volume'
		value 0
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -6400
		}
	}
	control.7 {
		iface MIXER
		name 'LFE Playback Volume'
		value 0
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -6400
		}
	}
	control.8 {
		iface MIXER
		name 'Center Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'LFE Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 64
		value.1 64
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.11 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.12 {
		iface MIXER
		name 'Loopback Mixing'
		value Disabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.13 {
		iface MIXER
		name 'Front Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.14 {
		iface MIXER
		name 'Front Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.15 {
		iface MIXER
		name 'Rear Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.16 {
		iface MIXER
		name 'Rear Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.17 {
		iface MIXER
		name 'Line Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.18 {
		iface MIXER
		name 'Line Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.19 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.20 {
		iface MIXER
		name 'Input Source'
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
		}
	}
	control.21 {
		iface MIXER
		name 'Input Source'
		index 1
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Front Mic'
			item.1 'Rear Mic'
			item.2 Line
		}
	}
	control.22 {
		iface MIXER
		name 'Capture Volume'
		value.0 28
		value.1 28
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 46'
			dbmin -1600
			dbmax 3000
			dbvalue.0 1200
			dbvalue.1 1200
		}
	}
	control.23 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.24 {
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 46'
			dbmin -1600
			dbmax 3000
			dbvalue.0 -1600
			dbvalue.1 -1600
		}
	}
	control.25 {
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.26 {
		iface MIXER
		name 'Front Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.27 {
		iface MIXER
		name 'Rear Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.28 {
		iface MIXER
		name 'Line Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.29 {
		iface MIXER
		name 'Master Playback Volume'
		value 63
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -100
		}
	}
	control.30 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.31 {
		iface CARD
		name 'Front Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.32 {
		iface CARD
		name 'Rear Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.33 {
		iface CARD
		name 'Line Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.34 {
		iface CARD
		name 'Line Out Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.35 {
		iface CARD
		name 'Front Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.36 {
		iface PCM
		name 'Playback Channel Map'
		value.0 3
		value.1 4
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.37 {
		iface PCM
		name 'Capture Channel Map'
		value.0 3
		value.1 4
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.38 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.39 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
}
I can select Built-in Audio Analogue Stereo option for firefox in Linux Mint Debian Edition. But there is too much noise.
User avatar
MrEen
Level 22
Level 22
Posts: 15285
Joined: Mon Jun 12, 2017 8:39 pm

Re: Linux Mint Cinnamon 20 does not detect Logitech H110 headset

Post by MrEen »

Those steps were for Mint 20, not LMDE. I cannot guarantee anything on LMDE as it's a different base, and does some sound things a bit differently than Ubuntu based distros.
User avatar
MrEen
Level 22
Level 22
Posts: 15285
Joined: Mon Jun 12, 2017 8:39 pm

Re: Linux Mint Cinnamon 20 does not detect Logitech H110 headset

Post by MrEen »

Also, it seems things are working for you (in Mint 20) when we can force the appropriate options. If you run these commands, I believe your headset will work when plugged in to the front port:

Code: Select all

pacmd set-card-profile alsa_card.pci-0000_00_1f.3 output:analog-stereo+input:analog-stereo

Code: Select all

pacmd set-default-source alsa_input.pci-0000_00_1f.3.analog-stereo

Code: Select all

pacmd set-source-port alsa_input.pci-0000_00_1f.3.analog-stereo analog-input-front-mic
Do not touch any of the sound settings apps. Just use these commands and test their effectiveness.

I'm pretty sure you're affected by an issue with PulseAudio that I've described a bit here.

If the above works for you, just continue using that until this is fixed, which I expect wont happen for a least a few weeks.

EDIT: I should add the possible requirements for the output to the headset as well:

Code: Select all

pacmd set-default-sink alsa_output.pci-0000_00_1f.3.analog-stereo

Code: Select all

pacmd set-sink-port alsa_output.pci-0000_00_1f.3.analog-stereo analog-output-headphones
Hopefully everything will work properly with those.
Wayne
Level 1
Level 1
Posts: 13
Joined: Wed Jul 08, 2020 11:38 pm

Re: Linux Mint Cinnamon 20 does not detect Logitech H110 headset

Post by Wayne »

I think I cannot use mic in Firefox because of Firefox AudioCallbackDriver. Recently I have used a MX Linux 19.2 ahs_x64 live USB. The ISO file has PulseAudio 12.2 and Firefox 76. In PulseAudio, I change Monitor of built-in Audio Analogue Stereo to Built-in Audio Analogue Stereo under recording tab. Then I was able to use mic in Firefox. However, after performing a system upgrade, Firefox upgraded to version 82. This time I was unable to select Built-in Audio Analogue Stereo under recording tab. So I cannot use mic in Firefox.

I also downgraded Firefox to version 75 (apt policy firefox) in my Linux Mint and was able to select Built-in Audio Analogue Stereo under recording tab. Thus Firefox was able to capture sound from mic. My PulseAudio is upgraded to latest version.

So I think there is a problem in latest Firefox AudioCallbackDriver. Is there any way to force Firefox to use Built-in Audio Analogue Stereo instead of Monitor of built-in Audio Analogue Stereo?
User avatar
MrEen
Level 22
Level 22
Posts: 15285
Joined: Mon Jun 12, 2017 8:39 pm

Re: Linux Mint Cinnamon 20 does not detect Logitech H110 headset

Post by MrEen »

Wayne wrote:
Sat Oct 24, 2020 6:36 am
Is there any way to force Firefox to use Built-in Audio Analogue Stereo instead of Monitor of built-in Audio Analogue Stereo?
I stopped using Firefox over a year ago when they had another snafu. I've recently worked with a few users to try to get similar issues fixed, and more often than not it's been fixed by changing browsers.

A couple of things you can try that might work:

1. On the Input Devices tab of pavucontrol, make sure the check mark is highlighted next to the appropriate port. If the Monitor of... has the check mark, this would explain why this happening.

2. On the Recording tab of pavucontrol, is there a separate application that might be changeable? I've read reports of killall firefox not working lately, because the application is running another another name. Maybe that same other name is what you should be changing on the Recording tab.

If you have the time, I would suggest also trying another browser. When I left Firefox, I first went to Chrome and was quite surprised that it was able to import my Firefox bookmarks really easily. It may have done the same for the extensions, but I can't be sure about that. Since that time, I've switched to Brave. Being based on the same code as Chrome, that was a stupidly simple change to make.

And one more thing. If the sound still craps out after all of the above, run this command when sound is broken, then again after you've got it working:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
The last line of output will have a URL pointing to your sound setup, that might give us a clue why this is happening.

Good luck.

EDIT: MainThread is the other name that Firefox runs under for #2 above. But it could still be called something different as I believe when I was using Firefox that would show something like AudioIPC on the Playback tab, though if I remember right it did have Firefox's icon.
Wayne
Level 1
Level 1
Posts: 13
Joined: Wed Jul 08, 2020 11:38 pm

Re: Linux Mint Cinnamon 20 does not detect Logitech H110 headset

Post by Wayne »

1. On the Input Devices tab of pavucontrol, make sure the check mark is highlighted next to the appropriate port. If the Monitor of... has the check mark, this would explain why this happening.
The check mark (set as fallback) next to Monitor of Built-in Audio Analogue Stereo is highlighted. But check mark for Front Microphone unplugged is not highlighted. If I plug mic into rear jack, rear microphone becomes highlighted and Monitor of Built-in Audio Analogue Stereo is not highlighted.
2. On the Recording tab of pavucontrol, is there a separate application that might be changeable?
No, there is no application related to Firefox. I have closed all other application and unnecessary tabs in Firefox. So there was no other application on the recording tab.
If you have the time, I would suggest also trying another browser.
I have tried Google Chrome and Brave browser a few times. But they do not even ask for permission to use mic and therefore do not appear in pavucontrol's recording tab.

Here is my current situation:
  • My front jacks (headphone and mic) work fine in Windows. I did enable AC97 mode in Realtek HD Audio Manager when I first time plugged my mic. Now it is plug and play.
  • Linux MInt (and other distros I have tested) can properly detect rear jacks. But Mint (and other distros) does not detect anything (headphone or mic) plugged into front jacks. Even if headphone or mic plugged into front jacks, pavucontrol shows them as Headphones (unplugged) and Front Microphone (unplugged).
  • If I change audio profile from Analogue Stereo Output to Analogue Stereo Input(unplugged) on Configuration tab and then select Headphones (unplugged) on Output Devices tab, headphone works in all application.
  • After changing audio profile to Analogue Stereo Input(unplugged), selecting Front Microphone (unplugged) on Input Devices tab and changing Monitor of Built-in Audio Analogue Stereo to Built-in Audio Analogue Stereo on Recording tab, desktop applications (e.g. Zoom, Discord, Gnome Sound Recorder) can use mic.
  • However, this method does not work for Firefox version 77 and later. I cannot change Monitor of Built-in Audio Analogue Stereo to Built-in Audio Analogue Stereo on Recording tab for Firefox AudioCallbackDriver. So Facebook Messenger/ Google Meet / Discord cannot use mic from Firefox.
I guess this problem is both related to PulseAudio (and/or ALSA) and Firefox AudioCallbackDriver.
Thanks for your help.
User avatar
MrEen
Level 22
Level 22
Posts: 15285
Joined: Mon Jun 12, 2017 8:39 pm

Re: Linux Mint Cinnamon 20 does not detect Logitech H110 headset

Post by MrEen »

Just one other thing I can think of. Recently, another user mentioned disabling their front ports in the BIOS. You might want to check that, though I'm doubting it's going to make a difference. Also, if AC97 can be changed in the BIOS to HDAudio, that could also help.

Oh, and if dmesg | grep snd shows the realtek driver module in use, it might help to blacklist it. You'll see realtek here:

Code: Select all

[   24.264382] snd_hda_codec_realtek hdaudioC2D0: ALC221: SKU not ready 0x411111f0
[   24.264733] snd_hda_codec_realtek hdaudioC2D0: autoconfig for ALC221: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[   24.264736] snd_hda_codec_realtek hdaudioC2D0:    speaker_outs=1 (0x17/0x0/0x0/0x0/0x0)
[   24.264738] snd_hda_codec_realtek hdaudioC2D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[   24.264739] snd_hda_codec_realtek hdaudioC2D0:    mono: mono_out=0x0
[   24.264740] snd_hda_codec_realtek hdaudioC2D0:    inputs:
[   24.264742] snd_hda_codec_realtek hdaudioC2D0:      Mic=0x1a
[   24.264744] snd_hda_codec_realtek hdaudioC2D0:      Line=0x1b
If you already see genereal instead of realtek, this won't help, but if it shows realtek, go ahead and give this a shot:

Code: Select all

sudo tee /etc/modprobe.d/blacklist-snd-hda-intel.conf <<<'blacklist snd-hda-intel'
Reboot after running that then test again. If that doesn't help or makes things worse, undo it with this command followed by another reboot:

Code: Select all

sudo rm /etc/modprobe.d/blacklist-snd-hda-intel.conf
Post Reply

Return to “Sound, Multimedia, & Codecs”