Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

commit 7b2bfdb broke sound card detection on my Lenovo T400s

46 views
Skip to first unread message

Frank Becker

unread,
Sep 6, 2010, 1:10:02 PM9/6/10
to
Hi,

Please always CC me since I'm not subscribed to the mailing lists.

I have a problem since commit id 7b2bfdb (about 2.6.35-rc2) up to the
latest HEAD on my Lenovo T400s laptop. Just found out while testing Ubuntu
10.10.

Problem is: Headphones don't work any more, internal Microphone doesn't
work any more. However, if I load snd-hda-intel with the option
model=ideapad the mic and the headphones work perfectly well again. For now
that is an acceptable work around. However, before the aforementioned
commit I didn't have to provide any module parameters.

Before rev 7b2bfdb I had:
└[a8@t4]-~→find /proc/asound/card* -type f | grep codec | xargs grep \
"^Codec\|^Vendor Id\|^Subsystem Id\|^Revision Id"
Codec: Conexant ID 5069
Vendor Id: 0x14f15069
Subsystem Id: 0x17aa2132
Revision Id: 0x100300

Starting with rev 7b2bfdb I get:
└[a8@t4]-~→find /proc/asound/card* -type f | grep codec | xargs grep \
"^Codec\|^Vendor Id\|^Subsystem Id\|^Revision Id"
Codec: Conexant CX20585
Vendor Id: 0x14f15069
Subsystem Id: 0x17aa2132
Revision Id: 0x100300

BTW, all the bisecting is done out of the linus.git tree.

Thank you for looking into that. I'm happy to provide more information or test
patches.

Thanks,

Frank


--
Frank Becker <f...@alien8.de> (jabber|mail) | http://twitter.com/41i3n8
GnuPG: 0xADC29ECD | F01B 5E9C 1D09 981B 5B40 50D3 C80F 7459 ADC2 9ECD
SILC-Net: a8 | Home: http://www.alien8.de | <<</>> http://www.c3d2.de
"> Freedom is just chaos, with better lighting. <" Alan Dean Foster

signature.asc

Takashi Iwai

unread,
Sep 7, 2010, 2:10:01 AM9/7/10
to
At Tue, 7 Sep 2010 00:45:48 +0200,
Jens Taprogge wrote:
> Hello Frank,
>
> apparently the devices are wired differently on the T410s (which works
> here) and the T400s.
>
> Have you tried playing with the mixers? There might be additional ones
> present after the patch.
>
> Also when you say things work perfectly when specifying "model=ideapad",
> does that include automatic switching between internal and external
> microphones? Have you attached your T410 to a docking station?

Also, it'd be helpful if alsa-info.sh output is given.
Jens, Frank, could you guys run it with --no-upload option and attach
the output for comparison?


thanks,

Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Frank Becker

unread,
Sep 7, 2010, 4:50:01 AM9/7/10
to
Jens Taprogge [2010-09-07, 01:18 +0200]:

> On Mon, Sep 06, 2010 at 07:04:21PM +0200, Frank Becker wrote:

Hi,

> > I have a problem since commit id 7b2bfdb (about 2.6.35-rc2) up to the


> > latest HEAD on my Lenovo T400s laptop. Just found out while testing Ubuntu
> > 10.10.
> >
> > Problem is: Headphones don't work any more, internal Microphone doesn't
> > work any more. However, if I load snd-hda-intel with the option
> > model=ideapad the mic and the headphones work perfectly well again. For now

[...]

> apparently the devices are wired differently on the T410s (which works
> here) and the T400s.

Sure. As far as I understand Lenovo is not putting any kind of effort into
Linux support. It's hard to test without hardware.

> Have you tried playing with the mixers?

Sure, I tried everything I could think of. In the process I found out that
I have to power off my machine. Otherwise the mic was not working sometimes
after just rebooting from a non working revision into a usually working one.

> There might be additional ones
> present after the patch.

Indeed there are. Not to clutter up the mail I put this to the end of this message.


> Also when you say things work perfectly when specifying "model=ideapad",
> does that include automatic switching between internal and external
> microphones? Have you attached your T410 to a docking station?

I don't have a docking station for my T400s. Sorry, cannot test that.

The headphone jack also has a mic in connector (TRRS connector). There the
mic works fine. That has nothing to do with the docking station though.


The cluttered details:


2.6.35 snd-hda-intel model="ideapad" (works)
============================================
└[a8@t4]-~ cat /proc/asound/devices
2: : timer
3: : sequencer
4: [29] : control
5: [ 0- 0]: digital audio playback
6: [ 0- 0]: digital audio capture
7: [ 0- 0]: hardware dependent
8: [ 0] : control

