Re: [Gta04-owner] [QtMoko] QX touchscreen input do not work
NeilBrown ne...@suse.de writes: I spent a while looking into this and my conclusion is that while the frame buffer does support rotation, the Xorg driver for the omap3 framebuffer doesn't hook into that. Also I couldn't find any evidence of ongoing development of the omap3 Xorg driver. So I'm guessing that to make 'xrandr' work on the GTA04 will take some fairly serious hacking in Xorg driver code. I wish I had time to do that ... though to be honest, if I did have the time I'd probably spend it on something else :-( It seems that xf86-video-omap is going to be the way forward (rather than -omapfb or -omap3) and that xrandr support has just recently gone into it: http://cgit.freedesktop.org/xorg/driver/xf86-video-omap/ http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1026975.html For QX in QtMoko, if I've understood correctly, I think this will be a reason for upgrading to wheezy (when it's released). Neil ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Gta04-owner] [QtMoko] QX touchscreen input do not work
On Wednesday, September 12, 2012 12:48:05 AM NeilBrown wrote: On Tue, 11 Sep 2012 23:33:27 +0100 Neil Jerram n...@ossau.homelinux.net wrote: Radek Polak pson...@seznam.cz writes: On Monday, September 10, 2012 08:17:05 PM Neil Jerram wrote: I have some theoretical patches for that (attached), but I haven't offered them to Radek because I haven't really got QX working much at all, and so I couldn't be sure if the QX rotation support was working. The first attached patch is for the main QtMoko repository; the second is for the Arora submodule. Hi Neil, it's applied now. I tried in arora and it works good, so i expect QX to be working too - i will try later on Freerunner. Great, thanks! Btw has anyone figured how to rotate X server on GTA04? No, I don't think so. I tried for a while before moving onto QtMoko, but didn't manage to understand the omapfb X driver. And Neil Brown said recently that it was on his list of things he wanted to do but couldn't yet. I spent a while looking into this and my conclusion is that while the frame buffer does support rotation, the Xorg driver for the omap3 framebuffer doesn't hook into that. I think for me the framebuffer rotation is enough now. I have it rotated now after appending omapfb.rotate=1 omapfb.vrfb=y to kernel cmd line. But still i havent figured out two things: 1/ how to rotate the framebuffer on the fly? I tried: echo 1 /sys/class/graphics/fb0/rotate according to this [1] but it does not work for me. 2/ i need to rotate also the touchscreen inputs. X server has options for it [2], but i would like to play some SDL games on direct framebuffer. I tried e.g. dosbox, scummvm, abuse - they all work great but the touchscreen needs to swap x and y. You can try e.g: export SDL_VIDEODRIVER=fbcon apt-get install scummvm scummvm Regards Radek [1] http://omappedia.org/wiki/Bootargs_for_enabling_display#Mirrorring_and_Rotation_of_OMAPFB [2] Option Rotate cw Option SwapX true ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Gta04-owner] [QtMoko] QX touchscreen input do not work
On Tue, 11 Sep 2012 23:33:27 +0100 Neil Jerram n...@ossau.homelinux.net wrote: Radek Polak pson...@seznam.cz writes: On Monday, September 10, 2012 08:17:05 PM Neil Jerram wrote: I have some theoretical patches for that (attached), but I haven't offered them to Radek because I haven't really got QX working much at all, and so I couldn't be sure if the QX rotation support was working. The first attached patch is for the main QtMoko repository; the second is for the Arora submodule. Hi Neil, it's applied now. I tried in arora and it works good, so i expect QX to be working too - i will try later on Freerunner. Great, thanks! Btw has anyone figured how to rotate X server on GTA04? No, I don't think so. I tried for a while before moving onto QtMoko, but didn't manage to understand the omapfb X driver. And Neil Brown said recently that it was on his list of things he wanted to do but couldn't yet. I spent a while looking into this and my conclusion is that while the frame buffer does support rotation, the Xorg driver for the omap3 framebuffer doesn't hook into that. Also I couldn't find any evidence of ongoing development of the omap3 Xorg driver. So I'm guessing that to make 'xrandr' work on the GTA04 will take some fairly serious hacking in Xorg driver code. I wish I had time to do that ... though to be honest, if I did have the time I'd probably spend it on something else :-( NeilBrown signature.asc Description: PGP signature ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community