[Om2009] bluetooth keyboard - key presses not making it to X
Tim Abell
tim at timwise.co.uk
Tue Jun 30 20:59:23 CEST 2009
Al Johnson wrote:
> 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
>
>
Thanks Al,
My Xserver file isn't exactly the same, but I tried to make matching
changes:
root at om-gta02:/etc/X11# diff Xserver.orig Xserver
--- Xserver.orig Thu Jun 25 19:36:17 2009
+++ Xserver Fri Jun 26 23:30:27 2009
@@ -113,7 +113,7 @@
else
DPI=140
fi
- ARGS="$ARGS -dpi ${DPI} -screen ${SCREEN_SIZE} -mouse
tslib -hide-cursor -root-ppm /usr/share/pixmaps/xsplash-vga.ppm vt1"
+ ARGS="$ARGS -dpi ${DPI} -screen ${SCREEN_SIZE}
-hide-cursor -br"
XSERVER=/usr/bin/Xglamo
;;
"Nokia N770")
I've attached the two versions, the original from my phone (.orig) and
my attempt at modifying it (.bluetooth)
The changes don't appear to have helped.
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20090630/54753897/attachment-0001.htm
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Xserver.orig
Url: http://lists.openmoko.org/pipermail/community/attachments/20090630/54753897/attachment-0002.txt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Xserver.bluetooth
Url: http://lists.openmoko.org/pipermail/community/attachments/20090630/54753897/attachment-0003.txt
More information about the community
mailing list