Recent commits on external-alsa-ucm-conf (git) - Android-x86 - OSDN https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/ Android-x86 https://static-cdn.osdn.net/thumb/g/5/887/36x36_0.png /projects/android-x86/ a4cd64: tegra: Add UCM for Nvidia Tegra HDMI Audio Fixes: https:... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/a4cd64da90d01dc801b1887a7f835420512d0f17 Signed-off-by: Jaroslav Kysela ]]> Svyatoslav Ryhel Commit: a4cd64da90d01dc801b1887a7f835420512d0f17
tegra: Add UCM for Nvidia Tegra HDMI Audio

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/94
Signed-off-by: Svyatoslav Ryhel 
Signed-off-by: Jaroslav Kysela 
]]>
3f3402: HDA-Intel: the lookups are supported from syntax 4 Signe... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/3f34021beffba4e39f064a14c5faceeaa224b766 ]]> Jaroslav Kysela Commit: 3f34021beffba4e39f064a14c5faceeaa224b766
HDA-Intel: the lookups are supported from syntax 4

Signed-off-by: Jaroslav Kysela 
]]>
4136b2: tegra: shuffle ASUS Google Nexus 7 files BugLink: https:... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/4136b2276e5663a60374d0e2adca54f6861dbafe ]]> Jaroslav Kysela Commit: 4136b2276e5663a60374d0e2adca54f6861dbafe
tegra: shuffle ASUS Google Nexus 7 files

BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/94
Signed-off-by: Jaroslav Kysela 
]]>
3bfe5e: tegra: shuffle Acer Iconia Tab A500 files BugLink: https... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/3bfe5eeb03c3e9fabb9cd8f5b83818c4cfcb74a7 ]]> Jaroslav Kysela Commit: 3bfe5eeb03c3e9fabb9cd8f5b83818c4cfcb74a7
tegra: shuffle Acer Iconia Tab A500 files

BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/94
Signed-off-by: Jaroslav Kysela 
]]>
4884ef: rt5640 / bytcr-rt5640: cleanups - merge HaveAif1 and Hav... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/4884ef82c2ea27942a51411d0606f5f0866dcd2e ]]> Jaroslav Kysela Commit: 4884ef82c2ea27942a51411d0606f5f0866dcd2e
rt5640 / bytcr-rt5640: cleanups

- merge HaveAif1 and HaveAif2 to HaveAif with values 1 and 2
- HaveSpeaker identifies stereo and mono (values 2 and 1)
- HaveInternalMic identifies internal mic input (dmic, in1, in3)
- rewrite (unify) bytcr-rt5640 components detection

BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/92
Signed-off-by: Jaroslav Kysela 
]]>
563f6e: tegra: Add UCM for ASUS Google Nexus 7 (2012) ASUS Googl... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/563f6e02391274b66b2c38bd1f270469a9b277e4 Signed-off-by: Jaroslav Kysela ]]> Dmitry Osipenko Commit: 563f6e02391274b66b2c38bd1f270469a9b277e4
tegra: Add UCM for ASUS Google Nexus 7 (2012)

ASUS Google Nexus 7 tablet device is powered by NVIDIA Tegra30 SoC, it
has Realtek ALC5642 audio CODEC, which is compatible with the RT5640 CODEC.
Nexus 7 has a 2-channel built-in speaker, built-in 2-channel microphone,
a 3-pin 3.5mm jack for headphones, and a custom external audio output for
docking-station. The docking-station configuration isn't supported because
it's unsupported by the upstream Linux kernel yet.

Signed-off-by: Dmitry Osipenko 
Signed-off-by: Jaroslav Kysela 
]]>
16dd7f: tegra: Add UCM for Acer Iconia Tab A500 Acer Iconia Tab ... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/16dd7fbeb68b05cf463d052078f01dbe41f0efb4 Signed-off-by: Jaroslav Kysela ]]> Dmitry Osipenko Commit: 16dd7fbeb68b05cf463d052078f01dbe41f0efb4
tegra: Add UCM for Acer Iconia Tab A500

Acer Iconia Tab A500 is a tablet device which is powered by NVIDIA Tegra20
SoC, it has WM8903 audio CODEC. The device has built-in 2-channel speaker,
built-in mono microphone and 4-pin 3.5mm jack for headphones and headset.

Signed-off-by: Dmitry Osipenko 
Signed-off-by: Jaroslav Kysela 
]]>
e91492: tegra: Add symlinks to conf.d/tegra The old UCM names we... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/e914927c6bad71036d9b2ec0e6d08d87a02aec68 Signed-off-by: Jaroslav Kysela ]]> Dmitry Osipenko Commit: e914927c6bad71036d9b2ec0e6d08d87a02aec68
tegra: Add symlinks to conf.d/tegra

The old UCM names were matched only by the name of the kernel driver module.
This means that built-in kernel drivers never matched.

Tegra ASoC machine kernel drivers never specified the card's driver_name
and long_name properly, which is required in order to have a proper
'ucm2/conf.d/tegra/' path being used for the matching of UCMs. This will
be fixed in the kernel ASAP, the change will be backported to stable kernels.

This patch adds symlinks for the PAZ00 netbook and NyanBig Chromebook
to the new 'ucm2/conf.d/tegra/' directory that will match devices properly
in conjunction with the updated Linux kernel regardless of whether sound
driver is a loadable module or built-in.

Signed-off-by: Dmitry Osipenko 
Signed-off-by: Jaroslav Kysela 
]]>
61d820: codecs/rt5640: Make headset optional Nexus 7 has a 3-pin... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/61d820037de892e28f38afb708e5db314206fb92 Signed-off-by: Jaroslav Kysela ]]> Dmitry Osipenko Commit: 61d820037de892e28f38afb708e5db314206fb92
codecs/rt5640: Make headset optional

Nexus 7 has a 3-pin 3.5mm headphones jack, it doesn't support headset
microphone, and thus, it doesn't have headset microphone jack. Make
headset device optional.

Signed-off-by: Dmitry Osipenko 
Signed-off-by: Jaroslav Kysela 
]]>
4f74bf: codecs/rt5640: Fix restoring of playback volumes The pla... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/4f74bf0755fe9717a48a4f7452e5cd20d402de76 Signed-off-by: Jaroslav Kysela ]]> Dmitry Osipenko Commit: 4f74bf0755fe9717a48a4f7452e5cd20d402de76
codecs/rt5640: Fix restoring of playback volumes

The playback volumes shall be initialized only during of the first
enable sequence, not during the initialization of speaker/headphones
devices. This fixes sound level restoring by pulseaudio when headphones
are inserted/ejected. Previously sound level was always reset to the
default level on insert/ejection, which is the incorrect behaviour.
The correct behaviour is to restore volume the previous level, i.e.
if sound level was 3% before headphones were ejected, then level should
be restored to 3% when headphones are inserted back.

Signed-off-by: Dmitry Osipenko 
Signed-off-by: Jaroslav Kysela 
]]>
73e5c8: codecs/rt5640: Turn off playback switches by default Pre... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/73e5c8802df2dc362042640caa8000a83781e1b9 Signed-off-by: Jaroslav Kysela ]]> Dmitry Osipenko Commit: 73e5c8802df2dc362042640caa8000a83781e1b9
codecs/rt5640: Turn off playback switches by default

Previously RT5640 was turning off switches that are specific to the Intel
BayTrail SoC. In a case of other SoCs we need to turn off the codec switches.
This fixes audio playing from both speaker and headphones simultaneously on
Nexus 7, until headphones are re-inserted.

Signed-off-by: Dmitry Osipenko 
Signed-off-by: Jaroslav Kysela 
]]>
446d0a: codecs/rt5640: Move out BayTrail-specific pin switches T... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/446d0a71b47f7d6548a85a15731a035103d95bd8 Signed-off-by: Jaroslav Kysela ]]> Dmitry Osipenko Commit: 446d0a71b47f7d6548a85a15731a035103d95bd8
codecs/rt5640: Move out BayTrail-specific pin switches

The UCM of RT5640 codec toggles switches that exists only in a case of
the Intel BayTrail ASoC machine driver, RT5640 codec driver doesn't have
them. Move these switches to the BayTrail UCM in order to make generic UCM
rules reusable by other SoCs.

Signed-off-by: Dmitry Osipenko 
Signed-off-by: Jaroslav Kysela 
]]>
d9a070: fix ucm2/README.md - ALSA driver name has the precedence ... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/d9a0708a2a3bfe401f73127ed812088a754dd763 ]]> Jaroslav Kysela Commit: d9a0708a2a3bfe401f73127ed812088a754dd763
fix ucm2/README.md - ALSA driver name has the precedence

