From d6cb995b9904418095febdc3e94ce1380ae092c0 Mon Sep 17 00:00:00 2001 From: Raymond Hackley Date: Tue, 6 Dec 2022 19:37:02 +0000 Subject: [PATCH] main/postmarketos-base: add regulator-haptic udev rules (MR 3691) Add rules for regulator-haptic, which is used on: - samsung-e5/e7 - samsung-cprime/gprime - samsung-j3/j5(x) Note that regulator-haptic is not supported on some devices yet, and samsung-e5 is not ported at the moment. [ci:skip-build]: already built successfully in CI --- main/postmarketos-base/APKBUILD | 6 ++++-- ...usr-lib-udev-rules.d-90-feedbackd-regulator-haptic.rules | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 main/postmarketos-base/rootfs-usr-lib-udev-rules.d-90-feedbackd-regulator-haptic.rules diff --git a/main/postmarketos-base/APKBUILD b/main/postmarketos-base/APKBUILD index 59dde1c81..c41d3c9a9 100644 --- a/main/postmarketos-base/APKBUILD +++ b/main/postmarketos-base/APKBUILD @@ -1,6 +1,6 @@ pkgname=postmarketos-base -pkgver=23 -pkgrel=1 +pkgver=24 +pkgrel=0 pkgdesc="Meta package for minimal postmarketOS base" url="https://postmarketos.org" arch="noarch" @@ -52,6 +52,7 @@ _source644=" lib/udev/rules.d/20-tm2-touchkey-leds.rules lib/udev/rules.d/20-zinitix-input.rules lib/udev/rules.d/50-firmware.rules + usr/lib/udev/rules.d/90-feedbackd-regulator-haptic.rules " _source755=" etc/init.d/deferred-initcalls @@ -129,6 +130,7 @@ b70ee1b39b5f33c9a3e6bf4259158519691c82c8cefb700d4df49eb749a2cce208082e00d4905b9e de4d8f258cb2ce654be15abe0188caa6ca9cc163fd45350f2025e7e9d043878e3f1202ef9033b1b15d7e18c4b40c3b19db387ee050a3baf03c4bd4293f4721e3 rootfs-lib-udev-rules.d-20-tm2-touchkey-leds.rules 1972174b97a99bcc58e87b3e093bdef260054f6aee1c1c345842a53991c2d5faf1b1ebc3c97f9dcf230f4d73ec06e27bf8ca3776527f999e3fd95877ff66d25b rootfs-lib-udev-rules.d-20-zinitix-input.rules 0b098828080055d3646ea54891cb0e1b578cbc30f5e16f7284f2814c08192f18079a38fb686d192715ae6a3d2cd6625d9e3cf99f234a6f0d94088bb0cb2ce43d rootfs-lib-udev-rules.d-50-firmware.rules +f5c6913040a0448c346fdd0b5dbea865a3ac92ac1a21646d32753e6521642a27b061c314f10a14b612b78aa6bc8d3209e51f7ced95c478f1be55e478ff04067b rootfs-usr-lib-udev-rules.d-90-feedbackd-regulator-haptic.rules 5fd6dd7f9941e975a6ce559924eb252606943276dc09455bbeb05ff718ecd28f20a08eee8e04ca580e5af71d4c944c256ec04f07b07286394f5dfedfa59273e7 rootfs-etc-init.d-deferred-initcalls f5cc0f1265955d2646e5f099dd4b5d4c287945bfc18c16044db57670d456f55c678fc11cc59e6dab3fa340832ce869d516302a3a35c13518539ed0cedca51819 rootfs-etc-init.d-swapfile 3ceeee37f558e7c95ad973692b6a437f997e6b46c3d1c2257ddfb1529a5633477373aa123c7f08164e818daae50acb203d151379f27ca11bd458809e6a0d4de7 rootfs-sbin-swapfile diff --git a/main/postmarketos-base/rootfs-usr-lib-udev-rules.d-90-feedbackd-regulator-haptic.rules b/main/postmarketos-base/rootfs-usr-lib-udev-rules.d-90-feedbackd-regulator-haptic.rules new file mode 100644 index 000000000..ff0b147fa --- /dev/null +++ b/main/postmarketos-base/rootfs-usr-lib-udev-rules.d-90-feedbackd-regulator-haptic.rules @@ -0,0 +1 @@ +SUBSYSTEM=="input", KERNEL=="event*", ENV{ID_INPUT}=="1", ATTRS{name}=="regulator-haptic", TAG+="uaccess", ENV{FEEDBACKD_TYPE}="vibra"