I posted this on directfb-users@xxxxxxxxxxxx yesterday but I figured that maybe I should have cross-posted it - at least for documentation purposes and/or visibility.... Hi everyone, I'm writing a GTK + DFB application which uses a touchscreen for input. The touchscreen uses the LinuxInput driver. There will be no other I/O device on the system - just some serial and eth for communication. Config: # cat directfbrc mode=800x600 debug depth=32 I can run dfbinfo without a problem: # ./dfbinfo ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~ (c) 2001-2008 The world wide DirectFB Open Source Community (c) 2000-2004 Convergence (integrated media) GmbH ---------------------------------------------------------------- (*) DirectFB/Core: Single Application Core. (2008-12-21 20:08) (*) Direct/Thread: Started 'VT Switcher' (1921) [CRITICAL OTHER/OTHER 0/0] <10485760>... (*) Direct/Thread: Started 'Linux Input' (1923) [INPUT OTHER/OTHER 0/0] <10485760>... (*) DirectFB/Input: Macintosh mouse button emulatio (1) 0.1 (directfb.org) (*) Direct/Thread: Started 'Linux Input' (1924) [INPUT OTHER/OTHER 0/0] <10485760>... (*) DirectFB/Input: Dialogue Inc PenMount USB (2) 0.1 (directfb.org) (*) Direct/Thread: Started 'Linux Input' (1925) [INPUT OTHER/OTHER 0/0] <10485760>... (*) DirectFB/Input: Power Button (FF) (3) 0.1 (directfb.org) (*) Direct/Thread: Started 'Linux Input' (1926) [INPUT OTHER/OTHER 0/0] <10485760>... (*) DirectFB/Input: Power Button (CM) (4) 0.1 (directfb.org) (*) DirectFB/Genefx: MMX detected and enabled (*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org) (*) DirectFB/Core/WM: Default 0.3 (directfb.org) (*) FBDev/Surface: Allocated 800x600 32 bit RGB32 buffer (index 0) at offset 0 and pitch 3200. (!) DirectFB/FBDev: Panning display failed (x=0 y=0 ywrap=0 vbl=1)! --> 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 (01) Macintosh mouse button emulatio (primary mouse) Type: MOUSE Caps: AXES BUTTONS Max. Axis: 1 Max. Button: 2 Input (02) Dialogue Inc PenMount USB (primary joystick) Type: JOYSTICK Caps: AXES BUTTONS Max. Axis: 1 Max. Button: 1 Input (10) Power Button (FF) Type: Caps: Input (11) Power Button (CM) Type: Caps: But when I try gtk-demo I get "Requested ID not found!" # ./gtk-demo ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~ (c) 2001-2008 The world wide DirectFB Open Source Community (c) 2000-2004 Convergence (integrated media) GmbH ---------------------------------------------------------------- (*) DirectFB/Core: Single Application Core. (2008-12-21 20:08) (*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] <10485760>... (*) Direct/Thread: Started 'Linux Input' (1963) [INPUT OTHER/OTHER 0/0] <10485760>... (*) DirectFB/Input: Macintosh mouse button emulatio (1) 0.1 (directfb.org) (*) Direct/Thread: Started 'Linux Input' (1964) [INPUT OTHER/OTHER 0/0] <10485760>... (*) DirectFB/Input: Dialogue Inc PenMount USB (2) 0.1 (directfb.org) (*) Direct/Thread: Started 'Linux Input' (1965) [INPUT OTHER/OTHER 0/0] <10485760>... (*) DirectFB/Input: Power Button (FF) (3) 0.1 (directfb.org) (*) Direct/Thread: Started 'Linux Input' (1966) [INPUT OTHER/OTHER 0/0] <10485760>... (*) DirectFB/Input: Power Button (CM) (4) 0.1 (directfb.org) (*) DirectFB/Genefx: MMX detected and enabled (*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org) (*) DirectFB/Core/WM: Default 0.3 (directfb.org) (*) FBDev/Surface: Allocated 800x600 32 bit RGB32 buffer (index 0) at offset 0 and pitch 3200. (!) DirectFB/FBDev: Panning display failed (x=0 y=0 ywrap=0 vbl=1)! --> Invalid argument (#) DirectFBError [gdk_display_open: GetDisplayLayer]: Requested ID not found! (gtk-demo:1959): Gtk-WARNING **: cannot open display: (!!!) *** WARNING [Application exited without deinitialization of DirectFB!] *** [core.c:859 in dfb_core_deinit_check()] (!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in fusion_object_pool_destroy()] (!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in fusion_object_pool_destroy()] (!!!) *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusion_object_pool_destroy()] Of course, when I connect a keyboard and mouse, all these issues go away and any DFB+GTK app start w/o problem, but this won't be an option. This post (http://mail.directfb.org/pipermail/directfb-users/2008-October/001111.html) was the most relevant, but wasn't so useful: # ls -la /dev/tty0 crw--w---- 1 root tty 4, 0 2009-01-06 16:32 /dev/tty0 # grep "tty" /proc/devices 4 tty 4 ttyS 5 /dev/tty I was hoping to avoid digging through GTK and/or DFB code (http://mail.directfb.org/pipermail/directfb-users/2008-April/000573.html) to figure out the problem. Does anyone have a suggestion on a config param or a compile-time option I may have missed/used? Thanks, Azilat _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list