  WEBCAM = os.getenv("USE_WEBCAM") is not None
  
  procs = [
    DaemonProcess("manage_athenad", "selfdrive.athena.manage_athenad", "AthenadPid"),
    # due to qualcomm kernel bugs SIGKILLing camerad sometimes causes page table corruption
    NativeProcess("camerad", "selfdrive/camerad", ["./camerad"], unkillable=True, callback=driverview),
    NativeProcess("clocksd", "selfdrive/clocksd", ["./clocksd"]),
    NativeProcess("dmonitoringmodeld", "selfdrive/modeld", ["./dmonitoringmodeld"], enabled=(not PC or WEBCAM), callback=driverview),
 
</s> remove   NativeProcess("camerad", "selfdrive/camerad", ["./camerad"], unkillable=True, driverview=True),
 </s> add   NativeProcess("camerad", "selfdrive/camerad", ["./camerad"], unkillable=True, callback=driverview), </s> remove   NativeProcess("dmonitoringmodeld", "selfdrive/modeld", ["./dmonitoringmodeld"], enabled=(not PC or WEBCAM), driverview=True),
 </s> add   NativeProcess("dmonitoringmodeld", "selfdrive/modeld", ["./dmonitoringmodeld"], enabled=(not PC or WEBCAM), callback=driverview), </s> remove   PythonProcess("dmonitoringd", "selfdrive.monitoring.dmonitoringd", enabled=(not PC or WEBCAM), driverview=True),
 </s> add   PythonProcess("dmonitoringd", "selfdrive.monitoring.dmonitoringd", enabled=(not PC or WEBCAM), callback=driverview),
def driverview(started: bool, params: Params, CP: car.CarParams) -> bool:
  return params.get_bool("IsDriverViewEnabled")

def notcar(started: bool, params: Params, CP: car.CarParams) -> bool:
  return CP.notCar


  WEBCAM = os.getenv("USE_WEBCAM") is not None
  
def driverview(started: bool, params: Params, CP: car.CarParams) -> bool:
  return params.get_bool("IsDriverViewEnabled")

def notcar(started: bool, params: Params, CP: car.CarParams) -> bool:
  return CP.notCar


  procs = [
    DaemonProcess("manage_athenad", "selfdrive.athena.manage_athenad", "AthenadPid"),
    # due to qualcomm kernel bugs SIGKILLing camerad sometimes causes page table corruption
    NativeProcess("camerad", "selfdrive/camerad", ["./camerad"], unkillable=True, callback=driverview),
    NativeProcess("clocksd", "selfdrive/clocksd", ["./clocksd"]),
    NativeProcess("dmonitoringmodeld", "selfdrive/modeld", ["./dmonitoringmodeld"], enabled=(not PC or WEBCAM), callback=driverview),
keep add keep keep keep keep keep keep
 manager: start process by callback (#24417) 
selfdrive/manager/process_config.py