| Prev |   3     4   5   6     7   | Next
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Automatic screen rotate for N810 (https://talk.maemo.org/showthread.php?t=19447)

tme 2008-07-31 09:17

Re: Automatic screen rotate for N810
 
I find this very useful but I think it's draining my battery. Consistently since I've
installed this my tablet dies overnight. Watching in top, I can see sliderotate
continuously using approx 0.1%-0.9% CPU which can make a big impact on battery life.
Anyone else seeing this?

emjayes 2008-07-31 10:18

Re: Automatic screen rotate for N810
 
In version 0.0.22 there is the option to use sounds when opening the slide.
This is very poorly implemented and causes the high cpu usage.
I am now testing the next version, which hopefully solves this problem.
Note: it does not matter whether the sounds are turned off, since the
pygame.mixer is still initiated.

The version I am now testing, will unload the mixer if sounds are not enabled, which sound stop the battery drain.

I will make the new version available today so you can test it.

For the impatient: version 0.0.21 should not have this issue.

emjayes 2008-07-31 13:02

Re: Automatic screen rotate for N810
 
New version: 0.0.23diablo.

-If sounds are not used, the mixer is uninitialized, battery drain should stop.
-If sounds are used, well, until I figure a better way to handle it, the battery will drain faster. Your choice.

-fixed the typo in sliderotatesettings.
"Use portrait mode when slide is opened", now reads "Use landscape mode...." like it should.

emjayes 2008-07-31 18:33

Re: Automatic screen rotate for N810
 
Question: Does anyone remember the dbus-send magic to bring up the menu that you normally get when pressing the power button?

I would like to make the powerbutton behave like normal if the checkbox "Use powerbutton to rotate" is unchecked.

I used to know that, but seem to have forgotten it and Google was not helpful enough this time.

qwerty12 2008-07-31 18:43

Re: Automatic screen rotate for N810
 
Arg, using dbus-monitor --system only returns me the value for the Hal device which I am sure you do not want.

I have a little leaked file from Nokia that should help me in this mission, brb.

emjayes 2008-07-31 18:50

Re: Automatic screen rotate for N810
 
Quote:

Originally Posted by qwerty12 (Post 209070)
I have a little leaked file from Nokia that should help me in this mission, brb.

Perhaps I should have searched the intranet at work then :D

qwerty12 2008-07-31 19:10

Re: Automatic screen rotate for N810
 
Arrgh, my dbus "skills" really suckzors.

I have been able to find the following: com.nokia.system_ui.request.powerkeymenu_open

Don't know if that helps or if I am barking up the wrong tree. I'll keep trying but hopefully you will figure it out :)

emjayes 2008-07-31 19:57

Re: Automatic screen rotate for N810
 
Seems like this could be it. I must fiddle with it tomorrow to see if it works.

ekarjala 2008-08-01 01:07

Re: Automatic screen rotate for N810
 
I installed .23diablo, disabled sounds and things are looking good. Thanks for the effort on this. Sliderotate really helps me get more from my n810.

The Biles 2008-08-01 21:28

Re: Automatic screen rotate for N810
 
Whenever I rotate, the screen just kind of moves to the side. I can see new icons from the taskbar appear next to the old ones, but the screen itself doesn't actually flip. I'm trying to reinstall xrandr-kernel right now.

That fixed it. Awesome!

st5150 2008-08-05 08:19

Re: Automatic screen rotate for N810
 
Is there a way to completely uninstall screenrotate and go back to the original kernel and what not? Basicly undo all changes made.

Also, when I uncheck "use power button to rotate" box in the settings tab, why doesn't the factory default pop-up menu stop working when the power button is pressed?

IcyAirs 2008-08-05 10:12

Re: Automatic screen rotate for N810
 
Wow, this was amazingly easy to install... Great job!

A few pages back someone mentioned editing sliderotate.py to change the behavior of the program... is there any way to make double press power screen rotate? The idea being changing shortpress to disabled, and having long press bring up the power menu.

No more screen rotations for menu or powerdown, and none of the issues regarding bringing up power menu on rotation.. The only issue being needing to use the screen to power down, but it seems a viable sacrifice for having the device not do random things when you tell it to do something.

Arthurkr222 2008-08-06 08:55

