Touchscreen input incorrectly rotated at boot.

Bug #1120196 reported by Robert Bruce Park
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-nexus7
Fix Released
Medium
Jani Monoses

Bug Description

Been experiencing this one for at least a week, but wasn't able to pin down exactly what was going on until just now...

Steps to reproduce:

1. Lay nexus7 on a flat surface, such that the accelerometer will not be able to identify which direction is "up".

2. Boot the nexus7. Notice that the bootloader treats the screen as vertical by default, but once X loads, the screen is horizontal by default.

3. In the current state, touchscreen input is incorrectly rotated relative to X output. Input seems to think screen is vertical, output displays horizontally.

4. Flip the nexus7 up such that the display is right side up (eg, dont' trigger the display to rotate, just flip the nexus7 up in the direction that the screen is already rotated).

5. X will notice the new signal from the accelerometer, the screen briefly flickers, and correctly rotates the touchscreen input so that it now aligns with the screen output.

So basically the problem fixes itself once you manually trigger a rotation event, but the default settings for the touch input don't match the default settings for the X output, prior to the first rotation event.

Revision history for this message
Oliver Grawert (ogra) wrote :

jani changed some code which seems to result in a wrong default rotation on boot ("right" vs "normal"), assigning to him to fix :)

Changed in ubuntu-nexus7:
assignee: Bryce Harrington (bryce) → Jani Monoses (jani)
Revision history for this message
leangseu (kleangseu) wrote :

would u tell me where is the location of the "default rotation on boot script"?

Revision history for this message
Jani Monoses (jani) wrote :

This has been fixed a while ago

gnome-settings-daemon (3.6.4-0ubuntu4) raring; urgency=low

  * debian/patches/nexus_orientation.patch: Correctly set up portrait
    orientation on first run. Disable the timer that polls the accelerometer
    on the Nexus 7 if the orientation-lock gsetting is set.

 -- Jani Monoses <email address hidden> Mon, 11 Feb 2013 13:14:46 +0200

Changed in ubuntu-nexus7:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.