device-nokia-n900: enable screen and touchscreen on keyboard slide up (MR 4988)
Partially implements the request from https://gitlab.com/postmarketOS/pmaports/-/issues/621
This commit is contained in:
parent
4ac671b055
commit
0a0d84325e
2 changed files with 4 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Sicelo <absicsz@gmail.com>
|
||||
# Co-Maintainer: Danct12 <danct12@disroot.org>
|
||||
pkgname=device-nokia-n900
|
||||
pkgver=16
|
||||
pkgver=17
|
||||
pkgrel=0
|
||||
pkgdesc="Nokia N900"
|
||||
url="https://postmarketos.org"
|
||||
|
@ -188,7 +188,7 @@ sha512sums="
|
|||
6b475c12eca8563be48c562a1cb4ad8ca6a05d70fc54b21288b2dd7435a80a6f53351aa870db96d5bbecf1b1c5cb00dfe35f5066e6d3fd0ad0369e66aeef5a21 10-initfs-keymap.files
|
||||
4656d3b3ced0a86e2d6315c89322899f646a689e9cb64609aa8ad5a676b23d93706d8a37f3be6f6b12c6b1e8501b7d26ecafecf27322333850513a6805c61910 10-initfs-keymap.sh
|
||||
2e6c324c2a0627fb37ee2feff249d6c828116a9c1a32d572481dddc12648c98b726eb3a475838398742f76a60e3f2249d7707502360473b8bf2e794bf22f57ce acpi.map
|
||||
6474c31560e0a9272c127f8fb0412749fe5039738774033cde4333c533418c5d3336935e8bb8a26970a20d519513296aac4530487acb34f551a4ad12c08dd91d acpi_handler.sh
|
||||
225f5b7b2e6767f8a2dcd534d17463d7e1022b671dddb887aa7fb84fbf0da24326e631ef4c063043f218d10ac5e3ad4dd13f3472f9a54977d643edc996154fa6 acpi_handler.sh
|
||||
5b87071834313a389f83d29f86f6e3ea108d0921f17dc918be7a46de7e74c73a4418044ef600a0fbf72c8fad22b7730dcd5bfe3d6d01d76bf01556f8540f0b32 asound.state.headset
|
||||
67acc17a33bc75113300393b4a5bba15319014032407e774d079abf310368e75f4f697dbb4856ba2d2d8ea184b056bb33561f42918de3ee91ab6a77df89a133c asound.state.speakers
|
||||
3d55e34b95791636e44a5f41754f3d0de039dbba41f7a556d43a95c9e64afcfa930046b4b96b40020b6f196096ffba93514682927e32fa4488686fdd19c6da5a backlight-enable.sh
|
||||
|
|
|
@ -12,6 +12,8 @@ function adjust_keypad_bl {
|
|||
case $cmd in
|
||||
KP_SLIDE_OPEN)
|
||||
adjust_keypad_bl 63
|
||||
su $user -c 'DISPLAY=:0.0 /usr/bin/xset dpms force on'
|
||||
su $user -c 'DISPLAY=:0.0 /usr/bin/xinput enable "TSC2005 touchscreen"'
|
||||
;;
|
||||
KP_SLIDE_CLOSE)
|
||||
adjust_keypad_bl 0
|
||||
|
|
Loading…
Reference in a new issue