LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-05-2004, 03:37 AM   #1
legolin
Member
 
Registered: Dec 2003
Location: munich
Distribution: Fedora Core 4
Posts: 141

Rep: Reputation: 15
parallel port and shell script


hi people,


i was googling trying to find an answer to my problem, but i didn't find anything (maybe i was searching the wrong way... ;-))

my task is, to write a shell script to control (the easiest way) some self-made hardware. for example, i have a flip flop that controls a ralais.

how can i control this through the parallel port? or is the serial port better? my server is running debian testing.

does anyone knows from a good tutorial or some information?


ps. i don't want to control a printer. i just whant to have some signal on a pin of the parallel port, and turn this signal on and off with a shell script,


thankx in advance


leg
 
Old 09-05-2004, 12:53 PM   #2
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 438

Rep: Reputation: 30
I was playing around with the parallel port some time ago, and came across this tutorial on the different pins of the port. I'm sure this isn't exactly what you're looking for, but it'll give you an understanding of how the port works with signals etc.


http://www.hut.fi/Misc/Electronics/c...el_output.html
 
  


Reply


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
is there any shell command to read and write data from parallel and serial port? baosheng Linux - Hardware 2 01-13-2007 08:35 PM
shell script problem, want to use shell script auto update IP~! singying304 Programming 4 11-29-2005 05:32 PM
shell script to kill all processes on specified port varunbihani Linux - General 1 04-19-2005 05:39 AM
Serial Port read in shell script tjt Linux - Newbie 1 08-12-2004 09:18 AM
shell script: sending data through the serial port funkymunky Programming 2 06-09-2004 11:47 PM

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

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