Re: how does kernel detects presence of a particular device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> As far as I understand once the probe function(Not too sure) detects
> or kernel detects then the driver would be looked up
> and control would be handed over to driver.
> If this is correct then how does probe works? Or how a particular
> device's presence on PCI bus is detected.

That How does probe work depends on particular driver. To be brief,
driver will does some initial work for devices, like setting up
register or registering device node on file system. For instance,
touch panel driver need to register an event node under /dev/input.
You can read the driver code for specific implementation of probe.

Gavin Guo

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux