From bc0d1236e75012c7de3fa0cc4dd2ffeabc3cd545 Mon Sep 17 00:00:00 2001 From: Svyatoslav Ryhel Date: Tue, 1 Jun 2021 09:17:27 +0300 Subject: [PATCH] device-asus-transformer: switch to alsa-ucm-conf (MR 2285) Signed-off-by: Svyatoslav Ryhel --- device/testing/device-asus-tf201/APKBUILD | 31 +--- .../ucm/TF201_RT5631-HiFi.conf | 131 ---------------- .../device-asus-tf201/ucm/TF201_RT5631.conf | 8 - .../device-asus-tf201/ucm/tegra-hda-HiFi.conf | 24 --- .../device-asus-tf201/ucm/tegra-hda.conf | 8 - device/testing/device-asus-tf300t/APKBUILD | 31 +--- .../ucm/TF300T_WM8903-HiFi.conf | 142 ------------------ .../device-asus-tf300t/ucm/TF300T_WM8903.conf | 8 - .../ucm/tegra-hda-HiFi.conf | 24 --- .../device-asus-tf300t/ucm/tegra-hda.conf | 8 - device/testing/device-asus-tf700t/APKBUILD | 29 +--- .../ucm/TF700T_RT5631-HiFi.conf | 131 ---------------- .../device-asus-tf700t/ucm/TF700T_RT5631.conf | 8 - .../ucm/tegra-hda-HiFi.conf | 24 --- .../device-asus-tf700t/ucm/tegra-hda.conf | 8 - 15 files changed, 20 insertions(+), 595 deletions(-) delete mode 100644 device/testing/device-asus-tf201/ucm/TF201_RT5631-HiFi.conf delete mode 100644 device/testing/device-asus-tf201/ucm/TF201_RT5631.conf delete mode 100644 device/testing/device-asus-tf201/ucm/tegra-hda-HiFi.conf delete mode 100644 device/testing/device-asus-tf201/ucm/tegra-hda.conf delete mode 100644 device/testing/device-asus-tf300t/ucm/TF300T_WM8903-HiFi.conf delete mode 100644 device/testing/device-asus-tf300t/ucm/TF300T_WM8903.conf delete mode 100644 device/testing/device-asus-tf300t/ucm/tegra-hda-HiFi.conf delete mode 100644 device/testing/device-asus-tf300t/ucm/tegra-hda.conf delete mode 100644 device/testing/device-asus-tf700t/ucm/TF700T_RT5631-HiFi.conf delete mode 100644 device/testing/device-asus-tf700t/ucm/TF700T_RT5631.conf delete mode 100644 device/testing/device-asus-tf700t/ucm/tegra-hda-HiFi.conf delete mode 100644 device/testing/device-asus-tf700t/ucm/tegra-hda.conf diff --git a/device/testing/device-asus-tf201/APKBUILD b/device/testing/device-asus-tf201/APKBUILD index 290e2b9e6..8114aa2e4 100644 --- a/device/testing/device-asus-tf201/APKBUILD +++ b/device/testing/device-asus-tf201/APKBUILD @@ -3,22 +3,18 @@ pkgname=device-asus-tf201 pkgdesc="Asus Transformer Prime TF201" -pkgver=1 -pkgrel=3 +pkgver=2 +pkgrel=0 url="https://postmarketos.org" license="MIT" arch="armv7" options="!check !archcheck" -depends="postmarketos-base linux-postmarketos-grate mkbootimg mesa-dri-gallium mkbootimg alsa-ucm-conf asus-transformer-blobtools" +depends="postmarketos-base linux-postmarketos-grate mesa-dri-gallium mkbootimg alsa-ucm-conf asus-transformer-blobtools" makedepends="devicepkg-dev" subpackages="$pkgname-phosh $pkgname-nonfree-firmware:nonfree_firmware" source="deviceinfo - rootston.ini - ucm/tegra-hda.conf - ucm/tegra-hda-HiFi.conf - ucm/TF201_RT5631.conf - ucm/TF201_RT5631-HiFi.conf" + rootston.ini" build() { devicepkg_build $startdir $pkgname @@ -26,16 +22,6 @@ build() { package() { devicepkg_package $startdir $pkgname - - # Alsa usecase manager config - install -D -m644 "$srcdir"/TF201_RT5631.conf \ - "$pkgdir"/usr/share/alsa/ucm2/TF201_RT5631/TF201_RT5631.conf - install -D -m644 "$srcdir"/TF201_RT5631-HiFi.conf \ - "$pkgdir"/usr/share/alsa/ucm2/TF201_RT5631/HiFi.conf - install -D -m644 "$srcdir"/tegra-hda.conf \ - "$pkgdir"/usr/share/alsa/ucm2/tegra-hda/tegra-hda.conf - install -D -m644 "$srcdir"/tegra-hda-HiFi.conf \ - "$pkgdir"/usr/share/alsa/ucm2/tegra-hda/HiFi.conf } phosh() { @@ -50,10 +36,7 @@ nonfree_firmware() { mkdir "$subpkgdir" } - -sha512sums="344e1a878b654c9f50438ad44e68b5cb2c86c01815a29a4eb6c1c791cfd37ff0ea681f5755bdcb2b9035d6608b4ddc87d44c0e3838eb0bdf8e8c8f79e16e84db deviceinfo +sha512sums=" +344e1a878b654c9f50438ad44e68b5cb2c86c01815a29a4eb6c1c791cfd37ff0ea681f5755bdcb2b9035d6608b4ddc87d44c0e3838eb0bdf8e8c8f79e16e84db deviceinfo 6ec993e278d2a73c72fb96f001716ded63543d99183847d22d172cd81ac410791c79370ecf391d0c24822c975d91b84dc1db296e1b28dbf66d5c227bff8d4011 rootston.ini -5dead806f7568fad5f240957158864faab7a4dbbdae18b2a18110f64caa0254a001fbd5711789718cfde055528af57cebca11bbc4d7f55e12c9853f3d9e8534c tegra-hda.conf -1cdaa43350d69a021d2ff0b8b91ab537032b6861003bea506e429948c615934f6ee56cc4603dd94d4923c8be4a52a63cac110761b51167761c096b6880ce6c0c tegra-hda-HiFi.conf -5a692d53097c5791bfa6adf149947ec95e9a8392dc14581a62b20ce086ff40afc1a5988dcaa5083df44cfaea51902a9ec09ee9d623df2e595bf1ef1fb1c1f1e8 TF201_RT5631.conf -9dc4bd7f3b5f24323655ef997d80d310bea00fabfd9bb5f1fbe06682b336ed5ad6ead0b81f84ba83eda0a0202ca279e78b792e6c1bc044315ecbe92fb382d51e TF201_RT5631-HiFi.conf" +" diff --git a/device/testing/device-asus-tf201/ucm/TF201_RT5631-HiFi.conf b/device/testing/device-asus-tf201/ucm/TF201_RT5631-HiFi.conf deleted file mode 100644 index 25ead02d1..000000000 --- a/device/testing/device-asus-tf201/ucm/TF201_RT5631-HiFi.conf +++ /dev/null @@ -1,131 +0,0 @@ -# Use case Configuration for ASUS Transformer Prime TF201 - -SectionVerb { - EnableSequence [ - cset "name='OUTVOL Channel Switch' on" - - cset "name='AXO2 Playback Switch' on" - cset "name='AXO2MIX Mixer OUTVOLL Playback Switch' on" - - cset "name='PCM Playback Switch' on" - cset "name='PCM Playback Volume' 255" - - # Speakers - cset "name='Speaker Playback Switch' off" - cset "name='Speaker Playback Volume' 10" - cset "name='Int Spk Switch' on" - cset "name='SPK Ratio Control' 1.99x" - - cset "name='SPKMIXL Mixer DACL Playback Switch' on" - cset "name='Left SPKVOL Mux' SPKMIXL" - cset "name='SPOLMIX Mixer SPKVOLL Playback Switch' on" - cset "name='SPOL Mux' SPOLMIX" - - cset "name='SPKMIXR Mixer DACR Playback Switch' on" - cset "name='Right SPKVOL Mux' SPKMIXR" - cset "name='SPORMIX Mixer SPKVOLR Playback Switch' on" - cset "name='SPOR Mux' SPORMIX" - - # Headphones - cset "name='HP Playback Switch' off" - cset "name='HP Playback Volume' 20" - - cset "name='OUTMIXL Mixer DACL Playback Switch' on" - cset "name='Left HPVOL Mux' OUTMIXL" - cset "name='Left OUTVOL Mux' OUTMIXL" - cset "name='HPL Mux' Left HPVOL" - - cset "name='OUTMIXR Mixer DACR Playback Switch' on" - cset "name='Right HPVOL Mux' OUTMIXR" - cset "name='Right OUTVOL Mux' OUTMIXR" - cset "name='HPR Mux' Right HPVOL" - - # Mics - cset "name='DMIC Switch' off" - cset "name='DMIC Capture Switch' off" - cset "name='Int Mic Switch' off" - - cset "name='MIC1 Mode Control' Differential" - cset "name='MIC2 Mode Control' Single ended" - cset "name='MIC1 Boost Volume' 6" - cset "name='MIC2 Boost Volume' 6" - cset "name='RECMIXL Mixer MIC1_BST1 Capture Switch' on" - - #cset "name='Mic Jack Switch' off" - - cset "name='MONO Mux' MONOMIX" - cset "name='MONO Playback Switch' off" - cset "name='MONOIN Mode Control' Differential" - cset "name='MONOIN_RX Capture Volume' 25" - - cset "name='AXI Capture Volume' 23" - ] -} - -SectionDevice."Speakers" { - Comment "Speakers" - - EnableSequence [ - cset "name='Speaker Playback Switch' on" - cset "name='Int Spk Switch' on" - ] - - DisableSequence [ - cset "name='Int Spk Switch' off" - cset "name='Speaker Playback Switch' off" - ] - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackChannels 2 - PlaybackPriority 200 - PlaybackVolume "Speaker Playback Volume" - PlaybackSwitch "Speaker Playback Switch" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - EnableSequence [ - cset "name='HP Playback Switch' on" - ] - - DisableSequence [ - cset "name='HP Playback Switch' off" - ] - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackChannels 2 - PlaybackPriority 100 - PlaybackVolume "HP Playback Volume" - PlaybackSwitch "HP Playback Switch" - - JackControl "Headphone Jack" - } -} - -SectionDevice."InternalMic" { - Comment "Internal Microphone" - - ConflictingDevice [ - ] - - EnableSequence [ - cset "name='DMIC Capture Switch' on" - cset "name='DMIC Switch' on" - cset "name='Int Mic Switch' on" - ] - - DisableSequence [ - cset "name='DMIC Capture Switch' off" - cset "name='DMIC Switch' off" - cset "name='Int Mic Switch' off" - ] - - Value { - CapturePCM "hw:${CardId}" - CaptureChannels 2 - } -} diff --git a/device/testing/device-asus-tf201/ucm/TF201_RT5631.conf b/device/testing/device-asus-tf201/ucm/TF201_RT5631.conf deleted file mode 100644 index 557e8103b..000000000 --- a/device/testing/device-asus-tf201/ucm/TF201_RT5631.conf +++ /dev/null @@ -1,8 +0,0 @@ -# Use case Configuration for ASUS Transformer Prime TF201 - -Syntax 2 - -SectionUseCase."HiFi" { - File "HiFi.conf" - Comment "Play HiFi quality Music" -} diff --git a/device/testing/device-asus-tf201/ucm/tegra-hda-HiFi.conf b/device/testing/device-asus-tf201/ucm/tegra-hda-HiFi.conf deleted file mode 100644 index 0e74a7f08..000000000 --- a/device/testing/device-asus-tf201/ucm/tegra-hda-HiFi.conf +++ /dev/null @@ -1,24 +0,0 @@ -If.hdmi { - Condition { - Type ControlExists - Control "iface=CARD,name='HDMI/DP,pcm=3 Jack'" - } - True { - SectionDevice."HDMI1" { - Comment "HDMI / DisplayPort Output" - - EnableSequence [ - cset "name='IEC958 Playback Switch' on" - ] - - DisableSequence [ - cset "name='IEC958 Playback Switch' off" - ] - - Value { - PlaybackPCM "hw:${CardId},3" - JackControl "HDMI/DP,pcm=3 Jack" - } - } - } -} diff --git a/device/testing/device-asus-tf201/ucm/tegra-hda.conf b/device/testing/device-asus-tf201/ucm/tegra-hda.conf deleted file mode 100644 index 83517fa0f..000000000 --- a/device/testing/device-asus-tf201/ucm/tegra-hda.conf +++ /dev/null @@ -1,8 +0,0 @@ -# UCM for Nvidia Tegra30 HDMI Audio - -Syntax 3 - -SectionUseCase."HiFi" { - File "HiFi.conf" - Comment "Play HiFi quality Music" -} diff --git a/device/testing/device-asus-tf300t/APKBUILD b/device/testing/device-asus-tf300t/APKBUILD index 15602d0f5..2f810dda4 100644 --- a/device/testing/device-asus-tf300t/APKBUILD +++ b/device/testing/device-asus-tf300t/APKBUILD @@ -1,22 +1,18 @@ # Reference: pkgname=device-asus-tf300t pkgdesc="Asus Transformer Pad TF300T" -pkgver=1 -pkgrel=1 +pkgver=2 +pkgrel=0 url="https://postmarketos.org" license="MIT" arch="armv7" options="!check !archcheck" -depends="postmarketos-base linux-postmarketos-grate mkbootimg mesa-dri-gallium alsa-ucm-conf asus-transformer-blobtools" +depends="postmarketos-base linux-postmarketos-grate mesa-dri-gallium mkbootimg alsa-ucm-conf asus-transformer-blobtools" makedepends="devicepkg-dev" subpackages="$pkgname-phosh $pkgname-nonfree-firmware:nonfree_firmware" source="deviceinfo - rootston.ini - ucm/tegra-hda.conf - ucm/tegra-hda-HiFi.conf - ucm/TF300T_WM8903.conf - ucm/TF300T_WM8903-HiFi.conf" + rootston.ini" build() { devicepkg_build $startdir $pkgname @@ -24,16 +20,6 @@ build() { package() { devicepkg_package $startdir $pkgname - - # Alsa usecase manager config - install -D -m644 "$srcdir"/TF300T_WM8903.conf \ - "$pkgdir"/usr/share/alsa/ucm2/TF300T_WM8903/TF300T_WM8903.conf - install -D -m644 "$srcdir"/TF300T_WM8903-HiFi.conf \ - "$pkgdir"/usr/share/alsa/ucm2/TF300T_WM8903/HiFi.conf - install -D -m644 "$srcdir"/tegra-hda.conf \ - "$pkgdir"/usr/share/alsa/ucm2/tegra-hda/tegra-hda.conf - install -D -m644 "$srcdir"/tegra-hda-HiFi.conf \ - "$pkgdir"/usr/share/alsa/ucm2/tegra-hda/HiFi.conf } phosh() { @@ -48,10 +34,7 @@ nonfree_firmware() { mkdir "$subpkgdir" } - -sha512sums="906ef41d8181223381ea5b9ce6868e85e092c6a9141fb2b7bb60f0efa956a945f3a9db44d52d77512b7471744decb9dbcc7ba957cf82e565f8bfb69dabff39ec deviceinfo +sha512sums=" +906ef41d8181223381ea5b9ce6868e85e092c6a9141fb2b7bb60f0efa956a945f3a9db44d52d77512b7471744decb9dbcc7ba957cf82e565f8bfb69dabff39ec deviceinfo 6ec993e278d2a73c72fb96f001716ded63543d99183847d22d172cd81ac410791c79370ecf391d0c24822c975d91b84dc1db296e1b28dbf66d5c227bff8d4011 rootston.ini -5dead806f7568fad5f240957158864faab7a4dbbdae18b2a18110f64caa0254a001fbd5711789718cfde055528af57cebca11bbc4d7f55e12c9853f3d9e8534c tegra-hda.conf -1cdaa43350d69a021d2ff0b8b91ab537032b6861003bea506e429948c615934f6ee56cc4603dd94d4923c8be4a52a63cac110761b51167761c096b6880ce6c0c tegra-hda-HiFi.conf -44914a6a10adc95c9bee99d7f8b36e58da6aa1c71ba0b4f360ff5a8480e8f25b978a64d234f797badd4cda43531b73346831d9d47b3488e613994698a5db21e9 TF300T_WM8903.conf -3202c7e16e8a48290333456379d4289b1491ff6c5ff4eb7bf50aa36946da6f5315b77db2a0598ed94a8f93e6b503eedfb84739c0d4c5fcb89bddb81d66b3f92d TF300T_WM8903-HiFi.conf" +" diff --git a/device/testing/device-asus-tf300t/ucm/TF300T_WM8903-HiFi.conf b/device/testing/device-asus-tf300t/ucm/TF300T_WM8903-HiFi.conf deleted file mode 100644 index 496f764ff..000000000 --- a/device/testing/device-asus-tf300t/ucm/TF300T_WM8903-HiFi.conf +++ /dev/null @@ -1,142 +0,0 @@ -# Use case Configuration for ASUS Transformer Pad TF300T -# Written by Svyatoslav Ryhel - -SectionVerb { - EnableSequence [ - cset "name='HPF Switch' on" - cset "name='HPF Mode' Voice 1" - - cset "name='DRC Switch' on" - cset "name='Digital Capture Volume' 127" - - cset "name='Headphone Switch' off" - cset "name='Headphone ZC Switch' off" - cset "name='Headphone Volume' 45" - - cset "name='Line Out Switch' on" - cset "name='Line Out ZC Switch' off" - cset "name='Line Out Volume' 57" - - cset "name='Speaker Switch' off" - cset "name='Speaker ZC Switch' off" - cset "name='Speaker Volume' 60" - - cset "name='Int Spk Switch' on" - cset "name='Int Mic Switch' off" - - cset "name='ADC Input' DMIC" - - cset "name='Left Speaker Mixer DACL Switch' on" - cset "name='Right Speaker Mixer DACR Switch' on" - ] -} - -SectionDevice."Speakers" { - Comment "Speakers" - - ConflictingDevice [ - "Headphones" - ] - - EnableSequence [ - cset "name='Speaker Switch' on" - cset "name='Int Spk Switch' on" - ] - - DisableSequence [ - cset "name='Int Spk Switch' off" - cset "name='Speaker Switch' off" - ] - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackChannels 2 - PlaybackPriority 200 - PlaybackVolume "Speaker Volume" - PlaybackSwitch "Speaker Switch" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - ConflictingDevice [ - "Speakers" - ] - - EnableSequence [ - cset "name='Headphone Switch' on" - ] - - DisableSequence [ - cset "name='Headphone Switch' off" - ] - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackChannels 2 - PlaybackPriority 100 - PlaybackVolume "Headphone Volume" - PlaybackSwitch "Headphone Switch" - - JackControl "Headphone Jack" - } -} - -SectionDevice."InternalMic" { - Comment "Internal Microphone" - - ConflictingDevice [ - "HeadsetMic" - ] - - EnableSequence [ - cset "name='ADC Input' DMIC" - cset "name='Digital Capture Volume' 127" - cset "name='Int Mic Switch' on" - cset "name='Left Input Mux' IN2L" - cset "name='Left Input Inverting Mux' IN1L" - cset "name='Left Input PGA Switch' off" - cset "name='Left Input PGA Common Mode Switch' on" - cset "name='Right Capture Mux' Right" - cset "name='Right Input PGA Switch' off" - ] - - DisableSequence [ - cset "name='Int Mic Switch' off" - ] - - Value { - CapturePCM "hw:${CardId}" - CaptureChannels 2 - } -} - -SectionDevice."HeadsetMic" { - Comment "Headset Microphone" - - ConflictingDevice [ - "InternalMic" - ] - - EnableSequence [ - cset "name='ADC Input' ADC" - cset "name='Digital Capture Volume' 116" - cset "name='Int Mic Switch' off" - cset "name='Left Input Mux' IN1L" - cset "name='Left Input Inverting Mux' IN2L" - cset "name='Left Input PGA Switch' on" - cset "name='Left Input PGA Common Mode Switch' off" - cset "name='Right Capture Mux' Left" - cset "name='Right Input PGA Switch' on" - ] - - DisableSequence [ - cset "name='Int Mic Switch' on" - ] - - Value { - CapturePCM "hw:${CardId}" - JackControl "Mic Jack" - } -} diff --git a/device/testing/device-asus-tf300t/ucm/TF300T_WM8903.conf b/device/testing/device-asus-tf300t/ucm/TF300T_WM8903.conf deleted file mode 100644 index 716bde311..000000000 --- a/device/testing/device-asus-tf300t/ucm/TF300T_WM8903.conf +++ /dev/null @@ -1,8 +0,0 @@ -# Use case Configuration for ASUS Transformer Pad TF300T - -Syntax 2 - -SectionUseCase."HiFi" { - File "HiFi.conf" - Comment "Play HiFi quality Music" -} diff --git a/device/testing/device-asus-tf300t/ucm/tegra-hda-HiFi.conf b/device/testing/device-asus-tf300t/ucm/tegra-hda-HiFi.conf deleted file mode 100644 index 0e74a7f08..000000000 --- a/device/testing/device-asus-tf300t/ucm/tegra-hda-HiFi.conf +++ /dev/null @@ -1,24 +0,0 @@ -If.hdmi { - Condition { - Type ControlExists - Control "iface=CARD,name='HDMI/DP,pcm=3 Jack'" - } - True { - SectionDevice."HDMI1" { - Comment "HDMI / DisplayPort Output" - - EnableSequence [ - cset "name='IEC958 Playback Switch' on" - ] - - DisableSequence [ - cset "name='IEC958 Playback Switch' off" - ] - - Value { - PlaybackPCM "hw:${CardId},3" - JackControl "HDMI/DP,pcm=3 Jack" - } - } - } -} diff --git a/device/testing/device-asus-tf300t/ucm/tegra-hda.conf b/device/testing/device-asus-tf300t/ucm/tegra-hda.conf deleted file mode 100644 index 83517fa0f..000000000 --- a/device/testing/device-asus-tf300t/ucm/tegra-hda.conf +++ /dev/null @@ -1,8 +0,0 @@ -# UCM for Nvidia Tegra30 HDMI Audio - -Syntax 3 - -SectionUseCase."HiFi" { - File "HiFi.conf" - Comment "Play HiFi quality Music" -} diff --git a/device/testing/device-asus-tf700t/APKBUILD b/device/testing/device-asus-tf700t/APKBUILD index 679c0e9e0..1dd56c85f 100644 --- a/device/testing/device-asus-tf700t/APKBUILD +++ b/device/testing/device-asus-tf700t/APKBUILD @@ -2,22 +2,18 @@ pkgname=device-asus-tf700t pkgdesc="Asus Transformer Infinity TF700T" -pkgver=1 +pkgver=2 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="armv7" options="!check !archcheck" -depends="postmarketos-base linux-postmarketos-grate mkbootimg mesa-dri-gallium mkbootimg alsa-ucm-conf asus-transformer-blobtools" +depends="postmarketos-base linux-postmarketos-grate mesa-dri-gallium mkbootimg alsa-ucm-conf asus-transformer-blobtools" makedepends="devicepkg-dev" subpackages="$pkgname-phosh $pkgname-nonfree-firmware:nonfree_firmware" source="deviceinfo - rootston.ini - ucm/tegra-hda.conf - ucm/tegra-hda-HiFi.conf - ucm/TF700T_RT5631.conf - ucm/TF700T_RT5631-HiFi.conf" + rootston.ini" build() { devicepkg_build $startdir $pkgname @@ -25,16 +21,6 @@ build() { package() { devicepkg_package $startdir $pkgname - - # Alsa usecase manager config - install -D -m644 "$srcdir"/TF700T_RT5631.conf \ - "$pkgdir"/usr/share/alsa/ucm2/TF700T_RT5631/TF700T_RT5631.conf - install -D -m644 "$srcdir"/TF700T_RT5631-HiFi.conf \ - "$pkgdir"/usr/share/alsa/ucm2/TF700T_RT5631/HiFi.conf - install -D -m644 "$srcdir"/tegra-hda.conf \ - "$pkgdir"/usr/share/alsa/ucm2/tegra-hda/tegra-hda.conf - install -D -m644 "$srcdir"/tegra-hda-HiFi.conf \ - "$pkgdir"/usr/share/alsa/ucm2/tegra-hda/HiFi.conf } phosh() { @@ -49,10 +35,7 @@ nonfree_firmware() { mkdir "$subpkgdir" } - -sha512sums="6b6839d5a965a0b10667541115fe762a7cc28818d53bb1102847db4694a7ddca8977c5962f256cc302f69a7144ea952db22b8844f7da5ad07382ffa86f8ff22b deviceinfo +sha512sums=" +6b6839d5a965a0b10667541115fe762a7cc28818d53bb1102847db4694a7ddca8977c5962f256cc302f69a7144ea952db22b8844f7da5ad07382ffa86f8ff22b deviceinfo c15e0d54e311892556cf9447d8431b6239fcce29bb011bf4931c909b4d59af2f00b87637b0eb67554ccd063f569ad24c868433c551e27354b3b9af604a08f3d8 rootston.ini -5dead806f7568fad5f240957158864faab7a4dbbdae18b2a18110f64caa0254a001fbd5711789718cfde055528af57cebca11bbc4d7f55e12c9853f3d9e8534c tegra-hda.conf -1cdaa43350d69a021d2ff0b8b91ab537032b6861003bea506e429948c615934f6ee56cc4603dd94d4923c8be4a52a63cac110761b51167761c096b6880ce6c0c tegra-hda-HiFi.conf -5a692d53097c5791bfa6adf149947ec95e9a8392dc14581a62b20ce086ff40afc1a5988dcaa5083df44cfaea51902a9ec09ee9d623df2e595bf1ef1fb1c1f1e8 TF700T_RT5631.conf -9dc4bd7f3b5f24323655ef997d80d310bea00fabfd9bb5f1fbe06682b336ed5ad6ead0b81f84ba83eda0a0202ca279e78b792e6c1bc044315ecbe92fb382d51e TF700T_RT5631-HiFi.conf" +" diff --git a/device/testing/device-asus-tf700t/ucm/TF700T_RT5631-HiFi.conf b/device/testing/device-asus-tf700t/ucm/TF700T_RT5631-HiFi.conf deleted file mode 100644 index 25ead02d1..000000000 --- a/device/testing/device-asus-tf700t/ucm/TF700T_RT5631-HiFi.conf +++ /dev/null @@ -1,131 +0,0 @@ -# Use case Configuration for ASUS Transformer Prime TF201 - -SectionVerb { - EnableSequence [ - cset "name='OUTVOL Channel Switch' on" - - cset "name='AXO2 Playback Switch' on" - cset "name='AXO2MIX Mixer OUTVOLL Playback Switch' on" - - cset "name='PCM Playback Switch' on" - cset "name='PCM Playback Volume' 255" - - # Speakers - cset "name='Speaker Playback Switch' off" - cset "name='Speaker Playback Volume' 10" - cset "name='Int Spk Switch' on" - cset "name='SPK Ratio Control' 1.99x" - - cset "name='SPKMIXL Mixer DACL Playback Switch' on" - cset "name='Left SPKVOL Mux' SPKMIXL" - cset "name='SPOLMIX Mixer SPKVOLL Playback Switch' on" - cset "name='SPOL Mux' SPOLMIX" - - cset "name='SPKMIXR Mixer DACR Playback Switch' on" - cset "name='Right SPKVOL Mux' SPKMIXR" - cset "name='SPORMIX Mixer SPKVOLR Playback Switch' on" - cset "name='SPOR Mux' SPORMIX" - - # Headphones - cset "name='HP Playback Switch' off" - cset "name='HP Playback Volume' 20" - - cset "name='OUTMIXL Mixer DACL Playback Switch' on" - cset "name='Left HPVOL Mux' OUTMIXL" - cset "name='Left OUTVOL Mux' OUTMIXL" - cset "name='HPL Mux' Left HPVOL" - - cset "name='OUTMIXR Mixer DACR Playback Switch' on" - cset "name='Right HPVOL Mux' OUTMIXR" - cset "name='Right OUTVOL Mux' OUTMIXR" - cset "name='HPR Mux' Right HPVOL" - - # Mics - cset "name='DMIC Switch' off" - cset "name='DMIC Capture Switch' off" - cset "name='Int Mic Switch' off" - - cset "name='MIC1 Mode Control' Differential" - cset "name='MIC2 Mode Control' Single ended" - cset "name='MIC1 Boost Volume' 6" - cset "name='MIC2 Boost Volume' 6" - cset "name='RECMIXL Mixer MIC1_BST1 Capture Switch' on" - - #cset "name='Mic Jack Switch' off" - - cset "name='MONO Mux' MONOMIX" - cset "name='MONO Playback Switch' off" - cset "name='MONOIN Mode Control' Differential" - cset "name='MONOIN_RX Capture Volume' 25" - - cset "name='AXI Capture Volume' 23" - ] -} - -SectionDevice."Speakers" { - Comment "Speakers" - - EnableSequence [ - cset "name='Speaker Playback Switch' on" - cset "name='Int Spk Switch' on" - ] - - DisableSequence [ - cset "name='Int Spk Switch' off" - cset "name='Speaker Playback Switch' off" - ] - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackChannels 2 - PlaybackPriority 200 - PlaybackVolume "Speaker Playback Volume" - PlaybackSwitch "Speaker Playback Switch" - } -} - -SectionDevice."Headphones" { - Comment "Headphones" - - EnableSequence [ - cset "name='HP Playback Switch' on" - ] - - DisableSequence [ - cset "name='HP Playback Switch' off" - ] - - Value { - PlaybackPCM "hw:${CardId}" - PlaybackChannels 2 - PlaybackPriority 100 - PlaybackVolume "HP Playback Volume" - PlaybackSwitch "HP Playback Switch" - - JackControl "Headphone Jack" - } -} - -SectionDevice."InternalMic" { - Comment "Internal Microphone" - - ConflictingDevice [ - ] - - EnableSequence [ - cset "name='DMIC Capture Switch' on" - cset "name='DMIC Switch' on" - cset "name='Int Mic Switch' on" - ] - - DisableSequence [ - cset "name='DMIC Capture Switch' off" - cset "name='DMIC Switch' off" - cset "name='Int Mic Switch' off" - ] - - Value { - CapturePCM "hw:${CardId}" - CaptureChannels 2 - } -} diff --git a/device/testing/device-asus-tf700t/ucm/TF700T_RT5631.conf b/device/testing/device-asus-tf700t/ucm/TF700T_RT5631.conf deleted file mode 100644 index 557e8103b..000000000 --- a/device/testing/device-asus-tf700t/ucm/TF700T_RT5631.conf +++ /dev/null @@ -1,8 +0,0 @@ -# Use case Configuration for ASUS Transformer Prime TF201 - -Syntax 2 - -SectionUseCase."HiFi" { - File "HiFi.conf" - Comment "Play HiFi quality Music" -} diff --git a/device/testing/device-asus-tf700t/ucm/tegra-hda-HiFi.conf b/device/testing/device-asus-tf700t/ucm/tegra-hda-HiFi.conf deleted file mode 100644 index 0e74a7f08..000000000 --- a/device/testing/device-asus-tf700t/ucm/tegra-hda-HiFi.conf +++ /dev/null @@ -1,24 +0,0 @@ -If.hdmi { - Condition { - Type ControlExists - Control "iface=CARD,name='HDMI/DP,pcm=3 Jack'" - } - True { - SectionDevice."HDMI1" { - Comment "HDMI / DisplayPort Output" - - EnableSequence [ - cset "name='IEC958 Playback Switch' on" - ] - - DisableSequence [ - cset "name='IEC958 Playback Switch' off" - ] - - Value { - PlaybackPCM "hw:${CardId},3" - JackControl "HDMI/DP,pcm=3 Jack" - } - } - } -} diff --git a/device/testing/device-asus-tf700t/ucm/tegra-hda.conf b/device/testing/device-asus-tf700t/ucm/tegra-hda.conf deleted file mode 100644 index 83517fa0f..000000000 --- a/device/testing/device-asus-tf700t/ucm/tegra-hda.conf +++ /dev/null @@ -1,8 +0,0 @@ -# UCM for Nvidia Tegra30 HDMI Audio - -Syntax 3 - -SectionUseCase."HiFi" { - File "HiFi.conf" - Comment "Play HiFi quality Music" -}