When does the probe function for a Linux kernel driver gets called?

后端 未结 3 2000
轻奢々
轻奢々 2021-02-13 16:23

I am trying to update a kernel driver for Android, I have added some printk\'s to debug it, the _init function is invoked, but the probe function is not. What I am missing ? Whe

3条回答
  •  感情败类
    2021-02-13 17:08

    The probe function is called whenever the device is seen. This can happen on device boot, or it can occur when the device is connected. Check out this article for more info.

提交回复
热议问题