[alsa-devel] [PATCH] ALSA: hda - Make path_has_mixer() tristate

Takashi Iwai tiwai at suse.de
Fri Mar 6 12:33:17 CET 2015


At Fri, 06 Mar 2015 12:07:56 +0100,
Ingo Brückl wrote:
> 
> Takashi Iwai wrote on Fri, 06 Mar 2015 11:54:01 +0100:
> 
> > At Fri, 06 Mar 2015 11:20:22 +0100,
> > David Henningsson wrote:
> >>
> >> On 2015-03-06 10:57, Ingo Brückl wrote:
> >> > Takashi Iwai wrote on Fri, 06 Mar 2015 10:38:49 +0100:
> >> >
> >> >> Even if you try parsing the topology at first with ignoring 0x15,
> >> >> you'll need to add the path over 0x15 manually back to the
> >> >> information.  Otherwise it can't work.
> >> >
> >> > Why can't it work? I'm not going to use the speaker.
> >>
> >> There is no known hardware that has an speaker with no connection to it
> >> (and it would be a BIOS error if there was one), so it is not a priority
> >> (perhaps not even of interest) of the driver to support it.
> >> Especially not as the option of using e g hdajackretask [1] to disable
> >> the speaker permanently is an easier and better way than starting to
> >> mess around with the connections and paths manually.
> 
> > Right.  The big difference is "not using" and "disabling".  The former
> > is user's decision, but without telling the driver to disable the
> > functionality, the driver must still assume that it might be used in
> > future.
> 
> Thank you very much for this explanation. As a simple user, not being deep
> into hardware and driver internals, I wasn't aware of that difference.
> 
> > OTOH, the latter can be achieved easily by changing the pin default
> > configuration
> 
> Fine, if just someone could please advise what to do (hdajackretask isn't
> an option, no GUI, only console access).

1. Kill all sound apps and backends
2. Run below as root
   echo "0x15 0x411111f0" > /sys/class/sound/hwC0D0/user_pin_configs
   echo 1 > /sys/class/sound/hwC0D0/reconfig

That's all.  If you want to have this from the beginning, create a
firmware "patch" file and pass it via patch option of snd-hda-intel
module.  See Documentation/sound/alsa/HD-audio.txt.  In your case, you
need entries like:

  [codec]
  0xxxxx 0xxxx 0
  [pincfg]
  0x15 0x411111f0


Takashi





More information about the Alsa-devel mailing list