Fix RG552 default mixer.

This commit is contained in:
fewtarius 2022-11-13 20:24:03 -05:00
parent 5c14d41865
commit 0f7741b80f
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
3 changed files with 25 additions and 15 deletions

View file

@ -28,8 +28,8 @@ state.rockchipes8316c {
control.3 {
iface MIXER
name 'Headphone Mixer Volume'
value.0 10
value.1 10
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
@ -37,14 +37,14 @@ state.rockchipes8316c {
range '0 - 11'
dbmin -1200
dbmax 0
dbvalue.0 -150
dbvalue.1 -150
dbvalue.0 -1200
dbvalue.1 -1200
}
}
control.4 {
iface MIXER
name 'Playback Polarity'
value Normal
value 'R Invert'
comment {
access 'read write'
type ENUMERATED
@ -57,9 +57,9 @@ state.rockchipes8316c {
}
control.5 {
iface MIXER
name 'Master Playback Volume'
value.0 152
value.1 152
name 'DAC Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
@ -67,8 +67,8 @@ state.rockchipes8316c {
range '0 - 192'
dbmin -9999999
dbmax 0
dbvalue.0 -2000
dbvalue.1 -2000
dbvalue.0 -9999999
dbvalue.1 -9999999
}
}
control.6 {
@ -95,7 +95,7 @@ state.rockchipes8316c {
control.8 {
iface MIXER
name 'DAC Notch Filter Switch'
value false
value true
comment {
access 'read write'
type BOOLEAN
@ -105,7 +105,7 @@ state.rockchipes8316c {
control.9 {
iface MIXER
name 'DAC Double Fs Switch'
value false
value true
comment {
access 'read write'
type BOOLEAN
@ -115,7 +115,7 @@ state.rockchipes8316c {
control.10 {
iface MIXER
name 'DAC Stereo Enhancement'
value 0
value 7
comment {
access 'read write'
type INTEGER
@ -126,7 +126,7 @@ state.rockchipes8316c {
control.11 {
iface MIXER
name 'DAC Mono Mix Switch'
value false
value true
comment {
access 'read write'
type BOOLEAN

View file

@ -0,0 +1,10 @@
#!/bin/bash
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
. /etc/profile
if [ ! -e "/storage/.config/profile.d/99-mixer" ]
then
set-audio esset "DAC"
fi

View file

@ -4,7 +4,7 @@
DEVICE_HAS_FAN=true
DEVICE_FAKE_JACKSENSE=false
DEVICE_VOLUMECTL=true
DEVICE_AUDIO_MIXER="Master"
DEVICE_AUDIO_MIXER="DAC"
DEVICE_PLAYBACK_PATH_SPK="SPK"
DEVICE_PLAYBACK_PATH_HP="HP"
DEVICE_VOLUME_DEV="/dev/input/by-path/platform-volume-keys-event"