Signed-off-by: Jaroslav Kysela 
]]>
2f27f7: rt715: add the missing sof prefix to the hw control name ... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/2f27f7ba0a4298612738c3c63455ac968bb47e38 ]]> Jaroslav Kysela Commit: 2f27f7ba0a4298612738c3c63455ac968bb47e38
rt715: add the missing sof prefix to the hw control name

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/67
Signed-off-by: Jaroslav Kysela 
]]>
4c29de: rt715-scda (rt714) - add mic led support Signed-off-by: ... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/4c29de69359d7672bb8a255ffe10e21cdbaf1634 ]]> Jaroslav Kysela Commit: 4c29de69359d7672bb8a255ffe10e21cdbaf1634
rt715-scda (rt714) - add mic led support

Signed-off-by: Jaroslav Kysela 
]]>
dac1c4: rt715: add mic led support Fixes: https://github.com/als... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/dac1c4904a96506c316c46471928d1ae8752dd75 ]]> Jaroslav Kysela Commit: dac1c4904a96506c316c46471928d1ae8752dd75
rt715: add mic led support

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/67
Signed-off-by: Jaroslav Kysela 
]]>
f99499: rt715: don't initialize obsolete ADC controls Fixes: htt... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/f9949919dc5e548e308ab0e9a5c6a09cc370f4c4 ]]> Jaroslav Kysela Commit: f9949919dc5e548e308ab0e9a5c6a09cc370f4c4
rt715: don't initialize obsolete ADC controls

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/67
Signed-off-by: Jaroslav Kysela 
]]>
8eed67: sof-soundwire: rt715 - use the hw volume control Fixes: ... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/8eed6728ff4597c28c945ba65cc7715fd528b126 ]]> Jaroslav Kysela Commit: 8eed6728ff4597c28c945ba65cc7715fd528b126
sof-soundwire: rt715 - use the hw volume control

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/67
Signed-off-by: Jaroslav Kysela 
]]>
449b10: bytcr-rt5640: Add support for controlling a speaker-mute ... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/449b10d55902c70a239db3e3689d5cc31400f14f Signed-off-by: Jaroslav Kysela ]]> Hans de Goede Commit: 449b10d55902c70a239db3e3689d5cc31400f14f
bytcr-rt5640: Add support for controlling a speaker-mute LED

Add support for controlling a speaker-mute LED using the new snd_ctl_led
kernel module for generic mute LED control.

Tested on a HP Pavilion X2 10-n000nd and a HP Pavilion X2 10-p002nd both of
which have a detachable USB keyboard with a speaker mute LED embedded in
the audio-mute button.

Signed-off-by: Hans de Goede 
Signed-off-by: Jaroslav Kysela 
]]>
bba72b: cht-bsw-rt5672: Add support for controlling speaker- and ... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/bba72b0f47d26dc9acbf245c0521d3b3c80103ee Signed-off-by: Jaroslav Kysela ]]> Hans de Goede Commit: bba72b0f47d26dc9acbf245c0521d3b3c80103ee
cht-bsw-rt5672: Add support for controlling speaker- and mic-mute LEDs

Add support for controlling speaker- and mic-mute LEDs using the new
snd_ctl_led kernel module for generic mute LED control.

Tested on a Thinkpad 10 tablet which has a detachable USB keyboard with
a speaker mute LED embedded in the volume-mute button and a mic mute
LED embedded in the mic-mute button.

Signed-off-by: Hans de Goede 
Signed-off-by: Jaroslav Kysela 
]]>
904379: cht-bsw-rt5672: Add support for the components string Up... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/90437914dadb716e504629c52e66e7a9da224179 Signed-off-by: Jaroslav Kysela ]]> Hans de Goede Commit: 90437914dadb716e504629c52e66e7a9da224179
cht-bsw-rt5672: Add support for the components string

Upcoming kernel versions will report which speaker and dmic config is used
by the device in a components strings so that we don't need to duplicate
the DMI quirks in both the kernel and the UCM profile.

Add support for getting the speaker and dmic config from the components string.

Note the old DMI matching is kept for support of older kernels, this means
that on devices where the old DMI matching was used things like:

Define.MonoSpeaker ""