mixer devices (alsamixer)
Master PCM Capture "Analog Mic Boost"
└[a8@t4]-~ cat /proc/asound/card0/codec\#0|grep -i mic
Pin Default 0x61a190f0: [N/A] Mic at Sep Rear
Pin Default 0x03a110f0: [Jack] Mic at Ext Left
Pin Default 0x90a601f0: [Fixed] Mic at Int N/A
Please see attached file:
cat /proc/asound/card0/codec\#0 >| proc.asound.card0.codec\#0-2.6.35-ideapad


2.6.35 snd-hda-intel (broken)
=============================
└[a8@t4]-~ cat /proc/asound/devices
2: : timer
3: : sequencer
4: [ 0- 1]: digital audio playback
5: [ 0- 0]: digital audio playback
6: [ 0- 0]: digital audio capture
7: [ 0- 0]: hardware dependent
8: [ 0] : control
9: [29] : control

mixer devices (alsamixer)
Master PCM Mic B Mic C Mic E Mic F S/PDIF "S/PDIF Default PCM" Capture "Analog Mic Boost"

└[a8@t4]-~ cat /proc/asound/card0/codec\#0|grep -i mic
Pin Default 0x61a190f0: [N/A] Mic at Sep Rear
Pin Default 0x03a110f0: [Jack] Mic at Ext Left
Pin Default 0x90a601f0: [Fixed] Mic at Int N/A

Please see attached file:
cat /proc/asound/card0/codec\#0 >| proc.asound.card0.codec\#0-2.6.35-broken


2.6.32 snd-hda-intel (works)
============================
└[a8@t4]-~ cat /proc/asound/devices
2: : timer
3: : sequencer
4: [29] : control
5: [ 0- 0]: digital audio playback
6: [ 0- 0]: digital audio capture
7: [ 0- 0]: hardware dependent
8: [ 0] : control

mixer devices (alsamixer)
Master PCM Mic "Mic 1"
└[a8@t4]-~ cat /proc/asound/card0/codec\#0|grep -i mic
Pin Default 0x61a190f0: [N/A] Mic at Sep Rear
Pin Default 0x03a110f0: [Jack] Mic at Ext Left
Pin Default 0x90a601f0: [Fixed] Mic at Int N/A

Please see attached file:
cat /proc/asound/card0/codec\#0 >| proc.asound.card0.codec\#0-2.6.35-ideapad


Bye,

proc.asound.card0.codec#0-2.6.32
proc.asound.card0.codec#0-2.6.35-broken
proc.asound.card0.codec#0-2.6.35-ideapad
signature.asc

Frank Becker

unread,
Sep 7, 2010, 5:10:01 AM9/7/10
to
Takashi Iwai [2010-09-07, 08:17 +0200]:

> At Tue, 7 Sep 2010 00:45:48 +0200,
> Jens Taprogge wrote:
> >
> > On Mon, Sep 06, 2010 at 07:04:21PM +0200, Frank Becker wrote:

Hi,

> Also, it'd be helpful if alsa-info.sh output is given.


> Jens, Frank, could you guys run it with --no-upload option and attach
> the output for comparison?

Sorry, I wasn't aware of this fine tool.

Hope, it's OK to upload it as well. Don't want to fill up everyones mboxes
again

2.6.32: http://www.alsa-project.org/db/?f=f985e74bdda393213a29c6243012a7a8ea1dfe1f
2.6.35-broken: http://www.alsa-project.org/db/?f=827e4ef1a0d6c726a09fc5801853aa2ba58225ed
2.6.35-ideapad: http://www.alsa-project.org/db/?f=01e6a47003948f33aeb8ff132b64d4bc4ecc73b8

Bye,

signature.asc

Takashi Iwai

unread,
Sep 7, 2010, 5:30:01 AM9/7/10
to
At Tue, 7 Sep 2010 11:02:20 +0200,

Frank Becker wrote:
>
> Takashi Iwai [2010-09-07, 08:17 +0200]:
> > At Tue, 7 Sep 2010 00:45:48 +0200,
> > Jens Taprogge wrote:
> > >
> > > On Mon, Sep 06, 2010 at 07:04:21PM +0200, Frank Becker wrote:
>
> Hi,
>
> > Also, it'd be helpful if alsa-info.sh output is given.
> > Jens, Frank, could you guys run it with --no-upload option and attach
> > the output for comparison?
> Sorry, I wasn't aware of this fine tool.
>
> Hope, it's OK to upload it as well. Don't want to fill up everyones mboxes
> again
>
> 2.6.32: http://www.alsa-project.org/db/?f=f985e74bdda393213a29c6243012a7a8ea1dfe1f
> 2.6.35-broken: http://www.alsa-project.org/db/?f=827e4ef1a0d6c726a09fc5801853aa2ba58225ed
> 2.6.35-ideapad: http://www.alsa-project.org/db/?f=01e6a47003948f33aeb8ff132b64d4bc4ecc73b8

