[Gta04-owner] We need an Android kernel
Paul Kocialkowski
paulk at paulk.fr
Wed Jul 17 15:31:08 CEST 2013
Le mercredi 17 juillet 2013 à 14:52 +0200, Dr. H. Nikolaus Schaller a
écrit :
> You mean touch screen orientation? I think this should be corrected/calibrated
> somehow in user space so that we can keep the tsc2007 driver untouched.
There are several things to adapt on input for Android:
* Monotonic time for event time stamps
* Invert Y axis
* Ajust min/max values for each axis
This cannot be done in userspace: the Android framework expect every
value that comes out of the input event node to be directly usable.
So I quickly added support for all this in the tsc2007-gta04 driver,
which works just fine.
> > The 3.7 kernel lacks
> > Android USB Gadget support (the code is missing).
>
> Ok, that may be one of the patches that are not yet in mainline Linux.
> I have expected that we would not get 100% for free...
We need that badly, along with the other Android USB Composite
functions. Our best hope is probably using the code from 3.8, but it
won't be anything clean.
> Generally I think we now have a great basis to continue from!
It is far from perfect. The amount of errors shown in userspace is
incredible, many components complain about missing kernel interfaces, it
seems that wakelocks are unusable with that kernel and the 4.0
userspace. The UI is slower than on other versions, applications hang
more than with any other kernel. On top of that, it seems that audio
doesn't work most of the time (it did work once or twice). Some of these
issues can be solved, some can't.
That's what I was mentioning when I said the 3.8 Android features are
not complete, not stable, and that nobody uses them anyway.
So the situation is the same as it was when we tested Neil's 3.7 kernel.
However, it is true that suspend/resume works better than on the 3.0
kernel.
I think I'll give 3.4 a try, depending on how suspend/resume works
there, it might be worth investigating that way instead.
> As soon as you are happy with it, please push to the repo so that I (we)
> can sync and try ourselves...
>
> BR,
> Nikolaus
>
> _______________________________________________
> Gta04-owner mailing list
> Gta04-owner at goldelico.com
> http://lists.goldelico.com/mailman/listinfo/gta04-owner
More information about the Gta04-owner
mailing list