From: madhav chauhan <madhav.chauhan7@gmail.com>
To: linux-hotplug@vger.kernel.org
Subject: Getting Hot Plug/Unplug Notification
Date: Mon, 18 Jun 2012 18:31:32 +0000 [thread overview]
Message-ID: <CAMjXcqoOEo34BWFNgiWEZv87_nUMEniVxKnnTvPx9pyUAiKUiQ@mail.gmail.com> (raw)
In-Reply-To: <20120618182313.GA11591@kroah.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
prev parent reply other threads:[~2012-06-18 18:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-18 18:23 Getting Hot Plug/Unplug Notification Greg KH
2012-06-18 18:31 ` madhav chauhan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMjXcqoOEo34BWFNgiWEZv87_nUMEniVxKnnTvPx9pyUAiKUiQ@mail.gmail.com \
--to=madhav.chauhan7@gmail.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).