How does the device driver work?
Now days ,I am studying linux device driver . I now can write some simple
device driver .But I encounter some difficult when I study the new device model. The new model introduces some concepts: device-driver ,device, class.I want to know what is the process after a new device is inserted into the running system.If the bus is registered and doesn't depend on the other things? Then if a device is inserted ,who is responsible for recognizing it and who will call it's register function .I will be very appreciated with your help.Good luck!