NSA310 + DT
Andrew Lunn
andrew at lunn.ch
Wed Jul 10 13:23:58 EDT 2013
On Wed, Jul 10, 2013 at 07:15:37PM +0200, Tibor Harsszegi wrote:
> Ok, was too fast :(
> After a reboot the LEDs are gone, all green :(
Please do not top post. Answer comes after questions, not before...
root at qnap:/sys# find . -name *gpio*
./bus/platform/devices/gpio_keys.1
./bus/platform/devices/f1010140.gpio
./bus/platform/devices/f1010100.gpio
./bus/platform/drivers/leds-gpio
./bus/platform/drivers/mvebu-gpio
./bus/platform/drivers/mvebu-gpio/f1010140.gpio
./bus/platform/drivers/mvebu-gpio/f1010100.gpio
./bus/platform/drivers/poweroff-gpio
./bus/platform/drivers/gpio-keys
./bus/platform/drivers/gpio-keys/gpio_keys.1
./devices/gpio_keys.1
./devices/ocp.0/f1010140.gpio
./devices/ocp.0/f1010140.gpio/gpio
./devices/ocp.0/f1010140.gpio/gpio/gpiochip32
./devices/ocp.0/f1010140.gpio/gpio/gpiochip32/ngpio
./devices/ocp.0/f1010100.gpio
./devices/ocp.0/f1010100.gpio/gpio
./devices/ocp.0/f1010100.gpio/gpio/gpiochip0
./devices/ocp.0/f1010100.gpio/gpio/gpiochip0/ngpio
./class/gpio
./class/gpio/gpiochip32
./class/gpio/gpiochip0
You should have something similar.
I have no LEDs on this box, but you should should see entries in
/sys/class/leds
What you probably see in the kernel logs is lots of warnings from gpio
about deferred, but then they get repeated later and are successful.
Andrew
More information about the linux-arm-kernel
mailing list