[nmglug] paraport0
Nick Frost
nickf at nickorama.com
Tue Jun 23 08:38:19 PDT 2009
akaluta wrote:
> Tried contact with parallel port,get following error message?
>
> a at a-desktop:~$ ./lptout 0xFF
> Error: Couldn't get the port at 378
>
> Tried base as: 0x378
> 0x0378
> parallel port is on in Bios, as 378H/IRQ7
>
> Dmesg paraport0 -PC-style 0x0378 irq7 [PCSPP,TRISTATE].
>
> Program could not find asm/io.h,loaded with sys/io.h.
>
> Nothing is connected to the port, could be a possible cause of the
> message,any ideas wuddup? Antonio
>
is the port enabled in the BIOS? Is it enabled as SPP (Standard
Parallel Port), EPP (Enhance Parallel Port)?
It also looks like you might need to include in your C program something
like the following;
#include <io.h>
or;
#include <asm/io.h>
and ensure the paths are found by the linker....or copy the files
somewhere like /usr/include (but be sure not to overwrite existing files
with same name, if they exist).
Hope that helps.
-Nick
> _______________________________________________
> nmglug mailing list
> nmglug at nmglug.org
> https://nmglug.org/mailman/listinfo/nmglug
>
--
----------------------------------------
Nicholas S. Frost
7 Avenida Vista Grande #325
Santa Fe, NM 87508
nickf at nickorama.com
----------------------------------------
More information about the nmglug
mailing list