amoeller wrote:
> Hi,
> For a newbie like me, this thread is excellent - I got the Pirate Audio
> line out display up and running without any difficulties or problems.
> Only one issue, how do I rotate the display? - I want to build the
> player into a vertical enclosure.
> I have tried adding rotate=90 to the modprobe instructions in
> bootlocal.sh without any success.
> Any suggestions?
That's great - so you're not experiencing the problems that M-H and
Grumpy Bob have reported? What RPi are you running on?
You can rotate the display by modifying one of the the initialisation
variables in the framebuffer setup.
It's the second parameter in the long list of hexadecimal values:
-1,0x36,0x00
Change this to -1,0x36,0x60 and you'll rotate the screen 90 degrees
clockwise. I've been experimenting with different values for this
parameter, but I haven't been able to rotate it by any other amount.
I've managed to mirror the display, and use part of the screen for an
upside down window, but a 90 degree rotation is the only 'clean' option
I've found.
So the revised modprobe commands are:
Code:
--------------------
modprobe flexfb setaddrwin=0 width=240 height=240
init=-1,0x11,-2,120,-1,0x36,0x60,-1,0x3A,0x05,-1,0xB2,0x0C,0x0C,0x00,0x33,0x33,-1,0xB7,0x35,-1,0xBB,0x1A,-1,0xC0,0x2C,-1,0xC2,0x01,-1,0xC3,0x0B,-1,0xC4,0x20,-1,0xC6,0x0F,-1,0xD0,0xA4,0xA1,-1,0x21,-1,0xE0,0x00,0x19,0x1E,0x0A,0x09,0x15,0x3D,0x44,0x51,0x12,0x03,0x00,0x3F,0x3F,-1,0xE1,0x00,0x18,0x1E,0x0A,0x09,0x25,0x3F,0x43,0x52,0x33,0x03,0x00,0x3F,0x3F,-1,0x29,-3
modprobe fbtft_device name=flexfb speed=32000000 cs=1 gpios=dc:9
--------------------
[image:
http://www.cjh.me.uk/MyPhotobucket/cache/DIYHifi/Jivelite/240x240/Rotated_640.jpg]
------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=111502
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix