~peterjohnhartman

Recent activity

[PATCH sxmo-utils] sxmo_menumode_toggle: make it sufficient 3 days ago

From Peter John Hartman to ~mil/sxmo-devel

Was a report on IRC that hardware buttons fail under high load.  Rumor
has it it was because superd crashes.  I don't see any reason for these
to be managed by superd anyway, and hardware buttons are kind of
important in such cases (e.g., to reboot or switch WM).  So let's make
them sufficient.
---
 configs/default_hooks/sxmo_hook_start.sh              | 2 +-
 configs/superd/services/sxmo_menumode_toggler.service | 7 -------
 2 files changed, 1 insertion(+), 8 deletions(-)
 delete mode 100644 configs/superd/services/sxmo_menumode_toggler.service

diff --git a/configs/default_hooks/sxmo_hook_start.sh b/configs/default_hooks/sxmo_hook_start.sh
index 74c8d55..774785c 100644
--- a/configs/default_hooks/sxmo_hook_start.sh
[message trimmed]

[PATCH sxmo-utils] sxmo_notify_user.sh: use sxmo_log 14 days ago

From Peter John Hartman to ~mil/sxmo-devel

---
 scripts/core/sxmo_notify_user.sh | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/scripts/core/sxmo_notify_user.sh b/scripts/core/sxmo_notify_user.sh
index ada716d..9e69e5f 100644
--- a/scripts/core/sxmo_notify_user.sh
+++ b/scripts/core/sxmo_notify_user.sh
@@ -2,16 +2,13 @@
# SPDX-License-Identifier: AGPL-3.0-only
# Copyright 2022 Sxmo Contributors

# shellcheck source=scripts/core/sxmo_common.sh
. sxmo_common.sh
[message trimmed]

[PATCH] sxmo_notify_user.sh: use sxmo_log 14 days ago

From Peter John Hartman to ~mil/sxmo-devel

---
 scripts/core/sxmo_notify_user.sh | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/scripts/core/sxmo_notify_user.sh b/scripts/core/sxmo_notify_user.sh
index ada716d..9e69e5f 100644
--- a/scripts/core/sxmo_notify_user.sh
+++ b/scripts/core/sxmo_notify_user.sh
@@ -2,16 +2,13 @@
# SPDX-License-Identifier: AGPL-3.0-only
# Copyright 2022 Sxmo Contributors

# shellcheck source=scripts/core/sxmo_common.sh
. sxmo_common.sh
[message trimmed]

[PATCH sxmo-utils] add individual in group to contacts 14 days ago

From Peter John Hartman to ~mil/sxmo-devel

This allows you to add individuals within a group to contacts.
---
 configs/default_hooks/sxmo_hook_contextmenu.sh | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/configs/default_hooks/sxmo_hook_contextmenu.sh b/configs/default_hooks/sxmo_hook_contextmenu.sh
index 00a19e1..14fc2dc 100644
--- a/configs/default_hooks/sxmo_hook_contextmenu.sh
+++ b/configs/default_hooks/sxmo_hook_contextmenu.sh
@@ -358,7 +358,19 @@ case "$WMCLASS" in
				$icon_msg Reply          ^ 0 ^ sxmo_modemtext.sh sendtextmenu $number
				$icon_phn Call           ^ 0 ^ sxmo_modemdial.sh $number
				$([ -d "$SXMO_LOGDIR/$number/attachments" ] && echo "$icon_att View Attachments ^ 1 ^ sxmo_files.sh $SXMO_LOGDIR/$number/attachments --date-sort")
				$(sxmo_contacts.sh --name "$number" | grep -q '???' && echo "$icon_usr Add to contacts ^ 1 ^ sxmo_contactmenu.sh newcontact $number")
[message trimmed]

[PATCH sxmo-utils] mms: add 'expired' detection 15 days ago

From Peter John Hartman to ~mil/sxmo-devel

Found this on one of my mms's.
---
 scripts/modem/sxmo_mms.sh | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/scripts/modem/sxmo_mms.sh b/scripts/modem/sxmo_mms.sh
index 25757ce..edfc2e9 100644
--- a/scripts/modem/sxmo_mms.sh
+++ b/scripts/modem/sxmo_mms.sh
@@ -64,6 +64,10 @@ checkforlostmms() {
					stderr "This mms is status:received."
					[ "$FORCE" -eq 1 ] && processmms "/org/ofono/mms/modemmanager/$line" "Received"

					;;
[message trimmed]

[PATCH sxmo-utils v4] Clean up modem daemons 16 days ago

From Peter John Hartman to ~mil/sxmo-devel

1. Exposes toggle to turn on various modem daemons independent of each
   other: mmsd, vvmd, eg25manager, modemmanager, dbus monitors
2. Introduces a generic sxmo_sysdaemons.sh program to start/stop system
   processes.
3. Moves mmsd/vvmd startup into modemmanager out of the start hook.

Why is this needed?

If you are having troubles with your modem, *usually* you just want to
restart modemmanager.  We had tied eg25manager and modemmanager
together, which I think was bad for a couple technical reasons.
eg25manager needs to cooldown for 30s before restarting and we weren't
exactly respecting that.
---
[message trimmed]

[PATCH sxmo-utils] fix idle locker in dwm 20 days ago

From Peter John Hartman to ~mil/sxmo-devel

It was not transitioning from unlock to lock due to syntax problems in
dwm. (This should be pushed before 1.9 or something like it.)

---
 .../sxmo_hook_unlock.sh                       | 22 +++++++++++--------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/configs/default_hooks/three_button_touchscreen/sxmo_hook_unlock.sh b/configs/default_hooks/three_button_touchscreen/sxmo_hook_unlock.sh
index bdcd993..a8d10c9 100644
--- a/configs/default_hooks/three_button_touchscreen/sxmo_hook_unlock.sh
+++ b/configs/default_hooks/three_button_touchscreen/sxmo_hook_unlock.sh
@@ -30,15 +30,19 @@ fi
if [ -e "$XDG_CACHE_HOME/sxmo/sxmo.noidle" ]; then
	sxmo_daemons.sh stop idle_locker
[message trimmed]

[PATCH sxmo-utils v2] Add icon_fai for <Failed> modem status 25 days ago

From Peter John Hartman to ~mil/sxmo-devel

This addresses https://todo.sr.ht/~mil/sxmo-tickets/493
---
 configs/default_hooks/sxmo_hook_icons.sh     |  1 +
 configs/default_hooks/sxmo_hook_statusbar.sh | 11 ++++++++++-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/configs/default_hooks/sxmo_hook_icons.sh b/configs/default_hooks/sxmo_hook_icons.sh
index dcb5c98..803a47d 100644
--- a/configs/default_hooks/sxmo_hook_icons.sh
+++ b/configs/default_hooks/sxmo_hook_icons.sh
@@ -46,6 +46,7 @@ icon_edt="" #editor
icon_eml="" #email
icon_ena="" # enabled
icon_exp="" #expand
[message trimmed]

[PATCH sxmo-utils] Add icon_fai for <Failed> modem status 28 days ago

From Peter John Hartman to ~mil/sxmo-devel

---
 configs/default_hooks/sxmo_hook_icons.sh     | 1 +
 configs/default_hooks/sxmo_hook_statusbar.sh | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/configs/default_hooks/sxmo_hook_icons.sh b/configs/default_hooks/sxmo_hook_icons.sh
index dcb5c98..340dfa0 100644
--- a/configs/default_hooks/sxmo_hook_icons.sh
+++ b/configs/default_hooks/sxmo_hook_icons.sh
@@ -46,6 +46,7 @@ icon_edt="" #editor
icon_eml="" #email
icon_ena="" # enabled
icon_exp="" #expand
icon_fai="令" # modem status failed
[message trimmed]

[PATCH sxmo-utils v3] Add bq paella and oneplus enchilada deviceprofiles a month ago

From Peter John Hartman to ~mil/sxmo-devel

A first stab based only on info given me in input_outputs.
---
 configs/default_hooks/enchiladaqcom                        | 1 +
 scripts/deviceprofiles/sxmo_deviceprofile_enchiladaqcom.sh | 7 +++++++
 scripts/deviceprofiles/sxmo_deviceprofile_l8150qcom.sh     | 3 ++-
 3 files changed, 10 insertions(+), 1 deletion(-)
 create mode 120000 configs/default_hooks/enchiladaqcom
 create mode 100644 scripts/deviceprofiles/sxmo_deviceprofile_enchiladaqcom.sh

diff --git a/configs/default_hooks/enchiladaqcom b/configs/default_hooks/enchiladaqcom
new file mode 120000
index 0000000..0c096c1
--- /dev/null
+++ b/configs/default_hooks/enchiladaqcom
[message trimmed]