C Board  

Go Back   C Board > General Programming Boards > Networking/Device Communication

Reply
 
LinkBack Thread Tools Display Modes
Old 09-11-2009, 07:57 AM   #1
Registered User
 
yann's Avatar
 
Join Date: Sep 2009
Location: Zagreb, Croatia
Posts: 179
USB port in linux

Hi, I am making a C program that can send USB signals to microcontroller( wich I have) and usb controlls a robot... How to do that?
yann is offline   Reply With Quote
Old 09-11-2009, 09:15 AM   #2
and the hat of vanishing
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,214
linux usb howto - Google-sökning
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Up to 8Mb PlusNet broadband from only £5.99 a month!
Salem is offline   Reply With Quote
Old 09-11-2009, 09:50 AM   #3
subminimalist
 
MK27's Avatar
 
Join Date: Jul 2008
Location: NYC
Posts: 3,944
This requires some kernel programming, but since you probably have all the necessary documentation for the controller, it might not be so hard. Have a look here:

USB port in linux

The second article will especially interest you, I think. It's by Mr Greg K-H, who is part of the kernel development team and is available on the kernel mailing list (but not the nicest guy IMO, so don't say I sent you ).
__________________

Accuracy and integrity mean nothing if you don't make it past the censors...PYTHAGORAS

Last edited by MK27; 09-11-2009 at 09:52 AM.
MK27 is online now   Reply With Quote
Old 09-11-2009, 10:27 AM   #4
Registered User
 
yann's Avatar
 
Join Date: Sep 2009
Location: Zagreb, Croatia
Posts: 179
Quote:
Originally Posted by MK27 View Post
This requires some kernel programming, but since you probably have all the necessary documentation for the controller, it might not be so hard. Have a look here:

USB port in linux

The second article will especially interest you, I think. It's by Mr Greg K-H, who is part of the kernel development team and is available on the kernel mailing list (but not the nicest guy IMO, so don't say I sent you ).
Ok, thank you, I'll try.
yann is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB port in linux yann Networking/Device Communication 7 09-13-2009 08:08 AM
FTP program jakemott Linux Programming 14 10-06-2008 01:58 PM
brace-enclosed error jdc18 C++ Programming 53 05-03-2007 05:49 PM
Port app from Windows to Linux BobS0327 Linux Programming 12 02-12-2006 02:35 AM


All times are GMT -6. The time now is 07:19 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22