Hi,
I'm having problems with linux_input driver with DirectFB 1.2.7 and
1.2.10.
Looks like dfbinfo sees both connected devices properly:
$ dfbinfo
Screen (00) GPUDDI Screen (primary screen)
Caps:
Layer (00) Primary Layer (primary layer)
Type: GRAPHICS
Caps: SURFACE
Layer (01) Layer 1
Type: GRAPHICS
Caps: SURFACE
Input (00) Device USB Device (primary keyboard)
Type: KEYBOARD
Caps: KEYS
Min. Keycode: 0
Max. Keycode: 127
Input (01) Device USB Device (primary mouse)
Type: MOUSE
Caps: AXES BUTTONS
Max. Axis: 2
Max. Button: 4
df_input shows all the keys I press on keyboard, but DFBTerm reacts only
on some of the keys (arrows and numeric, enter) when enabled modified
'keyboard' driver, too, loaded together with 'linux_input' driver. When
'keyboard' driver is disabled and only 'linux_input' driver enabled
DFBTerm reacts only on USB mouse but not USB keyboard at all.
(the modified 'keyboard' driver is for IR remote that sends codes for only
the mentioned above keys.)
Does anyone know what can be wrong with it?
Btw. on this system there's no /dev/tty or /dev/psaux, so the original
'keyboard' and 'ps2mouse' drivers can't be used and I have to rely on
'linux_input' driver. The system is configured for 'devmem' and there's
no working /dev/fb* devices.
directfbrc:
system=devmem
video-phys=3c00000
video-length=205520896
accelerator=147
mode=1280x720
depth=32
pixelformat=ARGB
no-vt
no-vt-switch
no-quiet
no-trace
#debug
desktop-buffer-mode=frontonly
#desktop-buffer-mode=backsystem
##desktop-buffer-mode=backvideo
#desktop-buffer-mode=auto
#window-surface-policy=systemonly
log-file=/tmp/directfb.log
bg-color=00000000
#bg-none
cursor-updates
tmpfs=/dev/shm
no-sighandler
#no-init-layer
#disable-module=keyboard
vsync-none
no-linux-input-grab
DirectFB logs:
(*) DirectFB/Core: Single Application Core. (2010-02-08 02:07)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: Device USB Device (1) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: Device USB Device (2) 0.1 (directfb.org)
(*) DirectFB/Graphics: ... GPUDDI(DEVMEM) 0.1 (...)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
Regards,
Tom
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users