🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.uu.comp.os.linux.questions
Article #233

Re: low level hardware access

#233
From: Jason Stokes
Date: Mon, 20 Apr 1998 00:00
24 lines
1775 bytes
In article <tglhpegaipbcsjonkm.pminews@news.darkstar.com.au>, Eric
Reaburn <ericreaburn@planet.earth.cyberdude.com> wrote:

>Dear Linux hackers, how difficult (easy?) is it to get low-level
>program access to the serial and parallel ports on an average pentium
>PC running Red Hat? Ideally I would like DOS-like direct access to the
>hardware, but I guess that's not possible from a "normal" program in
>Linux.

Indeed, and that's a Good Thing (tm).  To give low-level hardware
access to an average user program would subvert every part of Linux's
security and protection.

Which is not to say you can't get some kinds of low level access, just
that it requires that a program have special permissions.  Fairly low
level access to the serial and parallel ports is available through the
Linux devices /dev/ttyS0, /dev/ttyS1 etc.  Go read the programmers
guide for more info.

-- 
Jason Stokes: jstok (at) bluedog.apana.org.au
 
 Please note change of address.  Replace (at) with @ to mail me.
Technical Details
Message-ID: <6hfjtr$eck$3@reader1.reader.news.ozemail.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <tglhpegaipbcsjonkm.pminews@news.darkstar.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102b32,e916d7c135e17372
X-Google-Attributes: gid102b32,public
X-Google-Thread: 1103af,e916d7c135e17372
X-Google-Attributes: gid1103af,public
X-Google-Thread: 10a997,e916d7c135e17372
X-Google-Attributes: gid10a997,public
X-Google-Thread: 102983,e916d7c135e17372
X-Google-Attributes: gid102983,public
From: jstok@bogus-address.apana.org.au (Jason Stokes)
Subject: Re: low level hardware access
Date: 1998/04/20
Message-ID: <6hfjtr$eck$3@reader1.reader.news.ozemail.net>
X-Deja-AN: 345953728
References: <tglhpegaipbcsjonkm.pminews@news.darkstar.com.au>
Organization: OzEmail Ltd.
Newsgroups: alt.uu.comp.os.linux.questions,aus.computers.linux,comp.os.linux.misc,comp.os.linux.hardware