[Gta04-owner] Second trial with QtMoko2

Andreas Kemnade andreas at kemnade.info
Wed Apr 4 07:07:21 CEST 2018


On Tue, 3 Apr 2018 21:50:29 +0200
"H. Nikolaus Schaller" <hns at goldelico.com> wrote:

> > Am 03.04.2018 um 19:48 schrieb Andreas Kemnade <andreas at kemnade.info>:
> > 
> > On Tue, 3 Apr 2018 19:19:31 +0200
> > Sven Dyroff <S.Dyroff at phytec.de> wrote:
> >   
> >> Hello Andreas,
> >>   
> >>> So especially any regressions (compared to your v55 with old kernel) are  
> >> interesting.
> >> 
> >> Ok, thank you! Thus will focus on that, now.
> >> 
> >> But then please note that for me QtMaze is really an issue, because it's
> >> not only a game. In fact it was a wonderful demonstration for the
> >> accelerators of the GTA04.
> >>   
> > I found the piece of suspicious code:
> > 
> > in src/libraries/accelerometer/accelerometers.cpp
> > char gta04_accel_file[] = "/dev/input/event1";  
> 
> Oops! Well, event1 may be touch or rumble or something else.
> On my device it is the "incoming call" event.
> 
> > 
> > looks like something fixable. Probably it is better to use the iio
> > interface now which will initially be a bit more work.  
> 
> We can simply use "/dev/input/accel" since we have a special
> iio-input bridge in Letux-Kernel which translates any iio based
> accelerometer to input events.
>
No, I do not think that it is a good idea.
What is the upstreaming sitiuation for that?
 We have a standard interface in the kernel, so why we should not use
 it and use our own? The brigde is good for using old user spaces. 
But if we change anything, I think it is good to use the correct
interface.

Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20180404/53ba9ee1/attachment.asc>


More information about the Gta04-owner mailing list