This allows feedbackd to set periodic feedback and makes usable LED devices identifiable by feedbackd.
13 lines
439 B
Plaintext
13 lines
439 B
Plaintext
# SPDX-License-Identifier: LGPL-2.1+
|
|
#
|
|
# This file is part of feedbackd.
|
|
|
|
ACTION=="remove", GOTO="feedbackd_end"
|
|
|
|
SUBSYSTEM=="input", KERNEL=="event*", ENV{ID_INPUT}=="1", ENV{ID_PATH}=="platform-vibrator", TAG+="uaccess", ENV{FEEDBACKD_TYPE}="vibra"
|
|
|
|
# Front leds of the Librem5
|
|
SUBSYSTEM=="leds", DEVPATH=="*/phone:*:front", ENV{FEEDBACKD_TYPE}="led", RUN+="/usr/libexec/fbd-ledctrl -p %S%p -t pattern -G video"
|
|
|
|
LABEL="feedbackd_end"
|