Re: modify the 0x21 pin config for ADATout (STAC927x hda codec) ?

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

 



At Mon, 06 Apr 2009 03:37:59 +0200,
Eric wrote:
> 
> Please somebody give me a simple way so as to have my 0x21 node Pin
> config change
> from my current (Default) 0x01452150: [Jack] SPDIF Out
> to the aimed 0x01552150

With the very latest alsa-driver, you can change the pin defcfg value
via sysfs.  Grab the alsa-driver snapshot tarball below
    ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Build it and install it.  Then you'll have the files user_pin_configs
in /sys/class/sound/hwC0D* directory.  Write the NID and the value
to this file as root.

	# echo 0x21 0x1552150 > /sys/class/sound/hwC0D0/user_pin_configs

Then re-configure the setup by writing 1 to reconfig file there:

	# echo 0x21 0x1552150 > /sys/class/sound/hwC0D0/reconfig

Run "alsactl restore" to restore the mixer status after that.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux