From mboxrd@z Thu Jan 1 00:00:00 1970 From: jiangtao.jit@gmail.com (=?utf-8?B?VGFvIEppYW5nICjlp5zmtpsp?=) Date: Mon, 19 Aug 2013 19:47:09 +0800 Subject: Need help on understanding hardware detection Message-ID: <521205AD.7010803@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hi All: I did some search on "how does linux kernel detect hardware?" and got what udev is. I konw Linux kernel will send a netlink message to udevd. But I still do not understand how the kernel can decide to send a netlink message. What happend before the netlink message? Take an usb stick for example, what will happen and what the kernel do from the very beginning of it been plugged in? Thank you for advance. Any references will be appreciated. -------------- Tao Jiang (??) 2013-08-19