fbd-feedback-manager: Check if feedback is usable
If we don't find any usable feedbacks for an event return FBD_EVENT_END_REASON_NOT_FOUND.
View Articlefbd-feedback-led: Implement is_available ()
This avoids criticals when there's no Leds available.
View Articlefeedback-vibra-rumble: Implement is_available
This avoids criticals when there's no rumble vibra available.
View Articlefeedback-vibra-periodic: Implement is_available
This avoids criticals when there's no periodic vibra available.
View Articlefeedback-sound: Implement is_available
This avoids criticals when there's sound device available. We can also be more precise about the reason why feedback ended.
View Articlefeedback-theme: Avoid warning when feedback is not found
We tell the caller so debug level is enough
View Articletests: Don't check end reason in feedback handler
This allows to reuse the feedback handler and we check the reason in the actual test function anyway.
View Articlefeedback-manager: Deeply free the feedback list
Instead of freeing each elemnt after each iteration and then the list itself at the very end just fully free the list. g_autoslist does not work well on oder glib so do that manually. This is just...
View Articlefeedback-led: Don't try to stop led when there's no led device
This is not a critical since we prevented submitting initially but daemon cleanup processes all entries in the theme.
View Articlefbd-dev-leds: fix brightness parameter
The fbd_dev_led_set_brightness function is only getting called with parameter 0 at the moment so this was never noticed.
View Articleudev: Update led maching for the librem5
The names changed in device tree which tickles up into userspace.
View Article