473,407 Members | 2,315 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

outb, inb?

Hello,

I am looking for simple solution to outb to parallel port.
The program should run on Linux. I hope someone here already
faced this problem. In C it would look like

iopl(3/*mode*/);
ioperm(0x378 /*PORT_BASE*/, 3 /*bytes*/, 1/*on*/);
outb(0xff /* < data */, 0x378 /*DATA_REG*/);

Any ideas welcome

Regards, Daniel

Dec 18 '05 #1
1 2381
Daniel Schüle wrote:
I am looking for simple solution to outb to parallel port.
The program should run on Linux. I hope someone here already
faced this problem.


Third hit in Google for "python parallel port":

http://pyserial.sourceforge.net/pyparallel.html

-Peter

Dec 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: iveqy.mailbox | last post by:
I don't get any output on pin 2. What's the problem? #include <stdio.h> #include <unistd.h> #include <sys/io.h> #include <stdlib.h> #include <iostream> #define BASEPORT 0x378
8
by: srikanth | last post by:
i have written one C -programm, which outputs signals for specific input. what my question is, i want to produce outputs for some range of user inputs. so for this i want to call my programm for...
54
by: tshad | last post by:
I have a function: function SalaryDisplay(me) { var salaryMinLabel = document.getElementById("SalaryMin"); salaryMinLabel.value = 200; alert("after setting salaryMinLabel = " +...
3
by: Fabio Garufi | last post by:
Hi, all, I built the fftw-3.0.1-fma on a LynxOS 4.0 running on a board equipped with a PowerPC G4 7457. To compile it I had to slightly modify the configure script to use the -fvec instead of...
6
by: Mårten Herberthson | last post by:
Introduction: As we all know, values of any class may be assigned to a reference of a superclass. This is simple polymorphism. So if you have a class A and a class B that inherits from A you can...
1
by: Ken | last post by:
Hello Everyone, I would like to use EnumPorts twice on my form. The first time I want to use Port_Info_1 to just list the Port Names. The second instance where I need EnumPorts , is when I...
16
by: News VS.NET \( MS ILM \) | last post by:
Hello VC, Given a non-DotNET dll from some unknown place How do I know the classes in it, or how do I view the classes, methods, properties etc.. Thank you
2
by: =?gb2312?B?w7fR08zO?= | last post by:
Hi,sir,please look at this code. /////////////////////////////////////////////////// #include <iostream> using namespace std; class A{ private: class B;//
1
by: ssndk123 | last post by:
Hi, Using the UserPort program that changes permissions in XP so that I am able to write directly to the parallel port using assembler.. I'm trying to send out square wave pulses for x number...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.