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)
-   -   How to rotate screen on os2008 (https://talk.maemo.org/showthread.php?t=17842)

emjayes 2008-10-02 12:25

Re: How to rotate screen on os2008
 
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.

jmjanzen 2008-10-06 19:23

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by lm2 (Post 228250)
You should just install sliderotate. It's the easiest way. Choose update/reinstall kernel in the settings that pop up. This will fix any problems.

I'm confused. Is the method on the wiki still the easiest method for a newbie like me, or can i just add "sliderotate" using application manager? (I have applied the most recent feature upgrade.) Perhaps the wiki should be removed, so as to prevent newbie confusion...

lm2 2008-10-06 19:26

Re: How to rotate screen on os2008
 
Sliderotate is the easiest way. If you have an n810, it's great because it'll switch to landscape automatically when the keyboard is open. If you have an n800, it's still good, since you can choose to have rotation occur when pressing either the home button or the power button once (or both). Press power button twice in a row to get the normal power menu.

st5150 2008-10-07 04:59

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by st5150 (Post 229414)
I uninstalled slideroate but it didn't completely restore my system to its pre-sliderotate state.... if I hold the home key for one second, it minimizes the open window. I still need to tap the power key twice to bring up the reboot menu. How do I restore these settings as well as anything else sliderotate modified durring its install, but did not restore durring its uninstall?

Quote:

Originally Posted by st5150 (Post 229419)
Thanks, can someone upload their unmodified /etc/mce/mce.ini from the latest diablo release ? Is there anything else sliderotate modified durring install but did not restore durring uninstall ?


I also noticed when I look under services, sliderotate left a service running. How do I uninstall / remove this service? I have a feeling there is still more I need to do to remove sliderotate from my NIT. What else am I missing?

ps- I still need an unmodified /etc/mce/mce.ini from the latest diablo SSU release.

emjayes 2008-10-07 06:26

Re: How to rotate screen on os2008
 
What service is still running?
Uninstalling should have removed the sliderotate service.

Code:

apt-get install --reinstall mce
will give you the pristine mce.ini

or just extract the deb with:
Code:

dpkg -x /var/cache/apt/archives/mce_1.7.20_armel.deb /tmp
and copy the file:
Code:

cp /tmp/etc/mce/mce.ini /etc/mce

st5150 2008-10-07 07:46

Re: How to rotate screen on os2008
 
Thanks a lot for the info! I never knew about --reinstall. I should really read up on apt-get more. Unfortunately the command didn't change the double tap of the power button required to bring up the reboot menu..... but dpkg -x worked great..... thanks for the trick. I've been lazy and never got around to picking up dpkg, thinking rpm would be all I'd ever need :-\

As for the service, I've added the package that allows me to turn on/off services via the control panel Extras menu. The sliderotate entry is still there. I don't see anything listed in ls –l /etc/rc2.d/S* though (actually rc0-6). /etc/init.d/sliderotate is still there. I should zap it.... as well as these:

/usr/lib/sliderotate/sliderotate.pyc
/var/lib/dpkg/info/sliderotate.list
/var/lib/dpkg/info/sliderotate.postrm

am I missing anything else here?







Off topic, but should I be worried about anything here?

# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
avahi-daemon canola2 kernel-diablo-flasher libdb4.2 libxml2 xserver-xomap
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.


Seeing kernel-diablo-flasher and xserver-xomap kind of worry me.

emjayes 2008-10-07 08:00

Re: How to rotate screen on os2008
 
You need to reboot or restart the mce to actually use the new config. Then your power button will work as usual.

st5150 2008-10-07 08:23

Re: How to rotate screen on os2008
 
Oh, I did reboot after the --reinstall but it didn't seem to work, but manually extracting and replacing the ini file did the trick (after rebooting). Thanks for the tips.

Got any idea on my upgrade output? Any way to know what repository those packages are coming from?

emjayes 2008-10-07 08:51

Re: How to rotate screen on os2008
 
Code:

apt-cache showpkg <package-name>
will show where the package comes from.

kernel-diablo-flasher and xserver-xomap are included in the output, since they are newer than the ones provided by the 36-5 update.

If you remove Mikie repository and update the package list, then they will no longer appear as held packages.

fadingdust 2008-10-29 04:56

Re: How to rotate screen on os2008
 
Is there a way to use the "back" key to rotate instead of power or home?

jmjanzen 2008-11-05 19:42

Re: How to rotate screen on os2008
 
I love this app, but I don't like it messing with my power button functionality. My finger's growing weary of double-tapping. Is there a way i can return the power button to normal without uninstalling the app?

Cadabena 2008-11-23 17:42

Re: How to rotate screen on os2008
 
I'll bump, I want to restore my single-click power button. Also, my rotate often stops working, only rotating the d-pad, which is a double pain. The only way to fix it, and get rotation back (before it goes again shortly after), is to reboot. Any suggestions?

Cadabena 2008-12-07 16:35

Re: How to rotate screen on os2008
 
Anyone? I'm getting sick of having to keep rebooting my tablet, and it's time consuming when I need it most.

dannemil 2008-12-22 15:35

Re: How to rotate screen on os2008
 
Don't get me wrong - this is cool - to be able to rotate the NIT into portrait mode, but isn't there an elephant in the room? It is almost useless unless you have some other way of launching apps. When I rotate and try to launch apps using the standard app launcher on my N810, the menus showing the various apps are almost off the screen, and I cannot move down through the list of apps using the stylus. So as it stands, it looks more like a proof of concept...that is unless someone can help me launch apps another way. I looked into powerlauncher, but it didn't look too user-friendly. I have years of linux experience, so I'm not afraid of tweaking things to get them to work, but I'm having trouble with this.

Benson 2008-12-22 16:02

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by dannemil (Post 251727)
Don't get me wrong - this is cool - to be able to rotate the NIT into portrait mode, but isn't there an elephant in the room? It is almost useless unless you have some other way of launching apps. When I rotate and try to launch apps using the standard app launcher on my N810, the menus showing the various apps are almost off the screen, and I cannot move down through the list of apps using the stylus. So as it stands, it looks more like a proof of concept...that is unless someone can help me launch apps another way. I looked into powerlauncher, but it didn't look too user-friendly. I have years of linux experience, so I'm not afraid of tweaking things to get them to work, but I'm having trouble with this.

Well, that's just Nokia following in their long tradition of encouraging open development by delivering bad software, so that others have to write open replacements. ;)
You can drag the navigator bar to the top/bottom, and put the app menu to the top of the list, so it shows up all the way on the left. Then you get the whole first column and part of the second showing; d-pad is still required to scroll down, though.

Or use Personal Menu.

bongo 2008-12-22 17:06

Re: How to rotate screen on os2008
 
Hi

Is there an update for the latest SSU?

qwerty12 2008-12-22 17:15

Re: How to rotate screen on os2008
 
I've built the latest xserver-xomap from the ssuwith the rotation patch (with a minor modification to actually get it to compile with rotation) and the latest kernel from the ssu with rotation and am using rotation in the latest ssu but I'm withholding on uploading anything until I can get proper webspace where I can set up a repo (much like http://outpo.st/rotate/ but for the latest SSU). rm_you, if you see this :)

bongo 2008-12-22 17:21

Re: How to rotate screen on os2008
 
What's the problem with outpo.st/rotate/ ?
I mean why searching for a new one when the old site could be extended ...

What are the requirements for your webspace? Maybe I can offer you something ...

qwerty12 2008-12-22 17:24

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by bongo (Post 251767)
What's the problem with outpo.st/rotate/ ?
I mean why searching for a new one when the old site could be extended ...

What are the requirements for your webspace? Maybe I can offer you something ...

Jott (the webmaster of that site) has been awol for a loong loong time now. Rotation in Maemo is possible because of his work and I'd rather not set up a new site but I don't know if we'll see him again. At least his site has not been updated for new ssu.
But agreed, it is odd setting up a new repo. I wonder when jott will be back.

emjayes 2008-12-22 19:13

Re: How to rotate screen on os2008
 
I will use your kernel and xserver for sliderotate package anyway, so I may as well host them :D
Email them to me and I will put them on my server.

I will update sliderotate to match the latest SSU but that will have to wait after the holidays, I might get yelled at by the kids and wife if I did that right now.

bongo 2008-12-22 19:56

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by emjayes (Post 251798)
I will update sliderotate to match the latest SSU but that will have to wait after the holidays, I might get yelled at by the kids and wife if I did that right now.

He he, if they only knew about the importance of sliderotate :D

pton 2009-01-02 23:23

Re: How to rotate screen on os2008
 
Updated rotation support for diablo 43-7 SSU release can be found here:
http://sse2.net/rotate/

It seems like osso-software-version-rx34-unlocked_1%3a5.2008.43-7_all.deb is missing -- but is it not necessary? I updated without this successfully. My OS version is correctly stating 43-7.

Solomon 2009-01-08 02:58

Re: How to rotate screen on os2008
 
i noticed the same thing...the osso-software-version-rx44*.deb is missing as well. I skipped it and didn't see any impact. does anyone who knows more about it have an opinion on if that was good idea?

Benson 2009-01-08 04:17

Re: How to rotate screen on os2008
 
You don't need to download that from there -- just an apt-get install osso-software-version-rx##-unlocked (where ## is 44 for N810, 34 for N800, etc.) should do it.

If you already had a -unlocked version, you're fine -- it gets upgraded in the SSU every time. If you didn't, though, installing rotation would remove your existing osso-software-version-rx##, leaving you without one, and breaking the next SSU.

Apt-getting it will fix it if it's wrong, and not hurt in any case, so if in doubt, do it.

a1mega 2009-01-24 16:57

Re: How to rotate screen on os2008
 
Wow! This should have been a "Feature" in OS2008. Is it possible to make this installation easier? Like something installable via the "Application Manager"?

grog 2009-01-26 18:29

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by Benson (Post 255329)
You don't need to download that from there -- just an apt-get install osso-software-version-rx##-unlocked (where ## is 44 for N810, 34 for N800, etc.) should do it.

If you already had a -unlocked version, you're fine -- it gets upgraded in the SSU every time. If you didn't, though, installing rotation would remove your existing osso-software-version-rx##, leaving you without one, and breaking the next SSU.

Apt-getting it will fix it if it's wrong, and not hurt in any case, so if in doubt, do it.

I guess I'm confused (again, what's new :rolleyes:). I've been ignoring this issue on my N810 for a while now but I'd like to get it fixed. When I install the SSU it removes my sliderotate option but when I reinstall xrandr support under the sliderotate settings my tablet wants to reinstall the SSU. I've installed osso-software-version-rx4-unlocked, but that hasn't corrected the situation. What am I doing wrong? TX

ken_5210 2009-01-28 00:55

Re: How to rotate screen on os2008
 
hey dude... i cant download the attachments.....

Benson 2009-01-28 01:01

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by grog (Post 260013)
I guess I'm confused (again, what's new :rolleyes:). I've been ignoring this issue on my N810 for a while now but I'd like to get it fixed. When I install the SSU it removes my sliderotate option but when I reinstall xrandr support under the sliderotate settings my tablet wants to reinstall the SSU. I've installed osso-software-version-rx4-unlocked, but that hasn't corrected the situation. What am I doing wrong? TX

IDK, maybe sliderotate's not updated yet? After you do the SSU, you can get the updated kernel and xserver packages from outpo.st, as described in the wiki.

GeraldKo 2009-01-28 20:11

Re: How to rotate screen on os2008
 
I'm trying to follow the qwerty12-based wiki for Rotating the Screen.

I have an N800 running Diablo 5.2008.43-7. It's enabled to boot off SD, but I'm working only from the flash-based system.

I cannot install libxrandr2_1.2.1-1_armel.deb, which is Step 6 in the wiki. When I try, the Tablet asks if I want to Install update? and shows only 0 kB as the Download size (although it lists Size as 53 kB). For Problems, all it says is "Unable to install libxrandr2. Incompatible application package." It doesn't specify the incompatibility.

I'm trying to install by simply double-clicking the .deb.

Any thoughts? Thanks in advance!

GeneralAntilles 2009-01-28 20:13

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by GeraldKo (Post 260578)
I'm trying to follow the qwerty12-based wiki for Rotating the Screen.

The itT wiki is deprecated. :)

http://wiki.maemo.org/Rotation

Quote:

Originally Posted by GeraldKo (Post 260578)
I cannot install libxrandr2_1.2.1-1_armel.deb, which is Step 6 in the wiki. When I try, the Tablet asks if I want to Install update? and shows only 0 kB as the Download size (although it lists Size as 53 kB). For Problems, all it says is "Unable to install libxrandr2. Incompatible application package." It doesn't specify the incompatibility.

