* hda-jack-retask on CentOS 6.5
@ 2014-04-21 18:54 Chris Pemberton
2014-04-28 15:43 ` Takashi Iwai
0 siblings, 1 reply; 4+ messages in thread
From: Chris Pemberton @ 2014-04-21 18:54 UTC (permalink / raw)
To: alsa-devel
I could not find an rpm containing "hda-jack-retask" for CentOS 6.5, nor
could I compile it from source as it requires newer libraries than
CentOS provides. I therefore booted into Ubuntu 14.04, ran
hdajackretask, and saved the pin reassignments that fix my particular
laptop.
From Ubuntu 14.14 /lib/firmware/hda-jack-retask.fw
[codec]
0x111d76e0 0x103c190d 0
[pincfg]
0x0a 0x03a11020
0x0b 0x0321101f
0x0c 0x40f000f0
0x0d 0x90170152
0x0e 0x40f000f0
0x0f 0x40f000f0
0x10 0x90170151
0x11 0xd5a30130
0x1f 0x40f000f0
0x20 0x40f000f0
I created the following /etc/modprobe.d/hda-jack-retask.conf in CentOS 6.5:
options snd-hda-intel
patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw
Now when CentOS tries to load the snd-hda-intel module, I get the
following error:
snd_hda_intel: Unknown parameter `patch'
Is there another method I can use to set the pins? This is the only way
I've managed to get "Beats Audio" working on my HP Envy k025dx.
Thanks,
Chris
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: hda-jack-retask on CentOS 6.5
2014-04-21 18:54 hda-jack-retask on CentOS 6.5 Chris Pemberton
@ 2014-04-28 15:43 ` Takashi Iwai
[not found] ` <535E90CF.6010301@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Takashi Iwai @ 2014-04-28 15:43 UTC (permalink / raw)
To: Chris Pemberton; +Cc: alsa-devel
At Mon, 21 Apr 2014 13:54:22 -0500,
Chris Pemberton wrote:
>
> I could not find an rpm containing "hda-jack-retask" for CentOS 6.5, nor
> could I compile it from source as it requires newer libraries than
> CentOS provides. I therefore booted into Ubuntu 14.04, ran
> hdajackretask, and saved the pin reassignments that fix my particular
> laptop.
>
> From Ubuntu 14.14 /lib/firmware/hda-jack-retask.fw
>
> [codec]
> 0x111d76e0 0x103c190d 0
>
> [pincfg]
> 0x0a 0x03a11020
> 0x0b 0x0321101f
> 0x0c 0x40f000f0
> 0x0d 0x90170152
> 0x0e 0x40f000f0
> 0x0f 0x40f000f0
> 0x10 0x90170151
> 0x11 0xd5a30130
> 0x1f 0x40f000f0
> 0x20 0x40f000f0
>
> I created the following /etc/modprobe.d/hda-jack-retask.conf in CentOS 6.5:
>
> options snd-hda-intel
> patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw
>
> Now when CentOS tries to load the snd-hda-intel module, I get the
> following error:
>
> snd_hda_intel: Unknown parameter `patch'
>
> Is there another method I can use to set the pins? This is the only way
> I've managed to get "Beats Audio" working on my HP Envy k025dx.
You need to rebuild your kernel with proper configs. The patch option
is available via CONFIG_SND_HDA_PATCH_LOADER.
BTW, which pin setup is missing? It's better to add the static fixup
in the kernel code.
Takashi
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: hda-jack-retask on CentOS 6.5
[not found] ` <535E90CF.6010301@gmail.com>
@ 2014-04-29 13:06 ` Takashi Iwai
[not found] ` <536001E4.2020505@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Takashi Iwai @ 2014-04-29 13:06 UTC (permalink / raw)
To: Chris Pemberton; +Cc: alsa-devel
At Mon, 28 Apr 2014 12:33:03 -0500,
Chris Pemberton wrote:
>
> The laptop left and right speakers work as is: the third "Beats Audio"
> sub is the only thing needing a fix. I changed the following:
>
> 0x0d (Internal Speaker, Front Side) -> Override Internal Speaker (Back)
> 0x10 -> Internal speaker (LFE)
So, just replacing the pin config of NID 0x0d suffices?
Could you give the alsa-info.sh output with that setup? Then I can
write a patch for adding the configuration statically to the kernel.
thanks,
Takashi
>
> I recompiled the module per the CentOS wiki; and it failed to load
> (wrong file type; although it was the _identical _file type). I then
> compiled the entire kernel and used the new module with the old kernel;
> it wouldn't load due to not being signed. Finally found a mainline
> kernel in the elrepo repo that had the proper snd_hda_intel configured.
> Works great with the pin configs I provided previously.
>
> Machine is currently loaded with Fedora 20 and Win7 if you'd like more
> detailed information. I was able to download a Win7 driver from HP that
> supposedly enables Beats Audio for many HP laptops models; if it could
> be of any use.
>
> On 04/28/2014 10:43 AM, Takashi Iwai wrote:
> > At Mon, 21 Apr 2014 13:54:22 -0500,
> > Chris Pemberton wrote:
> >> I could not find an rpm containing "hda-jack-retask" for CentOS 6.5, nor
> >> could I compile it from source as it requires newer libraries than
> >> CentOS provides. I therefore booted into Ubuntu 14.04, ran
> >> hdajackretask, and saved the pin reassignments that fix my particular
> >> laptop.
> >>
> >> From Ubuntu 14.14 /lib/firmware/hda-jack-retask.fw
> >>
> >> [codec]
> >> 0x111d76e0 0x103c190d 0
> >>
> >> [pincfg]
> >> 0x0a 0x03a11020
> >> 0x0b 0x0321101f
> >> 0x0c 0x40f000f0
> >> 0x0d 0x90170152
> >> 0x0e 0x40f000f0
> >> 0x0f 0x40f000f0
> >> 0x10 0x90170151
> >> 0x11 0xd5a30130
> >> 0x1f 0x40f000f0
> >> 0x20 0x40f000f0
> >>
> >> I created the following /etc/modprobe.d/hda-jack-retask.conf in CentOS 6.5:
> >>
> >> options snd-hda-intel
> >> patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw
> >>
> >> Now when CentOS tries to load the snd-hda-intel module, I get the
> >> following error:
> >>
> >> snd_hda_intel: Unknown parameter `patch'
> >>
> >> Is there another method I can use to set the pins? This is the only way
> >> I've managed to get "Beats Audio" working on my HP Envy k025dx.
> > You need to rebuild your kernel with proper configs. The patch option
> > is available via CONFIG_SND_HDA_PATCH_LOADER.
> >
> > BTW, which pin setup is missing? It's better to add the static fixup
> > in the kernel code.
> >
> >
> > Takashi
>
> [2 <text/html; ISO-8859-1 (7bit)>]
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: hda-jack-retask on CentOS 6.5
[not found] ` <536001E4.2020505@gmail.com>
@ 2014-04-30 14:33 ` Takashi Iwai
0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2014-04-30 14:33 UTC (permalink / raw)
To: Chris Pemberton; +Cc: alsa-devel
At Tue, 29 Apr 2014 14:47:48 -0500,
Chris Pemberton wrote:
>
> Here it is:
>
> http://www.alsa-project.org/db/?f=21443905df9340ae6698cad1460f182465fa5143
OK, could you check the patch below?
Takashi
---
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 75515b494034..39689a4fa93f 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -103,6 +103,7 @@ enum {
STAC_92HD83XXX_HP,
STAC_HP_ENVY_BASS,
STAC_HP_BNB13_EQ,
+ STAC_HP_ENVY_TS_BASS,
STAC_92HD83XXX_MODELS
};
@@ -2662,6 +2663,13 @@ static const struct hda_fixup stac92hd83xxx_fixups[] = {
.chained = true,
.chain_id = STAC_92HD83XXX_HP_MIC_LED,
},
+ [STAC_HP_ENVY_TS_BASS] = {
+ .type = HDA_FIXUP_PINS,
+ .v.pins = (const struct hda_pintbl[]) {
+ { 0x10, 0x92170111 },
+ {}
+ },
+ },
};
static const struct hda_model_fixup stac92hd83xxx_models[] = {
@@ -2678,6 +2686,7 @@ static const struct hda_model_fixup stac92hd83xxx_models[] = {
{ .id = STAC_92HD83XXX_HEADSET_JACK, .name = "headset-jack" },
{ .id = STAC_HP_ENVY_BASS, .name = "hp-envy-bass" },
{ .id = STAC_HP_BNB13_EQ, .name = "hp-bnb13-eq" },
+ { .id = STAC_HP_ENVY_TS_BASS, .name = "hp-envy-ts-bass" },
{}
};
@@ -2733,6 +2742,8 @@ static const struct snd_pci_quirk stac92hd83xxx_fixup_tbl[] = {
"HP bNB13", STAC_HP_BNB13_EQ),
SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x190A,
"HP bNB13", STAC_HP_BNB13_EQ),
+ SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x190e,
+ "HP ENVY TS", STAC_HP_ENVY_TS_BASS),
SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x1940,
"HP bNB13", STAC_HP_BNB13_EQ),
SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x1941,
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-04-30 14:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-21 18:54 hda-jack-retask on CentOS 6.5 Chris Pemberton
2014-04-28 15:43 ` Takashi Iwai
[not found] ` <535E90CF.6010301@gmail.com>
2014-04-29 13:06 ` Takashi Iwai
[not found] ` <536001E4.2020505@gmail.com>
2014-04-30 14:33 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox