Re[2]: [PATCH] Revamp mouse support in GPE

Paul Sokolovsky <[email protected]> Fri, 25 Aug 2006 13:49:44 +0300
Newsgroups gmane.comp.handhelds.gpe
Message-ID <[email protected]>
Hello Richard,

Thursday, August 24, 2006, 11:22:48 PM, you wrote:

> Hi Paul,

> On Tue, 2006-08-22 at 14:46 +0300, Paul Sokolovsky wrote:
>> Hello GPE,
>> 
>>       I'm working on QEMU support for running OpenEmbedded images.
>> Specifically, my aim is to be able to run the same rootfs image on
>> both real device and QEMU.
>> 
>>       And this mostly works, the immediate problem (with GPE) being
>> that mouse doesn't work out of the box, even though there's a mouse
>> support per se. I was able to fix this with two pretty trivial
>> patches, which I'd like to share now. I don't think that they in their
>> present form mergeable, but I'd like to see QEMU mouse support in
>> mainline, so hope to get suggestion how to improve the patches.

> Have you tried MACHINE = "qemuarm" in OE?

  So, far, only to build kernel ;-) .

> I realise its not the same image but it will be *very* similar, enough
> for development purposes and the mouse issues should already be already
> taken care of. I know they are in poky (where qemuarm came from) and if
> OE .dev needs updates, that should be straightforward.
> multimachine.bbclass means you won't need to build two whole images as
> most packages can be reused from one machine in another.

  Yes, Koen also mentioned that it might be solved there. I'll be
having look at them (may take some time ;-) ). But that's of course
true that images are very similar, that's exactly why I would like
them to just do dynamic detection/adjustment, unless it makes no sense
too. I'm not sure if OE people has such an aim as priority, but I'd
guess, it's nice thing, because building 20+ images (count PocketPC
devices in ports) which differ in less than 1% of content just
doens't scale. Just have 2-3 functional types of images (even at the
price of groing each by some mere 10k), plus device-specific
kernel/modules (and of course, installer being able to combine them
during install). I'd be interested to work in that direction.

> http://projects.o-hand.com/poky
> http://o-hand.com/~richard/qemu.html

> Regards,

> Richard



-- 
Best regards,
 Paul                            mailto:[email protected]