Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-19-2009, 06:17 PM   #1
LQ Newbie
Registered: Jan 2009
Location: Colombo / Sri Lanka
Posts: 14

Rep: Reputation: 0
Detect USB and Printer Plug / Unplug C/C++ source

Hello All,

I'm new to Advance Linux Programming. And i'm finding solution, a requirement for my final year project. I need to know how to detect the USB Device when it plug to a Lap top or desktop using a native source code. Does someone have a working C/C++ source code to resolve this requirement. Are there any open source projects which use for peripheral management. please help me on this. Thank you

Old 01-19-2009, 06:59 PM   #2
Registered: Jan 2007
Location: lexington NC.
Distribution: Ultimalinux 8.4 & Slackware 12.0.0
Posts: 82

Rep: Reputation: 16
dbus and hald I think? combine to auto detect removabel dvices and make them acsesable


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
how to detect USB be forcely unplug minge.zu Linux - Newbie 4 10-28-2008 05:21 AM
USB errors durring boot. have to unplug keyboard, plug back in to use it to sign on agentc0re Slackware 5 03-17-2008 08:02 PM
USB plug & unplug JrLz Slackware 6 12-09-2004 08:07 AM
USB mouse works only if i unplug then re-plug it allelopath Linux - Hardware 3 11-20-2004 12:48 PM
usb wlan works but only after i unplug and plug triagladad Linux - Wireless Networking 0 09-21-2004 06:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:31 PM.

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