?
Solved

What's /dev/port

Posted on 2000-03-06
3
Medium Priority
?
284 Views
Last Modified: 2008-03-03
Hi there,
I saw I have a /dev/port file. Looking in file system, I read it was for accessing to ioport. How can I use it to acces to parallel port ?
How can I specify the io port I want to work with ?

thanks

0
Comment
Question by:daanen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
rbr earned 30 total points
ID: 2590982
#include the file

asm/io.h

Now you will have macros

outb, inb, ...

0
 

Author Comment

by:daanen
ID: 2591817
Does that mean I open /dev/port and then does inp and outp ?
0
 
LVL 10

Expert Comment

by:rbr
ID: 2614876
No you don't have to open the /dev/port
outb and inb are the assembler makros whih you can use.
0

Featured Post

Major Serverless Shift

Comparison of major players like AWS, Microsoft Azure, IBM Bluemix, and Google Cloud Platform

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question