From: Jan Wagemakers <janw@easynet.be>
To: linux-assembly@vger.kernel.org
Subject: Re: permission problem
Date: Sat, 20 Nov 2004 17:42:05 +0100 [thread overview]
Message-ID: <20041120164205.GA15847@qwerty.be> (raw)
In-Reply-To: <4b0d6e0d0411200626361bd414@mail.gmail.com>
joy merwin monteiro <joy.merwin@gmail.com> schreef:
> wantdd to write something to the parallel port
> "windows style" but am getting a seg fault on the "out"
> instruction.
Before you can write something to a port you need to get "ioperm". Type
'man ioperm' for more information.
You can find some example-programs that use "ioperm" at
<http://www.janw.easynet.be/eng.html>.
Also, at <http://www.janw.easynet.be/koffie.html>, I have an example-program
that writes to port 0x310. This webpage is in the Dutch language and is
using the at&t-syntax - so maybe a little difficult to read - but hopefully
not to difficult to get the picture ;-)
Also remember to run programs that use ioperm as 'suid-root' (chown root prg
; chmod 4750 prg), or you will stil get a segmentation fault.
Hope this helps you.
--
Met vriendelijke groetjes - Jan Wagemakers -
... RFS: picprog: Microchip PIC serial programmer software (GPL)
Deb-package is available at <http://www.janw.easynet.be/picprog.html>
next prev parent reply other threads:[~2004-11-20 16:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-20 14:26 permission problem joy merwin monteiro
2004-11-20 16:42 ` Jan Wagemakers [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-09-13 23:08 Daniel Barbar
2002-09-13 22:59 Da Saint
2002-09-13 22:59 Da Saint
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041120164205.GA15847@qwerty.be \
--to=janw@easynet.be \
--cc=linux-assembly@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.