xrandr became bundled in Diablo.

GeneralAntilles 2009-01-28 20:14

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by a1mega (Post 259677)
Is it possible to make this installation easier? Like something installable via the "Application Manager"?

jott made a great effort to make it so but, unfortunately, without wider infrastructure changes it's not really possible.

Basically your options are going to come down to Mer or Fremantle for "easy".

GeraldKo 2009-01-28 20:34

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by GeneralAntilles (Post 260579)
The itT wiki is deprecated. :)

http://wiki.maemo.org/Rotation



Thanks. That's a little worrisome as Merriam-Webster's first definition of "deprecate" is to pray against as an evil. I think that's just going too far.

OK, here's a newbie question: Looking at http://wiki.maemo.org/Rotation#N800, it appears to me that I have to manually type all of the following into X-term [and then press Enter]:

maemo-mini-curl -o kernel-diablo-flasher_2.6.21-200842maemo1rotationfast_all.deb http://outpo.st/rotate/kernel-diablo...onfast_all.deb
maemo-mini-curl -o xserver-xomap_1.3.99.0~git20070321-0osso20083801rotation_armel.deb http://outpo.st/rotate/xserver-xomap...tion_armel.deb
dpkg -i kernel-diablo-flasher_2.6.21-200842maemo1rotationfast_all.deb xserver-xomap_1.3.99.0~git20070321-0osso20083801rotation

I hope, and suspect, I'm misunderstanding. What's it trying to tell me?

GeneralAntilles 2009-01-28 20:38

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by GeraldKo (Post 260585)
Thanks. That's a little worrisome as Merriam-Webster's first definition of "deprecate" is to pray against as an evil. I think that's just going too far.

http://en.wikipedia.org/wiki/Deprecation ;)

Quote:

Originally Posted by GeraldKo (Post 260585)
I hope, and suspect, I'm misunderstanding. What's it trying to tell me?

Or copy'n'paste it over ssh.

GeraldKo 2009-01-28 20:54

Re: How to rotate screen on os2008
 
Shouldn't there be something on the front page of the iTT wiki saying that it's been deprecated? (I just went to the page there for which I bear most the responsibility and inelegantly prefaced it with advice about a later, better solution.)

GeneralAntilles 2009-01-28 21:04

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by GeraldKo (Post 260592)
Shouldn't there be something on the front page of the iTT wiki saying that it's been deprecated?

Déjà vu all over again.

Feel free to place one there, I'd kinda been leaving that up to Reggie myself, though.

lm2 2009-01-28 21:08

Re: How to rotate screen on os2008
 
This site provides pretty simple instructions that work for me.

grog 2009-01-28 21:09

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by Benson (Post 260318)
IDK, maybe sliderotate's not updated yet? After you do the SSU, you can get the updated kernel and xserver packages from outpo.st, as described in the wiki.

I never knew about the wiki entry & the advanced brightness app. I like it! :)

Thanks again.

GeraldKo 2009-01-29 03:34

Re: How to rotate screen on os2008
 
Hmm. I've tried implementing screen rotation, and I've used both

http://wiki.maemo.org/Rotation

and

http://sse2.net/rotate/

In both, all the commands seem to go through Xterm without any problems. (At one point I did get an installation error, but I did the same process again and it went through.) But when I go to Panels in the Control Panels, there is nothing new there, and my status bar looks the same, too. In other words, it seems that Nothing Changed, and I have no way to rotate the display.

I have no idea where anything I did with those two methods had an effect or was downloaded. Looking (in blue pill mode) at the Installed Apps, it doesn't seem like there is anything new there, either.

Any ideas? Thanks!

GeneralAntilles 2009-01-29 03:37

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by GeraldKo (Post 260695)
But when I go to Panels in the Control Panels, there is nothing new there, and my status bar looks the same, too. In other words, it seems that Nothing Changed, and I have no way to rotate the display.

Do you have Advanced Backlight installed?

GeraldKo 2009-01-29 03:50

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by GeneralAntilles (Post 260696)
Do you have Advanced Backlight installed?

No, I don't. Is it that it would have been a problem, or is that a prerequisite?


All times are GMT. The time now is 15:54.

vBulletin® Version 3.8.8