LinuxQuestions.org
Review your favorite Linux distribution.
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 09-05-2008, 09:05 AM   #1
ashthet
LQ Newbie
 
Registered: Sep 2008
Posts: 2

Rep: Reputation: 0
Usb Communication


hi,
i am trying to make a code that simply identifies the usb device conncted to my linux pc,reads the data from it and sends data back..
i have no clue how to write code that directly acceses the ports.
neither do i know what are the commands (or api's for this)

please guide what to do ...if u have any small sample code..that will help surely

thanks
ashutosh.
 
Old 09-05-2008, 09:20 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,942

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by ashthet View Post
hi,
i am trying to make a code that simply identifies the usb device conncted to my linux pc,reads the data from it and sends data back..
i have no clue how to write code that directly acceses the ports.
neither do i know what are the commands (or api's for this)

please guide what to do ...if u have any small sample code..that will help surely
We will HELP you, but not going to write it for you. What have you done so far? What language are you writing this in? What kind of USB 'device' are you trying to read? What kinds of data?

You have a very vague question...provide more information, along with what you've already tried, and details about what you're TRYING to do, along with the error(s) you're getting, and we can help.
 
  


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
Fault in KDE processes communication: Could not read network communication list Magnus Johansson MEPIS 0 03-30-2008 01:50 PM
USB device resets communication msok Linux - Kernel 0 02-28-2008 07:14 PM
USB-RS232 communication problem (I think) damip Linux - Hardware 1 10-31-2007 09:57 AM
communication by USB nicolastiss Programming 2 07-17-2006 12:22 PM
USB communication problem dasw127 Linux - Hardware 0 08-23-2005 04:28 AM


All times are GMT -5. The time now is 06:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration