Page 1 of 2
SOLVED Alsamixer doesn't recognize headphones - Thinkpad
Posted: 11. Jul 2012, 21:37
by mimosa
I'm running Salix Maté Live on a Thinkpad
One niggle is that my headphones aren't picked up. I want to be able to listen to music on them and turn off the built-in speakers.
The soundcard is:
Code: Select all
#lspci | grep udio
:1b.0 Audio device: Intel Corporation 6 Series Chipset Family High Definition Audio Controller (rev 04)
Off topic, how do you do a middleclick with a touchpad? I had to type that.

Re: Alsamixer doesn't recognize headphones - Thinkpad
Posted: 11. Jul 2012, 21:46
by gapan
Re: Alsamixer doesn't recognize headphones - Thinkpad
Posted: 11. Jul 2012, 22:18
by mimosa
Thanks Gapan. My forum search turned up an earlier post of yours but not those.
So far I have just tried creating the two config files I think you mention in the first of those two posts - no immediate effect, but I will try rebooting. However, looking quickly at those posts, it seems I may need to be more specific than "model=auto", if that doesn't work. I'm a bit puzzled - model of what? Soundcard?
Re: Alsamixer doesn't recognize headphones - Thinkpad
Posted: 11. Jul 2012, 22:20
by gapan
Yes.
Re: Alsamixer doesn't recognize headphones - Thinkpad
Posted: 11. Jul 2012, 22:26
by mimosa
So I could try model=intel, then?
rebooting didn't help, and I noticed quite a few messages during boot about those new files

Re: Alsamixer doesn't recognize headphones - Thinkpad
Posted: 11. Jul 2012, 23:40
by mimosa
Having read those posts more carefully, I'm afraid I'm still stuck.
I created both config files, and so may have overwritten important stuff that was in them already.

I will check that as soon as I access a Salix install on a different machine.
Both files are currently as posted by Gapan in the above-mentioned posts.
Re: Alsamixer doesn't recognize headphones - Thinkpad
Posted: 12. Jul 2012, 00:22
by mimosa
This looks useful but I'm not sure how to work out which one is mine:
http://www.kernel.org/doc/Documentation ... Models.txt
ReSOLVED: Alsamixer doesn't recognize headphones - Thinkpad
Posted: 12. Jul 2012, 01:10
by mimosa
Fixed, though I'm not sure what did it.

As well as those config files, I installed some stuff using slapt-src, such as alsa-tools, which comes bearing firmware. It was also important to establish that the correct socket for the headphones is the one at the front.
The behaviour I am now seeing is that the speakers play but if you plug in the headphones they mute, and all sound goes to the headphones; if you unplug them the speakers immediately start playing. No separate devices appear in alsamixer. My grandmother would be happy.
/etc/modprobe.d/alsa.base currently contains the following single line:
Code: Select all
options snd-hda-intel model=ideapad position_fix=1 enable=yes
The box the laptop came in tells me it is model Lenovo G470.
I hate not understanding how things work

Re: SOLVED Alsamixer doesn't recognize headphones - Thinkpad
Posted: 12. Jul 2012, 08:44
by JRD
snd_hda_intel is a generic sound driver for all intel sound cards.
Normally, the driver detects your card model and active the corresponding code in the driver. But it could be that the driver detection is wrong, or that your card model is not recognized.
In this case I opt for a non-recognized sound card by the driver. The sound card could be close enough to another model to make it work. Apparently "ideapad" makes your headphone works, but I read on the web that it will screw you microphone. Do you confirm? You could also try the models "laptop" and "lenovo" to see if you have better results.
[Edit] Apparently the correct model to pass is "asus".
Re: SOLVED Alsamixer doesn't recognize headphones - Thinkpad
Posted: 12. Jul 2012, 11:25
by mimosa
Thanks JRD. I'm not sure about the microphone because I don't have one.