Add initial support for Realtek ALC1220 TRX40 motherboards

GitHub pull_request - opened github at alsa-project.org
Sun May 3 21:49:39 CEST 2020


alsa-project/alsa-ucm-conf pull request #25 was opened from maximlevitsky:

Tested with TRX40 Designare but should work on most TRX40 motherboards
Tested with pulseaudio 13.99.1 (from fedora 31 package)
Tested with kernel 5.7.0-rc3

The following are the notes of the testing and implementation

* Back speaker works in 5.1 mode, however
  pulseaudio doesn't know how to handle mixer controls with
  8 channels, thus 'PlaybackMixerElem' is for now commented out
  This profile at least makes pulseaudio to set volume on this mixer
  element to 100% when it boots
  7.1 mode doesn't work due to lack of jack retasking in the kernel

  Also pulseaudio refuses to set any postive volume on subwoofer on unknown grounds,
  even though on the kernel level it works.

* SPDIF is not tested physically yet. The SPDIF mute mixer control is recognised by
  pulseaudio correctly

* PlaybackPrioriry/CapturePriority seems to have no effect to pulseaudio,
  it doesn't autoswitch inputs when jacks are insterted. You need to switch manually

* When all capture inputs are disconnected, pulseaudio thinks that the UCM2 profile
  is invalid and doesn't use it by default. It can be forced to use it by selecting
  it in the pavucontrol. Or you can for now comment out one of 'JackControl' statements,
  to make it think that one of the jacks is always plugged in.

* Front mic is alway working in mic mode due to lack of jack retasting as well.

* PulseAudio doesn't take advantage of EnableSequence/DisableSequence fully.
  It just enables all the devices regardless of the jack status, and it will disable
  them only when you swith the device profile to Off

* The default volume on capture devices is set to 59% which roughtly repesents
  0 dB amplification according to alsamixer

Signed-off-by: Maxim Levitsky <maximlevitsky at gmail.com>

Request URL   : https://github.com/alsa-project/alsa-ucm-conf/pull/25
Patch URL     : https://github.com/alsa-project/alsa-ucm-conf/pull/25.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf


More information about the Alsa-devel mailing list