On Mon, Jan 10, 2000 at 01:52:11PM -0800, Estabridis, Janet P wrote:
> Dave,
> I am doing this from user space right now.  I am using fd "/dev/mem" which
> is what Mr. Rubini's book example and he's advice via e-mail was.
> 
> What is the difference between "/dev/mem" and "/dev/kmem" ?  
> 
> I'll try "/dev/kmem" and I'll try and look at the SVGAlib source.
> 
> I truely did not think accessing a memory mapped card would be trouble from
> user space and I thought it would be easier until things are working (if you
> can map it).  I'll also try it from kernel space if all else fails. 


Sorry, /dev/mem was correct.  But mmap_kmem() is just defined to be
mmap_mem(), which makes me suspicious.  Have you tried plain, old
read/write/fseek() on /dev/mem?

Are you using a 2.2.x or 2.0.x kernel?  


dave...

--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to