[Lazarus] Raspberry Pi Debug Digital I/O

Bo Berglund bo.berglund at gmail.com
Mon Jan 25 08:33:25 CET 2016


On Mon, 25 Jan 2016 00:18:50 +0100, Marc Santhoff <M.Santhoff at web.de>
wrote:

>> For me it is like this:
>> pi at rpi2-jessie2:~/dev $ cat /etc/group | grep gpio
>> gpio:x:997:pi
>
>Thje last one wrong, should have been
>
>$ ls -lL /sys/class/gpio/gpiochip0

New test:

pi at rpi2-jessie2:~/dev $ ls -lL /sys/class/gpio/gpiochip0
total 0
-rwxrwx--- 1 root gpio 4096 Jan 17 16:47 base
drwxr-xr-x 3 root root    0 Jan 17 16:47 device
-rwxrwx--- 1 root gpio 4096 Jan 17 16:47 label
-rwxrwx--- 1 root gpio 4096 Jan 17 16:47 ngpio
drwxrwx--- 2 root gpio    0 Jan 17 16:47 subsystem
-rwxrwx--- 1 root gpio 4096 Jan 17 16:47 uevent

>and
>
>$ ls -lL ../../devices/platform/soc/3f200000.gpio/gpio/

This is a relative path and you did not specify where one should be
located in order to execute it. Cannot perform this command.
Please supply an absolute path instead.


-- 
Bo Berglund
Developer in Sweden





More information about the Lazarus mailing list