Hi Ian, > I've discovered that it's quite simple to control the drive activity > LEDs on my Thecus N5550 with the standard gpio_ich module. AFAIK, this > means that I should be able to use them with the leds_gpio module. I > just need to register them. > > I've found this page that gives an example: > > http://fabiobaltieri.com/2011/09/21/linux-led-subsystem/ > > I'm confused, however, about the .gpio member of the struct gpio_led. > I'm guessing that it's the GPIO number, but (at least in the case of > gpio_ich) that number can vary depending on the base number for that > chip. >From the viewpoint of a GPIO consumer, we don't care the base GPIO number. That is required when a GPIO controller is added. Just check '/sys/kernel/debug/gpio' and use available GPIOs for LEDs. Regards, Milo -- To unsubscribe from this list: send the line "unsubscribe linux-leds" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html