LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-04-2008, 05:33 AM   #1
webquinty
Member
 
Registered: Apr 2008
Location: España
Distribution: Suse
Posts: 227

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


Hello,

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:

Quote:
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 2.6.24.7-rt20.

Any advice
 
  


Reply



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 04:05 AM
ioperm - operation not permitted when using fakeroot Zotty Programming 3 09-21-2004 04:34 PM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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