Fix RG552 default mixer.
This commit is contained in:
parent
5c14d41865
commit
0f7741b80f
3 changed files with 25 additions and 15 deletions
|
@ -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
|
||||
|
|
10
packages/jelos/sources/autostart/RG552/002-audiomixer
Executable file
10
packages/jelos/sources/autostart/RG552/002-audiomixer
Executable 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
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue