#feedbackd

2025-05-10

Dear distro maintainers and "i build my own stuff" people:

In case you want to check out 0.47 relesase upfront: we've tagged the first releases candidates (0.47~rc1) of #phosh and related components 🎉

Release is planned 2025-05-18 (gitlab.gnome.org/World/Phosh/p)

We've also tagged the companion releases for #gmobile 0.3.0 and #feedbackd 0.8.2 / feedbackd-device-themes 0.8.3 already.

Guido Güntheragx@ruhr.social
2025-05-05

With the alarm clock waking the phone from suspend we still need to make sure the alarm sound is audible. We thus need it to have a volume level separate from e.g. media, notifications, calls, etc. This is possible with #wireplumber's "role based policy". There's a lot of lose ends to fix before this all can land but here's a quick demo in #phosh (the alarm sound your is played via #feedbackd which adds the necessary role):

#LinuxMobile

Guido Güntheragx@ruhr.social
2025-05-01

My #FreeSoftware Activities for April 2025: honk.sigxcpu.org/con/Free_Soft

Mostly #phosh/#LinuxMobile (e.g. alarm-clock, #feedbackd, #Cellbroadcast) related but also some #Debian bits.

🙏 to everyone supporting this!

Guido Güntheragx@ruhr.social
2025-04-27

In case you're using a @frameworkcomputer 13 Laptop and want to use the power LED as status LED for #feedbackd (to be notified aboutnotifications in #phosh, etc) you can use this #udev rule:

gitlab.freedesktop.org/agx/fee

There's a warning as the LED claims to be multicolor but it's not. That warning will go away with the next #feedbackd release.

Guido Güntheragx@ruhr.social
2025-04-19

Not much news on other mobile platforms but I needed a reliable clock that wakes me up even when the 📱 is suspended so I added some boottime clock support to #gnomeClocks.

This together with #feedbackd support can be found in gitlab.gnome.org/guidog/gnome- and #phosh's nightly packages.

2025-03-22

In preparation for the upcoming phosh release we've released new versions of #gmobile 0.2.0 and #feedbackd 0.8.0. Feedbackd is now more flexible regarding haptic feedback for events so if e.g. feedback is too intrusive (or too weak) you can consider submitting adjustment for your device to source.puri.sm/Librem5/feedbac

#phosh #LinuxMobile

Guido Güntheragx@ruhr.social
2025-03-08

@thejackimonster

Oh, and regarding the calendar's notification not doing any buzzing: just assign any feedback to the `notification-new-generic` , event in the feedback theme.

We don't do that atm when a notification doesn't set a category to not make people go crazy.

Now with more nuanced haptic we might emit s.th. by default though, so I've opened source.puri.sm/Librem5/feedbac but this is already configurable in current releases, just need to add an event to the theme.

#phosh #feedbackd

Guido Güntheragx@ruhr.social
2025-03-02

Ever since adding the `Haptic` API to #feedbackd for games I wanted to make the `VibraPattern` available to feedback themes as well as this allows for more nuanced feedback.

This allows us to e.g. use more subtle feedback for OSK button presses than for 📢 of incoming SMS.

Opened MRs to make that possible and
while at that I made the maximum strength for all events confiurable too. It's a bit hard to 👂 in the 📽️ but it's there. Hopefully this makes it into #phosh 0.46:

#LinuxMobile

Guido Güntheragx@ruhr.social
2025-02-12

I always wanted a simple way to put the phone to silent mode when e.g. placing it on the table next to the 🛏️ . Since Biemster got NFC to work on the Oneplus 6/6T (github.com/biemster/pmos-openb) we can leverage that and have feedbackd's profile adjusted when certain RFIDs are seen (source.puri.sm/Librem5/feedbac). For this to land we want to move the NFC support from a python script to s.th. like nfcd (github.com/biemster/pmos-openb). Help on this would be appreciated.

#phosh #feedbackd #rfid #LinuxMobile

2025-02-03

In preparation for the next #phosh release we've released #feedbackd 0.7.0 🎉 :

This adds a new hint to events so that they can override the sound file used. source.puri.sm/Librem5/feedbac

Guido Güntheragx@ruhr.social
2025-01-26

We had a discussion in matrix (kicked off by @fizzo) if we could make telegram-desktop's notification adhere to #phosh's full/quiet/silent profile. Turns out (github.com/telegramdesktop/tde) that the app detects the notifications servers sound capability already so with gitlab.gnome.org/World/Phosh/p and the corresponding #feedbackd MR this should work.

As I'm not a #telegram user, testing feedback would be welcome.

2024-12-21

In preparation for the next #phosh release we've released #feedbackd 0.6.0 🎉 :

This adds support for a new haptic API to feedbackd that can be used by e.g. games to trigger vibration patterns or by browsers to implement `navigator.vibrate()`.

source.puri.sm/Librem5/feedbac

2024-10-12

Waking my #Librem5 from suspend when a new #matrix message triggers a notification.

Starring:

https://git.sr.ht/~chrichri/Librem5-wake-on-IM

2024-09-30

Note to myself: if you play with sound-themes on your #Librem5 (and probably any other #MobileLinux device) and you seem to be stuck with the default sound theme (freedesktop) then delete ~/.cache/event-sound-cache.tdb* and restart #feedbackd.

Thanks to @agx@librem.one for helping me on matrix:community-librem5 and for the great software!

Guido Güntheragx@librem.one
2024-09-27

Thanks to the bits and pieces collected by @isyourbrainFOSS we can now support the alert slider on the #Onplus6/6T to toggle #feedbackd's full/quiet/silent profiles.

#phosh

Guido Güntheragx@librem.one
2024-09-12

Today was "Bundesweiter Warntag" in Germany so a good point in time to test #ModemManager's & #phosh's upcoming #cellbroadcast support 🚨 .

The sounds emitted by #feedbackd are only stubs (and you don' t hear the haptic in the video but I promise it's there 😃).

There's three messages because the CBMs are sent out on three different channels.

Thanks @NGIZero for supporting my work on this!

#LinuxMobile

2024-09-04

Receiving SMS plays a long tune on my #Librem5. For a few persons I'd like to have this tune played also if they send me a message using #matrix.

A problem is that the #fractal flatpak does not use #feedbackd yet to signal new messages and on #PureOS #Byzantium there's no way to define different sounds for different notification events.

So I started testing a small script to read notifications and trigger feedback for messages coming from an account containing some string:


#!/usr/bin/python3

import gi
import time
gi.require_version('Lfb', '0.0')
from gi.repository import Lfb
from gi.repository import GLib
import dbus
from dbus.mainloop.glib import DBusGMainLoop

def print_notification(bus, message):
    keys = ["app_name", "replaces_id", "app_icon", "summary",
          "body", "actions", "hints", "expire_timeout"]
    args = message.get_args_list()
    if len(args) == 8:
        notification = dict([(keys[i], args[i]) for i in range(8)])
        if "account_i_want_to_be_notified_for_like_it_would_be_sms" in notification["summary"]:
            print( notification["summary"], ': ', notification["body"] )
            event.trigger_feedback()

Lfb.init('org.sigxcpu.lfbexample')
event = Lfb.Event.new('message-new-sms')
loop = DBusGMainLoop(set_as_default=True)
session_bus = dbus.SessionBus()
session_bus.add_match_string("type='method_call',interface='org.freedesktop.Notifications',member='Notify',eavesdrop=true")
session_bus.add_message_filter(print_notification)

GLib.MainLoop().run()

2024-06-23

In preparation for the next #phosh release we've released #feedbackd 0.4.0 🎉 :

- Support `hw_pattern` on devices using qcom-lpg. This allows to keep LEDs on in suspend on these 📱
- Support RGB color mixing for multicolor leds
- Allow to use (camera) flash LEDs as notificaton LED
- Immediately end "too noisy" feedbacks when switching profile levels
- Internal cleanups and restructuring to cater for different LED types.

source.puri.sm/Librem5/feedbac

This 🧵 has some demos: fosstodon.org/@phosh/112625626

👇

2024-06-16

Finally we now end the emitted feedback when switching the profile level. We can use this in #phosh to put the device into silent mode when pressing Vol- on
incoming calls when the phone is locked (turn on audio for this one):

#feedbackd #phosh

2024-06-16

…and it helps on devices that don't have a status LED at all (in these case we can even tweak the device specific theme for that (e.g. to reduce the flash brightness):

#feedbackd #phosh

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst