LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-12-2015, 12:43 AM   #1
JayminD
LQ Newbie
 
Registered: Jun 2014
Location: INDIA
Distribution: UBUNTU, LINUX MINT, LXLE, KUBUNTU, ELEMENT OS, DEBIAN, FEDORA, MAJARO OS, LUBUNTU and many more
Posts: 11

Rep: Reputation: Disabled
Question How to rotate the LCD screen/framebuffer to 180 degree ?


I have one query regarding to frambuffer.

I have custom board with i.MX6Q SoC.

I am using Linux kernel 3.03.35 and LCD is 3.5 inch RGB type display.

I want to rotate my LCD screen to 180 degree. I tried a lot to pass parameters to > /sys/..../fbcon/rotate but nothing happen.

So Is there any way to rotating the screen without compiling the kernel. ?

Bcoz kernel compilation is my last option so I trying to rotate my screen via console Help me regarding oto this issue and give me solution for this.

I also founded some bit "IPU_ROTATE_180" in > /arch/arm/plat-mxc/include/mach/ipu.h and using by > /drivers/video/mxc/mxc_ipuv3_fb.c file.

I did some changes as below.

I passed "IPU_ROTATE_180" instead of "IPU_ROTATE_NONE" in "ipu_device.c" in > /drivers/mxc/ipu3/ but nothing change.

I also passed hard coded value (3 for 180 degree rotation as per enum) in "fbcon.c" file > / driver/video/console but nothing changes.

At where place/files/code should I changes in kernel tree ?

Please help me, its imp for me.

Thanks and Regards
Jaymin D
 
Old 03-14-2015, 03:30 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Here using fbterm (added to Slackware 14.1), this works:
Code:
fbterm -r 2
-r is the short form of the option --screen-rotate, 1 => 90, 2 => 180, 3 => 270.
 
  


Reply

Tags
framebuffer, lcd, rotation



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
How to rotate the LCD screen/framebuffer to 180 degree ? JayminD Linux - Software 1 03-12-2015 05:44 PM
How to rotate the LCD screen/framebuffer to 180 degree ? JayminD Linux - Hardware 2 03-12-2015 08:54 AM
How to rotate .mov 180 deg satimis Linux - General 5 12-11-2009 03:52 AM
Rotate screen 180° without accelerated XOrg drivers? lefty.crupps Linux - Desktop 3 10-19-2009 02:01 AM
LXer: Caution - 180 Degree Turnaround Ahead LXer Syndicated Linux News 0 01-07-2008 08:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:12 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
Open Source Consulting | Domain Registration