我在设备树中定义了一个平台设备。下面显示了其文件夹的文件树结构。
/sys/devices/platform/device
/sys/devices/platform/device/uevent
/sys/devices/platform/device/power
/sys/devices/platform/device/power/runtime_active_time
/sys/devices/platform/device/power/runtime_status
/sys/devices/platform/device/power/autosuspend_delay_ms
/sys/devices/platform/device/power/runtime_suspended_time
/sys/devices/platform/device/power/control
/sys/devices/platform/device/driver_override
/sys/devices/platform/device/waiting_for_supplier
/sys/devices/platform/device/modalias
文件中/sys/devices/platform/device/waiting_for_supplier
,有0
。我知道如果有1
,驱动程序将等待依赖项启动。设备成功探测后,该文件应自动删除。是什么原因导致该文件存在?难道是驱动与设备不兼容?难道是驱动程序没有找到硬件吗?