remove device permission workaround, AGNOS does it now (#39485)

This commit is contained in:
Adeeb Shihadeh
2026-11-27 16:01:18 -08:00
committed by GitHub
parent f37cf702dd
commit c86429dfd7
-7
View File
@@ -12,13 +12,6 @@ function agnos_init {
# set success flag for current boot slot
sudo abctl --set_success
# TODO: do this without udev in AGNOS
# udev does this, but sometimes we startup faster
sudo chgrp gpu /dev/adsprpc-smd /dev/ion /dev/kgsl-3d0
sudo chmod 660 /dev/adsprpc-smd /dev/ion /dev/kgsl-3d0
sudo chgrp audio /dev/snd/*C*
sudo chmod 660 /dev/snd/*C*
# Check if AGNOS update is required
if [ "$(< /VERSION)" != "$AGNOS_VERSION" ]; then
AGNOS_PY="$DIR/openpilot/common/hardware/comma/agnos.py"