mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-07 00:07:20 +07:00
Support Orange Pi 3 Plus
This commit is contained in:
781
external/packages/blobs/asound.state/asound.state.orangepi3plus-next
vendored
Normal file
781
external/packages/blobs/asound.state/asound.state.orangepi3plus-next
vendored
Normal file
@@ -0,0 +1,781 @@
|
||||
state.OPI3Plus {
|
||||
control.1 {
|
||||
iface MIXER
|
||||
name 'TOACODEC Lane Select'
|
||||
value 0
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 1
|
||||
range '0 - 3'
|
||||
}
|
||||
}
|
||||
control.2 {
|
||||
iface MIXER
|
||||
name 'ACODEC Playback Channel Mode'
|
||||
value Stereo
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 Stereo
|
||||
item.1 Mono
|
||||
}
|
||||
}
|
||||
control.3 {
|
||||
iface MIXER
|
||||
name 'ACODEC Playback Switch'
|
||||
value true
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.4 {
|
||||
iface MIXER
|
||||
name 'ACODEC Playback Volume'
|
||||
value.0 255
|
||||
value.1 255
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 2
|
||||
range '0 - 255'
|
||||
dbmin -9999999
|
||||
dbmax 0
|
||||
dbvalue.0 0
|
||||
dbvalue.1 0
|
||||
}
|
||||
}
|
||||
control.5 {
|
||||
iface MIXER
|
||||
name 'ACODEC Ramp Rate'
|
||||
value Fast
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 Fast
|
||||
item.1 Slow
|
||||
}
|
||||
}
|
||||
control.6 {
|
||||
iface MIXER
|
||||
name 'ACODEC Volume Ramp Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.7 {
|
||||
iface MIXER
|
||||
name 'ACODEC Mute Ramp Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.8 {
|
||||
iface MIXER
|
||||
name 'ACODEC Unmute Ramp Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.9 {
|
||||
iface MIXER
|
||||
name 'TDMOUT_C Lane 0 Volume'
|
||||
value.0 0
|
||||
value.1 0
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 2
|
||||
range '0 - 255'
|
||||
}
|
||||
}
|
||||
control.10 {
|
||||
iface MIXER
|
||||
name 'TDMOUT_C Lane 1 Volume'
|
||||
value.0 0
|
||||
value.1 0
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 2
|
||||
range '0 - 255'
|
||||
}
|
||||
}
|
||||
control.11 {
|
||||
iface MIXER
|
||||
name 'TDMOUT_C Lane 2 Volume'
|
||||
value.0 0
|
||||
value.1 0
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 2
|
||||
range '0 - 255'
|
||||
}
|
||||
}
|
||||
control.12 {
|
||||
iface MIXER
|
||||
name 'TDMOUT_C Lane 3 Volume'
|
||||
value.0 0
|
||||
value.1 0
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 2
|
||||
range '0 - 255'
|
||||
}
|
||||
}
|
||||
control.13 {
|
||||
iface MIXER
|
||||
name 'TDMOUT_C Gain Enable Switch'
|
||||
value true
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.14 {
|
||||
iface MIXER
|
||||
name 'TDMOUT_B Lane 0 Volume'
|
||||
value.0 0
|
||||
value.1 0
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 2
|
||||
range '0 - 255'
|
||||
}
|
||||
}
|
||||
control.15 {
|
||||
iface MIXER
|
||||
name 'TDMOUT_B Lane 1 Volume'
|
||||
value.0 0
|
||||
value.1 0
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 2
|
||||
range '0 - 255'
|
||||
}
|
||||
}
|
||||
control.16 {
|
||||
iface MIXER
|
||||
name 'TDMOUT_B Lane 2 Volume'
|
||||
value.0 0
|
||||
value.1 0
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 2
|
||||
range '0 - 255'
|
||||
}
|
||||
}
|
||||
control.17 {
|
||||
iface MIXER
|
||||
name 'TDMOUT_B Lane 3 Volume'
|
||||
value.0 0
|
||||
value.1 0
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 2
|
||||
range '0 - 255'
|
||||
}
|
||||
}
|
||||
control.18 {
|
||||
iface MIXER
|
||||
name 'TDMOUT_B Gain Enable Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.19 {
|
||||
iface PCM
|
||||
device 10
|
||||
name 'Playback Channel Map'
|
||||
value.0 0
|
||||
value.1 0
|
||||
value.2 0
|
||||
value.3 0
|
||||
value.4 0
|
||||
value.5 0
|
||||
value.6 0
|
||||
value.7 0
|
||||
comment {
|
||||
access read
|
||||
type INTEGER
|
||||
count 8
|
||||
range '0 - 36'
|
||||
}
|
||||
}
|
||||
control.20 {
|
||||
iface PCM
|
||||
device 10
|
||||
name 'IEC958 Playback Mask'
|
||||
value ffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
comment {
|
||||
access read
|
||||
type IEC958
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.21 {
|
||||
iface PCM
|
||||
device 10
|
||||
name 'IEC958 Playback Default'
|
||||
value '0400000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
|
||||
comment {
|
||||
access 'read write'
|
||||
type IEC958
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.22 {
|
||||
iface PCM
|
||||
device 10
|
||||
name ELD
|
||||
value '100008006a10000100000000000000004a84601541534d2d313536464354097f070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
|
||||
comment {
|
||||
access 'read volatile'
|
||||
type BYTES
|
||||
count 128
|
||||
}
|
||||
}
|
||||
control.23 {
|
||||
iface MIXER
|
||||
name 'FRDDR_A SRC 1 EN Switch'
|
||||
value true
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.24 {
|
||||
iface MIXER
|
||||
name 'FRDDR_A SRC 2 EN Switch'
|
||||
value true
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.25 {
|
||||
iface MIXER
|
||||
name 'FRDDR_A SRC 3 EN Switch'
|
||||
value true
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.26 {
|
||||
iface MIXER
|
||||
name 'FRDDR_A SINK 1 SEL'
|
||||
value 'OUT 1'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'OUT 0'
|
||||
item.1 'OUT 1'
|
||||
item.2 'OUT 2'
|
||||
item.3 'OUT 3'
|
||||
item.4 'OUT 4'
|
||||
item.5 'OUT 5'
|
||||
item.6 'OUT 6'
|
||||
item.7 'OUT 7'
|
||||
}
|
||||
}
|
||||
control.27 {
|
||||
iface MIXER
|
||||
name 'FRDDR_A SINK 2 SEL'
|
||||
value 'OUT 1'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'OUT 0'
|
||||
item.1 'OUT 1'
|
||||
item.2 'OUT 2'
|
||||
item.3 'OUT 3'
|
||||
item.4 'OUT 4'
|
||||
item.5 'OUT 5'
|
||||
item.6 'OUT 6'
|
||||
item.7 'OUT 7'
|
||||
}
|
||||
}
|
||||
control.28 {
|
||||
iface MIXER
|
||||
name 'FRDDR_A SINK 3 SEL'
|
||||
value 'OUT 1'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'OUT 0'
|
||||
item.1 'OUT 1'
|
||||
item.2 'OUT 2'
|
||||
item.3 'OUT 3'
|
||||
item.4 'OUT 4'
|
||||
item.5 'OUT 5'
|
||||
item.6 'OUT 6'
|
||||
item.7 'OUT 7'
|
||||
}
|
||||
}
|
||||
control.29 {
|
||||
iface MIXER
|
||||
name 'FRDDR_B SRC 1 EN Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.30 {
|
||||
iface MIXER
|
||||
name 'FRDDR_B SRC 2 EN Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.31 {
|
||||
iface MIXER
|
||||
name 'FRDDR_B SRC 3 EN Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.32 {
|
||||
iface MIXER
|
||||
name 'FRDDR_B SINK 1 SEL'
|
||||
value 'OUT 1'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'OUT 0'
|
||||
item.1 'OUT 1'
|
||||
item.2 'OUT 2'
|
||||
item.3 'OUT 3'
|
||||
item.4 'OUT 4'
|
||||
item.5 'OUT 5'
|
||||
item.6 'OUT 6'
|
||||
item.7 'OUT 7'
|
||||
}
|
||||
}
|
||||
control.33 {
|
||||
iface MIXER
|
||||
name 'FRDDR_B SINK 2 SEL'
|
||||
value 'OUT 1'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'OUT 0'
|
||||
item.1 'OUT 1'
|
||||
item.2 'OUT 2'
|
||||
item.3 'OUT 3'
|
||||
item.4 'OUT 4'
|
||||
item.5 'OUT 5'
|
||||
item.6 'OUT 6'
|
||||
item.7 'OUT 7'
|
||||
}
|
||||
}
|
||||
control.34 {
|
||||
iface MIXER
|
||||
name 'FRDDR_B SINK 3 SEL'
|
||||
value 'OUT 1'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'OUT 0'
|
||||
item.1 'OUT 1'
|
||||
item.2 'OUT 2'
|
||||
item.3 'OUT 3'
|
||||
item.4 'OUT 4'
|
||||
item.5 'OUT 5'
|
||||
item.6 'OUT 6'
|
||||
item.7 'OUT 7'
|
||||
}
|
||||
}
|
||||
control.35 {
|
||||
iface MIXER
|
||||
name 'FRDDR_C SRC 1 EN Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.36 {
|
||||
iface MIXER
|
||||
name 'FRDDR_C SRC 2 EN Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.37 {
|
||||
iface MIXER
|
||||
name 'FRDDR_C SRC 3 EN Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.38 {
|
||||
iface MIXER
|
||||
name 'FRDDR_C SINK 1 SEL'
|
||||
value 'OUT 1'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'OUT 0'
|
||||
item.1 'OUT 1'
|
||||
item.2 'OUT 2'
|
||||
item.3 'OUT 3'
|
||||
item.4 'OUT 4'
|
||||
item.5 'OUT 5'
|
||||
item.6 'OUT 6'
|
||||
item.7 'OUT 7'
|
||||
}
|
||||
}
|
||||
control.39 {
|
||||
iface MIXER
|
||||
name 'FRDDR_C SINK 2 SEL'
|
||||
value 'OUT 1'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'OUT 0'
|
||||
item.1 'OUT 1'
|
||||
item.2 'OUT 2'
|
||||
item.3 'OUT 3'
|
||||
item.4 'OUT 4'
|
||||
item.5 'OUT 5'
|
||||
item.6 'OUT 6'
|
||||
item.7 'OUT 7'
|
||||
}
|
||||
}
|
||||
control.40 {
|
||||
iface MIXER
|
||||
name 'FRDDR_C SINK 3 SEL'
|
||||
value 'OUT 1'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'OUT 0'
|
||||
item.1 'OUT 1'
|
||||
item.2 'OUT 2'
|
||||
item.3 'OUT 3'
|
||||
item.4 'OUT 4'
|
||||
item.5 'OUT 5'
|
||||
item.6 'OUT 6'
|
||||
item.7 'OUT 7'
|
||||
}
|
||||
}
|
||||
control.41 {
|
||||
iface MIXER
|
||||
name 'TODDR_A SRC SEL'
|
||||
value 'IN 0'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'IN 0'
|
||||
item.1 'IN 1'
|
||||
item.2 'IN 2'
|
||||
item.3 'IN 3'
|
||||
item.4 'IN 4'
|
||||
item.5 'IN 5'
|
||||
item.6 'IN 6'
|
||||
item.7 'IN 7'
|
||||
item.8 'IN 8'
|
||||
item.9 'IN 9'
|
||||
item.10 'IN 10'
|
||||
item.11 'IN 11'
|
||||
item.12 'IN 12'
|
||||
item.13 'IN 13'
|
||||
item.14 'IN 14'
|
||||
item.15 'IN 15'
|
||||
}
|
||||
}
|
||||
control.42 {
|
||||
iface MIXER
|
||||
name 'TODDR_B SRC SEL'
|
||||
value 'IN 0'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'IN 0'
|
||||
item.1 'IN 1'
|
||||
item.2 'IN 2'
|
||||
item.3 'IN 3'
|
||||
item.4 'IN 4'
|
||||
item.5 'IN 5'
|
||||
item.6 'IN 6'
|
||||
item.7 'IN 7'
|
||||
item.8 'IN 8'
|
||||
item.9 'IN 9'
|
||||
item.10 'IN 10'
|
||||
item.11 'IN 11'
|
||||
item.12 'IN 12'
|
||||
item.13 'IN 13'
|
||||
item.14 'IN 14'
|
||||
item.15 'IN 15'
|
||||
}
|
||||
}
|
||||
control.43 {
|
||||
iface MIXER
|
||||
name 'TODDR_C SRC SEL'
|
||||
value 'IN 0'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'IN 0'
|
||||
item.1 'IN 1'
|
||||
item.2 'IN 2'
|
||||
item.3 'IN 3'
|
||||
item.4 'IN 4'
|
||||
item.5 'IN 5'
|
||||
item.6 'IN 6'
|
||||
item.7 'IN 7'
|
||||
item.8 'IN 8'
|
||||
item.9 'IN 9'
|
||||
item.10 'IN 10'
|
||||
item.11 'IN 11'
|
||||
item.12 'IN 12'
|
||||
item.13 'IN 13'
|
||||
item.14 'IN 14'
|
||||
item.15 'IN 15'
|
||||
}
|
||||
}
|
||||
control.44 {
|
||||
iface MIXER
|
||||
name 'TOHDMITX I2S SRC'
|
||||
value 'I2S B'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'I2S A'
|
||||
item.1 'I2S B'
|
||||
item.2 'I2S C'
|
||||
}
|
||||
}
|
||||
control.45 {
|
||||
iface MIXER
|
||||
name 'TOHDMITX Switch'
|
||||
value true
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.46 {
|
||||
iface MIXER
|
||||
name 'TOHDMITX SPDIF SRC'
|
||||
value 'SPDIF A'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'SPDIF A'
|
||||
item.1 'SPDIF B'
|
||||
}
|
||||
}
|
||||
control.47 {
|
||||
iface MIXER
|
||||
name 'TOACODEC SRC'
|
||||
value 'I2S B'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'I2S A'
|
||||
item.1 'I2S B'
|
||||
item.2 'I2S C'
|
||||
}
|
||||
}
|
||||
control.48 {
|
||||
iface MIXER
|
||||
name 'TOACODEC OUT EN Switch'
|
||||
value false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 1
|
||||
}
|
||||
}
|
||||
control.49 {
|
||||
iface MIXER
|
||||
name 'ACODEC Right DAC Sel'
|
||||
value Right
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 Right
|
||||
item.1 Left
|
||||
}
|
||||
}
|
||||
control.50 {
|
||||
iface MIXER
|
||||
name 'ACODEC Left DAC Sel'
|
||||
value Left
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 Left
|
||||
item.1 Right
|
||||
}
|
||||
}
|
||||
control.51 {
|
||||
iface MIXER
|
||||
name 'TDMIN_C SRC SEL'
|
||||
value 'IN 0'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'IN 0'
|
||||
item.1 'IN 1'
|
||||
item.2 'IN 2'
|
||||
item.3 'IN 3'
|
||||
item.4 'IN 4'
|
||||
item.5 'IN 5'
|
||||
item.6 'IN 6'
|
||||
item.7 'IN 7'
|
||||
item.8 'IN 8'
|
||||
item.9 'IN 9'
|
||||
item.10 'IN 10'
|
||||
item.11 'IN 11'
|
||||
item.12 'IN 12'
|
||||
item.13 'IN 13'
|
||||
item.14 'IN 14'
|
||||
item.15 'IN 15'
|
||||
}
|
||||
}
|
||||
control.52 {
|
||||
iface MIXER
|
||||
name 'TDMIN_B SRC SEL'
|
||||
value 'IN 0'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'IN 0'
|
||||
item.1 'IN 1'
|
||||
item.2 'IN 2'
|
||||
item.3 'IN 3'
|
||||
item.4 'IN 4'
|
||||
item.5 'IN 5'
|
||||
item.6 'IN 6'
|
||||
item.7 'IN 7'
|
||||
item.8 'IN 8'
|
||||
item.9 'IN 9'
|
||||
item.10 'IN 10'
|
||||
item.11 'IN 11'
|
||||
item.12 'IN 12'
|
||||
item.13 'IN 13'
|
||||
item.14 'IN 14'
|
||||
item.15 'IN 15'
|
||||
}
|
||||
}
|
||||
control.53 {
|
||||
iface MIXER
|
||||
name 'TDMIN_A SRC SEL'
|
||||
value 'IN 0'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'IN 0'
|
||||
item.1 'IN 1'
|
||||
item.2 'IN 2'
|
||||
item.3 'IN 3'
|
||||
item.4 'IN 4'
|
||||
item.5 'IN 5'
|
||||
item.6 'IN 6'
|
||||
item.7 'IN 7'
|
||||
item.8 'IN 8'
|
||||
item.9 'IN 9'
|
||||
item.10 'IN 10'
|
||||
item.11 'IN 11'
|
||||
item.12 'IN 12'
|
||||
item.13 'IN 13'
|
||||
item.14 'IN 14'
|
||||
item.15 'IN 15'
|
||||
}
|
||||
}
|
||||
control.54 {
|
||||
iface MIXER
|
||||
name 'TDMOUT_C SRC SEL'
|
||||
value 'IN 0'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'IN 0'
|
||||
item.1 'IN 1'
|
||||
item.2 'IN 2'
|
||||
item.3 'IN 3'
|
||||
item.4 'IN 4'
|
||||
}
|
||||
}
|
||||
control.55 {
|
||||
iface MIXER
|
||||
name 'TDMOUT_B SRC SEL'
|
||||
value 'IN 0'
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 1
|
||||
item.0 'IN 0'
|
||||
item.1 'IN 1'
|
||||
item.2 'IN 2'
|
||||
item.3 'IN 3'
|
||||
item.4 'IN 4'
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -336,6 +336,11 @@ prepare_board() {
|
||||
--baudrate 1500000 --patchram /lib/firmware/BCM4345C0.hcd /dev/ttyS1 &
|
||||
fi
|
||||
;;
|
||||
orangepi3plus)
|
||||
gpio mode 28 in
|
||||
gpio mode 28 up
|
||||
gpio read 28
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
|
||||
5
external/packages/bsp/overlays_s905d3/etc/docker/daemon.json
vendored
Normal file
5
external/packages/bsp/overlays_s905d3/etc/docker/daemon.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"registry-mirrors": [
|
||||
"https://docker.mirrors.ustc.edu.cn"
|
||||
]
|
||||
}
|
||||
29
external/packages/bsp/overlays_s905d3/usr/bin/auto_login_cli.sh
vendored
Executable file
29
external/packages/bsp/overlays_s905d3/usr/bin/auto_login_cli.sh
vendored
Executable file
@@ -0,0 +1,29 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ -z $1 ]]; then
|
||||
user=root
|
||||
else
|
||||
user=$1
|
||||
fi
|
||||
|
||||
[[ -d /lib/systemd/system/getty@.service.d/ ]] && rm /lib/systemd/system/getty@.service.d/ -rf
|
||||
[[ -f /lib/systemd/system/serial-getty@.service.d/override.conf ]] && rm /lib/systemd/system/serial-getty@.service.d/override.conf -f
|
||||
[[ -d /etc/systemd/system/getty@.service.d/ ]] && rm /etc/systemd/system/getty@.service.d/ -rf
|
||||
[[ -f /etc/systemd/system/serial-getty@.service.d/override.conf ]] && rm /etc/systemd/system/serial-getty@.service.d/override.conf -f
|
||||
|
||||
if [[ $1 == "-d" ]]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
mkdir -p /etc/systemd/system/getty@.service.d/
|
||||
mkdir -p /etc/systemd/system/serial-getty@.service.d/
|
||||
cat <<-EOF > \
|
||||
/etc/systemd/system/serial-getty@.service.d/override.conf
|
||||
[Service]
|
||||
ExecStartPre=/bin/sh -c 'exec /bin/sleep 10'
|
||||
ExecStart=
|
||||
ExecStart=-/sbin/agetty --noissue --autologin ${user} %I \$TERM
|
||||
Type=idle
|
||||
EOF
|
||||
cp /etc/systemd/system/serial-getty@.service.d/override.conf \
|
||||
/etc/systemd/system/getty@.service.d/override.conf
|
||||
1919
external/packages/bsp/overlays_s905d3/usr/bin/create_ap
vendored
Executable file
1919
external/packages/bsp/overlays_s905d3/usr/bin/create_ap
vendored
Executable file
File diff suppressed because it is too large
Load Diff
11
external/packages/bsp/overlays_s905d3/usr/bin/desktop_login.sh
vendored
Executable file
11
external/packages/bsp/overlays_s905d3/usr/bin/desktop_login.sh
vendored
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ -z $1 ]]; then
|
||||
user=root
|
||||
else
|
||||
user=$1
|
||||
fi
|
||||
|
||||
sudo sed -i '/autologin-user=/d' /etc/lightdm/lightdm.conf.d/22-orangepi-autologin.conf
|
||||
sudo echo autologin-user=${user} >> /etc/lightdm/lightdm.conf.d/22-orangepi-autologin.conf
|
||||
sudo sed -i 's/root/anything/' /etc/pam.d/lightdm-autologin
|
||||
5
external/packages/bsp/overlays_s905d3/usr/bin/disable_desktop_autologin.sh
vendored
Executable file
5
external/packages/bsp/overlays_s905d3/usr/bin/disable_desktop_autologin.sh
vendored
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo sed -i \
|
||||
"s/autologin-user=.*/#&/" \
|
||||
/etc/lightdm/lightdm.conf.d/22-orangepi-autologin.conf
|
||||
8
external/packages/bsp/overlays_s905d3/usr/bin/enable_docker.sh
vendored
Executable file
8
external/packages/bsp/overlays_s905d3/usr/bin/enable_docker.sh
vendored
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ $(uname -r) == 5.4.* ]]; then
|
||||
echo 1 | sudo update-alternatives --config iptables > /dev/null
|
||||
fi
|
||||
|
||||
sudo systemctl enable docker.service
|
||||
sudo systemctl start docker.service
|
||||
4
external/packages/bsp/overlays_s905d3/usr/bin/reset_ssh.sh
vendored
Executable file
4
external/packages/bsp/overlays_s905d3/usr/bin/reset_ssh.sh
vendored
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo rm /etc/ssh/ssh_host_*
|
||||
sudo dpkg-reconfigure openssh-server
|
||||
BIN
external/packages/bsp/overlays_s905d3/usr/bin/spidev_test
vendored
Executable file
BIN
external/packages/bsp/overlays_s905d3/usr/bin/spidev_test
vendored
Executable file
Binary file not shown.
BIN
external/packages/bsp/overlays_s905d3/usr/bin/tinycap
vendored
Executable file
BIN
external/packages/bsp/overlays_s905d3/usr/bin/tinycap
vendored
Executable file
Binary file not shown.
BIN
external/packages/bsp/overlays_s905d3/usr/bin/tinymix
vendored
Executable file
BIN
external/packages/bsp/overlays_s905d3/usr/bin/tinymix
vendored
Executable file
Binary file not shown.
BIN
external/packages/bsp/overlays_s905d3/usr/bin/tinypcminfo
vendored
Executable file
BIN
external/packages/bsp/overlays_s905d3/usr/bin/tinypcminfo
vendored
Executable file
Binary file not shown.
BIN
external/packages/bsp/overlays_s905d3/usr/bin/tinyplay
vendored
Executable file
BIN
external/packages/bsp/overlays_s905d3/usr/bin/tinyplay
vendored
Executable file
Binary file not shown.
BIN
external/packages/bsp/overlays_s905d3/usr/lib/libtinyalsa.so
vendored
Executable file
BIN
external/packages/bsp/overlays_s905d3/usr/lib/libtinyalsa.so
vendored
Executable file
Binary file not shown.
5
external/packages/bsp/overlays_s905d3/usr/lib/systemd/system/getty@.service.d/override.conf
vendored
Normal file
5
external/packages/bsp/overlays_s905d3/usr/lib/systemd/system/getty@.service.d/override.conf
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
[Service]
|
||||
ExecStartPre=/bin/sh -c 'exec /bin/sleep 10'
|
||||
ExecStart=
|
||||
ExecStart=-/sbin/agetty --noissue --autologin orangepi %I $TERM
|
||||
Type=idle
|
||||
@@ -0,0 +1,5 @@
|
||||
[Service]
|
||||
ExecStartPre=/bin/sh -c 'exec /bin/sleep 10'
|
||||
ExecStart=
|
||||
ExecStart=-/sbin/agetty --noissue --autologin orangepi %I $TERM
|
||||
Type=idle
|
||||
Reference in New Issue
Block a user