Guido Günther
5ed445a81d
feedback-manager: Don't trigger haptic feedbacks when vibra is busy
...
This just gives odd vibration. Later on we should use priorities to
allow for higher priority events like phone calls to override lower
priority events like e.g. button presses. This is similar to how we want
to handle LED patterns.
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2024-12-15 18:35:04 +01:00
Guido Günther
cdf5fb2b2d
feedback-manager: Split out feedback level calculation
...
This allows to use it from other places too and while at that
documents it.
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2024-12-15 18:34:35 +01:00
Guido Günther
8a11565cc1
dev-vibra: Allow to check if the device is busy
...
We accept `NULL` to make the case of no haptic easy to handle.
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2024-12-15 18:34:28 +01:00
Guido Günther
5238d46968
feedback-rumble: Fix indent
...
There were some tabs from day 0
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2024-12-15 18:34:25 +01:00
Guido Günther
b724789ab1
dev-vibra: Untabify
...
Gbp-Dch: Ignore
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2024-12-15 18:34:16 +01:00
Guido Günther
82f65f0231
Merge branch 'clocks' into 'main'
...
data: Really add gnome-clocks
See merge request Librem5/feedbackd!148
2024-12-15 12:17:09 +00:00
Guido Günther
fb64c9dcfb
data: Really add gnome-clocks
...
Fixes d5b2042 ("data: Add gnome-clocks to allow-important list")
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2024-12-12 17:36:31 +01:00
Dang Huynh
f2e59a4ee0
fbd-ledctrl: Add null pointer check for groups
...
The set_perms function does not check if getgrnam returns a null
pointer.
This causes the fbd-ledctrl to crash when a non-existent group is
passed.
2024-11-16 21:35:40 +01:00
Guido Günther
9e6c1aba16
Merge branch 'readme' into 'main'
...
doc: Modernize README a bit
See merge request Librem5/feedbackd!145
2024-10-07 07:30:00 +00:00
Guido Günther
0190e032f9
doc: Modernize README a bit
...
Signed-off-by: Guido Günther <agx@sigxcpu.org >
2024-10-02 16:05:55 +02:00
Guido Günther
e79b1eec7b
ci: Drop duplicate format check
2024-10-02 16:05:55 +02:00
Guido Günther
f5c27d5521
Merge branch 'notifications' into 'main'
...
Expand description of notifications events and a an event for new notifications
See merge request Librem5/feedbackd!144
2024-10-02 13:05:36 +00:00
Guido Günther
f629ef431c
theme: Add notification-missed-new
...
We'll remove message-new-notification somewhat later to not break
existing themes.
This reverts commit 5cc9713984778e61c4218e8ff6d896324cba5d5d.
2024-10-02 14:48:01 +02:00
Guido Günther
a069f4b9e2
event-naming-spec: Expand on notifiction events
...
We move them to the system category as the notification server
is a system component and add an event for now notifictions
for the notification server to use
2024-10-02 14:48:01 +02:00
Guido Günther
97ed5a2bdd
event-naming-spec: Copy-edit
...
Gbp-Dch: Ignore
2024-10-02 14:48:01 +02:00
Guido Günther
ec843deb13
event-naming-spec: Fix section description
2024-10-02 14:48:01 +02:00
Guido Günther
245083d82c
Merge branch 'rel-0.5.0' into 'main'
...
Release 0.5.0
See merge request Librem5/feedbackd!143
2024-09-28 06:41:23 +00:00
Guido Günther
d9877e7d5c
packaging: Tweak package description a bit
2024-09-27 13:49:45 +02:00
Guido Günther
b978509d29
treewide: Document changes and release 0.5.0
2024-09-27 13:47:09 +02:00
Guido Günther
f4564a4fc8
packaging: Better handle RC version when updating changelog
...
This allows us to switch from RCs to releases without manual
effort.
2024-09-27 13:45:55 +02:00
Guido Günther
2873a85bb1
Merge branch 'alert-slider' into 'main'
...
fbd-alert-slider: Small service to track alert sliders
See merge request Librem5/feedbackd!142
2024-09-27 07:35:07 +00:00
Guido Günther
d5b2042475
data: Add gnome-clocks to allow-important list
...
This will allow us to drop the override from phosh
2024-09-27 07:27:08 +00:00
Guido Günther
2293393999
data: Allow alert-slider to override the feedback level
...
This allows the alert-slider to also emit feedback when phone is in
silent mode.
2024-09-27 07:27:08 +00:00
Guido Günther
7ea55aeaf5
data: Add systemd unit to start alert slider service
2024-09-27 07:27:08 +00:00
Guido Günther
0a2392db3f
fbd-alert-slider: Small service to track alert sliders
...
This tracks the alert slider on OnePlus 6/6T devices
and adjusts the profile level accordingly.
This is based on a script by "isyourbrain foss" in the Phosh matrix
channel.
2024-09-27 07:27:08 +00:00
Guido Günther
8c27a8f5d2
data: Allow logged in users to access the alert slider
2024-09-27 07:27:08 +00:00
Guido Günther
fe6e0a85b2
Merge branch 'drv2624_vibra' into 'main'
...
udev-rules: Add rule for haptics on google-sargo
See merge request Librem5/feedbackd!139
2024-09-25 12:26:39 +00:00
Robert Mader
30bafbfe55
udev-rules: Add support for haptics on Google Sargo
...
The drv2624 driver isn't in mainline Linux as of Linux 6.11.
Taken from
https://gitlab.com/postmarketOS/pmaports/-/blob/434e012950bd121b2b9295fcf0699ed8af287a3d/device/community/device-google-sargo/90-feedbackd-drv2624.rules
2024-09-25 12:13:33 +00:00
Guido Günther
0646a9303a
Merge branch 'cell-broadcast' into 'main'
...
theme: Add events for cellbroadcast
See merge request Librem5/feedbackd!141
2024-09-23 12:26:26 +00:00
Guido Günther
dc12f3016f
theme: Add events for cellbroadcast
2024-09-23 12:18:26 +00:00
Guido Günther
fc7ec6e809
Merge branch 'enchilada' into 'main'
...
udev: Add support for haptics on Oneplus Enchilada / Fajita
See merge request Librem5/feedbackd!140
2024-09-11 12:57:36 +00:00
Guido Günther
9007766fa9
udev: Add support for haptics on Oneplus Enchilada / Fajita
...
The spmi_haptics driver isn't in mainline Linux as of Linux 6.11.
2024-09-07 16:12:01 +02:00
Guido Günther
446df4be9b
Merge branch 'doc-gsetting' into 'main'
...
doc: Document gsettings used by feedbackd
See merge request Librem5/feedbackd!138
2024-09-03 10:45:06 +00:00
Guido Günther
6f03552249
doc: Document gsettings used by feedbackd
2024-08-30 12:19:31 +02:00
Guido Günther
6d78ea45c1
Merge branch 'packaging' into 'main'
...
Update packaging
See merge request Librem5/feedbackd!137
2024-08-20 15:12:40 +00:00
Guido Günther
511fbd73e8
packaging: Use pkgconf
...
It's prefered over pkg-config in Debian
2024-08-20 15:44:33 +02:00
Guido Günther
8c209e6c47
packaging: Install NEWS and README
...
They contain useful information
2024-08-20 15:44:33 +02:00
Guido Günther
1cca52033c
packaging: Update lintian overrides
2024-08-20 15:44:33 +02:00
Guido Günther
fe51ceed9f
packaging: Drop unused file
...
And fix typo while at that
Gbp-Dch: Ignore
2024-08-20 15:44:21 +02:00
Guido Günther
4270587502
Merge branch 'rel-0.4.1' into 'main'
...
treewide: Document changes and release 0.4.1
See merge request Librem5/feedbackd!136
2024-08-14 14:27:51 +00:00
Guido Günther
3331f179f9
treewide: Document changes and release 0.4.1
2024-08-12 22:56:17 +02:00
Guido Günther
33ae327b49
Merge branch 'udev-rule' into 'main'
...
build: Install udev rule
See merge request Librem5/feedbackd!135
2024-08-12 20:53:43 +00:00
Guido Günther
47b0b1c0e7
build: Install udev rule
...
Don't hide it in the packaging as that makes it easier to miss.
This makes debian/ really only carry packaging information.
2024-08-07 12:14:26 +02:00
Guido Günther
662307d7d8
Merge branch 'use-int' into 'main'
...
tests: Use decimal values
Closes #79
See merge request Librem5/feedbackd!134
2024-07-24 17:43:22 +00:00
Guido Günther and Tomi Lähteenmäki
1f9ac79445
tests: Use decimal values
...
We don't rely on that anywhere anyway.
Co-authored-by: Tomi Lähteenmäki <lihis@lihis.net >
Closes: https://source.puri.sm/Librem5/feedbackd/-/issues/79
2024-07-24 17:35:42 +00:00
Guido Günther
664c55d6f4
Merge branch 'pkg' into 'main'
...
not-intalled: Avoid gmobile on all arches
See merge request Librem5/feedbackd!133
2024-06-28 15:47:16 +00:00
Guido Günther
91a153a2f4
not-intalled: Avoid gmobile on all arches
...
This only matters for the case where we use the embedded
gmobile but better to be correct.
2024-06-28 17:45:25 +02:00
Guido Günther
09396c7d64
Merge branch 'rel-0.4.0' into 'main'
...
treewide: Document changes and release 0.4.0
See merge request Librem5/feedbackd!125
2024-06-23 07:01:00 +00:00
Guido Günther
ff26417de9
treewide: Document changes and release 0.4.0
2024-06-21 22:18:23 +02:00
Guido Günther
ed2599c926
Merge branch 'end-feedback' into 'main'
...
feedback-manager: End too noisy feedbacks on profile level change
Closes #13 , #55 , and #35
See merge request Librem5/feedbackd!128
2024-06-21 20:09:42 +00:00