mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-12-02 03:13:43 +08:00
remove device permission workaround, AGNOS does it now (#39485)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user