View previous topic :: View next topic |
Author |
Message |
c6m5 n00b
Joined: 11 Jun 2023 Posts: 14
|
Posted: Fri Oct 18, 2024 3:45 pm Post subject: No headphone sound using snd_hda_intel |
|
|
Deep breath.
I have a Lenovo ThinkPad W540 running latest Gentoo. Have been having issues with a noisy headphone mic for some time.
Today I tried different combinations of module parameters https://docs.kernel.org/sound/hd-audio/models.html#alc22x-23x-25x-269-27x-28x-29x-and-vendor-specific-alc3xxx-models and codec hint strings https://docs.kernel.org/6.0/sound/hd-audio/notes.html#hint-strings
My trial and error cycle consisted of unloading and reloading the module with various combinations of options.
Code: | modprobe -r snd_hda_intel
modprobe snd_hda_intel model=headset-mic,dell-headset-multi,thinkpad auto_mute=0 auto_mic=0 multi_io=1 power_save_node=0 add_hp_mic=1 |
Recording some audio and playing it back.
Code: | arecord -D front -t wav -f cd test.wav
aplay -D default:PCH test.wav |
I did notice loudish pops in my headphones when I reloaded the module with certain parameters.
I was making good progress, but then suddenly no sound through headphones.
It's a pair of in-ear Lenovo headphones with a mute button.
Sound is working via speakers, so I'm thinking I must've blew my headphone jack?
Is that even possible?
Any way to confirm that I blew it?
How to prevent it from happening again?
Any ideas or advice will be much appreciated. |
|
Back to top |
|
|
c6m5 n00b
Joined: 11 Jun 2023 Posts: 14
|
Posted: Fri Oct 18, 2024 3:54 pm Post subject: |
|
|
Been testing the sound using:
Code: | speaker-test -D default:PCH -c 2 |
No sound when headphones are plugged in. I tried two different pairs.
Sound through laptop speakers when headphones are unplugged. |
|
Back to top |
|
|
sdauth l33t
Joined: 19 Sep 2018 Posts: 641 Location: Ásgarðr
|
Posted: Fri Oct 18, 2024 4:48 pm Post subject: |
|
|
Do you have thinkpad_acpi (built as module) in your kernel ? Is it loaded ? |
|
Back to top |
|
|
c6m5 n00b
Joined: 11 Jun 2023 Posts: 14
|
Posted: Fri Oct 18, 2024 5:15 pm Post subject: |
|
|
Thanks for responding and pitching an idea.
Yes, it looks like it's loaded.
Code: | #lsmod | grep thinkpad
thinkpad_acpi 135168 0
platform_profile 12288 1 thinkpad_acpi
#lsmod | grep snd_hda_intel
snd_hda_intel 36864 0
snd_intel_dspcfg 12288 1 snd_hda_intel
snd_hda_codec 139264 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 86016 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek |
|
|
Back to top |
|
|
sdauth l33t
Joined: 19 Sep 2018 Posts: 641 Location: Ásgarðr
|
Posted: Fri Oct 18, 2024 6:47 pm Post subject: |
|
|
I'm using a T400. I remember thinkpad_acpi was needed to have the mute button working.
After a second read, your issue is different.
On my T400 I have :
Code: | lsmod | grep thinkpad
thinkpad_acpi 122880 0
nvram 12288 1 thinkpad_acpi
ledtrig_audio 12288 2 snd_hda_codec_generic,thinkpad_acpi
platform_profile 12288 1 thinkpad_acpi
snd 90112 12 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,thinkpad_acpi,snd_aloop,snd_pcm,snd_mixer_oss |
With alsamixer, make sure all channels are open.
Otherwise, could you share your kernel config ? (or at least : grep SND_HDA /usr/src/linux/.config )
Maybe others will be able to assist better.
Cheers |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|