-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Dec 03, 2007 at 09:27:14PM -0600, Ron Johnson wrote: > On 12/03/07 21:22, Michael Pobega wrote: > > On Mon, Dec 03, 2007 at 02:09:25PM -0600, Ron Johnson wrote: > >> On 12/03/07 13:39, Michael Pobega wrote: > >>> On Mon, Dec 03, 2007 at 01:24:38PM -0600, Ron Johnson wrote: > >>>> On 12/03/07 13:15, Michael Pobega wrote: > >>>>> On Mon, Dec 03, 2007 at 01:07:42PM -0600, Ron Johnson wrote: > >> [snip] > >>>>>> Wouldn't it be better to just give the "games" group rw access to > >>>>>> the SDL framebuffer, and add yourself to the games group? > >>>>> Perhaps that would be a better approach, how would I go about doing > >>>>> that? I've no clue how to grant rw access to the SDL framebuffer, which > >>>>> is why I didn't try it that way (That was the first thought to cross my > >>>>> mind) > >>>> Googling "sdl framebuffer" indicates that what you really mean is > >>>> "how do I grant group write privs to the Linux framebuffer". > >>>> What does "ls -aFl /dev/fb*" show you? > >>> > >>>> ls -aFl /dev/fb* > >>> crw-rw---- 1 root video 29, 0 Dec 3 10:22 /dev/fb0 > >>> > >>> The video group has rw permissions, and that's why mplayer -vo directfb > >>> works, but I don't think that the SDL Framebuffer is one in the same as > >>> /dev/fb0. > >> Maybe you've mis-configured something? All my googling indicates > >> that SDL can use DirectFB. > > > >> http://listas.apesol.org/pipermail/sdl-libsdl.org/2002-May/026885.html > > > > > > Actually I think the problem is that I'm trying to initialize the > > framebuffer from within Screen; Is there any way to pass the permissions > > to Screen? > > Ah. I doubt it, since /screen/ probably does squirrelly stuff. >
Enter sudo. - -- If programmers deserve to be rewarded for creating innovative programs, by the same token they deserve to be punished if they restrict the use of these programs. - Richard Stallman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHVNBbg6qL2BGnx4QRApPPAJ9UKZhIRvn+1lgK/kiYgQ4hTcjNgwCfddt0 YgjcNDCVpESaCPBOxCeyDAM= =Jkev -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]