Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SUBSYSTEM=="subsystem", KERNEL=="gpio", ACTION=="add", \
- RUN+="/bin/mkdir -p /dev/gpio"
- SUBSYSTEM=="gpio", ACTION=="add", TEST=="value", ATTR{label}!="sysfs", \
- RUN+="/bin/ln -sT '/sys/class/gpio/%k' /dev/gpio/%s{label}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement