On 08/30/2012 09:00 AM, Tom Callaway wrote:
On 08/29/2012 06:52 PM, Gerry Reno wrote:
> (!) 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.
Did you reboot after setting the udev rules? My /dev/tty0 and /dev/tty1
are 0660. (I'm running Fedora 18).
If you chmod 660 /dev/tty*, does it work?
~tom
==
Fedora Project
Yes, these settings have been through many reboots and they are not setting the tty mode
correctly.
When I chmod g+r tty{0,1} the permission error goes away but it has other problems with
setting 1024x768 for fbdev.
$ 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 libc memcpy()
(*) Direct/Thread: Started 'Fusion Dispatch' (-1) [MESSAGING OTHER/OTHER 0/0]
<8388608>...
(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0]
<8388608>...
(*) Direct/Thread: Started 'VT Flusher' (-1) [DEFAULT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/FBDev: Found 'inteldrmfb' (ID 0) with frame buffer at 0xc0064000,
8100k (MMIO 0x00000000, 0k)
(*) Direct/Thread: Started 'Hotplug with Linux Input' (-1) [INPUT OTHER/OTHER
0/0] <8388608>...
(*) DirectFB/Input: Hot-plug detection enabled with Linux Input Driver
(*) DirectFB/Input: Hot-plug detection enabled with Input Hub Driver
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: Keyboard 0.9 (
directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.7 (
directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (
directfb.org)
(!!!) *** ONCE [no mode found for 1024x768] *** [fbdev.c:1354 in
dfb_fbdev_find_mode()]
(*) FBDev/Mode: Setting 1024x768 RGB32
(*) FBDev/Mode: Switched to 1024x768 (virtual 1024x768) at 32 bit (RGB32), pitch 7680
(!) DirectFB/FBDev: Could not set gamma ramp --> Invalid argument
(*) FBDev/Mode: Setting 1024x768 RGB16
(*) FBDev/Mode: Switched to 1024x768 (virtual 1024x768) at 16 bit (RGB16), pitch 7680
(!) DirectFB/FBDev: Could not set gamma ramp --> Invalid argument
Screen (00) FBDev Primary Screen (primary screen)
Caps: VSYNC POWER_MANAGEMENT
Layer (00) FBDev Primary Layer (primary layer)
Type: GRAPHICS
Caps: SURFACE BRIGHTNESS CONTRAST SATURATION
Input (00) Keyboard (primary keyboard)
Vendor ID: 0x0000
Product ID: 0x0000
Type: KEYBOARD
Caps: KEYS
Min. Keycode: 0
Max. Keycode: 127
Gerry