- 22 Mar, 2021 1 commit
-
-
Sebastian Spaeth authored
It is TriggerFeedback and not Feedback (anymore). Also add a note how to end the feedback in order to prevent loss of hearing :-).
-
- 20 Mar, 2021 1 commit
-
-
Clayton Craft authored
If the trigger is the last thing in sysfs_path/LED_TRIGGER_ATTR, then the new-line at the end of the output causes g_strv_contains to fail to find the trigger in the list. This strips the new-line before splitting the output into a list for searching. You can see the problem this patch fixes with the librem 5, by: $ rmmod ledtrig-timer # or whatever is listed at the end, so 'pattern' is the last thing $ cat /sys/devices/platform/pwmleds/leds/blue:status/trigger [none] kbd-scrolllock ... pattern $ fbd-ledctrl -p /sys/devices/platform/pwmleds/leds/blue:status -t pattern Failed to set perms of /sys/devices/platform/pwmleds/leds/blue:status/pattern to 101: No such file or directory $ modprobe ledtrig-timer $ cat /sys/devices/platform/pwmleds/leds/blue:status/trigger [none] kbd-scrolllock ... pattern timer $ fbd-ledctrl -p /sys/devices/platform/pwmleds/leds/blue:status -t pattern <success>
-
- 05 Feb, 2021 5 commits
-
-
Guido Gunther authored
-
Guido Gunther authored
-
Guido Gunther authored
Don't leak the error values in the success case
-
Guido Gunther authored
This is not an error per se.
-
Guido Gunther authored
-
- 04 Feb, 2021 1 commit
-
-
Martin Bürgmann authored
tracks the FdbFeedbackSounds in a GHashTable in the FdbDevSound
-
- 25 Jan, 2021 1 commit
-
-
Guido Gunther authored
-
- 11 Jan, 2021 1 commit
-
-
Guido Gunther authored
It was off in several places. Now that there's no outstanding MRs clean it up via uncrustify --replace -c phosh.cfg src/fbd-feedback-manager.c
-
- 01 Jan, 2021 3 commits
-
-
Dylan Van Assche authored
Reads the compatible list of the device and tries to find a device-specific theme file in all directories. If no configuration is found, we fall back to a default theme file. The device-specific theme file can always be overriden by specifying the FEEDBACK_THEME environment variable
-
Dylan Van Assche authored
Run a script as a post install to make sure that all GLib schemas are compiled
-
Dylan Van Assche authored
The foreach loop was not used to validate all the include theme files
-
- 14 Nov, 2020 3 commits
-
-
Guido Gunther authored
-
Guido Gunther authored
Use a separate group for users that should be able to access the LED devices.
-
Guido Gunther authored
The names changed in device tree which tickles up into userspace.
-
- 26 Oct, 2020 1 commit
-
-
Luca Weiss authored
-
- 25 Oct, 2020 1 commit
-
-
Luca Weiss authored
The fbd_dev_led_set_brightness function is only getting called with parameter 0 at the moment so this was never noticed.
-
- 30 Sep, 2020 2 commits
-
-
Guido Gunther authored
This allow us to get debs quicker
-
Guido Gunther authored
This allows pa to cork, duck, etc.
-
- 26 Jul, 2020 1 commit
-
-
Guido Gunther authored
-
- 24 Jul, 2020 9 commits
-
-
Guido Gunther authored
-
Guido Gunther authored
This is not a critical since we prevented submitting initially but daemon cleanup processes all entries in the theme.
-
Guido Gunther authored
-
Guido Gunther authored
-
Guido Gunther authored
This plugs a leak.
-
Guido Gunther authored
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 cosmetics.
-
Guido Gunther authored
-
Guido Gunther authored
This allows to reuse the feedback handler and we check the reason in the actual test function anyway.
-
Guido Gunther authored
We tell the caller so debug level is enough
-
- 22 Jul, 2020 7 commits
-
-
Guido Gunther authored
This avoids criticals when there's sound device available. We can also be more precise about the reason why feedback ended.
-
Guido Gunther authored
This avoids criticals when there's no periodic vibra available.
-
Guido Gunther authored
This avoids criticals when there's no rumble vibra available.
-
Guido Gunther authored
This avoids criticals when there's no Leds available.
-
Guido Gunther authored
If we don't find any usable feedbacks for an event return FBD_EVENT_END_REASON_NOT_FOUND.
-
Guido Gunther authored
-
Guido Gunther authored
This allows to check if a feedback type is available at all.
-
- 20 Jul, 2020 1 commit
-
-
Guido Gunther authored
This is quite common so don't fill the logs at normal debug levels but be more specific about what is missing.
-
- 14 Jul, 2020 2 commits
-
-
Arnaud Ferraris authored
Failing to do so will always select the first recognized LED (the blue one for the PinePhone).
-
Arnaud Ferraris authored
-