-
-
Save TravMurav/f581011081433995590df36031f0c1b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Syntax 3 | |
SectionUseCase."HiFi" { | |
File "/Qualcomm/sc7180/Acer-Aspire-1/HiFi.conf" | |
Comment "HiFi quality Music." | |
} | |
#SectionUseCase."HDMI" { | |
# File "/Qualcomm/sc7180/Acer-Aspire-1/HDMI.conf" | |
# Comment "HDMI output." | |
#} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
travler@icarus:/usr/share/alsa/ucm2$ cat /proc/asound/cards | |
0 [AcerAspire1 ]: sm8250 - Acer-Aspire-1 | |
S7C-AspireA114_61-V1.13-Daisy_7C | |
travler@icarus:/usr/share/alsa/ucm2$ ll conf.d/sm8250/ | |
total 4.0K | |
lrwxrwxrwx 1 root root 54 2022-08-30 Acer-Aspire-1.conf -> ../../Qualcomm/sc7180/Acer-Aspire-1/Acer-Aspire-1.conf | |
lrwxrwxrwx 1 root root 62 11-04 10:30 Qualcomm-RB5-WSA8815-Speakers-DMIC0.conf -> ../../Qualcomm/sm8250/Qualcomm-RB5-WSA8815-Speakers-DMIC0.conf | |
lrwxrwxrwx 1 root root 54 2022-08-30 S7C-AspireA114_61-V1.08-Daisy_7C.conf -> ../../Qualcomm/sc7180/Acer-Aspire-1/Acer-Aspire-1.conf | |
travler@icarus:/usr/share/alsa/ucm2$ tree Qualcomm/ | |
Qualcomm/ | |
├── apq8016-sbc | |
│ ├── HDMI.conf | |
│ ├── HiFi.conf | |
│ └── apq8016-sbc.conf | |
├── apq8096 | |
│ ├── HDMI.conf | |
│ ├── HiFi.conf | |
│ └── apq8096.conf | |
├── sc7180 | |
│ ├── Acer-Aspire-1 | |
│ │ ├── Acer-Aspire-1.conf | |
│ │ ├── HiFi.conf | |
│ │ └── init.conf | |
│ └── rt5682-max98357a | |
│ ├── HiFi.conf | |
│ ├── init.conf | |
│ └── sc7180-rt5682-max98357a-1mic.conf | |
├── sdm845 | |
│ ├── HDMI.conf | |
│ ├── HiFi-MM1.conf | |
│ ├── HiFi.conf | |
│ ├── Lenovo-YOGA-C630-13Q50.conf | |
│ └── sdm845.conf | |
└── sm8250 | |
├── HDMI.conf | |
├── HiFi.conf | |
└── Qualcomm-RB5-WSA8815-Speakers-DMIC0.conf | |
8 directories, 20 files | |
travler@icarus:/usr/share/alsa/ucm2$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use case configuration for ALC5682+MAX98357A on SC7180 | |
SectionVerb { | |
EnableSequence [ | |
# cset "name='PRI_MI2S_RX Audio Mixer MultiMedia1' 1" | |
# cset "name='PRI_MI2S_TX Audio Mixer MultiMedia2' 1" | |
cset "name='TERT_MI2S_RX Audio Mixer MultiMedia1' 1" | |
] | |
DisableSequence [ | |
# cset "name='PRI_MI2S_RX Audio Mixer MultiMedia1' 0" | |
# cset "name='PRI_MI2S_TX Audio Mixer MultiMedia2' 0" | |
cset "name='TERT_MI2S_RX Audio Mixer MultiMedia1' 0" | |
] | |
Value { | |
TQ "HiFi" | |
} | |
} | |
SectionDevice."Speaker" { | |
Comment "Speaker" | |
Value { | |
PlaybackChannels 2 | |
PlaybackPCM "hw:${CardId},0" | |
PlaybackPriority 100 | |
PlaybackMixerElem "Speaker" | |
PlaybackVolume "Speaker Playback Volume" | |
} | |
} | |
#SectionDevice."Headphones" { | |
# Comment "Headphones" | |
# | |
# EnableSequence [ | |
# cset "name='HPOL Playback Switch' 1" | |
# cset "name='HPOR Playback Switch' 1" | |
# cset "name='Stereo1 DAC MIXL DAC L1 Switch' 1" | |
# cset "name='Stereo1 DAC MIXR DAC R1 Switch' 1" | |
# ] | |
# | |
# DisableSequence [ | |
# cset "name='HPOL Playback Switch' 0" | |
# cset "name='HPOR Playback Switch' 0" | |
# cset "name='Stereo1 DAC MIXL DAC L1 Switch' 0" | |
# cset "name='Stereo1 DAC MIXR DAC R1 Switch' 0" | |
# ] | |
# | |
# Value { | |
# PlaybackPCM "hw:${CardId},0" | |
# PlaybackPriority 200 | |
# PlaybackMasterElem "DAC1" | |
# PlaybackMixerElem "Headphone" | |
# PlaybackVolume "Headphone Playback Volume" | |
# } | |
#} | |
# | |
#SectionDevice."Mic" { | |
# Comment "Internal Microphone" | |
# | |
# ConflictingDevice [ | |
# "Headset" | |
# ] | |
# | |
# EnableSequence [ | |
# cset "name='IF1 01 ADC Swap Mux' 1" | |
# cset "name='Stereo1 ADC L2 Mux' 1" | |
# cset "name='Stereo1 ADC R2 Mux' 1" | |
# cset "name='Stereo1 ADC MIXL ADC2 Switch' 1" | |
# cset "name='Stereo1 ADC MIXR ADC2 Switch' 1" | |
# ] | |
# | |
# DisableSequence [ | |
# cset "name='Stereo1 ADC L2 Mux' 0" | |
# cset "name='Stereo1 ADC R2 Mux' 0" | |
# cset "name='Stereo1 ADC MIXL ADC2 Switch' 0" | |
# cset "name='Stereo1 ADC MIXR ADC2 Switch' 0" | |
# ] | |
# | |
# Value { | |
# CapturePCM "hw:${CardId},0" | |
# CapturePriority 100 | |
# CaptureMixerElem "STO1 ADC" | |
# CaptureVolume "STO1 ADC Capture Volume" | |
# } | |
#} | |
# | |
#SectionDevice."Headset" { | |
# Comment "Headset Microphone" | |
# | |
# EnableSequence [ | |
# cset "name='IF1 01 ADC Swap Mux' 2" | |
# cset "name='Stereo1 ADC L1 Mux' 1" | |
# cset "name='Stereo1 ADC R1 Mux' 1" | |
# cset "name='Stereo1 ADC MIXL ADC1 Switch' 1" | |
# cset "name='Stereo1 ADC MIXR ADC1 Switch' 1" | |
# ] | |
# | |
# DisableSequence [ | |
# cset "name='Stereo1 ADC L1 Mux' 0" | |
# cset "name='Stereo1 ADC R1 Mux' 0" | |
# cset "name='Stereo1 ADC MIXL ADC1 Switch' 0" | |
# cset "name='Stereo1 ADC MIXR ADC1 Switch' 0" | |
# ] | |
# | |
# Value { | |
# CapturePCM "hw:${CardId},0" | |
# CapturePriority 200 | |
# CaptureMixerElem "STO1 ADC" | |
# CaptureVolume "STO1 ADC Capture Volume" | |
# } | |
#} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BootSequence [ | |
# Headphone | |
cset "name='HPOL Playback Switch' 0" | |
cset "name='HPOR Playback Switch' 0" | |
cset "name='Stereo1 DAC MIXL DAC L1 Switch' 0" | |
cset "name='Stereo1 DAC MIXR DAC R1 Switch' 0" | |
# Headset mic | |
cset "name='Stereo1 ADC L Mux' 0" | |
cset "name='STO1 ADC Capture Switch' on" | |
cset "name='RECMIX1L CBJ Switch' 1" | |
cset "name='CBJ Boost Volume' 3" | |
cset "name='Stereo1 ADC L1 Mux' 0" | |
cset "name='Stereo1 ADC R1 Mux' 0" | |
cset "name='Stereo1 ADC MIXL ADC1 Switch' 0" | |
cset "name='Stereo1 ADC MIXR ADC1 Switch' 0" | |
# Internal mic on ALC5682 | |
cset "name='IF1 01 ADC Swap Mux' 1" | |
cset "name='Stereo1 ADC L2 Mux' 0" | |
cset "name='Stereo1 ADC R2 Mux' 0" | |
cset "name='Stereo1 ADC MIXL ADC2 Switch' 0" | |
cset "name='Stereo1 ADC MIXR ADC2 Switch' 0" | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment