From: Mohamed Thalib H <hmthalib@gmail.com>
To: linux-omap <linux-omap@vger.kernel.org>
Subject: Error while rotating LCD fb - detected fb_set_par error, error code: -22
Date: Fri, 27 May 2011 15:40:19 +0530 [thread overview]
Message-ID: <4DDF788B.5030906@gmail.com> (raw)
Hi,
I am using a omap3530
<http://focus-webapps.ti.com/general/docs/sitesearch/searchdevice.tsp?partNumber=omap3530>
based board. I am trying to rotate the LCD
using*/sys/class/graphics/fb0/rotate*. The rotation works only for 0
degree and 270 degrees.
When trying to rotate for 90 or 180 degree it give error message
*detected fb_set_par error, error code: -22 *and does not rotate.
The log output is below.*
*
/ # cat /proc/cmdline
omapdss.def_disp=lcd30 console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw
rootfstype=ext3
rootwait lpj=1949696 omapfb.rotate=1 omapfb.rotate_type=1
omap_vout.vid1_static_vrf
b_alloc=y omapfb.vrfb=y
/ # echo "0" > /sys/class/graphics/fb0/rotate
detected fb_set_par error, error code: -22
/ # echo "1" > /sys/class/graphics/fb0/rotate
/ # echo "2" > /sys/class/graphics/fb0/rotate
detected fb_set_par error, error code: -22
/ # echo "3" > /sys/class/graphics/fb0/rotate
/ # echo "1" > /sys/class/graphics/fb0/rotate
Can some one help me in solving this issue.
Regards,
HM Thalib
next reply other threads:[~2011-05-27 10:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-27 10:10 Mohamed Thalib H [this message]
2011-05-27 14:30 ` Error while rotating LCD fb - detected fb_set_par error, error code: -22 Mohamed Thalib H
2011-05-30 6:49 ` Tomi Valkeinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DDF788B.5030906@gmail.com \
--to=hmthalib@gmail.com \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).