LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-02-2005, 05:13 PM   #1
The_Nerd
Member
 
Registered: Aug 2002
Distribution: Debian
Posts: 540

Rep: Reputation: 32
USB programming


Hello! I need to do some USB programming. What is the best place to start? It would be best if it was OSI, but it doesn't have to be. I see there is libusb (http://libusb.sourceforge.net), but it is only V0.1, is this a working decent library? Also, I have never done any USB programming. What should I know?

By USB programming, I mean that I need to open a USB port and access data from it.
 
Old 02-02-2005, 05:44 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
libusb is good. It's at version 0.1.8. To access a USB port you'll need to use a device driver built into the kernel or as a loadable module. For instance, the module usb-storage can access many devices (cameras, external hard disks, mp3 players). When you load a module it usually communicates with user space through a node in /dev. I don't know much about programing, I've only learnt enough to get my hardware working
 
Old 02-03-2005, 11:05 AM   #3
The_Nerd
Member
 
Registered: Aug 2002
Distribution: Debian
Posts: 540

Original Poster
Rep: Reputation: 32
Thanks.

Funny... Probably the only non-programmer on the programming forum is the one who was willing to help (and has).

Oh well, it is probably because all the other programmers are helping other people. I know how that is in this forum.
 
  


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
kernel programming error...cannot see usb label Yerp Linux - Software 0 11-27-2005 05:17 PM
Difference between Top Down programming & Bottom up programming minil Programming 1 06-17-2005 02:42 AM
USB programming on a MAC chutsu Programming 1 03-29-2005 09:04 AM
[C++/Kylix]USB port programming Tantalos Programming 2 08-29-2004 02:42 AM
need some usb driver programming help glo Programming 3 10-27-2003 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:27 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
Open Source Consulting | Domain Registration