Re: F17: DirectFB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom,
    Ok, I tried testing with the following settings:

    $ ls -l /dev/tty{,0,1} /dev/fb{,0}
    lrwxrwxrwx. 1 root root      3 Aug 21 21:52 /dev/fb -> fb0
    crw-rw-rw-. 1 root video 29, 0 Aug 21 21:52 /dev/fb0
    crw-rw-rw-. 1 root tty    5, 0 Aug 21 21:52 /dev/tty
    crw--w----. 1 root tty    4, 0 Aug 21 21:52 /dev/tty0
    crw--w----. 1 root tty    4, 1 Aug 21 21:52 /dev/tty1

    $ groups
    greno tty wheel dialout video vboxusers

    $ grep greno /etc/group
    tty:x:5:greno
    wheel:x:10:greno
    video:x:39:greno
    dialout:x:18:greno
    greno:x:1000:
    vboxusers:x:988:greno

    $ cat /etc/udev/rules.d/40-permissions.rules
    KERNEL=="fb[0-9]*",                     GROUP="video", MODE="0666"
    KERNEL=="tty[0-9]*",                    GROUP="tty", MODE="0666"
    KERNEL=="mice",                         MODE="0666"


The result is this:

    $ dfbinfo

       ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.6.1 |~~~~~~~~~~~~~~~~~~~~~~~~~~
            (c) 2001-2012  The world wide DirectFB Open Source Community
            (c) 2000-2004  Convergence (integrated media) GmbH
          ----------------------------------------------------------------

    (*) DirectFB/Core: Single Application Core. (2012-08-29 21:15)
    (*) Direct/Memcpy: Using Generic 64bit memcpy()
    (*) Direct/Thread: Started 'Fusion Dispatch' (-1) [MESSAGING OTHER/OTHER 0/0] <8388608>...
    (!) DirectFB/core/vt: Error opening `/dev/tty1'!
        --> Permission denied
    (!) DirectFB/Core: Could not initialize 'system_core' core!
        --> A general initialization error occured
    (#) DirectFBError [DirectFBCreate() failed]: A general initialization error occured
    Segmentation fault

    I set the perms in the udev rules to 0666 but the tty does not setup that way for some reason.


Gerry




-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux