mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-08-23 17:23:54 +08:00
Remove sensor interrupt pin exports and set permission for gpiochip0 (#87)
* 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>
This commit is contained in:
committed by
GitHub
parent
6d4dd1da9b
commit
f1b9ce08b1
@@ -1 +1,2 @@
|
||||
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"
|
||||
|
||||
@@ -17,10 +17,6 @@ pins=(
|
||||
33 # GPS_SAFEBOOT_N
|
||||
32 # GPS_RST_N
|
||||
52 # LTE_BOOT
|
||||
21 # BMX055_ACCEL_INT
|
||||
23 # BMX055_GYRO_INT
|
||||
87 # BMX055_MAGN_INT
|
||||
84 # LSM_INT
|
||||
1264 # POWER ALERT
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user