Author Topic: Zubuntu Rotation - Doesn't On Sl-c860  (Read 8305 times)

zmike

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
    • http://
Zubuntu Rotation - Doesn't On Sl-c860
« 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
SLC860, Zubuntu, Symbol Spectrum24 Wireless CF, 4GB SD Card

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Zubuntu Rotation - Doesn't On Sl-c860
« Reply #1 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?
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

zmike

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
    • http://
Zubuntu Rotation - Doesn't On Sl-c860
« Reply #2 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
SLC860, Zubuntu, Symbol Spectrum24 Wireless CF, 4GB SD Card

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Zubuntu Rotation - Doesn't On Sl-c860
« Reply #3 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.
« Last Edit: January 15, 2009, 01:35:00 am by cortez »
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

brontoZaurus

  • Newbie
  • *
  • Posts: 48
    • View Profile
Zubuntu Rotation - Doesn't On Sl-c860
« Reply #4 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

YoG

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Zubuntu Rotation - Doesn't On Sl-c860
« Reply #5 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.
« Last Edit: July 23, 2009, 03:50:15 pm by YoG »
C860 Autobuilt Angstrom (OPIE) & Zubuntu 9.04  dual boot using kexec
SanDisk SDHC 4GB, Agiwara Sys-Com CF 1GB, Sandisk CF 256MB, Socket BT, Linksys WCF12 Wifi card, RoyalTek RBT-1000 Bluetooth GPS
yogzlog.blogspot.com

brontoZaurus

  • Newbie
  • *
  • Posts: 48
    • View Profile
Zubuntu Rotation - Doesn't On Sl-c860
« Reply #6 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...
« Last Edit: July 24, 2009, 03:35:17 am by brontoZaurus »

YoG

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Zubuntu Rotation - Doesn't On Sl-c860
« Reply #7 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
C860 Autobuilt Angstrom (OPIE) & Zubuntu 9.04  dual boot using kexec
SanDisk SDHC 4GB, Agiwara Sys-Com CF 1GB, Sandisk CF 256MB, Socket BT, Linksys WCF12 Wifi card, RoyalTek RBT-1000 Bluetooth GPS
yogzlog.blogspot.com