[Gta04-owner] Second trial with QtMoko2

H. Nikolaus Schaller hns at goldelico.com
Tue Apr 3 21:50:29 CEST 2018


> 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.

Together with the udev rules it gives a stable file path
on GTA03A3, A4, A5 devices.

BR,
Nikolaus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20180403/ac9a1d16/attachment-0001.asc>


More information about the Gta04-owner mailing list