~mil/sxmo-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH sxmo-utils] Fix sxmo orientation detection on pp

Details
Message ID
<20220512094619.23452-1-contact@stacyharper.net>
DKIM signature
pass
Download raw message
Patch: +3 -2
Signed-off-by: Stacy Harper <contact@stacyharper.net>
---
 configs/default_hooks/sxmo_hook_lisgdstart.sh                   | 2 +-
 configs/default_hooks/sxmo_hook_start.sh                        | 2 +-
 .../deviceprofiles/sxmo_deviceprofile_pine64,pinephone-1.2.sh   | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/configs/default_hooks/sxmo_hook_lisgdstart.sh b/configs/default_hooks/sxmo_hook_lisgdstart.sh
index 2945bcf5..c2ee3340 100644
--- a/configs/default_hooks/sxmo_hook_lisgdstart.sh
+++ b/configs/default_hooks/sxmo_hook_lisgdstart.sh
@@ -11,7 +11,7 @@ LISGD_THRESHOLD_PRESSED="${SXMO_LISGD_THRESHOLD_PRESSED:-60}"
LISGD_INPUT_DEVICE="${SXMO_LISGD_INPUT_DEVICE:-"/dev/input/touchscreen"}"

if [ dwm = "$SXMO_WM" ]; then
	case "$(xrandr | grep DSI-1 | cut -d' ' -f 5)" in
	case "$(xrandr | grep primary | cut -d' ' -f 5)" in
		right) orientation=1;;
		left) orientation=3;;
		inverted) orientation=2;;
diff --git a/configs/default_hooks/sxmo_hook_start.sh b/configs/default_hooks/sxmo_hook_start.sh
index 74c8d55d..67a9b145 100644
--- a/configs/default_hooks/sxmo_hook_start.sh
+++ b/configs/default_hooks/sxmo_hook_start.sh
@@ -43,7 +43,7 @@ case "$SXMO_WM" in
		superctl start autocutsel
		superctl start autocutsel-primary
		superctl start sxmo-x11-status
		xrandr --output "$SXMO_MONITOR" --primary
		[ -n "$SXMO_MONITOR" ] && xrandr --output "$SXMO_MONITOR" --primary
		;;
esac

diff --git a/scripts/deviceprofiles/sxmo_deviceprofile_pine64,pinephone-1.2.sh b/scripts/deviceprofiles/sxmo_deviceprofile_pine64,pinephone-1.2.sh
index 22135bb7..59a93788 100644
--- a/scripts/deviceprofiles/sxmo_deviceprofile_pine64,pinephone-1.2.sh
+++ b/scripts/deviceprofiles/sxmo_deviceprofile_pine64,pinephone-1.2.sh
@@ -5,5 +5,6 @@
export SXMO_WIFI_MODULE=8723cs
export SXMO_SYS_FILES="/sys/module/$SXMO_WIFI_MODULE/parameters/rtw_scan_interval_thr /sys/power/state /sys/devices/platform/soc/1f00000.rtc/power/wakeup /sys/power/mem_sleep /sys/bus/usb/drivers/usb/unbind /sys/bus/usb/drivers/usb/bind /dev/rtc0 /sys/devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/power/wakeup"
export SXMO_TOUCHSCREEN_ID=8
export SXMO_MONITOR="DSI-1"
export SXMO_ALSA_CONTROL_NAME=PinePhone
export SXMO_EG25=1
-- 
2.36.0

[sxmo-utils/patches/.build.yml] build success

builds.sr.ht <builds@sr.ht>
Details
Message ID
<CJXORNE4OFD8.2PH7KM9JHQVRY@cirno>
In-Reply-To
<20220512094619.23452-1-contact@stacyharper.net> (view parent)
DKIM signature
missing
Download raw message
sxmo-utils/patches/.build.yml: SUCCESS in 24s

[Fix sxmo orientation detection on pp][0] from [Stacy Harper][1]

[0]: https://lists.sr.ht/~mil/sxmo-devel/patches/32205
[1]: contact@stacyharper.net

✓ #756594 SUCCESS sxmo-utils/patches/.build.yml https://builds.sr.ht/~mil/job/756594
Details
Message ID
<87o7zqqcfl.fsf@momi.ca>
In-Reply-To
<20220512094619.23452-1-contact@stacyharper.net> (view parent)
DKIM signature
pass
Download raw message
Thanks! Merged:

To git.sr.ht:~mil/sxmo-utils
   137e9cd..91d2aab  master -> master

Additionally, I think we should document the SXMO_MONITOR env variable.

Best,
Anjandev Momi
--
w:] www.momi.ca
pgp:] https://momi.ca/publickey.txt
Reply to thread Export thread (mbox)