LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-22-2010, 06:39 AM   #1
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Rep: Reputation: 18
Parallel port in linux?


I have been trying out serial and parallel data communication on Fedora 13 Beta.I can easily see the list of serial ports through:
Code:
setserial -g /dev/ttyS[0-3]
And can also write some data through:
Code:
ll > /dev/ttyS0
But I am unable to see parallel ports
I can see soemthing like:
Code:
/dev/parport0
But when I try out:
ll > /dev/parport0

It throws error.
 
Old 04-23-2010, 12:06 AM   #2
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
What's the error message?
 
Old 04-23-2010, 03:43 AM   #3
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
echo "hello" > /dev/parport0
-bash:echo:write error: Invalid argument

Last edited by linuxunix; 04-23-2010 at 03:45 AM.
 
Old 04-23-2010, 11:05 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,383

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
/dev/lp0 or lp1 maybe?

http://www.tldp.org/HOWTO/IO-Port-Pr...g-6.html#ss6.1

Last edited by jefro; 04-23-2010 at 11:06 PM.
 
  


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
Parallel port joystick in linux? Willrandship Linux - Hardware 4 11-28-2009 11:25 AM
Parallel port tape under Linux 2.6.21 fmillion Linux - Hardware 2 05-19-2007 07:36 AM
How can I access parallel port through C in Linux ? tirtha Programming 1 07-24-2006 04:24 PM
Parallel port interface on linux brave_heart7725 Linux - Hardware 8 05-28-2006 09:48 AM
Acessing parallel port in Linux Bondfire Linux - General 1 04-27-2005 05:01 PM


All times are GMT -5. The time now is 09:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration