Forum Discussion
Altera_Forum
Honored Contributor
8 years agoHi kyle,
yes this path really make sense.Now to answer your points I have following observations 1.when I do cat /sys/kernel/debug/gpio I see the following things GPIOs 171-197, /soc/gpio@ff70a000: GPIOs 198-226, /soc/gpio@ff709000: gpio-199 (sysfs ) out hi gpio-222 (sysfs ) out hi GPIOs 227-255, /soc/gpio@ff708000: when I configure for pin 222 ->HPS_53 and 199->GPIO30 following is oberserved GPIOs 198-226, /soc/gpio@ff709000: gpio-199 (sysfs ) out hi gpio-222 (sysfs ) out hi The gpio-222 is linked to HPS_53 and I am able to control through the linux command. value says "hi" here for both but gpio-199 is not seen glowing. 2. while I tried executing your command for unbind echo "leds-gpio" > /sys/bus/platform/drivers/leds-gpio/unbind following error observed:-sh: echo: write error: No such device Any pointers to get over these errors and accessing the pins??? Thanks Ravi