On Wed, 23 Feb 2000, Jesper Nielsen wrote:

> This works as expected when I run the user space program as root, but as
> a non-root user mbuff_attach() fails with a "open failed: Permission
> denied".  I can understand this, since it is kernel memory I'm
> accessing.

This restriction comes from permissions of /dev/mbuff file. 
I would advice you to add the group "mbuff", then
chgrp mbuff /dev/mbuff
chmod g+rw /dev/mbuff
(if you do not have /dev/mbuff: mknod /dev/mbuff c 10 254 )

then add all users who need to use it to mbuff group in /etc/group

Then after you log in as any of users in mbuff group (check with "id"
command) you can use it without limits.

I have just released
http://crds.chemie.unibas.ch/PCI-MIO-E/mbuff-0.6.5.tar.gz

This contains mbuff_alloc_at interface (only user space) and extern "C" for
compiling with C++.

I have almost ready mbuff-0.7.0 which will work also under 2.3 kernels and
contain new code from bttv.c.

Are there any wishes for 0.6 and 0.7 series? Some documentation I have
missed to include?

Best regards,
--
Tomasz Motylewski

-- [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