Will now be done twice, this is harmless as long as the kernel and UCM profile
DMI quirks are in sync, which they are.

Signed-off-by: Hans de Goede 
Signed-off-by: Jaroslav Kysela 
]]>
e84274: remap mixer controls for rt5682 Suggested-by: Hans de Go... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/e842745a1e1cf91e44fdc4ad17abdd36a7fdb57d Signed-off-by: Jaroslav Kysela ]]> Jaroslav Kysela Commit: e842745a1e1cf91e44fdc4ad17abdd36a7fdb57d
remap mixer controls for rt5682

Suggested-by: Hans de Goede 
Signed-off-by: Jaroslav Kysela 
]]>
8988b8: remap mixer controls for rt5660 Suggested-by: Hans de Go... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/8988b87b6c6eabc55ae7b6560b43b9451016d0ed Signed-off-by: Jaroslav Kysela ]]> Jaroslav Kysela Commit: 8988b87b6c6eabc55ae7b6560b43b9451016d0ed
remap mixer controls for rt5660

Suggested-by: Hans de Goede 
Signed-off-by: Jaroslav Kysela 
]]>
ac5058: remap mixer controls for rt5677 Suggested-by: Hans de Go... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/ac5058a53a38a2afe0e6de9f7a0fcf579bc45246 Signed-off-by: Jaroslav Kysela ]]> Jaroslav Kysela Commit: ac5058a53a38a2afe0e6de9f7a0fcf579bc45246
remap mixer controls for rt5677

Suggested-by: Hans de Goede 
Signed-off-by: Jaroslav Kysela 
]]>
2072ab: remap mixer controls for rt5651 Suggested-by: Hans de Go... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/2072ab794b69cdf4f070db5467387d08a65c4309 Signed-off-by: Jaroslav Kysela ]]> Jaroslav Kysela Commit: 2072ab794b69cdf4f070db5467387d08a65c4309
remap mixer controls for rt5651

Suggested-by: Hans de Goede 
Signed-off-by: Jaroslav Kysela 
]]>
ddd107: remap mixer controls for rt5645 Suggested-by: Hans de Go... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/ddd10778b19be5dc7fb0a0813c4750bac60dfdcb Signed-off-by: Jaroslav Kysela ]]> Jaroslav Kysela Commit: ddd10778b19be5dc7fb0a0813c4750bac60dfdcb
remap mixer controls for rt5645

Suggested-by: Hans de Goede 
Signed-off-by: Jaroslav Kysela 
]]>
160c05: remap mixer controls for rt5640 Suggested-by: Hans de Go... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/160c059d5d011ba45689672b136dbcb126cae1a4 Signed-off-by: Jaroslav Kysela ]]> Jaroslav Kysela Commit: 160c059d5d011ba45689672b136dbcb126cae1a4
remap mixer controls for rt5640

Suggested-by: Hans de Goede 
Signed-off-by: Jaroslav Kysela 
]]>
43b686: ucm2: add lib / ctl-remap.conf generic device Signed-off... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/43b68621a302d86ba8a92f6edba3d426c3611c76 ]]> Jaroslav Kysela Commit: 43b68621a302d86ba8a92f6edba3d426c3611c76
ucm2: add lib / ctl-remap.conf generic device

Signed-off-by: Jaroslav Kysela 
]]>
c62c5c: ucm2: lib/generic - use standard (not substituted) config... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/c62c5cd89b7abb85099e0b33799a7a1b68a7f999 ]]> Jaroslav Kysela Commit: c62c5cd89b7abb85099e0b33799a7a1b68a7f999
ucm2: lib/generic - use standard (not substituted) config tree

Signed-off-by: Jaroslav Kysela 
]]>
ba358e: ucm2: remove the trailing slash from the rm command Link... https://osdn.net/projects/android-x86/scm/git/external-alsa-ucm-conf/commits/ba358e836584ba77b2ebfb5e621616d9518a825c ]]> Jaroslav Kysela Commit: ba358e836584ba77b2ebfb5e621616d9518a825c
ucm2: remove the trailing slash from the rm command

Link: https://github.com/alsa-project/alsa-ucm-conf/commit/548036b8ecc92d4e8e2070046551fb0b8acb7d96#commitcomment-50808354
Signed-off-by: Jaroslav Kysela 
]]>