Re: Is it possible / how to reconfigure line-in as surround-out (ALC888)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Wed, 09 Jan 2013 09:18:55 +0100,
Bernhard Prell wrote:
> 
> On 08.01.2013 17:39, Takashi Iwai kindly answered me:
> 
> > It's not well known to the driver, and that's the problem.
> > Your BIOS misinforms that there are 4 line-out jacks are available.
> > Thus the driver thinks that no jack retasking is needed, as you have
> > already the full set of line outs.
> 
> Very interesting and promising. At least I know now, that it should be 
> possible.
> 
> >
> > You can fix it by overriding the default pin configuration via patch
> > option.  Specifically, you'd need to disable the unused line out pins
> > like 0x15, 0x16 and 0x17.
> >
> 
> I will soon read and try to understand
> http://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio.txt
> 
> But, if it's not a big deal for you, maybe you can tell me in more 
> detail how to disable these pins?
> Or if it's simple and well known to others, maybe they can help?

You need to prepare a "patch" firmware file.
It's a text file containing the workaround for your device.

It looks like:

================================================================
[codec]
0x12345678 0xabcd1234 2

[pincfg]
0x15 0x411111f0
0x16 0x411111f0
0x17 0x411111f0
================================================================

where you need to fill the right values to the first three numbers
after "[codec]" line.  The first value is the codec id, check "Vendor
Id" in /proc/asound/card0/codec#0.  The next one is the subsystem id,
corresponding to "Subsystem Id" in the codec file.  The last one is
the codec address, again, "Address" in the codec file.

The rest are overrides of the pin configuration.  You can use the
values above.  It means to disable pins 0x15, 0x16 and 0x17.

Then save it to a file in the firmware directory,
e.g. /lib/firmware/alsa/myfix.  Then pass it via patch module option
of snd-hda-intel.  For example, create a /etc/modprobe.d/* file
(e.g. /etc/modprobe.d/50-alsa.conf), which contains only a single line

options snd-hda-intel patch=alsa/myfix


Takashi

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux