LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-09-2009, 05:06 AM   #1
Pramoda.M.A
LQ Newbie
 
Registered: Mar 2009
Location: Bangalore
Posts: 11

Rep: Reputation: 0
How to get the unique key of Connected USB devices?


Hi All,

I need to implement a program in C to check whether the connected USB device is the same as priviously connected or not.
To do this, i need to know how to get the UNIQUE key/vloumID of connected devices(USB).
How can i acheive this. Please help me.
 
Old 09-09-2009, 09:31 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Pramoda.M.A View Post
Hi All,

I need to implement a program in C to check whether the connected USB device is the same as priviously connected or not.
To do this, i need to know how to get the UNIQUE key/vloumID of connected devices(USB).
How can i acheive this. Please help me.
You can Google for "linux usb programming guide", and select one of them, and read it.

http://www.usbman.com/linuxusb.htm
http://www.lrr.in.tum.de/Par/arch/usb/usbdoc/
 
  


Reply



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 identify internally connected USB devices madhi Linux - Hardware 4 01-20-2009 02:58 AM
Shutdown script possible to alert about connected USB devices? Roy Prins Linux - Newbie 6 07-23-2008 06:47 AM
how to detect usb devices connected to the system vijaya_svk Linux - Software 5 03-16-2008 02:21 PM
USB devices dont seem to be connected No1Daemon Linux - Hardware 5 03-22-2004 07:41 PM
PC hangs on startup with USB devices connected davee Linux - Hardware 5 09-12-2003 11:52 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:03 AM.

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
Open Source Consulting | Domain Registration