Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Chris Pemberton <cjpembo@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: hda-jack-retask on CentOS 6.5
Date: Tue, 29 Apr 2014 15:06:21 +0200	[thread overview]
Message-ID: <s5hlhuo9tf6.wl%tiwai@suse.de> (raw)
In-Reply-To: <535E90CF.6010301@gmail.com>

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)>]
> 

  parent reply	other threads:[~2014-04-29 13:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
     [not found]       ` <536001E4.2020505@gmail.com>
2014-04-30 14:33         ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hlhuo9tf6.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=cjpembo@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox