[Om2009] bluetooth keyboard - key presses not making it to X

Al Johnson openmoko at mazikeen.demon.co.uk
Thu Jun 25 11:41:49 CEST 2009


On Thursday 25 June 2009, Tim Abell wrote:
> Hi all,
>
> I've got my bt keyboard connected, and according to hcidump I think the
> keypress events are getting to bluez, however they aren't getting to any
> applications, including xev.
>
> Does anyone know what I need to do to troubleshoot this?

Sounds like bug #1796 [1]. It's the parameters passed when starting X that are 
the problem, and affects USB keyboards too. Look in /etc/X11/Xserver and 
compare with the diff below - beware line wrap. If this is the problem then 
please file a bug report.

--- a/packages/xserver-kdrive-common/xserver-kdrive-common/openmoko/Xserver
+++ b/packages/xserver-kdrive-common/xserver-kdrive-common/openmoko/Xserver
@@ -93,7 +93,7 @@ case `module_id` in
                 modprobe mbxfb
                 ARGS="$ARGS -br -fb /dev/fb1" ;;
         "GTA01" | "GTA02")
-                ARGS="$ARGS -dpi 285 -screen 480x640 -hide-cursor -root-
ppm/usr/share/pixmaps/xsplash-vga.ppm vt1" ;;
+                ARGS="$ARGS -dpi 285 -screen 480x640 -hide-cursor -br" ;;
         "Motorola Ezx Platform")
                 ARGS="$ARGS -dpi 170 -screen 240x320 -hide-cursor -root-ppm 
/usr/share/pixmaps/xsplash-qvga.ppm vt1" ;;
         "Nokia N800")


[1] http://docs.openmoko.org/trac/ticket/1796




More information about the community mailing list