[OPIE 0001875]: h2200 joypad has incorrect rotation

From: <noreply_at_oszine.de>
Date: Sun, 13 Jan 2008 03:16:38 +0100

A NOTE has been added to this issue.
======================================================================
http://opie-bugs.oszine.de/view.php?id=1875
======================================================================
Reported By: BlueLightning
Assigned To:
======================================================================
Project: OPIE
Issue ID: 1875
Category: Core
Reproducibility: always
Severity: minor
Priority: normal
Status: acknowledged
======================================================================
Date Submitted: 07-21-2007 05:46 CEST
Last Modified: 01-13-2008 03:15 CET
======================================================================
Summary: h2200 joypad has incorrect rotation
Description:
With 1.2.3-pre on h2200 the joypad is incorrectly rotated - pressing right
moves up, pressing up moves left, etc. The attached patch fixes this.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
child of 0001837 Opie 1.2.3 Release
child of 0001873 Opie 1.2.4 Release
======================================================================

----------------------------------------------------------------------
 pfalcon - 07-21-07 12:58
----------------------------------------------------------------------
So, after all h2200 has 320x240 physical screen orientation, portrait,
rotated comparing to the normal device orientation? Because if not, this is
a workaround for h2200-adhoc rotation done elsewhere already. If tests were
performed with fresh OE.dev build, then at least the extra rotation not in
qte.

So, I suggest to try to look for where h2200 may be handled specially, and
if found, fix it there. If not, this would be a good workaround for 1.2.3,
but needs comments added that it is such, so we can fix it later. (And all
this assumes that screen is 240x320; if it's 320x240, then all is ok).

----------------------------------------------------------------------
 BlueLightning - 07-21-07 13:20
----------------------------------------------------------------------
Yes, this was a build from org.openembedded.dev tree updated yesterday. I
can't tell you what the actual device orientation of the screen is
internally - physically the display is just like every other iPAQ.

I can only guess that if 270 degrees is not the correct rotation for this
device then the wrong keycodes are being sent.

----------------------------------------------------------------------
 pfalcon - 07-21-07 13:30
----------------------------------------------------------------------
Well, how can I explain... ;-) Initial kernel boot message scroll
vertically or horizontally? Your patch puts h2200 in the same category as
h3900, which is clearly a 320x240 rotated screen. Can you build image or
kernel for it and try to boot and compare the behavior?

----------------------------------------------------------------------
 BlueLightning - 07-21-07 13:33
----------------------------------------------------------------------
Ah, that I can tell you. The boot messages scroll vertically.

----------------------------------------------------------------------
 BlueLightning - 07-22-07 02:33
----------------------------------------------------------------------
Added new patch with comment as requested.

----------------------------------------------------------------------
 BlueLightning - 07-23-07 15:32
----------------------------------------------------------------------
Patch committed to CVS. I'll leave this bug open for now until we get a
proper resolution.

----------------------------------------------------------------------
 BlueLightning - 07-25-07 12:58
----------------------------------------------------------------------
Erm, oops. The previous patch altered the default rotation for h2200 which
is bad. It was so obvious, I should have realised it would do that :(

Anyway, despite being right up to the wire I made the decision to fix this
in CVS for 1.2.3 with a much less drastic workaround -
h2200_button_rotation_v3.patch attached for reference.

----------------------------------------------------------------------
 BlueLightning - 01-13-08 03:15
----------------------------------------------------------------------
Hmm, it seems that h3900 has the same issue. Zaurus akita & spitz do as
well, so there's something really weird going on here. Something must have
changed somewhere fairly fundamental.

Issue History
Date Modified Username Field Change
======================================================================
07-21-07 05:46 BlueLightning New Issue
07-21-07 05:46 BlueLightning File Added: h2200_button_rotation.patch
         
07-21-07 05:52 BlueLightning Relationship added child of 0001837
07-21-07 12:58 pfalcon Note Added: 0004648
07-21-07 13:20 BlueLightning Note Added: 0004649
07-21-07 13:30 pfalcon Note Added: 0004650
07-21-07 13:33 BlueLightning Note Added: 0004651
07-22-07 02:32 BlueLightning File Added: h2200_button_rotation_comment.patch
                 
07-22-07 02:33 BlueLightning Note Added: 0004653
07-23-07 15:32 BlueLightning Note Added: 0004655
07-23-07 15:32 BlueLightning Status new => acknowledged
07-25-07 12:57 BlueLightning File Added: h2200_button_rotation_v3.patch
            
07-25-07 12:58 BlueLightning Note Added: 0004658
07-28-07 04:53 BlueLightning Relationship added child of 0001873
01-13-08 03:15 BlueLightning Note Added: 0004797
======================================================================
Received on Sat Jan 12 2008 - 21:17:02 EST

This archive was generated by hypermail 2.2.0 : Sat Jan 12 2008 - 21:17:19 EST