Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-04-2008, 06:33 AM   #1
Registered: Apr 2008
Location: España
Distribution: Suse
Posts: 220

Rep: Reputation: 32
Problem with ioperm????


I hava developed a driver to comunicate with pc/104 board. No problems to check_region and no problems to request_region.

But if have tried to read a byte (inb) always return me a 0xFF, but value must be other.

I have search in google about port access permission (IOPERM and IOPL), but when I try to compile my driver with this functions, Compiler return me a error:

error: implicit declaration of function ‘ioperm’
error: implicit declaration of function ‘iopl’
I have this includes in my code:

#include <unistd.h>
#include <sys/io.h>

I use kernel

Any advice


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ioperm() problem hua Programming 2 11-02-2006 05:05 AM
ioperm - operation not permitted when using fakeroot Zotty Programming 3 09-21-2004 05:34 PM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 08:45 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration