LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Closed Thread
  Search this Thread
Old 03-12-2015, 12:42 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-12-2015, 04:20 AM   #2
kuser:)
Member
 
Registered: Sep 2005
Location: Olsztyn, Poland
Distribution: Slackware 14.1
Posts: 168

Rep: Reputation: 99
Not sure if that's what you're looking for but, I did:
Code:
bash-4.2$ apropos rotate
and one of the strings is:
Code:
Xrandr []            (3)  - X Resize, Rotate and Reflection extension
which has a "rotation" and "current_rotation" arguments.
 
Old 03-12-2015, 08:54 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Moderator response

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate of http://www.linuxquestions.org/questi...ee-4175536476/

Last edited by onebuck; 03-12-2015 at 08:56 AM.
 
  


Closed Thread

Tags
lcd display



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 .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
rotate framebuffer Jurrian Linux - Embedded & Single-board computer 1 04-13-2009 01:48 PM
LXer: Caution - 180 Degree Turnaround Ahead LXer Syndicated Linux News 0 01-07-2008 08:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:06 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