cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
Programming custom USB driver and creati
Programming custom USB driver and creating own device
Jan 30, 2013 at 6:35pm UTC
trubilo
(1)
My main reason for doing this is practice.
I wish to create an USB button, which will, when pressed execute a command "banshee --toggle-playing"
I know some programming, mainly solving problems, however this section is completely unknown to me, and I'd like to study it further.
Let's say that when black and red USB wires are connected, the command shall be triggered.
How might I achieve this?
Thank you in advance.
Feb 5, 2013 at 2:16am UTC
shaund1
(7)
You're going to need a whole heck of a lot of c programming knowledge.
Here's a couple of links compliments of google.com
http://lxr.free-electrons.com/source/include/linux/usb/ch9.h
http://free-electrons.com/doc/linux-usb.pdf
http://www.cs.fsu.edu/~baker/devices/lxr/http/source/linux/include/linux/usb/ch9.h
Remember A LOT of C programming knowledge is required in order to code in usb's API because you're dealing with not just software but with hardware code as well. Good Luck
Topic archived. No new replies allowed.