PDA

View Full Version : usb mouse not work when using directfb



bennyatQtc
8th November 2011, 03:18
Hi,

My usb mouse don’t work correctly if i start Qt program with “-display directfb”.
Moving the mouse, the mouse cursor style changes, from arrow to double
direction arrow, but the position don't change.



following is dfbinfo's output

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

(*) DirectFB/Core: Single Application Co
re. (2011-11-07 05:52) [ DEBUG ]
(*) Direct/Thread: Started 'VT Switcher' (629) [CRITICAL OTHER/OTHER 0/0] <8388608>...
(*) Direct/Thread: Started 'VT Flusher' (630) [DEFAULT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/FBDev: Found 'fb_h2' (ID 0) with frame buffer at 0x02000000, 16384k (MMIO 0x00000000, 0k)
(*) Direct/Thread: Started 'Linux Input' (631) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: ir_clippers 0.1 (directfb.org)
(*) Direct/Thread: Started 'Hotplug with Linux Input' (632) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Hot-plug detection enabled with Linux Input Driver
(*) Direct/Thread: Started 'Keyboard Input' (633) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)


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 (03) ir_clippers (primary remote control)
Type: MOUSE REMOTE
Caps: KEYS BUTTONS
Min. Keycode: -1
Max. Keycode: -1
Max. Button: 15

rahmanih
16th November 2011, 23:40
Hi,
do you have a device called "/dev/input/mouse0"?

If not then your kernel was built without input device support

check that in your kernel ".config" the INPUT_EVDEV is set

you should enable it under:

-> Device Drivers
-> Input device support
-> Event interface

regards.
Haithem.