kernel 4.9.2-200.fc25.armv7hl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Additional problem on Raspberry Pi (model 3):  there is no:

/sys/class/gpio

This does exist with the 4.8.15-300 kernel, but it has problems:

[root@RPi3-1 gpiochip970]# echo 993 >/sys/class/gpio/export
[root@RPi3-1 gpiochip970]# echo 1 >  /sys/class/gpio/gpio993/value 
bash: echo: write error: Operation not permitted
[root@RPi3-1 gpiochip970]# ls -l   /sys/class/gpio/gpio993
lrwxrwxrwx. 1 root root 0 Jan 15 10:24 /sys/class/gpio/gpio993 -> ../../devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio993
[root@RPi3-1 gpiochip970]# ls -l /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio993
total 0
-rw-r--r--. 1 root root 4096 Jan 15 10:24 active_low
lrwxrwxrwx. 1 root root    0 Jan 15 10:24 device -> ../../../gpiochip0
-rw-r--r--. 1 root root 4096 Jan 15 10:24 direction
-rw-r--r--. 1 root root 4096 Jan 15 10:24 edge
drwxr-xr-x. 2 root root    0 Jan 15 10:24 power
lrwxrwxrwx. 1 root root    0 Jan 15 10:24 subsystem -> ../../../../../../../class/gpio
-rw-r--r--. 1 root root 4096 Jan 15 10:24 uevent
-rw-rw-rw-. 1 root root 4096 Jan 15 10:27 value
[root@RPi3-1 gpiochip970]# echo 1 > /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio993/value
bash: echo: write error: Operation not permitted
[root@RPi3-1 gpiochip970]#
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux