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)

emjayes 2008-08-13 18:40

Re: Automatic screen rotate for N810
 
Noted. Thanks

emjayes 2008-08-14 10:58

Re: Automatic screen rotate for N810
 
Update: version 0.0.25diablo
-removed dependency for rootsh (thanks for the idea Urho)
-automatic (re)installation for required packages by sliderotatesettings.
(SSU breaks rotation, reinstallation re-enables it)
-removed the need to start xterm and gain root access to install the required packages.
-automatic launch of sliderotatesettings if you try to rotate before installing the required kernel and xserver-xomap.
(also a minor annoyance for anyone updating from previous version, you will have to either (re)install the packages using the button or issue
Code:

gconftool -t bool -s /apps/rotate/xrandrsupport true
to make sliderotate stop launching sliderotatesettings when trying to rotate.

http://mikie.dy.fi/maemo/sliderotate-diablo.install

wipeout140 2008-08-15 14:14

Re: Automatic screen rotate for N810
 
I finally got round to trying out "sliderotate" it was version 0.0.25diablo everything is great, Thanks for putting in the time for application, this way is better then going through wiki way and am really liking automatic rotate on the nokia n810

Thanks Again. BTW is it ok to disable extras dev, ATM i disabled extras dev after install

jhford 2008-08-17 23:48

Re: Automatic screen rotate for N810
 
My N810 4.2008.30-2 no longer rotates when I press the power button. Any idea why? Will any other button trigger the rotation?
Thanks

emjayes 2008-08-18 09:46

Re: Automatic screen rotate for N810
 
If you just upgraded via SSU, you will have to go to Extras ->Sliderotatesettings and press the (re)install xrandr-kernel -button to re-enable the rotation.

possessedskier 2008-08-18 15:37

Re: Automatic screen rotate for N810
 
Quote:

Originally Posted by emjayes (Post 213621)
Update: version 0.0.25diablo

emjayes: I had to reflash a couple of weeks ago and just ran your new installation. Worked perfect. It's definitely a no-brainer now. Anybody should be able to do it. Great job!

jhford 2008-08-18 15:56

Re: Automatic screen rotate for N810
 
Quote:

Originally Posted by emjayes (Post 214835)
If you just upgraded via SSU, you will have to go to Extras ->Sliderotatesettings and press the (re)install xrandr-kernel -button to re-enable the rotation.

I just did that, and think I found a bug. If I uncheck the zoom option and save, it won't rotate, but it will when I recheck it and save.

qwerty12 2008-08-18 16:03

Re: Automatic screen rotate for N810
 
Quote:

Originally Posted by emjayes (Post 213621)
Update: version 0.0.25diablo
-removed dependency for rootsh (thanks for the idea Urho)

Just a note, writing to sudoers directly is dirty :)

How about instead making a file called
/etc/sudoers.d/sliderotate.sudoers :
user ALL = NOPASSWD: /usr/local/bin/install-xrandr-kernel

And calling update-sudoers || true from the postinst?

emjayes 2008-08-19 06:43

Re: Automatic screen rotate for N810
 
New version: 0.0.26diablo

Bugfix: Unchecking "Make Zoom..." stopped rotation working is now fixed.
Root access fixed as per qwerty12's note.

emjayes 2008-08-19 11:10

Re: Automatic screen rotate for N810
 
New version: 0.0.27diablo
Bugfix: Using sounds should not drain battery as much as before.

redebord 2008-08-19 12:01

Re: Automatic screen rotate for N810
 
I made the mistake of attempting to install earlier versions which did appear via the app menu once i added your repository. I have a botched slide rotate install and cannot remove it or update it. sliderotatesettings is a dead link. I assume I should re-install everything, but cannot get to a point where I can do that.
Any assistance is greatly appreciates.

redebord
nokia n810 diablo latest kernel

XTC 2008-08-19 12:06

Re: Automatic screen rotate for N810
 
Give me my "power button" menu back! :)
I disabled usage of power button to change orientation but still don't have standard power-button menu. How can I enable "offline mode" then?

emjayes 2008-08-19 12:29

Re: Automatic screen rotate for N810
 
Quote:

Originally Posted by XTC (Post 215242)
Give me my "power button" menu back! :)
I disabled usage of power button to change orientation but still don't have standard power-button menu. How can I enable "offline mode" then?

Press the button twice.

emjayes 2008-08-19 12:35

Re: Automatic screen rotate for N810
 
Quote:

