temp/alsa-ucm-conf-google-veyron: new aport (MR 3187)
This commit is contained in:
parent
20ce68a947
commit
32d8b57634
3 changed files with 152 additions and 0 deletions
22
temp/alsa-ucm-conf-google-veyron/APKBUILD
Normal file
22
temp/alsa-ucm-conf-google-veyron/APKBUILD
Normal file
|
@ -0,0 +1,22 @@
|
|||
# A temporary package to include https://github.com/alsa-project/alsa-ucm-conf/pull/164
|
||||
# Maintainer: Jenneron <jenneron@protonmail.com>
|
||||
pkgname=alsa-ucm-conf-google-veyron
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
pkgdesc="ALSA Use Case Manager configuration for Google Veyron Chromebooks"
|
||||
url="https://alsa-project.org"
|
||||
arch="noarch"
|
||||
license="BSD-3-Clause"
|
||||
source="VEYRON-I2S.conf HiFi.conf"
|
||||
options="!check" # no tests
|
||||
depends="alsa-ucm-conf"
|
||||
|
||||
package() {
|
||||
install -Dm644 VEYRON-I2S.conf "$pkgdir"/usr/share/alsa/ucm2/conf.d/VEYRON-I2S/VEYRON-I2S.conf
|
||||
install -Dm644 HiFi.conf "$pkgdir"/usr/share/alsa/ucm2/conf.d/VEYRON-I2S/HiFi.conf
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
8bb831b75bda07442c5c434e0b2280a059a66ea7c8ae092ddfff9ecb12dd7adc9cc6fa406188876b0661a7b438515926d17a02a696b209d0985278b3e73d1694 VEYRON-I2S.conf
|
||||
e90e25fed8fdfed49b387ffd362826323835efb39c6dd77bc041b9555c31606d6c206354d00c211b892d2cb5b5497123db04a479dae03a1004c874822feb6f77 HiFi.conf
|
||||
"
|
122
temp/alsa-ucm-conf-google-veyron/HiFi.conf
Normal file
122
temp/alsa-ucm-conf-google-veyron/HiFi.conf
Normal file
|
@ -0,0 +1,122 @@
|
|||
SectionVerb {
|
||||
Value {
|
||||
MinBufferLevel "512"
|
||||
}
|
||||
|
||||
EnableSequence [
|
||||
cset "name='Left Speaker Mixer Left DAC Switch' on"
|
||||
cset "name='Right Speaker Mixer Right DAC Switch' on"
|
||||
cset "name='Headphone Left Switch' off"
|
||||
cset "name='Headphone Right Switch' off"
|
||||
cset "name='Digital EQ 3 Band Switch' off"
|
||||
cset "name='Digital EQ 5 Band Switch' off"
|
||||
cset "name='Digital EQ 7 Band Switch' off"
|
||||
cset "name='Biquad Switch' off"
|
||||
cset "name='Filter Mode' Music"
|
||||
cset "name='ADC Oversampling Rate' 0"
|
||||
|
||||
cset "name='DMIC Mux' DMIC"
|
||||
cset "name='MIC2 Mux' IN34"
|
||||
cset "name='Right ADC Mixer MIC2 Switch' on"
|
||||
cset "name='Left ADC Mixer MIC2 Switch' on"
|
||||
cset "name='MIC2 Volume' 20"
|
||||
cset "name='Headset Mic Switch' off"
|
||||
cset "name='Int Mic Switch' on"
|
||||
|
||||
cset "name='ADCR Boost Volume' 4"
|
||||
cset "name='ADCL Boost Volume' 4"
|
||||
cset "name='ADCR Volume' 11"
|
||||
cset "name='ADCL Volume' 11"
|
||||
|
||||
cset "name='Left Speaker Mixer Left DAC Switch' on"
|
||||
cset "name='Right Speaker Mixer Right DAC Switch' on"
|
||||
cset "name='Speaker Left Mixer Volume' 2"
|
||||
cset "name='Speaker Right Mixer Volume' 2"
|
||||
cset "name='Record Path DC Blocking' on"
|
||||
cset "name='Playback Path DC Blocking' on"
|
||||
|
||||
cset "name='Speaker Left Switch' on"
|
||||
cset "name='Speaker Right Switch' on"
|
||||
cset "name='Speaker Switch' on"
|
||||
]
|
||||
}
|
||||
|
||||
SectionDevice."Speaker" {
|
||||
Comment "Speaker"
|
||||
|
||||
Value {
|
||||
PlaybackPriority 100
|
||||
PlaybackPCM "hw:${CardId}"
|
||||
PlaybackVolume "Speaker Volume"
|
||||
}
|
||||
|
||||
EnableSequence [
|
||||
cset "name='Speaker Switch' on"
|
||||
]
|
||||
|
||||
DisableSequence [
|
||||
cset "name='Speaker Switch' off"
|
||||
]
|
||||
}
|
||||
|
||||
SectionDevice."Mic" {
|
||||
Comment "Internal Microphone"
|
||||
|
||||
Value {
|
||||
CapturePriority 100
|
||||
CapturePCM "hw:${CardId}"
|
||||
}
|
||||
|
||||
EnableSequence [
|
||||
cset "name='Int Mic Switch' on"
|
||||
]
|
||||
|
||||
DisableSequence [
|
||||
cset "name='Int Mic Switch' off"
|
||||
]
|
||||
}
|
||||
|
||||
SectionDevice."Headphones" {
|
||||
Comment "Headphones"
|
||||
|
||||
Value {
|
||||
PlaybackPriority 200
|
||||
PlaybackPCM "hw:${CardId}"
|
||||
JackControl "Headphone Jack"
|
||||
PlaybackVolume "Headphone Volume"
|
||||
}
|
||||
|
||||
EnableSequence [
|
||||
cset "name='Speaker Switch' off"
|
||||
cset "name='Headphone Left Switch' on"
|
||||
cset "name='Headphone Right Switch' on"
|
||||
]
|
||||
DisableSequence [
|
||||
cset "name='Headphone Left Switch' off"
|
||||
cset "name='Headphone Right Switch' off"
|
||||
cset "name='Speaker Switch' on"
|
||||
]
|
||||
}
|
||||
|
||||
SectionDevice."Headset" {
|
||||
Comment "Headset Microphone"
|
||||
|
||||
Value {
|
||||
CapturePriority 200
|
||||
CapturePCM "hw:${CardId}"
|
||||
}
|
||||
|
||||
EnableSequence [
|
||||
cset "name='Int Mic Switch' off"
|
||||
cset "name='DMIC Mux' ADC"
|
||||
cset "name='Headset Mic Switch' on"
|
||||
cset "name='Record Path DC Blocking' on"
|
||||
]
|
||||
|
||||
DisableSequence [
|
||||
cset "name='Headset Mic Switch' off"
|
||||
cset "name='DMIC Mux' DMIC"
|
||||
cset "name='Int Mic Switch' on"
|
||||
cset "name='Record Path DC Blocking' off"
|
||||
]
|
||||
}
|
8
temp/alsa-ucm-conf-google-veyron/VEYRON-I2S.conf
Normal file
8
temp/alsa-ucm-conf-google-veyron/VEYRON-I2S.conf
Normal file
|
@ -0,0 +1,8 @@
|
|||
Syntax 2
|
||||
|
||||
Comment "Rockchip Veyron card"
|
||||
|
||||
SectionUseCase."HiFi" {
|
||||
File "HiFi.conf"
|
||||
Comment "Default"
|
||||
}
|
Loading…
Reference in a new issue