* Re: [PATCH] ALSA, hda: Add support for Lenovo ThinkPad Edge 13 in conexant codec [not found] <20100527160656.GE10254@alberich.amd.com> @ 2010-05-28 5:50 ` Takashi Iwai 2010-05-28 6:02 ` Jerone Young 2010-05-28 6:21 ` Andreas Herrmann 2010-05-28 7:57 ` [PATCH] ALSA, hda: Add support for another Lenovo ThinkPad Edge " Andreas Herrmann 1 sibling, 2 replies; 7+ messages in thread From: Takashi Iwai @ 2010-05-28 5:50 UTC (permalink / raw) To: Andreas Herrmann; +Cc: Jerone Young, alsa-devel, Borislav Petkov At Thu, 27 May 2010 18:06:56 +0200, Andreas Herrmann wrote: > > From: Andreas Herrmann <andreas.herrmann3@amd.com> > > On a Thinkpad Edge 13 I had the problem that speakers played sound > although headphones were plugged. > > Using "model=olpc-xo-1_5" solved this problem. So it seems sensible to > add this quirk. (Using other models, like ideabad did not fix it.) > > Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> > --- > sound/pci/hda/patch_conexant.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > I don't know whether adding this quirk is the right/complete solution > to support sound on Thinkpad Edge. But at least it solves this > annoying problem. Well, Jerone Young already sent a quirk patch but he took model=ideapd. Could you guys check which one is really better? thanks, Takashi > > Please apply. > > > Thanks, > > Andreas > > diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c > index feabb44..f85f072 100644 > --- a/sound/pci/hda/patch_conexant.c > +++ b/sound/pci/hda/patch_conexant.c > @@ -2848,6 +2848,7 @@ static struct snd_pci_quirk cxt5066_cfg_tbl[] = { > SND_PCI_QUIRK(0x1179, 0xff50, "Toshiba Satellite P500-PSPGSC-01800T", CXT5066_OLPC_XO_1_5), > SND_PCI_QUIRK(0x1179, 0xffe0, "Toshiba Satellite Pro T130-15F", CXT5066_OLPC_XO_1_5), > SND_PCI_QUIRK(0x17aa, 0x21b2, "Thinkpad X100e", CXT5066_IDEAPAD), > + SND_PCI_QUIRK(0x17aa, 0x21b3, "Thnkpad Edge 13", CXT5066_OLPC_XO_1_5), > SND_PCI_QUIRK(0x17aa, 0x3a0d, "ideapad", CXT5066_IDEAPAD), > {} > }; > -- > 1.6.4.4 > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ALSA, hda: Add support for Lenovo ThinkPad Edge 13 in conexant codec 2010-05-28 5:50 ` [PATCH] ALSA, hda: Add support for Lenovo ThinkPad Edge 13 in conexant codec Takashi Iwai @ 2010-05-28 6:02 ` Jerone Young 2010-05-28 6:21 ` Andreas Herrmann 1 sibling, 0 replies; 7+ messages in thread From: Jerone Young @ 2010-05-28 6:02 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel, Andreas Herrmann, Borislav Petkov @Andreas can you grab Alsa git tree and install it on the system you are using. It has a patch already taking care of the issue. The issue Takashi is most likely folks using the older kernel version. model=ideapad was just recently introduced so they where unable to try that out. But olpc-xo-1_5 has been there for a while. Though for Lenovo products model=ideapad is much better. Thanks, Jerone On Fri, 2010-05-28 at 07:50 +0200, Takashi Iwai wrote: > At Thu, 27 May 2010 18:06:56 +0200, > Andreas Herrmann wrote: > > > > From: Andreas Herrmann <andreas.herrmann3@amd.com> > > > > On a Thinkpad Edge 13 I had the problem that speakers played sound > > although headphones were plugged. > > > > Using "model=olpc-xo-1_5" solved this problem. So it seems sensible to > > add this quirk. (Using other models, like ideabad did not fix it.) > > > > Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> > > --- > > sound/pci/hda/patch_conexant.c | 1 + > > 1 files changed, 1 insertions(+), 0 deletions(-) > > > > I don't know whether adding this quirk is the right/complete solution > > to support sound on Thinkpad Edge. But at least it solves this > > annoying problem. > > Well, Jerone Young already sent a quirk patch but he took > model=ideapd. Could you guys check which one is really better? > > > thanks, > > Takashi > > > > > > Please apply. > > > > > > Thanks, > > > > Andreas > > > > diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c > > index feabb44..f85f072 100644 > > --- a/sound/pci/hda/patch_conexant.c > > +++ b/sound/pci/hda/patch_conexant.c > > @@ -2848,6 +2848,7 @@ static struct snd_pci_quirk cxt5066_cfg_tbl[] = { > > SND_PCI_QUIRK(0x1179, 0xff50, "Toshiba Satellite P500-PSPGSC-01800T", CXT5066_OLPC_XO_1_5), > > SND_PCI_QUIRK(0x1179, 0xffe0, "Toshiba Satellite Pro T130-15F", CXT5066_OLPC_XO_1_5), > > SND_PCI_QUIRK(0x17aa, 0x21b2, "Thinkpad X100e", CXT5066_IDEAPAD), > > + SND_PCI_QUIRK(0x17aa, 0x21b3, "Thnkpad Edge 13", CXT5066_OLPC_XO_1_5), > > SND_PCI_QUIRK(0x17aa, 0x3a0d, "ideapad", CXT5066_IDEAPAD), > > {} > > }; > > -- > > 1.6.4.4 > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ALSA, hda: Add support for Lenovo ThinkPad Edge 13 in conexant codec 2010-05-28 5:50 ` [PATCH] ALSA, hda: Add support for Lenovo ThinkPad Edge 13 in conexant codec Takashi Iwai 2010-05-28 6:02 ` Jerone Young @ 2010-05-28 6:21 ` Andreas Herrmann 2010-05-28 6:35 ` Jerone Young 1 sibling, 1 reply; 7+ messages in thread From: Andreas Herrmann @ 2010-05-28 6:21 UTC (permalink / raw) To: Jerone Young; +Cc: Takashi Iwai, alsa-devel, Borislav Petkov On Fri, May 28, 2010 at 07:50:31AM +0200, Takashi Iwai wrote: > At Thu, 27 May 2010 18:06:56 +0200, > Andreas Herrmann wrote: > > > > From: Andreas Herrmann <andreas.herrmann3@amd.com> > > > > On a Thinkpad Edge 13 I had the problem that speakers played sound > > although headphones were plugged. > > > > Using "model=olpc-xo-1_5" solved this problem. So it seems sensible to > > add this quirk. (Using other models, like ideabad did not fix it.) > > > > Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> > > --- > > sound/pci/hda/patch_conexant.c | 1 + > > 1 files changed, 1 insertions(+), 0 deletions(-) > > > > I don't know whether adding this quirk is the right/complete solution > > to support sound on Thinkpad Edge. But at least it solves this > > annoying problem. > > Well, Jerone Young already sent a quirk patch but he took > model=ideapd. Could you guys check which one is really better? Hi Jerone, there are two different models of Thinkpad Edge (one with Intel CPU/chipset, one with AMD CPU/chipset). I tested on the AMD version but from https://bugs.launchpad.net/ubuntu/+source/linux-backports-modules-2.6.32/+bug/549289 it seems that using model=olpc-xo-1_5 works for both versions of that Thinkpad. I also tried ideapad -- because looking at the quirk table for cxt5066 there is this entry SND_PCI_QUIRK(0x17aa, 0x21b2, "Thinkpad X100e", CXT5066_IDEAPAD), and adding SND_PCI_QUIRK(0x17aa, 0x21b3, "Thinkpad Edge", CXT5066_IDEAPAD), seems to be conclusive. But as I said that did not solve the problem of speakers still playing audio if headphones are plugged in for me. Have you explicitely tested this? Maybe I have to retest with some newer code from the alsa tree? Regards, Andreas ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ALSA, hda: Add support for Lenovo ThinkPad Edge 13 in conexant codec 2010-05-28 6:21 ` Andreas Herrmann @ 2010-05-28 6:35 ` Jerone Young 2010-05-28 6:45 ` Andreas Herrmann 0 siblings, 1 reply; 7+ messages in thread From: Jerone Young @ 2010-05-28 6:35 UTC (permalink / raw) To: Andreas Herrmann; +Cc: Takashi Iwai, alsa-devel, Borislav Petkov Are you sure? The pci id I have is for 0x21b4 based on information from that bug. What you point out is 0x21b3. Please retest with SND_PCI_QUIRK(0x17aa, 0x21b4, "Thinkpad Edge", CXT5066_IDEAPAD) Can you post lspci -vvnn output for your Thinkpad Edge? Here is the patch I sent: Signed-off-by: Jerone Young <jerone.young@canonical.com> diff --git a/pci/hda/patch_conexant.c b/pci/hda/patch_conexant.c index e863649..f4a2bd6 100644 --- a/pci/hda/patch_conexant.c +++ b/pci/hda/patch_conexant.c @@ -2975,6 +2975,7 @@ static struct snd_pci_quirk cxt5066_cfg_tbl[] = { SND_PCI_QUIRK(0x1179, 0xff50, "Toshiba Satellite P500-PSPGSC-01800T", CXT5066_OLPC_XO_1_5), SND_PCI_QUIRK(0x1179, 0xffe0, "Toshiba Satellite Pro T130-15F", CXT5066_OLPC_XO_1_5), SND_PCI_QUIRK(0x17aa, 0x21b2, "Thinkpad X100e", CXT5066_IDEAPAD), + SND_PCI_QUIRK(0x17aa, 0x21b4, "Thinkpad Edge", CXT5066_IDEAPAD), SND_PCI_QUIRK(0x17aa, 0x3a0d, "ideapad", CXT5066_IDEAPAD), SND_PCI_QUIRK(0x17aa, 0x215e, "Lenovo Thinkpad", CXT5066_THINKPAD), Thanks, Jerone On Fri, 2010-05-28 at 08:21 +0200, Andreas Herrmann wrote: > On Fri, May 28, 2010 at 07:50:31AM +0200, Takashi Iwai wrote: > > At Thu, 27 May 2010 18:06:56 +0200, > > Andreas Herrmann wrote: > > > > > > From: Andreas Herrmann <andreas.herrmann3@amd.com> > > > > > > On a Thinkpad Edge 13 I had the problem that speakers played sound > > > although headphones were plugged. > > > > > > Using "model=olpc-xo-1_5" solved this problem. So it seems sensible to > > > add this quirk. (Using other models, like ideabad did not fix it.) > > > > > > Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> > > > --- > > > sound/pci/hda/patch_conexant.c | 1 + > > > 1 files changed, 1 insertions(+), 0 deletions(-) > > > > > > I don't know whether adding this quirk is the right/complete solution > > > to support sound on Thinkpad Edge. But at least it solves this > > > annoying problem. > > > > Well, Jerone Young already sent a quirk patch but he took > > model=ideapd. Could you guys check which one is really better? > > Hi Jerone, > > there are two different models of Thinkpad Edge (one with Intel CPU/chipset, > one with AMD CPU/chipset). I tested on the AMD version but from > > https://bugs.launchpad.net/ubuntu/+source/linux-backports-modules-2.6.32/+bug/549289 > > it seems that using model=olpc-xo-1_5 works for both versions of that Thinkpad. > > I also tried ideapad -- because looking at the quirk table > for cxt5066 there is this entry > > SND_PCI_QUIRK(0x17aa, 0x21b2, "Thinkpad X100e", CXT5066_IDEAPAD), > > and adding > > SND_PCI_QUIRK(0x17aa, 0x21b3, "Thinkpad Edge", CXT5066_IDEAPAD), > > seems to be conclusive. > > But as I said that did not solve the problem of speakers still playing > audio if headphones are plugged in for me. Have you explicitely tested > this? Maybe I have to retest with some newer code from the alsa tree? > > > Regards, > Andreas ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] ALSA, hda: Add support for Lenovo ThinkPad Edge 13 in conexant codec 2010-05-28 6:35 ` Jerone Young @ 2010-05-28 6:45 ` Andreas Herrmann 0 siblings, 0 replies; 7+ messages in thread From: Andreas Herrmann @ 2010-05-28 6:45 UTC (permalink / raw) To: Jerone Young; +Cc: Takashi Iwai, alsa-devel, Borislav Petkov On Fri, May 28, 2010 at 01:35:27AM -0500, Jerone Young wrote: > Are you sure? The pci id I have is for 0x21b4 based on information from > that bug. What you point out is 0x21b3. Please retest with > > SND_PCI_QUIRK(0x17aa, 0x21b4, "Thinkpad Edge", CXT5066_IDEAPAD) > > Can you post lspci -vvnn output for your Thinkpad Edge? The PCI audio device is: 00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383] Subsystem: Lenovo Device [17aa:21b3] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 64, Cache Line Size: 32 bytes Interrupt: pin ? routed to IRQ 16 Region 0: Memory at d0600000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel So maybe yours is the Intel version of Thinkpad Edge 13? What does dmidecode say for your system? Here is my information: Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: LENOVO Product Name: 01972NG Version: ThinkPad Edge 13"IAL# Other types of that notebook family are 0196 and 0492 each having a huge bunch of differnet models (2NG in my case). However I try to retest with latest alsa tree (using model=ideapad) maybe that changes something. Andreas ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] ALSA, hda: Add support for another Lenovo ThinkPad Edge in conexant codec [not found] <20100527160656.GE10254@alberich.amd.com> 2010-05-28 5:50 ` [PATCH] ALSA, hda: Add support for Lenovo ThinkPad Edge 13 in conexant codec Takashi Iwai @ 2010-05-28 7:57 ` Andreas Herrmann 2010-05-28 8:04 ` Takashi Iwai 1 sibling, 1 reply; 7+ messages in thread From: Andreas Herrmann @ 2010-05-28 7:57 UTC (permalink / raw) To: Takashi Iwai, Jaroslav Kysela; +Cc: Jerone Young, alsa-devel, Borislav Petkov From: Andreas Herrmann <andreas.herrmann3@amd.com> On a Thinkpad Edge 13 "01972NG" I had the problem that speakers played sound although headphones were plugged in. Using model=ideapad with latest alsa-git kernel fixed this. So adding this quirk to use ideapad for another Thinkpad Edge variant seems sensible. Cc: Jerone Young <jerone.young@canonical.com> Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> --- sound/pci/hda/patch_conexant.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Patch is against today's sound-2.6 git tree. Please apply. Thanks, Andreas diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c index f4a2bd6..2bf2cb5 100644 --- a/sound/pci/hda/patch_conexant.c +++ b/sound/pci/hda/patch_conexant.c @@ -2975,6 +2975,7 @@ static struct snd_pci_quirk cxt5066_cfg_tbl[] = { SND_PCI_QUIRK(0x1179, 0xff50, "Toshiba Satellite P500-PSPGSC-01800T", CXT5066_OLPC_XO_1_5), SND_PCI_QUIRK(0x1179, 0xffe0, "Toshiba Satellite Pro T130-15F", CXT5066_OLPC_XO_1_5), SND_PCI_QUIRK(0x17aa, 0x21b2, "Thinkpad X100e", CXT5066_IDEAPAD), + SND_PCI_QUIRK(0x17aa, 0x21b3, "Thinkpad Edge 13 (197)", CXT5066_IDEAPAD), SND_PCI_QUIRK(0x17aa, 0x21b4, "Thinkpad Edge", CXT5066_IDEAPAD), SND_PCI_QUIRK(0x17aa, 0x3a0d, "ideapad", CXT5066_IDEAPAD), SND_PCI_QUIRK(0x17aa, 0x215e, "Lenovo Thinkpad", CXT5066_THINKPAD), -- 1.7.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] ALSA, hda: Add support for another Lenovo ThinkPad Edge in conexant codec 2010-05-28 7:57 ` [PATCH] ALSA, hda: Add support for another Lenovo ThinkPad Edge " Andreas Herrmann @ 2010-05-28 8:04 ` Takashi Iwai 0 siblings, 0 replies; 7+ messages in thread From: Takashi Iwai @ 2010-05-28 8:04 UTC (permalink / raw) To: Andreas Herrmann; +Cc: Jerone Young, alsa-devel, Borislav Petkov At Fri, 28 May 2010 09:57:12 +0200, Andreas Herrmann wrote: > > From: Andreas Herrmann <andreas.herrmann3@amd.com> > > On a Thinkpad Edge 13 "01972NG" I had the problem that speakers played > sound although headphones were plugged in. Using model=ideapad with > latest alsa-git kernel fixed this. So adding this quirk to use ideapad > for another Thinkpad Edge variant seems sensible. > > Cc: Jerone Young <jerone.young@canonical.com> > Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> > --- > sound/pci/hda/patch_conexant.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > Patch is against today's sound-2.6 git tree. > Please apply. Thanks for a quick check. Applied now. Takashi > > Thanks, > Andreas > > > diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c > index f4a2bd6..2bf2cb5 100644 > --- a/sound/pci/hda/patch_conexant.c > +++ b/sound/pci/hda/patch_conexant.c > @@ -2975,6 +2975,7 @@ static struct snd_pci_quirk cxt5066_cfg_tbl[] = { > SND_PCI_QUIRK(0x1179, 0xff50, "Toshiba Satellite P500-PSPGSC-01800T", CXT5066_OLPC_XO_1_5), > SND_PCI_QUIRK(0x1179, 0xffe0, "Toshiba Satellite Pro T130-15F", CXT5066_OLPC_XO_1_5), > SND_PCI_QUIRK(0x17aa, 0x21b2, "Thinkpad X100e", CXT5066_IDEAPAD), > + SND_PCI_QUIRK(0x17aa, 0x21b3, "Thinkpad Edge 13 (197)", CXT5066_IDEAPAD), > SND_PCI_QUIRK(0x17aa, 0x21b4, "Thinkpad Edge", CXT5066_IDEAPAD), > SND_PCI_QUIRK(0x17aa, 0x3a0d, "ideapad", CXT5066_IDEAPAD), > SND_PCI_QUIRK(0x17aa, 0x215e, "Lenovo Thinkpad", CXT5066_THINKPAD), > -- > 1.7.1 > ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-05-28 8:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20100527160656.GE10254@alberich.amd.com>
2010-05-28 5:50 ` [PATCH] ALSA, hda: Add support for Lenovo ThinkPad Edge 13 in conexant codec Takashi Iwai
2010-05-28 6:02 ` Jerone Young
2010-05-28 6:21 ` Andreas Herrmann
2010-05-28 6:35 ` Jerone Young
2010-05-28 6:45 ` Andreas Herrmann
2010-05-28 7:57 ` [PATCH] ALSA, hda: Add support for another Lenovo ThinkPad Edge " Andreas Herrmann
2010-05-28 8:04 ` Takashi Iwai
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).