I am trying to get the LCD7 from BeagleBoardToys to go into portrait mode under Gnome.
I'm running "Linux beaglebone 3.8.13 #1 SMP Tue Jun 18 02:11:09 EDT 2013 armv7l GNU/Linux" on a BBW, which is the stock Angstrom image.
I can get the console frame buffer to rotate by exiting out of the display manager and typing the following into the console:
echo 3 > /sys/class/graphics/fbcon/rotate
However, once I start up gdm again, it switches back to landscape mode.
Under gdm I have tried the following:
1) System -> Preferences -> Monitors -> Changed "Rotation" to anything but normal -> Display turns off/blanks for ~30 seconds, then returns to landscape mode.
2) Edited "Device" section of /etc/X11/xorg.conf to include 'Option "Rotate" "Left"', but it doesn't work. According to /var/log/Xorg.0.log, the modesetting driver does not recognize the rotate option.
3) Edited .config/monitors.xml to change resolutions and rotation, which didn't work either.
4) Various xrandr options:
cvt 480 800
xrandr --newmode "480x800_60.00" 31.00 480 504 552 624 800 803 813 831 -hsync +vsync
xrandr --addmode LVDS-0 480x800_60.00
xrandr --output LVDS-0 --mode 480x800_60.00
The Xorg.0 log has the following entry for portrait mode:
cat /var/log/Xorg.0.log | tail
[940786.612] (II) modesetting(0)Modeline "800x480"x61.5 30.00 800 840 888 928 480 493 496 526 -hsync -vsync (32.3 kHz)
[940788.145] (II) modesetting(0)EDID for output LVDS-0
[940788.145] (II) modesetting(0)Printing probed modes for output LVDS-0
[940788.145] (II) modesetting(0)Modeline "800x480"x61.5 30.00 800 840 888 928 480 493 496 526 -hsync -vsync (32.3 kHz)
[940788.159] (II) modesetting(0)EDID for output LVDS-0
[940788.160] (II) modesetting(0)Printing probed modes for output LVDS-0
[940788.160] (II) modesetting(0)Modeline "800x480"x61.5 30.00 800 840 888 928 480 493 496 526 -hsync -vsync (32.3 kHz)
[940788.180] (II) modesetting(0)EDID for output LVDS-0
[940788.181] (II) modesetting(0)Printing probed modes for output LVDS-0
[940788.181] (II) modesetting(0)Modeline "800x480"x61.5 30.00 800 840 888 928 480 493 496 526 -hsync -vsync (32.3 kHz)
Running 'cat /var/log/Xorg.0.log | tail' again, after using the GUI rotation change method produces:
[942030.873] (II) modesetting(0)EDID for output LVDS-0
[942030.874] (II) modesetting(0)Printing probed modes for output LVDS-0
[942030.874] (II) modesetting(0)Modeline "800x480"x61.5 30.00 800 840 888 928 480 493 496 526 -hsync -vsync (32.3 kHz)
[942040.579] (II) modesetting(0)EDID for output LVDS-0
[942040.580] (II) modesetting(0)Printing probed modes for output LVDS-0
[942040.581] (II) modesetting(0)Modeline "800x480"x61.5 30.00 800 840 888 928 480 493 496 526 -hsync -vsync (32.3 kHz)
[942040.665] (II) modesetting(0)EDID for output LVDS-0
[942040.666] (II) modesetting(0)Printing probed modes for output LVDS-0
[942040.668] (II) modesetting(0)Modeline "800x480"x61.5 30.00 800 840 888 928 480 493 496 526 -hsync -vsync (32.3 kHz)
[942040.717] (II) modesetting(0)Allocate new frame buffer 480x800 stride
I also spent some time looking at journalctl, but didn't see anything interesting or blatantly obvious.
I'm not sure where to go from here. Do I try to get a valid mode for 480x800 working, or is there another log I can look at to get more info on the failure?
Thanks,
Louis