Getting Hot Plug/Unplug Notification

madhav chauhan <[email protected]>
Newsgroups gmane.linux.hotplug.devel
Message-ID <CAMjXcqoOEo34BWFNgiWEZv87_nUMEniVxKnnTvPx9pyUAiKUiQ@mail.gmail.com>
Hi All,
I want to get hot plug event  in my  C code whenever USB device is
plugged in/out.
How can i get VID/PID of USB device plugged out/in??
Can somebody help me for the same, any  sample code available??


Regards,
Madhav
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.