Commit Graph
643 Commits
Author SHA1 Message Date
Guido Günther 96b00b6c61 dev-sound: Fix format
Gbp-Dch: Ignore
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-24 13:43:39 +02:00
Guido Günther 6296c4fe77 build: Allow to install media roles
Install role based config if set.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-24 13:43:39 +02:00
Guido Günther d58b7cf517 data: Add media roles configuration
This ensures we properly duck any "multimedia" streams when playing
event sounds. We also introduce an alert group for e.g. cell broadcasts.

For testing copy to

  ~/.config/wireplumber/wireplumber.conf.d/media-role-nodes.conf

and

  systemctl --user restart wireplumber

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-24 13:43:39 +02:00
Guido Günther 5de4519710 data: Set suitable media roles for events
Mark alarms, alerts and ring tones.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-24 13:43:39 +02:00
Guido Günther 283f2ee1dc run: Simplify running
We usually want the daemon so default to that when nothing
else is passed in.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-24 13:43:39 +02:00
Guido Günther f501e909ab Merge branch 'meson' into 'main'
build: Rename options file

See merge request agx/feedbackd!193
2025-10-23 11:53:45 +00:00
Guido Günther a680ad1139 build: Rename options file
Bump needed meson version for that

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-23 13:40:50 +02:00
Guido Günther f0befe1221 Merge branch 'udev' into 'main'
data: Move udev rule to 72 and release 0.8.6

See merge request agx/feedbackd!192
2025-10-05 11:43:15 +00:00
Guido Günther 85021ab0bc treewide: Document changes and release 0.8.6
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-05 13:41:11 +02:00
Guido Günther 96023e5201 packaging: Trigger change event for input subsystem too
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-05 13:41:02 +02:00
Guido Günther 01c2aad1e8 data: Move udev rule to 72
systemd as of 258 requires uaccess tag processing to be < 73.

See https://github.com/systemd/systemd/issues/39206#issuecomment-3368532706

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-10-05 13:40:57 +02:00
Guido Günther fce1b00540 Merge branch 'docs' into 'main'
Publush API docs

See merge request agx/feedbackd!191
2025-09-30 20:43:42 +00:00
Guido Günther a3af128148 doc: Use gitlab page URL
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-09-30 22:40:39 +02:00
Guido Günther c4b71f89b0 ci: Publish docs
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-09-30 22:40:39 +02:00
Guido Günther ea9c6d556f doc: Clarify NEWS entry
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-09-30 22:22:26 +02:00
Guido Günther eb02a73594 Merge branch 'rel-0.8.5' into 'main'
Release 0.8.5

See merge request agx/feedbackd!190
2025-09-30 17:45:18 +00:00
Guido Günther 1654f00f56 treewide: Document changes and release 0.8.5
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-09-30 14:21:20 +02:00
Guido Günther ef2fb508f2 doc: Update matrix room URL
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-09-30 10:20:09 +02:00
Guido Günther 0f36d3c8d7 Merge branch 'important-vs-app-level' into 'main'
feedback-manager: Let app level cap important level

Closes #93

See merge request agx/feedbackd!188
2025-08-24 09:31:20 +00:00
Guido Günther bd7701220d treewide: Clarify that important affects the global level
The DBus spec had it right but the other places weren't clear
on that.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-08-24 09:28:17 +00:00
Guido Günther ef1e299047 feedback-manager: Let app level cap important level
As per DBus spec the `important` hint is meant to override
the global feedback level not any per app level the user
might have configured as otherwise there's no way to override
this.

Closes: https://gitlab.freedesktop.org/agx/feedbackd/-/issues/93
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-08-24 09:28:17 +00:00
Guido Günther 546fb205ea treewide: Fix feedack typo
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-08-24 09:28:17 +00:00
Guido Günther 284a4eb37d Merge branch 'udev-aw86927' into 'main'
udev: Add rule for AW86927

See merge request agx/feedbackd!189
2025-08-24 09:27:09 +00:00
Luca Weiss 7a6b113a0d udev: Add rule for AW86927
Driver is currently under review upstream:
https://lore.kernel.org/linux-arm-msm/20250814-aw86927-v3-0-c99434083e6a@fairphone.com/

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
2025-08-22 09:07:01 +02:00
Guido Günther 69a4ee2538 Merge branch 'rel-0.8.4' into 'main'
treewide: Document changes and release 0.8.4

See merge request agx/feedbackd!187
2025-08-07 07:00:41 +00:00
Guido Günther 2f0b8381a1 treewide: Document changes and release 0.8.4
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-08-06 08:37:56 +02:00
Guido Günther 4f7cc77172 Merge branch 'allow-osk' into 'main'
schema: Allow all OSK to use important hint

See merge request agx/feedbackd!186
2025-07-18 12:31:59 +00:00
Guido Günther 56059b367c schema: Allow all OSK to use important hint
OSK use the common OSK app-id so allow that too.

Fixes: 4ba029d ("schema: Allow Stevia OSK to override the globla feedback level")
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-07-18 14:28:17 +02:00
Guido Günther 0222bc6738 Merge branch 'key-pressed' into 'main'
Add key press/release events

Closes #85

See merge request agx/feedbackd!90
2025-07-16 19:54:36 +00:00
Guido Günther 4ba029df17 schema: Allow Stevia OSK to override the globla feedback level
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-07-16 19:52:45 +00:00
Guido Günther ed523e8755 data: Add key press/release events
While we have "button-{pressed,released}" events there's often the
desire to control sound for key presses of e.g. on screen keyboards too.
Add separate events for that.

This allows us to e.g. add a particular sound for OSK key presses and
OSKs can send this with an `important` hint so they're also usable
in silent mode.

Closes: https://gitlab.freedesktop.org/agx/feedbackd/-/issues/85
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-07-16 19:52:45 +00:00
Guido Günther 46790e9efb doc: Sort events alphabetically
While we have "button-{pressed,released}" events there's often the
desire to control sound for key presses of e.g. on screen keyboards too.
Add a separate event for that.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-07-16 19:52:45 +00:00
Guido Günther a37ce16eab Merge branch 'legacy' into 'main'
fbd-dev-led: support leds with legacy naming scheme

See merge request agx/feedbackd!185
2025-07-16 19:39:31 +00:00
Sicelo A. Mhlongo a31c636f14 tests: Test legacy LED name detection
Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
2025-07-12 12:57:36 +02:00
Sicelo A. Mhlongo cf848e08ca udev: Support legacy LED naming
The Nokia N900 and Motorola Droid 4 use obsolete naming for LEDs, as indicated
in include/dt-bindings/leds/common.h in the Linux kernel. Since the obsolete
naming is still in wide use, support them in feedbackd until it is eventually
removed in the kernel.

Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
2025-06-30 19:12:00 +02:00
Sicelo A. Mhlongo 8aa7213327 fbd-dev-led: Support LEDs with legacy naming
As noted in include/dt-bindings/leds/common.h in the Linux kernel, the Nokia
N900 has leds that use legacy naming. Until this naming scheme is removed from
the kernel, support it through the use of an additional FEEDBACKD_LED_COLOR
udev property, which must be set to the color corresponding to the LED.

Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
2025-06-30 19:11:41 +02:00
Guido Günther d155b2e305 Merge branch 'rel-0.8.3' into 'main'
Release 0.8.3

See merge request agx/feedbackd!184
2025-06-28 07:29:44 +00:00
Guido Günther 62b43a4a88 treewide: Document changes and release 0.8.3
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-06-25 19:44:55 +02:00
Guido Günther 6244a1203e libfeedback: Indicate that the library is cross desktop
The only non generic thing is that we pick up the sound
scheme from GNOME when available but we'd happily extend
that to other DEs.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-06-25 19:43:08 +02:00
Guido Günther 86f3c39aee Merge branch 'udev-gpio-vibra' into 'main'
udev: Align rule for gpio-vibrator

See merge request agx/feedbackd!183
2025-06-25 08:16:08 +00:00
Luca Weiss 8e69e4d0ee udev: Align rules for gpio/pwm-vibrator
Update the rule for the "platform-vibrator" entry to be like all the other rules, matching by
ATTRS{name} instead of ENV{ID_PATH}. Since it was matching for both gpio-vibrator and pwm-vibrator,
add entries for both.

Tested on Fairphone 2 which uses the gpio-vibrator driver.

Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
2025-06-24 20:42:40 +02:00
Guido Günther 43d4380271 Merge branch 'udev-more-haptics' into 'main'
udev: Add more haptic driver rules

See merge request agx/feedbackd!182
2025-06-22 17:42:22 +00:00
Luca Weiss 61660d8684 udev: Add more haptic driver rules
Mostly a compilation of different rules added to postmarketOS over the
years.

Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
2025-06-22 16:41:02 +02:00
Guido Günther d643716186 Merge branch 'lib/build_target_library' into 'main'
build: Use library() instead of build_target() for libfeedback

See merge request agx/feedbackd!181
2025-06-13 16:19:10 +00:00
Evangelos Ribeiro Tzaras c6e1637267 build: Use library() instead of build_target() for libfeedback
Originally raised in cellbroadcast, but applies here as well
(because cbd yoinked large parts of meson.build!)

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
2025-06-11 16:34:17 +02:00
Guido Günther a8b2fd40a0 Merge branch 'fbcli-manpage' into 'main'
doc: Update fbcli manpage

See merge request agx/feedbackd!179
2025-05-20 14:08:11 +00:00
Guido Günther 2819e94e8a doc: Update fbcli manpage
There's some more options nowadays

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-05-20 14:05:56 +00:00
Guido Günther 3a978016cb Merge branch 'compile-schema' into 'main'
build: Use gnome.post_install

See merge request agx/feedbackd!180
2025-05-20 14:05:08 +00:00
Guido Günther c05f9c41c0 build: Use gnome.post_install
Allows us to drop a custom script

Signed-off-by: Guido Günther <agx@sigxcpu.org>
2025-05-11 21:58:38 +02:00
Guido Günther d7d39d18df Merge branch 'rel-0.8.2' into 'main'
treewide: Document changes and release 0.8.2

See merge request agx/feedbackd!178
2025-05-10 08:27:15 +00:00