[Gta04-owner] GTA04 and xf86-video-omapfb rotation(xrandr -o {0, 1, 2, 3})
Denis 'GNUtoo' Carikli
GNUtoo at no-log.org
Sun Dec 30 17:49:21 CET 2012
Hi,
git://gitorious.org/gnutoo-s-programs-for-shr/xf86-video-omapfb.git
contains code for making rotation work under devices with omapfb.
Requirements:
* "omapfb.vrfb=y" in the kernel arguments.
* A GTA04 (tested only on GTA04 for now)
Issues:
* break XV
* Input does not rotate(you need to do it manually)
* Rotation can take a long time.
* Fullscreen games are problematic in rotated mode: they don't occupy
all the screen. I'm working on it right now.
I use 2 scripts for rotation:
root at om-gta04:~# cat rotate_o_1.sh
export DISPLAY=:0
xrandr -o 1
xinput set-int-prop "Touchscreen" "Evdev Axes Swap" 8 1;
xinput set-int-prop "Touchscreen" "Evdev Axis Inversion" 8 1 1;
xrandr -q
root at om-gta04:~# cat rotate_o_0.sh
export DISPLAY=:0
xrandr -o 0
xinput set-int-prop "Touchscreen" "Evdev Axes Swap" 8 0;
xinput set-int-prop "Touchscreen" "Evdev Axis Inversion" 8 0 1;
xrandr --dpi 280
1) run the script
2) wait a bit
3) touch the screen to make the image appear.
Denis
More information about the Gta04-owner
mailing list