diff options
author | Florian Eckert <[email protected]> | 2023-11-27 12:03:10 +0100 |
---|---|---|
committer | Lee Jones <[email protected]> | 2023-12-13 11:28:49 +0000 |
commit | 5b755ca677dba117063c6fd8d7ce21b67376deba (patch) | |
tree | 62b996ee34a0ba91dbfcdcf34f523fceecda3e2c /scripts/gdb/linux/lists.py | |
parent | 76675f69bed5f1e8ae44ba72904ff7f97aa95c0a (diff) |
leds: ledtrig-tty: Make rx tx activitate configurable
Until now, the LED blinks when data is sent via the tty (rx/tx).
This is not configurable.
This change adds the possibility to make the indication for the direction
of the transmitted data independently controllable via the new rx and
tx sysfs entries.
- rx:
Signal reception (rx) of data on the named tty device.
If set to 0, the LED will not blink on reception.
If set to 1 (default), the LED will blink on reception.
- tx:
Signal transmission (tx) of data on the named tty device.
If set to 0, the LED will not blink on transmission.
If set to 1 (default), the LED will blink on transmission.
This new sysfs entry are on by default. Thus the trigger behaves as
before this change.
Signed-off-by: Florian Eckert <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions