OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: tml on June 04, 2006, 01:49:46 pm

Title: Disable Rotation (c3100)
Post by: tml on June 04, 2006, 01:49:46 pm
Hi,

Is there a way to disable screen rotation? I have a c3100. On resume, the c3100 sometimes wakes up with the screen wrongly rotated. I use the c3100 always in clamshell mode (i.e. as a mini laptop) so I don't need this automatic rotation thing. I nevertheless would like to keep the possibility to rotate the screen manually.

Any help?

Regards,
Thomas.
Title: Disable Rotation (c3100)
Post by: daniel3000 on June 04, 2006, 01:54:15 pm
Hi THomas,

I assume it only happens when you suspend the Zaurus by closing the screen?
THen that's because the "screen rotaion" switch in the screen hinge is activated before the "suspend" switch.
Maybe a software approach would be to delay the software routine which handles the rotation switch. But no idea how to do that.

A workaround would be to always suspend using the OnOff button before closing the screen.
That's how I avoid that.

But I'd also be interested in another solution.
However, I'd prefer rotation mode to be available (but maybe only manually), since in rare cases I'd still like to use it, e.g. for reading ebooks with opie reader.

daniel
Title: Disable Rotation (c3100)
Post by: tml on June 08, 2006, 12:42:12 am
Quote
I assume it only happens when you suspend the Zaurus by closing the screen?
THen that's because the "screen rotaion" switch in the screen hinge is activated before the "suspend" switch.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=129739\"][{POST_SNAPBACK}][/a][/div]

Thanks for this tip. I didn't think of that as I assumed all of this happens when turning the c3100 on. I still wish though there was a way to turn automatic rotation off. I searched /etc/rc.d but didn't find anything suitable. Oh well.
Title: Disable Rotation (c3100)
Post by: Jiba on July 15, 2008, 06:56:07 pm
I also want to disable screen rotation, because I use the Zaurus in tablet mode only for viewing photo.

Here is the solution I found : edit all .desktop files in /opt/Qtopia/apps/*/ and replace :

Display=640x480/144dpi,480x640/144dpi

By :

Display=640x480/144dpi

This will forbid screen rotation for all these applications (you need to restart QTopia before it is taken into account).