From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,fd3c44bd8f938354 X-Google-Attributes: gid103376,public From: gisle@gribb.ii.uib.no (Gisle S�lensminde) Subject: Re: Parallel port Date: 2000/03/08 Message-ID: #1/1 X-Deja-AN: 594638332 Content-Transfer-Encoding: 8bit References: <38c28137_2@news2.prserv.net> <38C37F6D.A52CB4B7@shom.fr> <8a0gkf$pv8$1@nnrp1.deja.com> Organization: University of Bergen, Norway Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-03-08T00:00:00+00:00 List-Id: In article , Philippe Bourzeix wrote: >Well it seems that it's not possible on Windows Nt -95-98... >So is it possible on linux ? >Someone got an idea ? On Linux you got access to the parallel port through the device drivers. This is /dev/lpx or /dev/parportx, where x is the numbers 0-3. You open the device as a file, and read and writes If you of some strange reason want to access the hardware direcly, you can use the ioperm() call as root, or write your own kernel module, but that is not necesary. -- Gisle S�lensminde ( gisle@ii.uib.no ) ln -s /dev/null ~/.netscape/cookies