How do I increase the response speed of /sys/class/leds

From
<hidden>
Date
2013-01-24 04:48:33
I'm looking at using the LEDs on a gaming wheel via the /sys/class/leds
interface, and I am seeing that the response time is slow when I want to
set/clear all the LEDs simultaneously.

I've attached example C code which which slowly draws the bar, and then
flashes everything on/off. I can clearly see the 'progression' when
flashing.

Q. If there a method to minimise file access across LEDs and/or
synchronise the flashing?


If I run the same code on a G27 wheel (5 leds via /sys/class/leds) the
response timeh is much better.

Q. Is there a way to increase the polling/writing speed to a HID device?


Thanks,
Simon.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help