mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-07-10 01:02:08 +08:00
f1b9ce08b1
* remove default export of interrupt gpio pins, cause of switch to gpiochip * remove default export of interrupt gpio pins, cause of switch to gpiochip * add gpiochip0 to udev rule * gpiochip udev Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com> Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 lines
205 B
Plaintext
3 lines
205 B
Plaintext
SUBSYSTEM=="gpio*", PROGRAM="/bin/sh -c 'find -L /sys/class/gpio/ -maxdepth 2 -exec chown root:gpio {} \; -exec chmod 770 {} \; || true'"
|
|
SUBSYSTEM=="gpio", KERNEL=="gpiochip[0]", GROUP="gpio", MODE="660"
|