ts-7000
[Top] [All Lists]

[ts-7000] How to access I/O from a user space program in NetBSD

To:
Subject: [ts-7000] How to access I/O from a user space program in NetBSD
From: "Bill Landolina" <>
Date: Tue, 04 Apr 2006 19:54:04 -0000
I'm trying to test my I/O board before writing a full driver using a 
user space program.

I started with the port_test2.c program and it's not working at all...

I'm running as root, so I should have permission to open /dev/mem 
RDWR, but the open fails...  I've also set the permissions on /dev/mem 
to 666 so it should be fair game...

Any hints as to where I should be looking for the necessary 
permissions to poke directly at the hardware?

Thanks,
Bill Landolina









 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU