I have an embedded Linux board I'm working on, with a button and a couple LEDs.
By default, I can control the LEDs via
However, I have no way to monitor the button. If I enable CONFIG_GPIO_SYSFS, I can't see the LEDs anymore - /sys/class/leds/ is empty. Additionally, the GPIOs that in theory should go to the LEDs don't do anything, so I can't even hack it.
Any thoughts on how I could get both of these working?