Re: Automatic screen rotate for N810
 
Sorry for the ignant question, but I installed 0.0.23.diablo and in popped up with the instructions and then some check boxes. I then went to xterm to code the ./install-kernel and i realized i had no idea what it meant to code that. I tried typing it in a few different ways and it would always tell me it was not found.
Any help would be appreciated.

st5150 2008-08-06 19:38

Re: Automatic screen rotate for N810
 
Install easyroot:

http://nitapps.com/dists/chinook/use....0-4_armel.deb

Open up an xterminal window and type this in:

root [hit enter]

./root/install-xrandr-kernel [hit enter]



Now can someone help me and show me how to uninstall screen rotate completely?

Laughing Man 2008-08-07 00:08

Re: Automatic screen rotate for N810
 
This killed my dual boot? Hmm, gotta get my bootmenu back. I was in my boot from SD when I tried to install this, did the sudo gainroot, then the following command, it was flashing then it shutdown. Booted into flash only now.

Edit: Installed Penguinbait's boot menu installer and it redetected my boot from SD partition giving me the choice again (just gotta figure out how to re-edit the settings on it now).

And it works (on my boot from SD partition).

st5150 2008-08-07 01:46

Re: Automatic screen rotate for N810
 
Yup, it kills dual boot, you need to install http://penguinbait.com/bootmenu-installer.deb to get dual boot back.

Now I gotta figure out how to uninstall this app..... or at the very least get my power switch working like it use to!

Laughing Man 2008-08-07 01:53

Re: Automatic screen rotate for N810
 
To uninstall sliderotate, just go to application manager, then show installed apps and find sliderotate and uninstall. Or to change the power switch, go to the menu > extras > sliderotate settings and deactivate the box that says use power switch then save and quit.

st5150 2008-08-07 03:42

Re: Automatic screen rotate for N810
 
Can you change the power switch setting on your NIT and verify it restores the power switches behavior to factory settings? All that setting does is disable the power switch on my NIT.

I have a feeling uninstalling from app manager won't "unflash" the kernel. Can someone confirm this?

Laughing Man 2008-08-07 04:14

Re: Automatic screen rotate for N810
 
st5150, I get the same problem. I have to double click to bring up the power menu.

st5150 2008-08-07 04:57

Re: Automatic screen rotate for N810
 
Ah, double click! I didn't know about that trick. Thanks for the tip! I may not uninstall this app afterall. Thanks for your help.

jaeezzy 2008-08-07 05:20

Re: Automatic screen rotate for N810
 
Hi, first of all, I'm a newbie and I recently installed slide-rotate and 'm happy to do it successfully but them encounter problems coz I was using jalimo for executing applications created by myself and it was doing its job great but suddenly after this installation while executing the same command it gives me exception and I tried the swt example provided but it runs well. I'm using N810 with the lates software version. After the installation I flushed the kernel with the command $ /root/install-xrandr-kernel, can it be the cause or is there something else? And actually what happens by flushing the kernel? Also, if I want to get back the previous kernel what should I do? Thanks.

jaeezzy 2008-08-08 08:55

Re: Automatic screen rotate for N810
 
hi its all fine now. by the way if i uninstall sliderotate will it flash those kernel modules as well? if not, how can i flash the module. also does the cmd: /root/install-xrandr-kernel, takes up lot of space coz i found that only 20mb is left in my phone memory as it is supposed to be more isn't it coz i've not put much files in my phone's memory as i only use the internal and removable memory. thanks

st5150 2008-08-08 09:10

Re: Automatic screen rotate for N810
 
./root/install-xrandr-kernel takes up no space, it's just a script that runs on your tablet. So to find out how much space a directory is taking up, run the command du -sh I bet your /home/user directory contains the files taking up all your storage space.

Laughing Man 2008-08-08 12:56

Re: Automatic screen rotate for N810
 
Hmm, can't install latest update it days missing xulrunner (installed for fennec), the bzip package and conflicts with becomeroot.

emjayes 2008-08-08 13:33

Re: Automatic screen rotate for N810
 
New version 0.0.24 has dependency for rootsh, which conflicts with becomeroot.
This dependency is for making installation easier for end-users,
Only the installation is affected, the program itself is unaltered.
Also 0.0.24 will remove the debs in /root after installing, minimizing disk usage after successful install.
I will look into the dependency problem later.

st5150 2008-08-08 18:21

Re: Automatic screen rotate for N810
 
What's new or fixed in v 0.0.24?

emjayes 2008-08-08 18:38

Re: Automatic screen rotate for N810
 
Only the installation is affected, the program itself is unaltered.

Just to make the installation easier and self cleaning for those who seem to have trouble with root access and deleting 3 files manually.

Apparently it also screws the ones who already have another method of getting root shell (becomeroot). I will see what I can do about it.

Anybody having version 0.0.23 do not need to upgrade. No new functionality has been added.


See above post.

st5150 2008-08-08 23:28

Re: Automatic screen rotate for N810
 
Thanks for the info. Can you confirm which 3 files can be deleted?

emjayes 2008-08-09 06:52

Re: Automatic screen rotate for N810
 
the debs in /root since they are already installed.

fred - N810 2008-08-10 00:50

Re: Automatic screen rotate for N810
 
New newby question...
Where can we download sliderotate 0.0.24?
Thanks for your help
fred - N810

emjayes 2008-08-10 06:44

Re: Automatic screen rotate for N810
 
http://mikie.dy.fi/maemo/sliderotate-diablo.install

gaboxl42 2008-08-11 08:42

ummm....what???
 
Hi everyone...and Hi to the creator of this thread.

I'm writing cuz i have a brand new Nokia N810 Internet Tablet, already updated and running Diablo. I read all this thing, but i'm a little confused about the steps indicated. I mean, at the beginning says to ignore your blog entries and so, and i really don't know what to do.

I'll really apreciate if the creator of the blog gives me the simplified and step by step instructions to make my tablet's screen rotate work. (I'M A NEWBIE AT THIS, BUT I CAN PERFECTLY FOLLOW INSTRUCTIONS...LOL)

Thanks and i'll be eager waiting a reply.

emjayes 2008-08-11 09:12

Re: Automatic screen rotate for N810
 
Follow the link in the previous message with your tablet, then do as instructed.

ekarjala 2008-08-11 18:52

Re: Automatic screen rotate for N810
 
today's system update seems to be playing havoc with sliderotate. I have tried the install from scratch and the functionality is definitely broken.

emjayes 2008-08-11 19:52

Re: Automatic screen rotate for N810
 
rerunning /root/install-xrandr-kernel fixes it.

ekarjala 2008-08-11 21:06

Re: Automatic screen rotate for N810
 
Quote:

Originally Posted by emjayes (Post 212473)
rerunning /root/install-xrandr-kernel fixes it.

You are correct, as per usual. I thought I had done this already, but either way things are working again. Thanks!

gerrymoth 2008-08-11 21:18

Re: Automatic screen rotate for N810
 
Thanks Guys, this has been bugging me all day since I upgraded. I have SlideRotate back working :)

Laughing Man 2008-08-13 00:55

Re: Automatic screen rotate for N810
 
Hmm after doing the SSU upgrade, removing becomeroot, and rerunning /root/install-xrandr-kernel I could install the update without any problems. Dunno why though.

gemniii42 2008-08-13 11:47

Re: Automatic screen rotate for N810
 
Quote:

Originally Posted by emjayes (Post 173320)
<snip>
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.
<snip>

Having just reflashed and reinstalled twice this week I too am concerned how this will interact with the latest Diablo.
Quote:

Follow the link in the previous message with your tablet, then do as instructed.
and
Quote:

as you may brick your device while experimenting.
does not inspire confidence, it is more like leaping into the Grand Canyon and hoping a tree catches you, I've done it but would not advise others to do it.
Does one reflash the kernel and then have to reinstall apps?
Do we flash on the NIT alone?
thanks

konttori 2008-08-13 18:18

Re: Automatic screen rotate for N810
 
Just as an idea, perhaps you could create a small a small shell script and a .desktop file for it so that the script contains the /root/install-xrandr-kernel command and you'd put that script to the sudoers file on postinst of sliderotate. That would make installing the sliderotate much easier for the normal users (no gainroot needed and such).


| Prev |   3     4   5   6     7   | Next
All times are GMT. The time now is 21:02.

vBulletin® Version 3.8.8