LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Firefox OS, Sailfish OS, Maemo, MeeGo, Ubuntu Mobile, WebOS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

Notices



Reply
 
Search this Thread
Old 09-28-2010, 03:17 AM   #1
rogerbowering
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Rep: Reputation: 0
Smile Rotating screen on Android/Linux/Windows CE Tablet


I bought a Smart Q triple boot tablet (somehow the Windows CE OS doesn't launch, just reamians on "Loading...." but that's a separate question, where's the Windows CE/Andorid/Tablet forums? )

I like the Linux OS on this device best, especially as the Android OS screen is so badly calibrated and there doesn't seem any option to change it.

The one thing the Linux OS doesn't seem to do on this device is rotate the screen - it's permanently in landscape mode. Does any one know if it's
a) possible
b) how to rotate the screen to I can use apps, especially web pages and ebooks in portrait mode

If I've missed any technical info you need for me to add, please let me knwow
 
Old 09-28-2010, 08:16 PM   #2
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
You should be able to use the RANR parts of X to rotate the screen but without a gravity sensor it won't be automatic. Which desktop environment do you use?

Regards,

Alunduil
 
Old 09-29-2010, 03:01 AM   #3
rogerbowering
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Thannks for the reply

Unfortunately I don't understand "..the RANR parts of X", I'm not very technical nor very knowledgable of Linux

I don't mind rotating it manually as I'd probably keep it in portrait except for movies. Maybe there's some kind of batch-style program I could write to manage rotation?

Are you inferring there would probably need to be some programming of some sort to fix this and if so, could you let me know in baby steps please?

As for desktop environment, I assume you mean the device itself, how do I determine this. If you do mean my PC desktop it's Windows XP
 
Old 10-04-2010, 05:56 AM   #4
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Can you elaborate on what you call Linux OS? There are several OS that use the linux kernel, Android being one of them. Maemo supports landscape and portrait mode out of the box.
 
Old 10-04-2010, 08:42 AM   #5
rogerbowering
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Hi thanks for replying

I think it's Ubuntu. Maybe a daft question, but is there a way of checking...sort of Help, ABout...

It's a SmartQ V7 device

Is this enough to go on?
 
Old 10-04-2010, 10:07 AM   #6
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Can you please post the output of that command:
Code:
cat /etc/issue
 
Old 10-04-2010, 12:10 PM   #7
rogerbowering
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Ubuntu 9.10 \n \l
 
Old 10-04-2010, 02:35 PM   #8
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
You can try the xrandr command.

For portrait mode (left side):
Code:
xrandr -o left
For portrait mode (right side):
Code:
xrandr -o right
For landscape mode (normal):
Code:
xrandr -o normal
For landscape mode (inverted):
Code:
xrandr -o inverted
 
Old 10-04-2010, 02:36 PM   #9
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
You can try the xrandr command.

For portrait mode (left side):
Code:
xrandr -o left
For portrait mode (right side):
Code:
xrandr -o right
For landscape mode (normal):
Code:
xrandr -o normal
For landscape mode (inverted):
Code:
xrandr -o inverted
 
Old 10-04-2010, 02:46 PM   #10
rogerbowering
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you for replying so quickly but

xrandr -o left
"X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request 149 (RANDR)
Minor opcode of failed request 2 (RRSetScreenConfig)
Serial number of failed request 14
Current serial number in output screen"


Same error for xrandr -o right

Just to check

It's all in lowercase
it is th
 
Old 10-04-2010, 02:47 PM   #11
rogerbowering
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Original Poster
Rep: Reputation: 0
t....the letter "o" after the "-"?
 
Old 10-04-2010, 03:18 PM   #12
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Yes, you typed it correctly. Unfortunately it looks like the graphic driver does not support this operation. I'm afraid you have to wait someone update the driver or implement a workaround.
Sorry, I don't have any better solution for now.
 
Old 10-04-2010, 03:22 PM   #13
rogerbowering
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Original Poster
Rep: Reputation: 0
That was kind of you especially as I'm not very technical

I'm pretty sure the graphics driver is fine with rotation as the device is triple-boot:
Android 1.6, Linux and Windows CE,
and the Android and WinCE OSs can rotate without problems
 
Old 10-05-2010, 03:27 AM   #14
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,973

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Hi,

For xrandr to work in X, you must enable it in xorg.conf. So edit /etc/X11/xorg.conf and add
Code:
Option "RandRRotation" "true"
among the other options in the device section of your vga card.
 
Old 10-06-2010, 03:08 AM   #15
rogerbowering
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you

Unfortunately I'm getting th following error:
Warning: unknown mime-type for "/etc/X11/xorg.conf" -- using "application/octet-stream"
Error: no write permission for file "/etc/X11/xorg.conf"

I think this is where my total lack of command line Linux lets me down as I could probably solve these two issues in Windows but I've no idea what commands to use in Linux. Also I'm not sure how to get root permission (if needed). The password doesn't appear to be 'alpine'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I install one of the Linux distros ona Google Android Tablet? neilmaclennan Linux - Newbie 1 09-01-2010 10:20 AM
LXer: Cisco To Have An Android Tablet Of Their Very Own LXer Syndicated Linux News 0 06-29-2010 06:00 PM
LXer: Archos posts 'full' Linux distro for Android tablet LXer Syndicated Linux News 0 02-08-2010 12:50 PM
Best Linux distro for iMotion tablet - rotating pictures Trader2699 Linux - Newbie 1 10-06-2009 12:01 PM
rotating the screen delos Suse/Novell 1 12-11-2005 05:07 AM


All times are GMT -5. The time now is 04:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration