Thank you very much.
Your help was really needed.
Instantly, I run following program, however an error occured.
fd = open ("/dev/parport0", O_RDWR);
if (fd == -1)
{
return -1;
}
/* claim access to port */
if (claim = ioctl (fd, PPCLAIM))
{
close (fd);
return -1;
}
It became an error here.
PPCLAIM return -1.
PC is connected with a printer.
kernel is 2.4.3.
Why does not PPCLAIM return good?
shun
-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Mon Oct 01 2001 - 10:33:01 EDT