hda-jack-retask on CentOS 6.5
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 0x03a110200x0b 0x0321101f0x0c 0x40f000f00x0d 0x901701520x0e 0x40f000f00x0f 0x40f000f00x10 0x901701510x11 0xd5a301300x1f 0x40f000f00x20 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
At Mon, 21 Apr 2014 13:54:22 -0500,
Quoted 29 lines · Chris Pemberton
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]
0x111d76e00x103c190d0[pincfg]
0x0a0x03a110200x0b0x0321101f0x0c0x40f000f00x0d0x901701520x0e0x40f000f00x0f0x40f000f00x100x901701510x110xd5a301300x1f0x40f000f00x200x40f000f0I created the following
/etc/modprobe.d/hda-jack-retask.confin CentOS 6.5:options snd-hda-intel patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw
Quoted 7 lines
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
At Mon, 28 Apr 2014 12:33:03 -0500,
Quoted 6 lines · Chris Pemberton
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
Quoted 62 lines
I recompiled the module per the CentOS wiki; and it failed to load (wrong file type; although it was the
_identical_filetype). 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 propersnd_hda_intelconfigured. 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.
Quoted 37 lines · Takashi Iwai
At Mon, 21 Apr 2014 13:54:22 -0500,
Quoted 28 lines · Chris Pemberton
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]
0x111d76e00x103c190d0[pincfg]
0x0a0x03a110200x0b0x0321101f0x0c0x40f000f00x0d0x901701520x0e0x40f000f00x0f0x40f000f00x100x901701510x110xd5a301300x1f0x40f000f00x200x40f000f0I created the following
/etc/modprobe.d/hda-jack-retask.confin CentOS 6.5:options snd-hda-intel patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw
Quoted 7 lines
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.
Quoted 8 lines
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)>]
At Tue, 29 Apr 2014 14:47:48 -0500,
Quoted 4 lines · Chris Pemberton
Here it is:
http://www.alsa-project.org/db/?f=21443905df9340ae6698cad1460f182465fa5143
OK, could you check the patch below?
Takashi
---
sound/pci/hda/patch_sigmatel.c +11 -0
@@ -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,