SOLVED Alsamixer doesn't recognize headphones - Thinkpad

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

SOLVED Alsamixer doesn't recognize headphones - Thinkpad

Post by mimosa »

I'm running Salix Maté Live on a Thinkpad :D

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. :x
Last edited by mimosa on 12. Jul 2012, 01:16, edited 1 time in total.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Alsamixer doesn't recognize headphones - Thinkpad

Post 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?
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

Re: Alsamixer doesn't recognize headphones - Thinkpad

Post by gapan »

Yes.
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Alsamixer doesn't recognize headphones - Thinkpad

Post 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 :)
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Alsamixer doesn't recognize headphones - Thinkpad

Post 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. :oops: 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.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Alsamixer doesn't recognize headphones - Thinkpad

Post 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
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

ReSOLVED: Alsamixer doesn't recognize headphones - Thinkpad

Post 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 :(
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: SOLVED Alsamixer doesn't recognize headphones - Thinkpad

Post 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".
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: SOLVED Alsamixer doesn't recognize headphones - Thinkpad

Post by mimosa »

Thanks JRD. I'm not sure about the microphone because I don't have one.
Post Reply