Hi Uwe, > this is the next round of a led trigger for an UART. Instead of adding > callbacks to serial_core I took an approach similar to the netdev > trigger: A work thread checks the statistics of the device and if > something happened since the last round the LED is flashed. > > This is an early prototype that has broken locking. Also in the long run > I want to add some "filters" to the trigger for example to trigger only > on RX or TX. > > Do you (also) think this is a better approach then in the former > discussions? would it be simpler to integrate a LED trigger into serdev instead of trying to do it on the UART level. You might not be able to catch all UARTs, but for the ones that have a serdev driver running on top of it, you would. Regards Marcel