Results 1 to 2 of 2

Thread: usb mouse not work when using directfb

  1. #1

    Default usb mouse not work when using directfb

    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

  2. #2
    Join Date
    Nov 2011
    Posts
    1
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: usb mouse not work when using directfb

    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.

Similar Threads

  1. Can usb mouse wheel work in Qt/E ?
    By earth in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 26th August 2011, 11:00
  2. Can't get mouse to work.
    By weaver4 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 3rd November 2010, 18:49
  3. Mouse misalignment using QT/Embedded and directfb
    By ewindes in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 21st October 2009, 18:37
  4. mouse pressevent doesnt work inside a QListWidget
    By john_god in forum Qt Programming
    Replies: 0
    Last Post: 25th February 2009, 02:32
  5. Mouse Tracking doesnt work from QCanvasView?
    By hgsw in forum Qt Programming
    Replies: 1
    Last Post: 4th January 2007, 01:59

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.