* Re: Getting Hot Plug/Unplug Notification
@ 2012-06-18 18:23 Greg KH
2012-06-18 18:31 ` madhav chauhan
0 siblings, 1 reply; 2+ messages in thread
From: Greg KH @ 2012-06-18 18:23 UTC (permalink / raw)
To: linux-hotplug
On Mon, Jun 18, 2012 at 11:49:32PM +0530, madhav chauhan wrote:
> Hi All,
> I want to get hot plug event in my C code whenever USB device is
> plugged in/out.
Link to libudev for this.
> How can i get VID/PID of USB device plugged out/in??
Yes.
> Can somebody help me for the same, any sample code available??
Look at the libudev examples, they should help you out.
Hope this helps,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
* Getting Hot Plug/Unplug Notification
2012-06-18 18:23 Getting Hot Plug/Unplug Notification Greg KH
@ 2012-06-18 18:31 ` madhav chauhan
0 siblings, 0 replies; 2+ messages in thread
From: madhav chauhan @ 2012-06-18 18:31 UTC (permalink / raw)
To: linux-hotplug
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-18 18:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-18 18:23 Getting Hot Plug/Unplug Notification Greg KH
2012-06-18 18:31 ` madhav chauhan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).