samsung-{a3,a5,a7,klte,serranove}: move tm2-touchkey rules to pmos-base (MR 2926)

Fixes: #1422
This commit is contained in:
Raymond Hackley 2022-03-04 00:50:53 +09:00 committed by Alexey Min
parent 6127af7883
commit 9833cc8a64
No known key found for this signature in database
GPG key ID: 0B19D2A65870B448
12 changed files with 17 additions and 44 deletions

View file

@ -1,2 +0,0 @@
# remap the left key of tm2-touchkey to KEY_MENU
SUBSYSTEM=="input", KERNEL=="event*", DRIVERS=="tm2-touchkey", ENV{KEYBOARD_KEY_00}="menu", RUN{builtin}+="keyboard"

View file

@ -4,8 +4,8 @@
# Co-Maintainer: Minecrell <minecrell@minecrell.net> # Co-Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=device-samsung-a3 pkgname=device-samsung-a3
pkgdesc="Samsung Galaxy A3 (2015)" pkgdesc="Samsung Galaxy A3 (2015)"
pkgver=8 pkgver=9
pkgrel=1 pkgrel=0
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="aarch64" arch="aarch64"
@ -14,7 +14,6 @@ depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
soc-qcom-msm8916 soc-qcom-msm8916-rproc" soc-qcom-msm8916 soc-qcom-msm8916-rproc"
makedepends="devicepkg-dev" makedepends="devicepkg-dev"
source=" source="
20-tm2-touchkey-input.rules
deviceinfo deviceinfo
rootston.ini rootston.ini
" "
@ -36,8 +35,6 @@ build() {
package() { package() {
devicepkg_package $startdir $pkgname devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/20-tm2-touchkey-input.rules \
"$pkgdir"/lib/udev/rules.d/20-tm2-touchkey-input.rules
} }
nonfree_firmware() { nonfree_firmware() {
@ -59,7 +56,6 @@ phosh() {
} }
sha512sums=" sha512sums="
5a91ca375652bc9d2af90db4f446176a4fd43b5c924362219f6bf35e76de818cb4ecce105ee56b4511c3c0882bd055615f409516fade6dfcd30642cc147c1c5a 20-tm2-touchkey-input.rules
dac014f2ebc1c461e43917fcfc020675c10ac39e17b83b0e0e2246b159db1f61ce024df21624f2635729f29521b30b4cce29b4451931cb27cf4d0f34b19ec509 deviceinfo dac014f2ebc1c461e43917fcfc020675c10ac39e17b83b0e0e2246b159db1f61ce024df21624f2635729f29521b30b4cce29b4451931cb27cf4d0f34b19ec509 deviceinfo
f3667b914bb955be9e97db31dc7ed4a7c5d0c369be9549d587bb7208e270590c0c3fa36a0dd997d6f8305c5c9afb3b906423af6ca8724e806f995e61226cfc83 rootston.ini f3667b914bb955be9e97db31dc7ed4a7c5d0c369be9549d587bb7208e270590c0c3fa36a0dd997d6f8305c5c9afb3b906423af6ca8724e806f995e61226cfc83 rootston.ini
" "

View file

@ -1,2 +0,0 @@
# remap the left key of tm2-touchkey to KEY_MENU
SUBSYSTEM=="input", KERNEL=="event*", DRIVERS=="tm2-touchkey", ENV{KEYBOARD_KEY_00}="menu", RUN{builtin}+="keyboard"

View file

@ -3,8 +3,8 @@
# Co-Maintainer: Alexey Min <alexey.min@gmail.com> # Co-Maintainer: Alexey Min <alexey.min@gmail.com>
pkgname=device-samsung-a5 pkgname=device-samsung-a5
pkgdesc="Samsung Galaxy A5 (2015)" pkgdesc="Samsung Galaxy A5 (2015)"
pkgver=8 pkgver=9
pkgrel=1 pkgrel=0
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="aarch64" arch="aarch64"
@ -12,10 +12,7 @@ options="!check !archcheck"
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916 depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
soc-qcom-msm8916 soc-qcom-msm8916-rproc" soc-qcom-msm8916 soc-qcom-msm8916-rproc"
makedepends="devicepkg-dev" makedepends="devicepkg-dev"
source=" source="deviceinfo"
20-tm2-touchkey-input.rules
deviceinfo
"
subpackages=" subpackages="
$pkgname-nonfree-firmware:nonfree_firmware $pkgname-nonfree-firmware:nonfree_firmware
" "
@ -33,8 +30,6 @@ build() {
package() { package() {
devicepkg_package $startdir $pkgname devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/20-tm2-touchkey-input.rules \
"$pkgdir"/lib/udev/rules.d/20-tm2-touchkey-input.rules
} }
nonfree_firmware() { nonfree_firmware() {
@ -47,6 +42,5 @@ nonfree_firmware() {
} }
sha512sums=" sha512sums="
5a91ca375652bc9d2af90db4f446176a4fd43b5c924362219f6bf35e76de818cb4ecce105ee56b4511c3c0882bd055615f409516fade6dfcd30642cc147c1c5a 20-tm2-touchkey-input.rules
ee496db47c95cb67b502c5f11d7390b679fbc8fc011eab1f9d7639b5df02c01501cb9963f638adaed93e6626a23e15be6d53b093f2b55f7d19108d06277939f7 deviceinfo ee496db47c95cb67b502c5f11d7390b679fbc8fc011eab1f9d7639b5df02c01501cb9963f638adaed93e6626a23e15be6d53b093f2b55f7d19108d06277939f7 deviceinfo
" "

View file

@ -1,2 +0,0 @@
# remap the left key of tm2-touchkey to KEY_MENU
SUBSYSTEM=="input", KERNEL=="event*", DRIVERS=="tm2-touchkey", ENV{KEYBOARD_KEY_00}="menu", RUN{builtin}+="keyboard"

View file

@ -2,8 +2,8 @@
# Maintainer: Minecrell <minecrell@minecrell.net> # Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=device-samsung-serranove pkgname=device-samsung-serranove
pkgdesc="Samsung Galaxy S4 Mini Value Edition" pkgdesc="Samsung Galaxy S4 Mini Value Edition"
pkgver=9 pkgver=10
pkgrel=1 pkgrel=0
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="armv7" arch="armv7"
@ -12,7 +12,6 @@ depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
soc-qcom-msm8916 soc-qcom-msm8916-rproc" soc-qcom-msm8916 soc-qcom-msm8916-rproc"
makedepends="devicepkg-dev" makedepends="devicepkg-dev"
source=" source="
20-tm2-touchkey-input.rules
77-modem-samsung-serranove.rules 77-modem-samsung-serranove.rules
deviceinfo deviceinfo
rootston.ini rootston.ini
@ -35,8 +34,6 @@ build() {
package() { package() {
devicepkg_package $startdir $pkgname devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/20-tm2-touchkey-input.rules \
"$pkgdir"/lib/udev/rules.d/20-tm2-touchkey-input.rules
install -Dm644 "$srcdir"/77-modem-samsung-serranove.rules \ install -Dm644 "$srcdir"/77-modem-samsung-serranove.rules \
"$pkgdir"/lib/udev/rules.d/77-modem-samsung-serranove.rules "$pkgdir"/lib/udev/rules.d/77-modem-samsung-serranove.rules
} }
@ -58,7 +55,6 @@ phosh() {
} }
sha512sums=" sha512sums="
5a91ca375652bc9d2af90db4f446176a4fd43b5c924362219f6bf35e76de818cb4ecce105ee56b4511c3c0882bd055615f409516fade6dfcd30642cc147c1c5a 20-tm2-touchkey-input.rules
4b747284acf73a401255093dfd7b6406fa8e3428307f031d39b1631d1a3ae6404789fc2dfff0cf2da6b2f0757071363cc70b4ef7d445c7b3c047b6feb88b9125 77-modem-samsung-serranove.rules 4b747284acf73a401255093dfd7b6406fa8e3428307f031d39b1631d1a3ae6404789fc2dfff0cf2da6b2f0757071363cc70b4ef7d445c7b3c047b6feb88b9125 77-modem-samsung-serranove.rules
d666cf805d292d13d9e15a350b203580f016f455dad16cbc4a94471edb145fd464c5ad92a50077995234a9db1322e605e0294a6c5d7342fa6675b1bfec4eb69e deviceinfo d666cf805d292d13d9e15a350b203580f016f455dad16cbc4a94471edb145fd464c5ad92a50077995234a9db1322e605e0294a6c5d7342fa6675b1bfec4eb69e deviceinfo
94c866b6583faadc4a96a4d737983ba7838ede52afa5e29e261ef0ad0f2afe29fd3b793c9208ae74c7d48db6b991ad21800b9e457fbba4c69ce9dec2cda268ea rootston.ini 94c866b6583faadc4a96a4d737983ba7838ede52afa5e29e261ef0ad0f2afe29fd3b793c9208ae74c7d48db6b991ad21800b9e457fbba4c69ce9dec2cda268ea rootston.ini

View file

@ -1,2 +0,0 @@
# remap the left key of tm2-touchkey to KEY_MENU
SUBSYSTEM=="input", KERNEL=="event*", DRIVERS=="tm2-touchkey", ENV{KEYBOARD_KEY_00}="menu", RUN{builtin}+="keyboard"

View file

@ -1,7 +1,7 @@
# Reference: <https://postmarketos.org/devicepkg> # Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-a7 pkgname=device-samsung-a7
pkgdesc="Samsung Galaxy A7 (2015)" pkgdesc="Samsung Galaxy A7 (2015)"
pkgver=2 pkgver=3
pkgrel=0 pkgrel=0
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
@ -16,7 +16,6 @@ depends="
" "
makedepends="devicepkg-dev" makedepends="devicepkg-dev"
source=" source="
20-tm2-touchkey-input.rules
deviceinfo deviceinfo
rootston.ini rootston.ini
" "
@ -31,8 +30,6 @@ build() {
package() { package() {
devicepkg_package $startdir $pkgname devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/20-tm2-touchkey-input.rules \
"$pkgdir"/lib/udev/rules.d/20-tm2-touchkey-input.rules
} }
nonfree_firmware() { nonfree_firmware() {
@ -48,7 +45,6 @@ phosh() {
} }
sha512sums=" sha512sums="
5a91ca375652bc9d2af90db4f446176a4fd43b5c924362219f6bf35e76de818cb4ecce105ee56b4511c3c0882bd055615f409516fade6dfcd30642cc147c1c5a 20-tm2-touchkey-input.rules
bc3787eccf092939b272f77a6c2febde13d963eb595147dff492e1dae2dc12b6f24b9efc4fdca3be90780d3ebfe4e1cec1b2023c8efd37774486fa34c70b10f7 deviceinfo bc3787eccf092939b272f77a6c2febde13d963eb595147dff492e1dae2dc12b6f24b9efc4fdca3be90780d3ebfe4e1cec1b2023c8efd37774486fa34c70b10f7 deviceinfo
7883533e105de4f951026f99a7c27e90d290d4760253c56e4f7ddb20acc1f6de294cf6ca9a2259a9f4db7dec106926d7c970a2c94107f5ed60efe08525766f44 rootston.ini 7883533e105de4f951026f99a7c27e90d290d4760253c56e4f7ddb20acc1f6de294cf6ca9a2259a9f4db7dec106926d7c970a2c94107f5ed60efe08525766f44 rootston.ini
" "

View file

@ -1,2 +0,0 @@
# remap the left key of tm2-touchkey to KEY_MENU
SUBSYSTEM=="input", KERNEL=="event*", DRIVERS=="tm2-touchkey", ENV{KEYBOARD_KEY_00}="menu", RUN{builtin}+="keyboard"

View file

@ -1,8 +1,8 @@
# Reference: <https://postmarketos.org/devicepkg> # Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-klte pkgname=device-samsung-klte
pkgdesc="Samsung Galaxy S5 (G900F)" pkgdesc="Samsung Galaxy S5 (G900F)"
pkgver=3 pkgver=4
pkgrel=1 pkgrel=0
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="armv7" arch="armv7"
@ -19,7 +19,6 @@ subpackages="
$pkgname-nonfree-firmware:nonfree_firmware $pkgname-nonfree-firmware:nonfree_firmware
" "
source=" source="
20-tm2-touchkey-input.rules
bt-module-deps.conf bt-module-deps.conf
deviceinfo deviceinfo
" "
@ -30,8 +29,6 @@ build() {
package() { package() {
devicepkg_package $startdir $pkgname devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/20-tm2-touchkey-input.rules \
"$pkgdir"/lib/udev/rules.d/20-tm2-touchkey-input.rules
} }
nonfree_firmware() { nonfree_firmware() {
@ -51,7 +48,6 @@ nonfree_firmware() {
} }
sha512sums=" sha512sums="
5a91ca375652bc9d2af90db4f446176a4fd43b5c924362219f6bf35e76de818cb4ecce105ee56b4511c3c0882bd055615f409516fade6dfcd30642cc147c1c5a 20-tm2-touchkey-input.rules
6cef5f8ae1785ac16e6fe84bfc861ac50cdfb94db35d764f44a25c960e123cb82f6e56f45362a5340c62a3d5ac225f2689afd4f6964cb88305a0892ba44214f0 bt-module-deps.conf 6cef5f8ae1785ac16e6fe84bfc861ac50cdfb94db35d764f44a25c960e123cb82f6e56f45362a5340c62a3d5ac225f2689afd4f6964cb88305a0892ba44214f0 bt-module-deps.conf
ddbf2140fdc4b3c50a78a5c946d2bec75debec68a89bfac6e1ad7b112af7c38e916ac056dbe69e266c229e3543427471375d3f5f362dcf35765e86a6bc0f4024 deviceinfo ddbf2140fdc4b3c50a78a5c946d2bec75debec68a89bfac6e1ad7b112af7c38e916ac056dbe69e266c229e3543427471375d3f5f362dcf35765e86a6bc0f4024 deviceinfo
" "

View file

@ -1,6 +1,6 @@
pkgname=postmarketos-base pkgname=postmarketos-base
pkgver=18 pkgver=19
pkgrel=1 pkgrel=0
pkgdesc="Meta package for minimal postmarketOS base" pkgdesc="Meta package for minimal postmarketOS base"
url="https://postmarketos.org" url="https://postmarketos.org"
arch="noarch" arch="noarch"
@ -43,6 +43,7 @@ _source644="
etc/motd etc/motd
etc/os-release etc/os-release
etc/sysctl.d/disable-rp-filter.conf etc/sysctl.d/disable-rp-filter.conf
lib/udev/rules.d/20-tm2-touchkey-input.rules
lib/udev/rules.d/20-tm2-touchkey-leds.rules lib/udev/rules.d/20-tm2-touchkey-leds.rules
lib/udev/rules.d/50-firmware.rules lib/udev/rules.d/50-firmware.rules
lib/udev/rules.d/95-rt5033-battery-refresh.rules lib/udev/rules.d/95-rt5033-battery-refresh.rules
@ -112,6 +113,7 @@ e4576c58c35f80bedddb1e89e186f37d31a186d3e9eb046581b8c5d7b7d435e18924539e851d3e67
01403df3b5a2be0dd70387a3c32cf24a77bc097679fbefca585082a0970b7d756723c33687be3809351b5e31c85947db84861118bfeced8f5f865fe2452555ec rootfs-etc-motd 01403df3b5a2be0dd70387a3c32cf24a77bc097679fbefca585082a0970b7d756723c33687be3809351b5e31c85947db84861118bfeced8f5f865fe2452555ec rootfs-etc-motd
093c201f0c7aa203df447f2a8c27e5834520a7016ce2934ddc35fb037d2ec9acf0f7df7c06e07ad24ba7b4d94ef21fe7ff848c58bd62277eeeb08659fbddf1e9 rootfs-etc-os-release 093c201f0c7aa203df447f2a8c27e5834520a7016ce2934ddc35fb037d2ec9acf0f7df7c06e07ad24ba7b4d94ef21fe7ff848c58bd62277eeeb08659fbddf1e9 rootfs-etc-os-release
b70ee1b39b5f33c9a3e6bf4259158519691c82c8cefb700d4df49eb749a2cce208082e00d4905b9eea2c4f75b6da62f73931931c92157b4132adb35dcf0e0a6f rootfs-etc-sysctl.d-disable-rp-filter.conf b70ee1b39b5f33c9a3e6bf4259158519691c82c8cefb700d4df49eb749a2cce208082e00d4905b9eea2c4f75b6da62f73931931c92157b4132adb35dcf0e0a6f rootfs-etc-sysctl.d-disable-rp-filter.conf
443dfe94b63c5770bdc357faffad96f50f45e10c2687b33d4abb564e895dac1b5d19afe486758d19df811125548627945c9a60603f5e1126af921dead27af3fe rootfs-lib-udev-rules.d-20-tm2-touchkey-input.rules
de4d8f258cb2ce654be15abe0188caa6ca9cc163fd45350f2025e7e9d043878e3f1202ef9033b1b15d7e18c4b40c3b19db387ee050a3baf03c4bd4293f4721e3 rootfs-lib-udev-rules.d-20-tm2-touchkey-leds.rules de4d8f258cb2ce654be15abe0188caa6ca9cc163fd45350f2025e7e9d043878e3f1202ef9033b1b15d7e18c4b40c3b19db387ee050a3baf03c4bd4293f4721e3 rootfs-lib-udev-rules.d-20-tm2-touchkey-leds.rules
0b098828080055d3646ea54891cb0e1b578cbc30f5e16f7284f2814c08192f18079a38fb686d192715ae6a3d2cd6625d9e3cf99f234a6f0d94088bb0cb2ce43d rootfs-lib-udev-rules.d-50-firmware.rules 0b098828080055d3646ea54891cb0e1b578cbc30f5e16f7284f2814c08192f18079a38fb686d192715ae6a3d2cd6625d9e3cf99f234a6f0d94088bb0cb2ce43d rootfs-lib-udev-rules.d-50-firmware.rules
766aace60f7aea2515e03aec9f6d3215fcabcd81a235acb7b79bac1ae44e75c3087c541370fe1565a05a78f70a071fe20380b91e23e1fb48390b9df19354d008 rootfs-lib-udev-rules.d-95-rt5033-battery-refresh.rules 766aace60f7aea2515e03aec9f6d3215fcabcd81a235acb7b79bac1ae44e75c3087c541370fe1565a05a78f70a071fe20380b91e23e1fb48390b9df19354d008 rootfs-lib-udev-rules.d-95-rt5033-battery-refresh.rules

View file

@ -0,0 +1,3 @@
# map tm2-touchkey to KEY_MENU and KEY_BACK
SUBSYSTEM=="input", KERNEL=="event*", DRIVERS=="tm2-touchkey", \
ENV{KEYBOARD_KEY_00}="menu", ENV{KEYBOARD_KEY_01}="back", RUN{builtin}+="keyboard"