[prev in list] [next in list] [prev in thread] [next in thread]
List: openmoko-community
Subject: Re: [Om2009] bluetooth keyboard - key presses not making it to X
From: Tim Abell <tim () timwise ! co ! uk>
Date: 2009-06-30 23:18:05
Message-ID: 4A4A9D2D.5040100 () timwise ! co ! uk
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
I hadn't realised till now that SHR is the main focus of development, so
I have just reflashed with that and will try again.
Thanks
Tim Abell
Tim Abell wrote:
> 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@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
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
[Attachment #5 (text/html)]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I hadn't realised till now that SHR is the main focus of development,
so I have just reflashed with that and will try again.<br>
<br>
Thanks<br>
<br>
Tim Abell<br>
<br>
Tim Abell wrote:
<blockquote cite="mid:4A4A608B.1020106@timwise.co.uk" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Al Johnson wrote:
<blockquote
cite="mid:200906251041.49757.openmoko@mazikeen.demon.co.uk" type="cite">
<pre wrap="">On Thursday 25 June 2009, Tim Abell wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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?
</pre>
</blockquote>
<pre wrap=""><!---->
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] <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://docs.openmoko.org/trac/ticket/1796">http://docs.openmoko.org/trac/ticket/1796</a>
</pre>
</blockquote>
Thanks Al,<br>
<br>
My Xserver file isn't exactly the same, but I tried to make matching
changes:<br>
<br>
root@om-gta02:/etc/X11# diff Xserver.orig Xserver<br>
--- Xserver.orig Thu Jun 25 19:36:17 2009<br>
+++ Xserver Fri Jun 26 23:30:27 2009<br>
@@ -113,7 +113,7 @@<br>
\
else <br> \
DPI=140<br> \
fi <br>
- \
ARGS="$ARGS -dpi ${DPI} -screen ${SCREEN_SIZE} -mouse tslib -hide-cursor -root-ppm \
/usr/share/pixmaps/xsplash-vga.ppm vt1" <br> \
+ \
ARGS="$ARGS -dpi ${DPI} -screen ${SCREEN_SIZE}
-hide-cursor -br"<br>
XSERVER=/usr/bin/Xglamo <br>
;;<br>
"Nokia N770")<br>
<br>
<br>
I've attached the two versions, the original from my phone (.orig) and
my attempt at modifying it (.bluetooth)<br>
<br>
The changes don't appear to have helped.<br>
<br>
Tim<br>
<br>
<pre wrap=""><pre wrap=""><pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Openmoko community mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a> <a \
class="moz-txt-link-freetext" \
href="http://lists.openmoko.org/mailman/listinfo/community">http://lists.openmoko.org/mailman/listinfo/community</a>
</pre></pre></pre>
</blockquote>
</body>
</html>
_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic