Skip to content

Commit

Permalink
Changelog:
Browse files Browse the repository at this point in the history
- Try some audio fixes generic HDA and baytrail chromebooks
  • Loading branch information
sebanc committed Jun 19, 2022
1 parent fb086d6 commit 2b942cd
Show file tree
Hide file tree
Showing 7 changed files with 130 additions and 247 deletions.
125 changes: 125 additions & 0 deletions alsa-ucm-conf/ucm/sof-hda-dsp/HiFi.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
SectionVerb {
Value {
FullySpecifiedUCM "1"
}
EnableSequence [
cdev "hw:sofhdadsp"
cset "name='Master Playback Switch' on"
cset "name='Capture Switch' on"
]

DisableSequence [
]
}

SectionDevice."Headphone".0 {
Value {
PlaybackPCM "hw:sofhdadsp,0"
JackDev "sof-hda-dsp Headphone"
}

EnableSequence [
cdev "hw:sofhdadsp"
cset "name='Headphone Playback Switch' on"
]

DisableSequence [
cdev "hw:sofhdadsp"
cset "name='Headphone Playback Switch' off"
]

}

SectionDevice."Speaker".0 {
Value {
PlaybackPCM "hw:sofhdadsp,0"
PlaybackMixerElem "Master"
}

EnableSequence [
cdev "hw:sofhdadsp"
cset "name='Speaker Playback Switch' on"
cset "name='Bass Speaker Playback Switch' on"
cset "name='Master Playback Volume' 75"
cset "name='Master Playback Switch' on"

]

DisableSequence [
cdev "hw:sofhdadsp"
cset "name='Speaker Playback Switch' off"
cset "name='Bass Speaker Playback Switch' off"
]
}

SectionDevice."Mic".0 {
Value {
CapturePCM "hw:sofhdadsp,0"
CaptureMixerElem "Capture"
JackDev "sof-hda-dsp Mic"
}
EnableSequence [
]

DisableSequence [
]
}

SectionDevice."Internal Mic".0 {
Value {
CapturePCM "hw:sofhdadsp,6"
CaptureMixerElem "Dmic0"
}

EnableSequence [
]

DisableSequence [
]

}

SectionDevice."HDMI1".0 {
Value {
PlaybackPCM "hw:sofhdadsp,3"
JackDev "sof-hda-dsp HDMI/DP,pcm=3"
}

EnableSequence [
cset "name='IEC958 Playback Switch' on"
]

DisableSequence [
cset "name='IEC958 Playback Switch' off"
]
}

SectionDevice."HDMI2".0 {
Value {
PlaybackPCM "hw:sofhdadsp,4"
JackDev "sof-hda-dsp HDMI/DP,pcm=4"
}

EnableSequence [
cset "name='IEC958 Playback Switch',index=1 on"
]

DisableSequence [
cset "name='IEC958 Playback Switch',index=1 off"
]
}

SectionDevice."HDMI3".0 {
Value {
PlaybackPCM "hw:sofhdadsp,5"
JackDev "sof-hda-dsp HDMI/DP,pcm=5"
}

EnableSequence [
cset "name='IEC958 Playback Switch',index=2 on"
]

DisableSequence [
cset "name='IEC958 Playback Switch',index=2 off"
]
}
5 changes: 5 additions & 0 deletions alsa-ucm-conf/ucm/sof-hda-dsp/sof-hda-dsp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Comment "For Cloudready Lenovo X1 Carbon"
SectionUseCase."HiFi" {
File "HiFi.conf"
Comment "Default"
}
5 changes: 0 additions & 5 deletions alsa-ucm-conf/ucm2/sof-hda-dsp/HDA-Capture-value.conf

This file was deleted.

58 changes: 0 additions & 58 deletions alsa-ucm-conf/ucm2/sof-hda-dsp/Hdmi.conf

This file was deleted.

178 changes: 0 additions & 178 deletions alsa-ucm-conf/ucm2/sof-hda-dsp/HiFi.conf

This file was deleted.

6 changes: 0 additions & 6 deletions alsa-ucm-conf/ucm2/sof-hda-dsp/sof-hda-dsp.conf

This file was deleted.

Binary file modified packages/chromebook_audio/baytrail_chromebook.tar.gz
Binary file not shown.

0 comments on commit 2b942cd

Please sign in to comment.