Hi all,

I have DirectFB 1.0.0 with linuxinput enabled.
My target have two device under /dev/input: a keyboard and a touch,  but
when I start a df_input demo only a touch work fine and a keyboard seems
don't exist at all.

What I have to do?


*sh-3.00# cat /proc/bus/input/devices*
I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="Cirrus EP93xx 8x8 keypad matrix driver"
P: Phys=ep83xx_kbd_8x8/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=3
B: KEY=800 1680 f fb000400 3000cfff

I: Bus=0019 Vendor=1013 Product=9300 Version=0000
N: Name="Cirrus Logic EP93xx Touchscreen"
P: Phys=ep93xx_ts/input0
S: Sysfs=/class/input/input1
H: Handlers=event1
B: EV=b
B: KEY=8000 0 0 0 0 0 0 0 0 0 0
B: ABS=1000003
so, event0 for the keypad and event1 for the touch

*sh-3.00# ls -all /dev/input/*
total 8
drwxr-xr-x  2 root root   4096 Jul 23 08:17 .
drwxr-xr-x  4  500  500   4096 Jul 23 04:54 ..
crw-r--r--  1 root root 13, 64 Jun 22 08:47 event0
crw-r--r--  1 root root 13, 65 Jun 22 08:47 event1
crw-r--r--  1 root root 13, 66 Jun 22 08:47 event2
crw-r--r--  1 root root 13, 67 Jun 22 08:47 event3
crw-r--r--  1 root root 13, 68 Jun 22 08:47 event4
crw-r--r--  1 root root 13, 63 Jul 19 09:09 mice

so, the device seems to be create and If I use my test program that open the
device and print the event, all seems work fine.



*sh-3.00# */bin/df_input

    =======================|  DirectFB 1.0.0  |=======================
         (c) 2001-2007  The DirectFB Organization (directfb.org)
         (c) 2000-2004  Convergence (integrated media) GmbH
       ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2007-07-03 15:32)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 992)...
(*) Direct/Thread: Running 'Linux Input' (INPUT, 993)...
*(*) DirectFB/Input: Cirrus EP93xx 8x8 keypad matrix (1) 0.1 (directfb.org)*
(*) Direct/Thread: Running 'Linux Input' (INPUT, 994)...
*(*) DirectFB/Input: Cirrus Logic EP93xx Touchscreen (2) 0.1 (directfb.org)*
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 995)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!) DirectFB/FBDev: Panning display failed!
   --> Invalid argument
(*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.
(*) Direct/Interface: Loaded 'PNG' implementation of
'IDirectFBImageProvider'.
Seems all ok, but the keyboard don't work ang the program goes in timeout.

*The output of dfb_info print:*

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 (11) Cirrus Logic EP93xx Touchscreen
  Type:
  Caps: AXES
  Max. Axis: 1

Nothing about kepad!



Other thing:

If I delete the /dev/input directory obviously the linuxinput driver don't
work. I expect that nothing work, but *surprise* the keyboard work fine!



What I'm wrong?

Giulio
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to