This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: How to access /dev/port?
- From: <jackylam at solomon-systech dot com>
- To: <marcel at telka dot sk>
- Cc: <cygwin at cygwin dot com>
- Date: Wed, 30 Jun 2004 11:04:05 +0800
- Subject: RE: How to access /dev/port?
I take your advice and try that. It is really great but I got some
problem to use it.
I am using Windows XP. I rewrite my program to initialize my port by
ioperm(0x378,3,1);
Before running my program, I install the ioperm service by:
ioperm.exe -i
My Windows XP complains fail to start the system service.
Any suggestion?
Thanks.
-----Original Message-----
From: Marcel Telka [mailto:marcel@telka.sk]
Sent: Wednesday, 30 June, 2004 4:14
To: Jacky Lam
Cc: cygwin@cygwin.com
Subject: Re: How to access /dev/port?
On Tue, Jun 29, 2004 at 09:41:34AM +0800, jackylam@solomon-systech.com
wrote:
> I use outb() in my program to acces ports. But it cannot be
compiled
> because of undefined function name. How can I solve this?
You could try the ioperm package...
Regards.
--
+-------------------------------------------+
| Marcel Telka e-mail: marcel@telka.sk |
| homepage: http://telka.sk/ |
| jabber: marcel@jabber.sk |
+-------------------------------------------+
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/