diff --git a/selfdrive/controls/controlsd.py b/selfdrive/controls/controlsd.py index d2cc2b8669..cb7bca7f53 100755 --- a/selfdrive/controls/controlsd.py +++ b/selfdrive/controls/controlsd.py @@ -76,7 +76,7 @@ class Controls: internet_needed or not openpilot_enabled_toggle # detect sound card presence and ensure successful init - sounds_available = not os.path.isfile('/EON') or (os.path.isdir('/proc/asound/card0/state') \ + sounds_available = not os.path.isfile('/EON') or (os.path.isfile('/proc/asound/card0/state') \ and open('/proc/asound/card0/state').read().strip() == 'ONLINE') car_recognized = self.CP.carName != 'mock'