LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-07-2009, 08:42 AM   #1
RockyMarrone
LQ Newbie
 
Registered: Sep 2009
Posts: 8

Rep: Reputation: 0
USB Plugin Detection in C++


hi All,
I want to write a piece of C/C++ Code which will tell me whenever the USB is plugged in to the system or when ever any USB Device is unplugged from the System.

Thnx in Advance
 
Old 10-07-2009, 10:32 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,336

Rep: Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895
Quote:
Originally Posted by RockyMarrone View Post
hi All,
I want to write a piece of C/C++ Code which will tell me whenever the USB is plugged in to the system or when ever any USB Device is unplugged from the System.

Thnx in Advance
Ok...and your question is what?

If you want to write the code, feel free. You've already got access to the Linux code base, which has USB related code that already does what you want built into it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB detection kewl Programming 1 02-25-2009 07:31 AM
USB modem detection inteladu Linux - Newbie 6 03-17-2008 11:19 AM
usb detection sajith Programming 3 03-09-2007 11:24 AM
Re: USB detection SPo2 Linux - General 2 01-16-2007 08:28 AM
USB detection raysr Linux - Hardware 7 07-03-2005 10:29 PM


All times are GMT -5. The time now is 08:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration