LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-18-2013, 07:34 PM   #1
amboxer21
Member
 
Registered: Mar 2012
Location: New Jersey
Distribution: Gentoo
Posts: 291

Rep: Reputation: Disabled
IOPERM C programming question


I have a question for the members at Linuxquestions. I wrote a server to accommodate a custom task. I wrote a client that I am running on my Samsung Galaxy S3 and when I send the server that is running on my laptop a specific word, like PS2, I want it to push out a signal to the usb port. The USB port pushes out 5v. Which I am going to use to run across the coil of a 5VDC SPDT relay to use as a switch. I am going to use an old USB and cut it in half and do something like this -> http://www.youtube.com/watch?v=EtX3p4HFbtc

WHAT I NEED TO KNOW is what is the port number I would use in conjunction with ioperm to access the USB port??
 
Old 11-18-2013, 11:09 PM   #2
amboxer21
Member
 
Registered: Mar 2012
Location: New Jersey
Distribution: Gentoo
Posts: 291

Original Poster
Rep: Reputation: Disabled
Well this answers my question -> http://stackoverflow.com/questions/1...mbedded-device.

Last edited by amboxer21; 11-18-2013 at 11:29 PM.
 
  


Reply

Tags
c programming, ioperm


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
ioperm for usblp0 ? (USB - Parallel) fluppi Linux - Hardware 0 01-05-2009 04:56 AM
Problem with ioperm???? webquinty Linux - Newbie 0 12-04-2008 06:33 AM
ioperm() problem hua Programming 2 11-02-2006 05:05 AM
ioperm - operation not permitted when using fakeroot Zotty Programming 3 09-21-2004 05:34 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:38 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