Hello everyone,
I use OpenWrt 23.05 and need help.
My question is how to set up tty led trigger.
First, I selected kmod-ledtrig-tty from the kernel module and built it.
The following content was added to the /etc/config/system file.
config led 'led_tty_act'
option name 'tty_act'
option sysfs 'red:tty_act'
option trigger 'tty'
option mode 'tx rx'
option dev '/dev/ttyS1'
I tried sending and receiving data by connecting the PC and the device via RS232, but the LED was not triggered.
How do I set it up?
We really appreciate your help.
Thank you in advance.