how to give permission to read and write an IO port

how to give permission to read and write an IO port

Post by Ralph Blac » Fri, 22 Oct 1999 04:00:00



I am trying to write a program which will run as root, but not as part
of the kernel.  The
program must read and write an IO port.  How do I do this in the Power
PC port of linux
What is the ioperm call for the PPC linux?

Chip

 
 
 

1. Problems mounting smbfs/ntfs in /etc/fstab to give read-write permissions

Hi All,

I have the following line in my /etc/fstab to mount an NTFS drive:

//HONS/RobertMarkBram   /phdWeb                 smbfs  
rw,username=rob,password=XXXXXX,uid=gid=500 0 0

I have that id, but I still do not have write permissions:

robertmarkbram - /phdWeb
$id
uid=500(robertmarkbram) gid=500(robertmarkbram)
groups=500(robertmarkbram),0(root)

robertmarkbram - /phdWeb
$touch temp
touch: creating `temp': Permission denied

robertmarkbram - /phdWeb
$ls -lad .
drwxr-xr-x    1 65535    root         4096 Sep  3 17:19 .

Can anyone tell me what is going wrong?

Any advice would be most appreciated!

Rob
:)

2. Linux Frequently Asked Questions with Answers (Part 4 of 6)

3. how do i read/write system io ports?????????

4. Linux in corporate network

5. Solaris 8: how to give a user write permission?

6. script for data record manipulation?

7. Give write permissions but not delete

8. MachTen vs NetBSD/Mac68k

9. give "nobody" permission to write to other accounts

10. read/write standard io

11. polling a port addres for a clock pulse and reading and writing data to RS422 port

12. raw io reading, writing

13. [v850] Add __raw_ read/write ops to v850 io.h