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)

wipeout140 2008-06-26 14:44

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by qwerty12 (Post 196143)
Actually, I found I could run flash-and-reboot as the normal user :/

Thanks for the information :)

thp 2008-06-26 18:50

Re: How to rotate screen on os2008
 
wow, this is way too cool and really easy to do. just curious: is this going to be added "by default" in some upcoming version?

lm2 2008-06-26 18:59

Re: How to rotate screen on os2008
 
My guess is that no one knows. But the lack of rotation support was a major complaint by users around here for a long time. Given how delightful the tablet is in portrait mode, especially when spoofing an iphone's user agent, I'd say we'd better just count our lucky stars that we are able to implement it ourselves fairly easily.

BTW, for those who don't know about the iphone spoof trick and want to try it, enter the following into the address bar of your browser and wait for it to process:

Code:

about:config?prefname=general.useragent.override&prefvalue=Mozilla%2F5.0+%28N8x0+like+iPhone%3B+U%3B+Linux+like+Mac+OS+X%3B+ARM%3B+en%29+AppleWebKit%2F420%2B+%28Gecko%2C+like+KHTML%29
To unspoof, enter this:

Code:

about:config?prefname=general.useragent.override&prefvalue=Mozilla%2F5.0+%28X11%3B+U%3B+Linux+armv6l%3B+en-US%3B+rv%3A1.9a6pre%29+Gecko%2F20070807+Firefox%2F3.0a1+Tablet+browser+0.1.16+RX-34%2BRX-34_2008SE_2.2007.50-2
With spoof enabled, sites like gmail, http://www.google.com/reader/i , and Powerset (wikipedia) work like a dream.

ADDING...: Once your browser has processed the command, go to "Add Bookmark" and add "iphone spoof" and "iphone unspoof" (or whatever), respectively, and then you'll be able to switch back and forth when you want.

daperl 2008-06-26 19:06

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by qwerty12 (Post 196034)
Ok, here is prefered way of installing rotation into diablo.

Why? Because all these packages are from diablo, not from chinook. I recompiled all of these using diablo sources, libs & SDK.

And also, you are using a chinook kernel in diablo. Works but if you can have the diablo one (which is better, why not)

1. Unzip this to your memory card: http://rapidshare.com/files/125096576/Rotate.zip.html
2. Set the tablet into red pill mode: http://maemo.org/community/wiki/appl...erredpillmode/
3. Install the packages in this order:
  • libxrandr2_1.2.1-1_armel.deb
  • xserver-xomap_1.3.99.0~git20070321-0osso20074202_armel.modfied.deb
  • rotate-sb-plugin_0.1-1_armel.deb
  • kernel-diablo-flasher_2.6.21-200823maemo3_all.modfied.deb
4. Open up "X-Terminal" and run flash-and-reboot.
5. Enjoy.

dude, I have a dual-boot and flash-and-reboot says it's gonna flash my initfs. What's in there and do I need it for rotation? I'd rather not flash it if I don't have to. Thanks.

qwerty12 2008-06-26 19:11

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by daperl (Post 196265)
dude, I have a dual-boot and flash-and-reboot says it's gonna flash my initfs. What's in there and do I need it for rotation? I'd rather not flash it if I don't have to. Thanks.

The kernel is needed but as for the initfs, you can run mv on that initfs file it mentions and move it to a memory card and rerun flash and reboot and it will only offer to flash kernel.

daperl 2008-06-26 19:25

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by qwerty12 (Post 196266)
The kernel is needed but as for the initfs, you can run mv on that initfs file it mentions and move it to a memory card and rerun flash and reboot and it will only offer to flash kernel.

From the time stamp I think it might be my last flashed initfs anyway. Not sure without looping it. Thanks again and keep up the excellent work.

jhford 2008-06-26 21:24

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by qwerty12 (Post 196034)
Ok, here is prefered way of installing rotation into diablo.

Why? Because all these packages are from diablo, not from chinook. I recompiled all of these using diablo sources, libs & SDK.

And also, you are using a chinook kernel in diablo. Works but if you can have the diablo one (which is better, why not)

1. Unzip this to your memory card: http://rapidshare.com/files/125096576/Rotate.zip.html
2. Set the tablet into red pill mode: http://maemo.org/community/wiki/appl...erredpillmode/
3. Install the packages in this order:
  • libxrandr2_1.2.1-1_armel.deb
  • xserver-xomap_1.3.99.0~git20070321-0osso20074202_armel.modfied.deb
  • rotate-sb-plugin_0.1-1_armel.deb
  • kernel-diablo-flasher_2.6.21-200823maemo3_all.modfied.deb
4. Open up "X-Terminal" and run flash-and-reboot.
5. Enjoy.

Can't install kernel-diablo-flasher_2.6.21-200823maemo3_all.modfied.deb because dependency flash-and-reboot is missing.

Benson 2008-06-26 22:08

Re: How to rotate screen on os2008
 
Are you running Diablo?

qwerty12 2008-06-26 22:14

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by jhford (Post 196333)
Can't install kernel-diablo-flasher_2.6.21-200823maemo3_all.modfied.deb because dependency flash-and-reboot is missing.

Enable diablo extras.
apt-get -f install.

jhford 2008-06-26 23:55

Re: How to rotate screen on os2008
 
Quote:

Originally Posted by qwerty12 (Post 196365)
Enable diablo extras.
apt-get -f install.

Everything installed, but even though the Rotate Status Bar Plugin is available in Control Panel > Panels it's not available in the Status Bar. Also, before flashing, the power button was programmed to rotate. That doesn't seem to work in this iteration.
Thanks


All times are GMT. The time now is 12:16.

vBulletin® Version 3.8.8