When you run it --no-upload option, you'll get the file on your local
machine. Anyway, I don't see why Jens' patch breaks your machine.
The PCI SSID (not codec SSID) of his machine is 17aa:215e while yours
is 17aa:20f2. The breakage can be a coincidence.

Could you check whether model=thinkpad works better?
If yes, we can simply add the new entry for your device.

Takashi Iwai

unread,
Sep 7, 2010, 5:50:01 AM9/7/10
to
At Tue, 7 Sep 2010 11:40:41 +0200,
Frank Becker wrote:
>
> Takashi Iwai [2010-09-07, 11:20 +0200]:

> > At Tue, 7 Sep 2010 11:02:20 +0200,
> > Frank Becker wrote:
> > >
> > > Takashi Iwai [2010-09-07, 08:17 +0200]:
> > > > At Tue, 7 Sep 2010 00:45:48 +0200,
> > > > Jens Taprogge wrote:
> > > > >
> > > > > On Mon, Sep 06, 2010 at 07:04:21PM +0200, Frank Becker wrote:
>
> Hi,
>
> [...]

> > machine. Anyway, I don't see why Jens' patch breaks your machine.
> > The PCI SSID (not codec SSID) of his machine is 17aa:215e while yours
> > is 17aa:20f2. The breakage can be a coincidence.
> >
> > Could you check whether model=thinkpad works better?
> Works as model=ideapad IOW, yes that works perfectly well.

Oh, one forgotten question is whether your machine can have a docking
station. If yes, model=thinkpad is the right choice. If not,
model=ideapad would work more or less same.

Frank Becker

unread,
Sep 7, 2010, 5:50:02 AM9/7/10
to
Takashi Iwai [2010-09-07, 11:20 +0200]:

> At Tue, 7 Sep 2010 11:02:20 +0200,
> Frank Becker wrote:
> >
> > Takashi Iwai [2010-09-07, 08:17 +0200]:
> > > At Tue, 7 Sep 2010 00:45:48 +0200,
> > > Jens Taprogge wrote:
> > > >
> > > > On Mon, Sep 06, 2010 at 07:04:21PM +0200, Frank Becker wrote:

Hi,

[...]


> machine. Anyway, I don't see why Jens' patch breaks your machine.
> The PCI SSID (not codec SSID) of his machine is 17aa:215e while yours
> is 17aa:20f2. The breakage can be a coincidence.
>
> Could you check whether model=thinkpad works better?

Works as model=ideapad IOW, yes that works perfectly well.

> If yes, we can simply add the new entry for your device.
Great. Thank you.

signature.asc

Frank Becker

unread,
Sep 7, 2010, 6:00:02 AM9/7/10
to
Takashi Iwai [2010-09-07, 11:44 +0200]:

> At Tue, 7 Sep 2010 11:40:41 +0200,
> Frank Becker wrote:
> >
> > Takashi Iwai [2010-09-07, 11:20 +0200]:
> > > At Tue, 7 Sep 2010 11:02:20 +0200,
> > > Frank Becker wrote:
> > > >
> > > > Takashi Iwai [2010-09-07, 08:17 +0200]:
> > > > > At Tue, 7 Sep 2010 00:45:48 +0200,
> > > > > Jens Taprogge wrote:
> > > > > >
> > > > > > On Mon, Sep 06, 2010 at 07:04:21PM +0200, Frank Becker wrote:

Hi,

[...]


> Oh, one forgotten question is whether your machine can have a docking
> station. If yes, model=thinkpad is the right choice. If not,
> model=ideapad would work more or less same.

Yes[0]. With that model (T400s [1]) Lenovo introduced a new series of docking
stations that are not backward compatible with older Lenovo/ThinkPads.

I just don't happen to have one available.

[0] http://shop.lenovo.com/SEUILibrary/controller/e/web/LenovoPortal/en_US/catalog.workflow:show-category-with-items?category-id=34851FD360E5473EB9DFEB639312E18E

[1] http://shop.lenovo.com/SEUILibrary/controller/e/web/LenovoPortal/en_US/catalog.workflow:category.details?current-catalog-id=12F0696583E04D86B9B79B0FEC01C087&current-category-id=AEA4BB4495A04C098DBEA8EBB87059AC


