Hey, we started the Linuxdoc.org blog. You want to write a guest post about your favorite Linux related topic? Just send us a mail.The Linux community would appreciate it.

Hey guys. I'm new to Unix and need a bit of help with a project i got myself into. I am normally a hardware guy and most of my programming experience is in Java.

I need to write a very simple program for a server running Ubuntu Server Edition that will activate either one of the two data pins on any one of the USB ports. I have made a custom circuit board and need a way to send a signal from the server to it. If i can get some help with this i can adapt it to fit the specific needs of my project.

All the articles i have read advise going with the serial port instead of USB. I realize this would normally be easier but in my situation the above parameters are fairly set in stone.

asked 28 May '11, 20:48

Lambda42's gravatar image

Lambda42
16112
accept rate: 0%


Hey Lambda42,

have you had a look at http://www.libusb.org/ "a library that gives user level applications uniform access to USB devices across many different operating systems". However I am not sure if it will help you with your custom device, i would consider a usb development kit / board.

Cheers, Paul

link

answered 30 May '11, 05:56

paul's gravatar image

paul
863
accept rate: 16%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×16
×8
×2
×1

Asked: 28 May '11, 20:48

Seen: 3,338 times

Last updated: 30 May '11, 05:56

we use OSQA