Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ucm & libinput config for trogdor-coachz #201

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
SectionDevice."Speaker".0 {
Comment "Speakers"
Value {
PlaybackPCM "hw:${CardId},1"
PlaybackChannels 2
PlaybackRate 48000
PlaybackPriority 100
}
}

SectionDevice."Mic".0 {
Comment "Internal Mic"
Value {
CapturePCM "hw:${CardId},0"
CapturePriority 100
}
}

#SectionDevice."HDMI".0 {
# Comment "HDMI"
# Value {
# PlaybackPCM "hw:${CardId},2"
# JackControl "HDMI Jack"
# }
#}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Comment "SC7180 ADAU7002 MAX98357A single microphone sound card"
Syntax 4

SectionUseCase."HiFi" {
File "/Qualcomm/sc7180/adau7002-max98357a/HiFi.conf"
Comment "Default"
}

Include.card-init.File "/lib/card-init.conf"
Include.ctl-remap.File "/lib/ctl-remap.conf"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[HP Chromebook X2 11"]
MatchUdevType=touchpad
MatchName=Google Inc. Hammer
MatchDeviceTree=*coachz*
ModelChromebook=1
AttrPressureRange=25:10
AttrPalmPressureThreshold=180