Bye and Thanks,

signature.asc

Takashi Iwai

unread,
Sep 7, 2010, 6:10:02 AM9/7/10
to
At Tue, 7 Sep 2010 11:53:00 +0200,

Frank Becker wrote:
>
> Takashi Iwai [2010-09-07, 11:44 +0200]:
> > At Tue, 7 Sep 2010 11:40:41 +0200,
> > Frank Becker wrote:
> > >
> > > Takashi Iwai [2010-09-07, 11:20 +0200]:
> > > > At Tue, 7 Sep 2010 11:02:20 +0200,
> > > > Frank Becker wrote:
> > > > >
> > > > > Takashi Iwai [2010-09-07, 08:17 +0200]:
> > > > > > At Tue, 7 Sep 2010 00:45:48 +0200,
> > > > > > Jens Taprogge wrote:
> > > > > > >
> > > > > > > On Mon, Sep 06, 2010 at 07:04:21PM +0200, Frank Becker wrote:
>
> Hi,
>
> [...]
> > Oh, one forgotten question is whether your machine can have a docking
> > station. If yes, model=thinkpad is the right choice. If not,
> > model=ideapad would work more or less same.
> Yes[0]. With that model (T400s [1]) Lenovo introduced a new series of docking
> stations that are not backward compatible with older Lenovo/ThinkPads.
>
> I just don't happen to have one available.
>
> [0] http://shop.lenovo.com/SEUILibrary/controller/e/web/LenovoPortal/en_US/catalog.workflow:show-category-with-items?category-id=34851FD360E5473EB9DFEB639312E18E
>
> [1] http://shop.lenovo.com/SEUILibrary/controller/e/web/LenovoPortal/en_US/catalog.workflow:category.details?current-catalog-id=12F0696583E04D86B9B79B0FEC01C087&current-category-id=AEA4BB4495A04C098DBEA8EBB87059AC

OK, fixed now in sound git tree.

Frank Becker

unread,
Sep 7, 2010, 4:40:02 PM9/7/10
to
Takashi Iwai [2010-09-07, 12:06 +0200]:

> At Tue, 7 Sep 2010 11:53:00 +0200,
> Frank Becker wrote:

Hi,

> OK, fixed now in sound git tree.

It's my pleasure to confirm that commit 4d15564 of this repo did resolve
the reported issue on my T400s. Awesome! Took just one day.

It would be appreciated if someone having access to a docking station would
test if the external microphone works as well.

Thank you a lot Takashi!

signature.asc

Jens Taprogge

unread,
Dec 9, 2010, 11:30:01 AM12/9/10
to
On Tue, Sep 07, 2010 at 11:53:00AM +0200, Frank Becker wrote:
> Takashi Iwai [2010-09-07, 11:44 +0200]:
> > At Tue, 7 Sep 2010 11:40:41 +0200,
> > Frank Becker wrote:
> > >
> > > Takashi Iwai [2010-09-07, 11:20 +0200]:
> > > > At Tue, 7 Sep 2010 11:02:20 +0200,
> > > > Frank Becker wrote:
> > > > >
> > > > > Takashi Iwai [2010-09-07, 08:17 +0200]:
> > > > > > At Tue, 7 Sep 2010 00:45:48 +0200,
> > > > > > Jens Taprogge wrote:
> > > > > > >
> > > > > > > On Mon, Sep 06, 2010 at 07:04:21PM +0200, Frank Becker wrote:
>
> Hi,
>
> [...]
> > Oh, one forgotten question is whether your machine can have a docking
> > station. If yes, model=thinkpad is the right choice. If not,
> > model=ideapad would work more or less same.
> Yes[0]. With that model (T400s [1]) Lenovo introduced a new series of docking
> stations that are not backward compatible with older Lenovo/ThinkPads.
>
> I just don't happen to have one available.
>
> [0] http://shop.lenovo.com/SEUILibrary/controller/e/web/LenovoPortal/en_US/catalog.workflow:show-category-with-items?category-id=34851FD360E5473EB9DFEB639312E18E
>
> [1] http://shop.lenovo.com/SEUILibrary/controller/e/web/LenovoPortal/en_US/catalog.workflow:category.details?current-catalog-id=12F0696583E04D86B9B79B0FEC01C087&current-category-id=AEA4BB4495A04C098DBEA8EBB87059AC

Hello Frank.

That is the docking station I have developed the patch with. So
hopefully after adding your PCI IDs it should work with your Thinkpad as
well.

Best Regards
Jens

0 new messages