On Wed, Sep 10, 2008 at 2:28 PM, Ramagudi Naziir <naziirr@xxxxxxxxx> wrote: > Hi all, > > If I understand correctly, the importance of adding a device to the > device model is that now you can register the suspend and resume power > management callbacks. And the process of adding is automatically by > the kernel calling the probe function. > yes, u are right. and some useful driver model related resources: http://kelp.or.kr/korweblog/download/4/20061206055505/%BC%F6%BF%E4%BC%BC%B9%CC%B3%AA_LDM_20061206.ppt http://www.jollen.org/blog/2007/08/29/Linux_FB_Driver_Intro_v0.2.pdf http://pds12.egloos.com/pds/200809/10/78/Ch.13_IO_devicedriver.ppt http://lkml.org/lkml/2006/6/6/239 > Q: if I am writing a driver for an external device, I think it cannot > be automatically detected by the kernel (let's say the device is wired > to the platform via a uart or mmc bus), so how can I add it to the > device model ? manually ? How about autodetection by PNP? http://www.linux.org/docs/ldp/howto/Plug-and-Play-HOWTO-2.html > > Thank you all very much > naziir > > -- > To unsubscribe from this list: send an email with > "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx > Please read the FAQ at http://kernelnewbies.org/FAQ > > -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