Originally Posted by redebord (Post 215241)
I made the mistake of attempting to install earlier versions which did appear via the app menu once i added your repository. I have a botched slide rotate install and cannot remove it or update it. sliderotatesettings is a dead link. I assume I should re-install everything, but cannot get to a point where I can do that.
Any assistance is greatly appreciates.

redebord
nokia n810 diablo latest kernel

What happens if you go to Application manager - > Check for updates.

Do you see a newer version of sliderotate?
Try updating that.

If not, go to Show installed apps, click sliderotate to uninstall it, then go to Browse installable applications and reinstall it.

If these steps fail, you will need to fix your repositories by going to xterm, and type:
Code:

sudo gainroot
apt-get install -f
apt-get update
apt-get install --reinstall sliderotate

that should do it.

Of course you will need to have either becomeroot, rootsh or other package providing root access unless your device is in r&d mode, which it probably is not.

emjayes 2008-08-19 16:47

Re: Automatic screen rotate for N810
 
I hate it when people ask questions in private messages, and don't keep their mailbox clean so I can reply.

Anyway, here is the correspondence, in case it may interest anyone else.:

Quote:

Originally Posted by dxitt
Quote:

Originally Posted by emjayes
Quote:

Originally Posted by dxitt
Hi, Since I consider to purchase an n810 wimax, I'd like to check with you, the expert, if the patched kernel and procedures that work on regular n810 diablo will also work on the wimax edition? Please let me know.

Thanks a lot and keep up the good work!

-DX

As I don't have access to a Wimax edition, I have not been able to test it, but AFAIK it should work.

Basically the only difference between a regular and Wimax versions are the extra radio for Wimax, which may be the only component not working if problems arise. You can fix this easily by reflashing with the original kernel if necessary.

Go ahead, buy one and let me know how it works for you.

Even if it didn't work, you will not break it by trying.

will do that and let you know.
Btw, do you think sliderotate can be affected by regular OS update in application manager? I'm concerned that kernel update may mess up m system cuz sliderotate applied a patched kernel and everything that works with it.

Thanks.

Please, use this thread for your questions, most of them are already replied to there.
http://www.internettablettalk.com/fo...ad.php?t=19447
So I don't have to answer the same questions over and over again.

Yes, SSU will screw the sliderotate, that's why there is a (re)install xrandr-kernel -button in the sliderotatesettings.

redebord 2008-08-20 12:45

Re: Automatic screen rotate for N810
 
emjayes...thx for the reply.

Yes, I do see the latest slide rotate (0.0.27) in the update list, but I get the "unable to update" error and no details. I have tried to remove it from installed apps and I get a message "unable to remove". the icon in app manager shows it as a busted app. I have tried to remove all apps that i know were associated with it as well assuming there was some leftover dependency...no luck.
Let me try the xterm scripts and see if that works.

Thanks...

redebord 2008-08-20 16:10

Re: Automatic screen rotate for N810
 
Quote:

Originally Posted by redebord (Post 215712)
emjayes...thx for the reply.

Yes, I do see the latest slide rotate (0.0.27) in the update list, but I get the "unable to update" error and no details. I have tried to remove it from installed apps and I get a message "unable to remove". the icon in app manager shows it as a busted app. I have tried to remove all apps that i know were associated with it as well assuming there was some leftover dependency...no luck.
Let me try the xterm scripts and see if that works.

Thanks...

Tried the above scripts. Did find in that process that I am missing xrandr. Also, the above process did not work to remove/reinstall sliderotate. Still have broken app and the icon in Extras does nothing so I can get to a point to re-install xrandr. Short of reflashing...I am at a loss on other option to remove the bugged install. I did fond a descent walkthrough for getting xrandr and will try that tonight.

emjayes 2008-08-20 16:13

Re: Automatic screen rotate for N810
 
http://mikie.dy.fi/maemo/dists/diabl....2-0_armel.deb
this is the one that you already should have. Try downloading and installing it.

Underscore 2008-08-21 00:19

Re: Automatic screen rotate for N810
 
Hi Emjayes, I love sliderotate. But I <i>think</i> I'm having some problems with it. It's been working fine for weeks now, even after that Diablo update, but just recently, the screen started acting up after about 5 mins after rotation. Every few seconds, it flickers completely black. This might be a problem with the brightness/volume app, or something totaly unrelated, like hardware failure (God, please no). I need some more time to troubleshoot though. Has anyone else been having problems with this?

ekarjala 2008-08-22 14:38

Re: Automatic screen rotate for N810
 
.27 is working great -- thanks for the constant improvements!

kteak 2008-08-23 18:35

Re: Automatic screen rotate for N810
 
Quote:

Originally Posted by pwsn (Post 208426)
When i rotate to portrait and and open the keyboard it switches back to landscape fine. When i close, it doesn't go back to portrait. I've tried the box checked and unchecked. And it seems to have stopped working alltogether after a reboot.

Something i'm missing?

I have this problem too. Reinstalling sliderotate won't fix this. Rotating via advanced-backlight applet works fine. Rotating using xrandr -command works fine also.

Any ideas?

Naranek 2008-09-01 08:28

Re: Automatic screen rotate for N810
 
I installed the sliderotate and it seems to work pretty well. However my first install failed because I didn't have my network connection on. You might want to add an instruction to keeping it enabled.

My power-button is also still working badly. I would like to use it like before so I can easily lock the tablet, but I need to doubleclick it to get the menu. Single click would be great, or even better if you could make it just lock the device and shut down the screen on single, menu on double.

Thanks for a great enhancement :)

emjayes 2008-10-02 12:25

Re: Automatic screen rotate for N810
 
I just upgraded the sliderotate to match the latest SSU. (seamless my ***)
The version numbering has also been changed to reflect the needed SSU version.
Therefore current version is 4.2008-36-5.28 where .28 is the sliderotate version prefixed with the current SSU.

I had a lot of trouble getting the latest SSU installed because I ran out of space.
My solution was :

Code:

mkdir /media/mmc2/archives
mv /var/cache/apt/archives/* /media/mmc2/arcives
rmdir /var/cache/apt/archives
ln -s /media/mmc2/archives /var/cache/apt/archives

and redo the installation.

If you already have sliderotate installed, you may not be able to do the SSU.
remove it, do the SSU and reinstall sliderotate using Application manager.

To make things even worse, this seems to fail sometimes.
If this happens, it must be installed with apt.
Code:

sudo gainroot
apt-get update
apt-get install -f
apt-get install sliderotate

I will look into the installation problems as soon as possible, but this will have to do now.

grog 2008-10-02 15:23

Re: Automatic screen rotate for N810
 
Quote:

Originally Posted by emjayes (Post 229656)
[...snip...]
To make things even worse, this seems to fail sometimes.
If this happens, it must be installed with apt.
Code:

sudo gainroot
apt-get update
apt-get install -f
apt-get install sliderotate

I will look into the installation problems as soon as possible, but this will have to do now.

Here's my failed result of the third command:

Code:

+ rootsh apt-get install sliderotate
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  kernel-diablo-flasher osso-software-version-rx44-unlocked
  rotation-support-n810 xserver-xomap
The following packages will be REMOVED:
  osso-software-version-rx44
The following NEW packages will be installed:
  osso-software-version-rx44-unlocked rotation-support-n810 sliderotate
The following packages will be upgraded:
  kernel-diablo-flasher xserver-xomap
2 upgraded, 3 newly installed, 1 to remove and 72 not upgraded.
Need to get 6598B/2237kB of archives.
After unpacking 1090kB of additional disk space will be used.
Do you want to continue [Y/n]? WARNING: The following packages cannot be authenticated!
  kernel-diablo-flasher xserver-xomap rotation-support-n810 sliderotate
Install these packages without verification [y/N]? Get:1 http://catalogue.tableteer.nokia.com ./ osso-software-version-rx44-unlocked 1:4.2008.36-5 [6598B]
Failed to fetch http://catalogue.tableteer.nokia.com/updates/diablo-2/./osso-software-version-rx44-unlocked_4.2008.36-5_all.deb  Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Fetched 1B in 0s (1B/s)

I have not yet tried the '--fix-missing' switch. TX

emjayes 2008-10-02 15:30

Re: Automatic screen rotate for N810
 
try this:
Code:

wget http://mikie.dy.fi/maemo/dists/diablo/user/binary-armel/osso-software-version-rx44-unlocked_4.2008.36-5_all.deb
dpkg -i osso-software-version-rx44-unlocked_4.2008.36-5_all.deb
apt-get install sliderotate

You seem to be getting the wrong osso-software-version
That should fix it
I fought over that part for quite some while too, and forgot it apparently :D

grog 2008-10-02 17:12

Re: Automatic screen rotate for N810
 
Quote:

Originally Posted by emjayes (Post 229718)
try this:
Code:

wget http://mikie.dy.fi/maemo/dists/diablo/user/binary-armel/osso-software-version-rx44-unlocked_4.2008.36-5_all.deb
dpkg -i osso-software-version-rx44-unlocked_4.2008.36-5_all.deb
apt-get install sliderotate

You seem to be getting the wrong osso-software-version
That should fix it

Unfortunately not. The error I get when trying to install is:
Code:

osso-software-version-rx44-unlocked conflicts with osso-software-version-variant
I have osso-software-version-variant already installed but it doesn't list a version. Shouild I try un-installing it? TX

emjayes 2008-10-03 10:43

Re: Automatic screen rotate for N810
 
Refresh the repos, and try again.
I had a typo in package control file which may be what prevents sliderotate from installing correctly.
If necessary, uninstall sliderotate first, then do the SSU to 4.2008.36-5, then install sliderotate again.
Check that the version is 4.2008.36-5.28 not 4-2008.36-5.28 (the broken one)
If you see the one with the dash, update the repos again.
sliderotate-4.2008.36-5.28 should install quite cleanly.

grog 2008-10-03 12:41

Re: Automatic screen rotate for N810
 
Quote:

Originally Posted by emjayes (Post 230089)
Refresh the repos, and try again.
I had a typo in package control file which may be what prevents sliderotate from installing correctly.
If necessary, uninstall sliderotate first, then do the SSU to 4.2008.36-5, then install sliderotate again.
Check that the version is 4.2008.36-5.28 not 4-2008.36-5.28 (the broken one)
If you see the one with the dash, update the repos again.
sliderotate-4.2008.36-5.28 should install quite cleanly.

Worked like a charm right from the Application Manager (FWIW I had previously un-installed sliderotate) THANKS!! :) :)

bongo 2008-10-03 12:44

Re: Automatic screen rotate for N810
 
Is there a way to fix the ugly looking home wallpaper in portrait mode?

emjayes 2008-10-03 12:46

Re: Automatic screen rotate for N810
 
Yes. Don't use one.
That's how I fixed it :D
Just plain black color with echo theme is what I have

bongo 2008-10-03 12:49

Re: Automatic screen rotate for N810
 
:D this is a known solution

But I would like an other fix so I can use an 800x800 wallpaper

sMiLo 2008-10-08 02:01

Re: Automatic screen rotate for N810
 
Hello, I'm newbie using N810 contained chinook (2.2007.51-3).
According to emjayes's instruction, I tried to install this file. (http://mikie.dy.fi/maemo/rotate.install).
But I have some error message.

Sliderotate don't support chinook now?
Thanks. :)

rs-px 2008-10-30 13:05

Re: Automatic screen rotate for N810
 
Many thanks for this excellent app!

One bug I noticed seems to be the color depth is reduced in landscape mode. The desktop theme looks a little grainy.

I might be wrong but I'd like to hear what others have to say.

Dr Tran 2008-11-05 07:05

Re: Automatic screen rotate for N810
 
I didnt like this app and removed it.

I think it did something to the power menu and forces two taps to get the menu. How can I get one tap to get the power menu again?

Gourmand 2008-11-05 09:22

Re: Automatic screen rotate for N810
 
is there any good tool to rotate screen in Diablo?

claesbas 2008-11-08 13:17

Re: Automatic screen rotate for N810
 
Quote:

Originally Posted by Gourmand (Post 239478)
is there any good tool to rotate screen in Diablo?

install the advanced backlight applet.. it has got rotate screen support.. works very well

i have problems with my home button after installing this on my n810.. i does not work at all anymore. I have unticked all things in "slide rotate settings".. anyone knows how to fix?

eyco 2008-11-08 14:04

Re: Automatic screen rotate for N810
 
damm i lost the power button manu option after installtion!! how can i fix it?

Gourmand 2008-11-15 17:19

Re: Automatic screen rotate for N810
 
Quote:

install the advanced backlight applet..
installed but I don't see rotation buttons below brightness and volume sliders :(

lm2 2008-11-16 15:46

Re: Automatic screen rotate for N810
 
emjayes, it's the weirdest thing. Yesterday, after replacing my external SD card with a new one, and then installing the latest update of Canola, the power button no longer rotates. Neither does the home button. But I can still rotate using the Advanced Backlight App.

Any ideas?

Gourmand 2008-11-17 18:08

Re: Automatic screen rotate for N810
 
guys, does this advanced backlight require Red Pill mode and kernel flash?

I don't wanna flash anything in Diablo... this must not be...


All times are GMT. The time now is 20:52.

vBulletin® Version 3.8.8