View Single Post
emjayes's Avatar
Posts: 121 | Thanked: 163 times | Joined on Feb 2008 @ Oulu, Finland
#1
Update:
version 0.0.25diablo now has automatic installation of required packages.

Please ignore the most of this post, as I do not intend to keep it up to date.

If you're running Diablo, click this: http://mikie.dy.fi/maemo/sliderotate-diablo.install
If you're running Chinook, click this: http://mikie.dy.fi/maemo/rotate.install

Go to last page of this thread to see whats going on.


DO NOT QUOTE INSTALL INSTRUCTIONS BELOW THIS LINE IF YOU REPLY TO THIS THREAD!
THEY ARE OUTDATED, AND KEPT ONLY FOR HISTORICAL REFERENCE!
Most of the information after this line is outdated.
--------------------------------------------------------------------------------------

Diablo is now supported in version 0.0.20.diablo
From now on only the version for Diablo will be updated.

Update: 0.0.21.diablo now has configurable portrait orientation.

Now available in http://sliderotate.garage.maemo.org
EDIT: I really should rewrite this post, since so much has changed, but sadly don't have the time now.
You do want to read this thread, the answers are here.
Please always use this thread for questions, do not start a new one to ask something, since I have a hard time following the few ones I am subscribed to.
Minimal instructions: install this (Chinook). or this (Diablo) then follow the information that you get when installing.
Which is: open xterm, and then:
Code:
sudo gainroot
./install-xrandr-kernel
and reboot.




EDIT: ignore my blog entry, everything you need to know is/will be in this thread
Also, this works as well on a N800 (with OS2008) sans automatic rotation, because of the lack of sliding keyboard.

See my blog entry here:
http://mymaemo.blogspot.com/2008/04/...-for-n810.html


Automatic screen rotate for N810

After testing the taskbar applet to rotate the screen in my N810, I thought it would be much easier to use the power key to initiate rotation.

Also when opening the keyboard, I wanted the screen to automatically rotate to landscape to be able to see what I was writing and return to portrait mode when the keyboard is closed.

Now it can be done:

This package provides the following functions:
-screen is rotated to portrait / landscape mode by
a) pressing the power key
b) pressing and holding the Application switch key for more than one second.

If the keyboard is opened when the screen is rotated to portrait mode, it will be rotated to landscape mode.

When the keyboard is closed, the screen is rotated back to portrait mode, if it was already in portrait mode when the keyboard was opened.

You will need to install the xserver-xomap with RandR support, as well as flash the kernel with RrandR support before this package will do anything. Since the updated components can't be a dependecy, you are required to do it yourself.


This one-click-install will provide you with an updateable xserver-xomap if you are not already using it.

After the package installation is complete, update the xserver-xomap by either the application manager or apt-get.

Then flash your N810 with this kernel and reboot to complete the installation

If you do not know how to flash the kernel or update the xserver-xomap, you are advised not to install this package at all, as you may brick your device while experimenting.

The RandR supporting kernel and xserver-xomap are provided by http://sse2.net/rotate/

If you don't like to have the power menu appear when using the power key to initiate rotation,
edit /etc/mce/mce.ini:

PowerKeyShortAction=disabled
PowerKeyLongAction=menu
PowerKeyDoubleAction=menu

Then you can rotate the screen with a short press, but still can access the menu with long press, or double-clicking it.

Last edited by emjayes; 2008-08-14 at 12:27.
 

The Following 33 Users Say Thank You to emjayes For This Useful Post: