OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Ubuntu => Topic started by: zmike on January 14, 2009, 09:05:07 pm

Title: Zubuntu Rotation - Doesn't On Sl-c860
Post by: zmike on January 14, 2009, 09:05:07 pm
Regarding rotation, I saw some references to x11-xserver-utils and xrandr to get rotation working.
I have both but changing the orientation of my SL-C860 doesn't do anything.

Is there something I'm missing?

Thanks!
 Mike
Title: Zubuntu Rotation - Doesn't On Sl-c860
Post by: Capn_Fish on January 14, 2009, 10:31:05 pm
I suspect the /etc/zaurusd/... scripts aren't correct for the SL-Cxx0 models, and I don't know how to fix them (you could try taking them from Angstrom, I believe they work there).

Have you tried manually doing the rotation, eg:

Code: [Select]
xrander -o n
where 0 <= n <= 3?
Title: Zubuntu Rotation - Doesn't On Sl-c860
Post by: zmike on January 14, 2009, 10:58:19 pm
Thanks for the reply!
doing a manual rotate works but swinging the screen does nothing.
1 - portrait
0 - landscape

The events don't seem to trigger.

 - Mike
Title: Zubuntu Rotation - Doesn't On Sl-c860
Post by: cortez on January 15, 2009, 01:32:37 am
You're right, the hinge detection is b0rked somehow. I will have a look to find out if this can easily be fixed.
The same applies by the way to the Spitz and Akita models, auto-rotation doesn't work on these either.
Title: Zubuntu Rotation - Doesn't On Sl-c860
Post by: brontoZaurus on July 23, 2009, 06:33:29 am
something about landscape mode in console-only mode, it boots in portrait mode and this trick is only for X i think
Title: Zubuntu Rotation - Doesn't On Sl-c860
Post by: YoG on July 23, 2009, 03:47:46 pm
Quote from: Capn_Fish
I suspect the /etc/zaurusd/... scripts aren't correct for the SL-Cxx0 models, and I don't know how to fix them (you could try taking them from Angstrom, I believe they work there).

Have you tried manually doing the rotation, eg:

Code: [Select]
xrander -o n
where 0 <= n <= 3?

I think the problem is with the X authorization. Run:

Code: [Select]
xhost +
this will enable free access to the X server.
Also, I don't remember, but I think the states were switched in /etc/zaurusd/scripts/zaurus-hinge.conf in my case state 0 is landscape and state 2 is portrait.

update:
After rebooting there was no problem with the authorization.

YoG.
Title: Zubuntu Rotation - Doesn't On Sl-c860
Post by: brontoZaurus on July 24, 2009, 03:25:22 am
Ok, thanks man, i´ll give a try and post feedback!

Edited:

the main problem was that when is booting, THAT shell, boots in portrait mode, i have used only the RC1 filesystem and 2.6.31 rc3 Kernel and modules from cortez´s blog.
i need to use some patches or so¿?
today i have 8.04 running from microdrive working flawesly but i would like to upgrade. ext4 support, performance...
Title: Zubuntu Rotation - Doesn't On Sl-c860
Post by: YoG on July 24, 2009, 11:36:09 am
Quote from: brontoZaurus
...boots in portrait mode...

Well, to solve this all I had to do was to remove
Code: [Select]
xrandr -o rightform ~/.xinitrc

YoG