I have not seen any tool to do that around here. The leds are controlled by the 'keyboard processor', that is connected to the main processor (see sysd/src/system.c). From the code in that file, you could try to figure out which device driver to open and which commands to send. (If the device allows to have two active clients.)
An alternative would be to change sysd and add an extra ipc-call to control the leds. A simple program could then use this ipc-call, which can then be used from a script.
For me it is not clear if you have (or want to have) a development environment of your own or if you want help from someone else?
Marcel.
|