soc-qcom-sdm845: add udev rule to tag haptics motor for feedbackd (MR 2002)
Co-authored-by: Caleb Connolly <caleb@connolly.tech> Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
This commit is contained in:
parent
f23e6117bb
commit
2fdbd70d48
2 changed files with 9 additions and 1 deletions
|
@ -0,0 +1 @@
|
||||||
|
SUBSYSTEM=="input", KERNEL=="event*", ENV{ID_INPUT}=="1", SUBSYSTEMS=="input", ATTRS{name}=="pmi8998_haptics", TAG+="uaccess", ENV{FEEDBACKD_TYPE}="vibra"
|
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Caleb Connolly (kalube) <caleb@connolly.tech>
|
# Maintainer: Caleb Connolly (kalube) <caleb@connolly.tech>
|
||||||
pkgname=soc-qcom-sdm845
|
pkgname=soc-qcom-sdm845
|
||||||
pkgdesc="Common package for Qualcomm SDM845 devices"
|
pkgdesc="Common package for Qualcomm SDM845 devices"
|
||||||
pkgver=1
|
pkgver=2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
|
@ -9,9 +9,12 @@ arch="aarch64"
|
||||||
options="!check !archcheck !tracedeps"
|
options="!check !archcheck !tracedeps"
|
||||||
depends="mesa-dri-gallium"
|
depends="mesa-dri-gallium"
|
||||||
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
||||||
|
source="90-feedbackd-pmi8998.rules"
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
mkdir -p "$pkgdir"
|
mkdir -p "$pkgdir"
|
||||||
|
install -Dm644 "$srcdir"/90-feedbackd-pmi8998.rules \
|
||||||
|
"$pkgdir"/usr/lib/udev/rules.d/90-feedbackd-pmi8998.rules
|
||||||
}
|
}
|
||||||
|
|
||||||
nonfree_firmware() {
|
nonfree_firmware() {
|
||||||
|
@ -20,3 +23,7 @@ nonfree_firmware() {
|
||||||
install="$subpkgname.post-install"
|
install="$subpkgname.post-install"
|
||||||
mkdir "$subpkgdir"
|
mkdir "$subpkgdir"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
ea3c7f9664eb9be2ffb6879db044b44cd826747b73c6527d54d79102e58a44e1b32d08d0b1b261329eae43d6a30bc8ef80d89b1d63af1c74ba5dc66ac57911d7 90-feedbackd-pmi8998.rules
|
||||||
|
"
|
||||||
|
|
Loading…
Reference in a new issue