Re: [Gta04-owner] Second trial with QtMoko2

2018-04-13 Thread H. Nikolaus Schaller
Hi,

> Am 13.04.2018 um 20:06 schrieb H. Nikolaus Schaller :
> 
> Hi Sven,
> 
>> Am 13.04.2018 um 19:29 schrieb Sven Dyroff > >:
>> 
>> Hello Nikolaus, 
>> 
>> on my GTA04A5 it behaves exactly as expected: The ball now moves to the 
>> correct directions,
> 
> Fine! One problem solved.
> 
>> but slowly and stuttering.
> 
> Bugs are like onions or matryoshka dolls :)
> 
> Isn't that what one would expect? It starts slowly and becomes faster and 
> faster, i.e. accelerates over time.
> 
>> Like if you view a film with not enough pictures per second. 
> 
> Or do you mean that the ball is jumping by single pixels if you tilt the 
> device just a little?
> I have made a short video how it looks on my GTA04:
> 
>   http://download.goldelico.com/qtmoko2/files/MAH00877.m4v 
> 
I have uploaded it to YouTube:

https://www.youtube.com/watch?v=cHk8AtigL4k

> 
> Does it look the same for you?

Ok, here is an old Freerunner video for comparison (thanks to Raanan Elefant):

https://www.youtube.com/results?search_query=jaRtQOPMBO4

I think we either have lower accelerometer sensitivity or the frame-rate is 
lower.

For the latter we need some expert who knows how Qt really works and
controls the frame rate...

BR,
Nikolaus

> 
> BR,
> Nikolaus
> 
>> 
>> Best regards 
>>Sven 
>> 
>> 
>> 
>> 
>> 
>> Von:"H. Nikolaus Schaller" > > 
>> An:List for communicating with real GTA04 owners 
>> mailto:gta04-owner@goldelico.com>> 
>> Datum:13.04.2018 17:48 
>> Betreff:Re: [Gta04-owner] Second trial with QtMoko2 
>> Gesendet von:"Gta04-owner" > > 
>> 
>> 
>> 
>> Hi Sven, 
>> 
>> Am 12.04.2018 um 19:35 schrieb H. Nikolaus Schaller > >: 
>> 
>> Hi Sven, 
>> 
>> Am 12.04.2018 um 17:55 schrieb Sven Dyroff > >: 
>> 
>> Hello Nikolaus, 
>> 
>> have you tried if GTA04A5 now moves the ball in QtMaze as smooth, fast and 
>> natural and without stuttering as the GTA04A4? 
>> 
>> Well, I don't know what you expect for "smooth, fast and natura"l, I just 
>> found that they move almost the same now 
>> between both devices - and qtmoko2. 
>> 
>> So, finally, I have checked (and additionally fixed the z axis inversion for 
>> GTA04A5) and the files are now on the server: 
>> 
>> root@letux:~# apt-get upgrade 
>> Reading package lists... Done 
>> Building dependency tree   
>> Reading state information... Done 
>> The following packages will be upgraded: 
>>   qtmoko-gta04 
>> 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 
>> Need to get 24.2 MB of archives. 
>> After this operation, 0 B of additional disk space will be used. 
>> Do you want to continue [Y/n]? y 
>> WARNING: The following packages cannot be authenticated! 
>>   qtmoko-gta04 
>> Install these packages without verification [y/N]? y 
>> Get:1 http://download.goldelico.com/letux-debian-rootfs/debian/ 
>>  wheezy/main 
>> qtmoko-gta04 armhf 60.20180413-1 [24.2 MB] 
>> Fetched 24.2 MB in 32s (737 kB/s)
>>  
>> 
>> (Reading database ... 21235 files and directories currently installed.) 
>> Preparing to replace qtmoko-gta04 60.20180411-1 (using 
>> .../qtmoko-gta04_60.20180413-1_armhf.deb) ... 
>> Unpacking replacement qtmoko-gta04 ... 
>> Setting up qtmoko-gta04 (60.20180413-1) ... 
>> localepurge: Disk space freed in /usr/share/locale: 0 KiB 
>> localepurge: Disk space freed in /usr/share/man: 0 KiB 
>> 
>> Total disk space freed by localepurge: 0 KiB 
>> 
>> root@letux:~# 
>> 
>> BR, 
>> Nikolaus 
>> 
>> 
>> I don't have time to make a 2nd SD cards to boot two devices and compare 
>> them in parallel... 
>> 
>> So answering this question seems to be in better hands if you do it. 
>> 
>> BR, 
>> Nikolaus 
>> 
>> 
>> 
>> Best regards 
>>   Sven 
>>
>> 
>> 
>> 
>> 
>> Von:"H. Nikolaus Schaller" > > 
>> An:List for communicating with real GTA04 owners 
>> mailto:gta04-owner@goldelico.com>> 
>> Datum:12.04.2018 14:52 
>> Betreff:Re: [Gta04-owner] Second trial with QtMoko2 
>> Gesendet von:"Gta04-owner" > > 
>> 
>> 
>> 
>> Am 12.04.2018 um 14:32 schrieb Sven Dyroff > >: 
>> 
>> Hello Nikolaus, 
>> 
>> it would astonish me if you're right, but of course I'll then test it again 
>> in order to give you a chance to astonish me...:-)) 
>> 
>> I have done this test for you: 
>> 
>> GTA04A4 and GTA04A5 with display upside on the table with the same µSD card 
>> (i.e. boot A5 first, then swap card and boot A4). 
>> Run evtest /dev/input/accel | head -20 and wri

Re: [Gta04-owner] Second trial with QtMoko2

2018-04-13 Thread H. Nikolaus Schaller
Hi Sven,

> Am 13.04.2018 um 19:29 schrieb Sven Dyroff :
> 
> Hello Nikolaus, 
> 
> on my GTA04A5 it behaves exactly as expected: The ball now moves to the 
> correct directions,

Fine! One problem solved.

> but slowly and stuttering.

Bugs are like onions or matryoshka dolls :)

Isn't that what one would expect? It starts slowly and becomes faster and 
faster, i.e. accelerates over time.

> Like if you view a film with not enough pictures per second. 

Or do you mean that the ball is jumping by single pixels if you tilt the device 
just a little?
I have made a short video how it looks on my GTA04:

http://download.goldelico.com/qtmoko2/files/MAH00877.m4v

Does it look the same for you?

BR,
Nikolaus

> 
> Best regards 
>Sven 
> 
> 
> 
> 
> 
> Von:"H. Nikolaus Schaller"  
> An:List for communicating with real GTA04 owners 
>  
> Datum:13.04.2018 17:48 
> Betreff:Re: [Gta04-owner] Second trial with QtMoko2 
> Gesendet von:"Gta04-owner"  
> 
> 
> 
> Hi Sven, 
> 
> Am 12.04.2018 um 19:35 schrieb H. Nikolaus Schaller  >: 
> 
> Hi Sven, 
> 
> Am 12.04.2018 um 17:55 schrieb Sven Dyroff  >: 
> 
> Hello Nikolaus, 
> 
> have you tried if GTA04A5 now moves the ball in QtMaze as smooth, fast and 
> natural and without stuttering as the GTA04A4? 
> 
> Well, I don't know what you expect for "smooth, fast and natura"l, I just 
> found that they move almost the same now 
> between both devices - and qtmoko2. 
> 
> So, finally, I have checked (and additionally fixed the z axis inversion for 
> GTA04A5) and the files are now on the server: 
> 
> root@letux:~# apt-get upgrade 
> Reading package lists... Done 
> Building dependency tree   
> Reading state information... Done 
> The following packages will be upgraded: 
>   qtmoko-gta04 
> 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 
> Need to get 24.2 MB of archives. 
> After this operation, 0 B of additional disk space will be used. 
> Do you want to continue [Y/n]? y 
> WARNING: The following packages cannot be authenticated! 
>   qtmoko-gta04 
> Install these packages without verification [y/N]? y 
> Get:1 http://download.goldelico.com/letux-debian-rootfs/debian/ 
>  wheezy/main 
> qtmoko-gta04 armhf 60.20180413-1 [24.2 MB] 
> Fetched 24.2 MB in 32s (737 kB/s) 
>   
>   
> (Reading database ... 21235 files and directories currently installed.) 
> Preparing to replace qtmoko-gta04 60.20180411-1 (using 
> .../qtmoko-gta04_60.20180413-1_armhf.deb) ... 
> Unpacking replacement qtmoko-gta04 ... 
> Setting up qtmoko-gta04 (60.20180413-1) ... 
> localepurge: Disk space freed in /usr/share/locale: 0 KiB 
> localepurge: Disk space freed in /usr/share/man: 0 KiB 
> 
> Total disk space freed by localepurge: 0 KiB 
> 
> root@letux:~# 
> 
> BR, 
> Nikolaus 
> 
> 
> I don't have time to make a 2nd SD cards to boot two devices and compare them 
> in parallel... 
> 
> So answering this question seems to be in better hands if you do it. 
> 
> BR, 
> Nikolaus 
> 
> 
> 
> Best regards 
>   Sven 
>
> 
> 
> 
> 
> Von:"H. Nikolaus Schaller"  > 
> An:List for communicating with real GTA04 owners 
> mailto:gta04-owner@goldelico.com>> 
> Datum:12.04.2018 14:52 
> Betreff:Re: [Gta04-owner] Second trial with QtMoko2 
> Gesendet von:"Gta04-owner"  > 
> 
> 
> 
> Am 12.04.2018 um 14:32 schrieb Sven Dyroff  >: 
> 
> Hello Nikolaus, 
> 
> it would astonish me if you're right, but of course I'll then test it again 
> in order to give you a chance to astonish me...:-)) 
> 
> I have done this test for you: 
> 
> GTA04A4 and GTA04A5 with display upside on the table with the same µSD card 
> (i.e. boot A5 first, then swap card and boot A4). 
> Run evtest /dev/input/accel | head -20 and write down highest X/Y/Z values. 
> 
> On a GTA04A5: 
> 
> root@letux:~# evtest /dev/input/accel | head -20 
> Input driver version is 1.0.1 
> Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0 
> Input device name: "accelerometer-iio-input-bridge" 
> Supported events: 
>  Event type 0 (EV_SYN) 
>  Event type 3 (EV_ABS) 
>Event code 0 (ABS_X) 
>  Value 14 
>  Min -511 
>  Max  511 
>Event code 1 (ABS_Y) 
>  Value-32 
>  Min -511 
>  Max  511 
>Event code 2 (ABS_Z) 
>  Value   -253 
>  Min -511 
>  Max  511 
> Properties: 
> Testing ... (interrupt to exit) 
> root@letux:~#  
> 
> This means: X=14/256 = +5%, Y=--32/256 = -12%, Z=-253/256 = -99% 
> 
> On a GTA04A4: 
> 
> root@letux:~# evtest /dev/input/accel | head -20 
> Input driver version is 1.0.1 
> Input devic

Re: [Gta04-owner] Second trial with QtMoko2

2018-04-13 Thread Sven Dyroff
Hello Nikolaus,

on my GTA04A5 it behaves exactly as expected: The ball now moves to the 
correct directions, but slowly and stuttering. Like if you view a film 
with not enough pictures per second.

Best regards
   Sven
 




Von:"H. Nikolaus Schaller" 
An: List for communicating with real GTA04 owners 

Datum:  13.04.2018 17:48
Betreff:Re: [Gta04-owner] Second trial with QtMoko2
Gesendet von:   "Gta04-owner" 



Hi Sven,

Am 12.04.2018 um 19:35 schrieb H. Nikolaus Schaller :

Hi Sven,

Am 12.04.2018 um 17:55 schrieb Sven Dyroff :

Hello Nikolaus, 

have you tried if GTA04A5 now moves the ball in QtMaze as smooth, fast and 
natural and without stuttering as the GTA04A4? 

Well, I don't know what you expect for "smooth, fast and natura"l, I just 
found that they move almost the same now
between both devices - and qtmoko2.

So, finally, I have checked (and additionally fixed the z axis inversion 
for GTA04A5) and the files are now on the server:

root@letux:~# apt-get upgrade
Reading package lists... Done
Building dependency tree 
Reading state information... Done
The following packages will be upgraded:
  qtmoko-gta04
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 24.2 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  qtmoko-gta04
Install these packages without verification [y/N]? y
Get:1 http://download.goldelico.com/letux-debian-rootfs/debian/ 
wheezy/main qtmoko-gta04 armhf 60.20180413-1 [24.2 MB]
Fetched 24.2 MB in 32s (737 kB/s)
(Reading database ... 21235 files and directories currently installed.)
Preparing to replace qtmoko-gta04 60.20180411-1 (using 
.../qtmoko-gta04_60.20180413-1_armhf.deb) ...
Unpacking replacement qtmoko-gta04 ...
Setting up qtmoko-gta04 (60.20180413-1) ...
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB

Total disk space freed by localepurge: 0 KiB

root@letux:~#

BR,
Nikolaus


I don't have time to make a 2nd SD cards to boot two devices and compare 
them in parallel...

So answering this question seems to be in better hands if you do it.

BR,
Nikolaus



Best regards 
   Sven 





Von:"H. Nikolaus Schaller"  
An:List for communicating with real GTA04 owners <
gta04-owner@goldelico.com> 
Datum:12.04.2018 14:52 
Betreff:Re: [Gta04-owner] Second trial with QtMoko2 
Gesendet von:"Gta04-owner"  



Am 12.04.2018 um 14:32 schrieb Sven Dyroff : 

Hello Nikolaus, 

it would astonish me if you're right, but of course I'll then test it 
again in order to give you a chance to astonish me...:-)) 

I have done this test for you: 

GTA04A4 and GTA04A5 with display upside on the table with the same µSD 
card (i.e. boot A5 first, then swap card and boot A4). 
Run evtest /dev/input/accel | head -20 and write down highest X/Y/Z 
values. 

On a GTA04A5: 

root@letux:~# evtest /dev/input/accel | head -20 
Input driver version is 1.0.1 
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0 
Input device name: "accelerometer-iio-input-bridge" 
Supported events: 
  Event type 0 (EV_SYN) 
  Event type 3 (EV_ABS) 
Event code 0 (ABS_X) 
  Value 14 
  Min -511 
  Max  511 
Event code 1 (ABS_Y) 
  Value-32 
  Min -511 
  Max  511 
Event code 2 (ABS_Z) 
  Value   -253 
  Min -511 
  Max  511 
Properties: 
Testing ... (interrupt to exit) 
root@letux:~#  

This means: X=14/256 = +5%, Y=--32/256 = -12%, Z=-253/256 = -99% 

On a GTA04A4: 

root@letux:~# evtest /dev/input/accel | head -20 
Input driver version is 1.0.1 
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0 
Input device name: "accelerometer-iio-input-bridge" 
Supported events: 
  Event type 0 (EV_SYN) 
  Event type 3 (EV_ABS) 
Event code 0 (ABS_X) 
  Value-15 
  Min -511 
  Max  511 
Event code 1 (ABS_Y) 
  Value -5 
  Min -511 
  Max  511 
Event code 2 (ABS_Z) 
  Value274 
  Min -511 
  Max  511 
Properties: 
Testing ... (interrupt to exit) 
root@letux:~#  

This means: X=-15/256 = +6%, Y=--5/256 = -2%, Z=274/256 = +107% 

Comparing A4 and A5: they basically behave *the same* regarding the range 
and report both +/-256 for 1g. They just differ in the orientation of the 
sensor. 

I.e. the Z axis also has a sign error. This is still missing in my 
correction patch. 
To make it really precise I should rotate both devices by 90° and write 
down all 
values... 

What I don't know and can't compare is if they behave like a GTA02... And 
if a total value of ~1g is what QtMaze expects. And if the QtMaze makes 
use 
of the Z-axis at all (doesn't look as if it does). 

BR, 
Nikolaus 



Best regards 
   Sven 
  




Von:"H. Nikolaus Schaller"  
An:List for communicating with re

Re: [Gta04-owner] qte build

2018-04-13 Thread Andreas Kemnade
Hi,

On Thu, 12 Apr 2018 12:53:29 +0200
Andreas Kemnade  wrote:

> On Thu, 12 Apr 2018 09:27:31 +0200
> Belisko Marek  wrote:
> 
> > HI Nikolaus,
> > 
> > On Thu, Apr 12, 2018 at 9:11 AM, H. Nikolaus Schaller  
> > wrote:  
> > > HI,
> > > it is finished now
> > >
> > > Am 11.04.2018 um 21:15 schrieb H. Nikolaus Schaller :
> > >
> > > Hi,
> > >
> > > Am 11.04.2018 um 17:15 schrieb Andreas Kemnade :
> > >
> > > Hi,
> > >
> > > On Fri, 6 Apr 2018 20:53:04 +0200
> > > "H. Nikolaus Schaller"  wrote:
> > >
> > > Hi,
> > >
> > > Am 06.04.2018 um 20:37 schrieb Andreas Kemnade :
> > >
> > > On Fri, 6 Apr 2018 08:50:37 +0200
> > > Belisko Marek  wrote:
> > >
> > > Hi,
> > >
> > > I think it's due to the strict compiler in jessie then in older
> > > versions. I think it should be easily fixable. I tried yesterday do
> > > docker build for qtmoko but it's still wip but looks promising. Then
> > > we don't need any chroot on arm boards but we can do it easily on PC.
> > > Will provide more info when have some results.
> > >
> > > qt builds on jessie (the version inside the qtmoko tree where qdbus is
> > > disabled) So the problem can be easily solved by disabling the same
> > > amount of things in the ./configure in qtmoko-qte2 than in qtmoko
> > > itself.
> > >
> > > So the question was just whether it was intentional to have different
> > > configure options there.
> > >
> > >
> > > Probably nobody looked at that yet. There was enough work to get it
> > > compiled.
> > >
> > > Yes, can be the explanation. Just hesitating to change something
> > > perhaps well thought of.
> > >
> > >
> > > P.S: which gcc version you have in jessie? I think fomr 5.x or 6.x
> > > while in older was 4.7 or 4.9
> > >
> > >
> > > 4.9
> > >
> > >
> > > Hm. I still wonder why it worked for me with configure as it is.
> > > Maybe I should retry a clean build?
> > >
> > > yes, thas would be helpful.
> > >
> > >
> > > Have started a complete fresh build (incl. all debootstrapping steps)
> > > now. Should run smoothly on 21% of a 200 GB µSD...
> > >
> > > I can then go through the build log to see what it reports for
> > > qtmoko2-qte/source/src/dbus/qdbusintegrator.cpp
> > >
> > >
> > > Well, it wasn't compiled at all!
> > >
> > > Here are some snippets from the log:
> > >
> > > Warning: PKG_CONFIG_PATH has not been set.  This could mean
> > > the host compiler's .pc files will be used. This is probably
> > > not what you want.
> > >
> > > make[2]: Entering directory `/qtmoko2-qte/build/config.tests/unix/endian'
> > > rm -f endiantest.o
> > > rm -f *~ core *.core
> > > rm -f endiantest
> > > rm -f Makefile
> > > make[2]: Leaving directory `/qtmoko2-qte/build/config.tests/unix/endian'
> > > make[2]: Entering directory `/qtmoko2-qte/build/config.tests/unix/endian'
> > > rm -f endiantest.o
> > > rm -f *~ core *.core
> > > rm -f endiantest
> > > rm -f Makefile
> > > make[2]: Leaving directory `/qtmoko2-qte/build/config.tests/unix/endian'
> > > ln: failed to create symbolic link
> > > `/qtmoko2-qte/build/include/QtCore/qconfig.h': File exists
> > > ln: failed to create symbolic link
> > > `/qtmoko2-qte/build/include/Qt/qconfig.h': File exists
> > >
> > > Building on:   linux-debian-armhf
> > > Building for:  qws/linux-debian-armhf
> > > Architecture:  generic
> > > Host architecture: arm
> > >
> > > Build .. libs examples demos docs translations
> > > Configuration ..  cross_compile system-sqlite release embedded
> > > largefile stl precompile_header exceptions_off  minimal-config 
> > > small-config
> > > medium-config large-config full-config qt3support phonon phonon-backend
> > > accessibility shared embedded reduce_exports ipv6 clock-gettime
> > > clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify 
> > > system-jpeg
> > > png system-tiff freetype system-zlib nis glib gstreamer concurrent
> > > multimedia audio-backend svg webkit script scripttools declarative release
> > > Debug .. no
> > > Qt 3 compatibility . yes
> > > QtDBus module .. no
> > > QtConcurrent code .. yes
> > > QtGui module ... yes
> > >
> > > /qtmoko2-qte/build/bin/moc -DQT_SHARED -DQT_NO_CAST_TO_ASCII
> > > -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT
> > > -DQT_USE_QSTRINGBUILDER -DMAKE_PHONON_LIB -DQT_NO_DBUS -DQT_NO_DEBUG
> > > -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE
> > > -D_LARGEFILE_SOURCE -I/qtmoko2-qte/source/mkspecs/qws/linux-debian-armhf
> > > -I/qtmoko2-qte/source/src/phonon -I../../include/QtCore
> > > -I../../include/QtNetwork -I../../include/QtGui -I../../include
> > > -I../../include/phonon -I.rcc/release-shared-emb-auto
> > > -I.moc/release-shared-emb-auto -I.
> > > /qtmoko2-qte/source/src/3rdparty/phonon/phonon/abstractaudiooutput.h -o
> > > .moc/release-shared-emb-auto/moc_abstractaudiooutput.cpp
> > >
> > > If I understand correctly, it seems as if my sandboxed setup does NOT try 
> > > to
> > > build dbus?
> > Yes looks like. There must be t

Re: [Gta04-owner] Second trial with QtMoko2

2018-04-13 Thread H. Nikolaus Schaller
Hi Sven,

> Am 12.04.2018 um 19:35 schrieb H. Nikolaus Schaller :
> 
> Hi Sven,
> 
>> Am 12.04.2018 um 17:55 schrieb Sven Dyroff > >:
>> 
>> Hello Nikolaus, 
>> 
>> have you tried if GTA04A5 now moves the ball in QtMaze as smooth, fast and 
>> natural and without stuttering as the GTA04A4? 
> 
> Well, I don't know what you expect for "smooth, fast and natura"l, I just 
> found that they move almost the same now
> between both devices - and qtmoko2.

So, finally, I have checked (and additionally fixed the z axis inversion for 
GTA04A5) and the files are now on the server:

root@letux:~# apt-get upgrade
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following packages will be upgraded:
  qtmoko-gta04
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 24.2 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  qtmoko-gta04
Install these packages without verification [y/N]? y
Get:1 http://download.goldelico.com/letux-debian-rootfs/debian/ wheezy/main 
qtmoko-gta04 armhf 60.20180413-1 [24.2 MB]
Fetched 24.2 MB in 32s (737 kB/s)   

 
(Reading database ... 21235 files and directories currently installed.)
Preparing to replace qtmoko-gta04 60.20180411-1 (using 
.../qtmoko-gta04_60.20180413-1_armhf.deb) ...
Unpacking replacement qtmoko-gta04 ...
Setting up qtmoko-gta04 (60.20180413-1) ...
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB

Total disk space freed by localepurge: 0 KiB

root@letux:~#

BR,
Nikolaus

> 
> I don't have time to make a 2nd SD cards to boot two devices and compare them 
> in parallel...
> 
> So answering this question seems to be in better hands if you do it.
> 
> BR,
> Nikolaus
> 
> 
>> 
>> Best regards 
>>Sven 
>> 
>> 
>> 
>> 
>> 
>> Von:"H. Nikolaus Schaller" > > 
>> An:List for communicating with real GTA04 owners 
>> mailto:gta04-owner@goldelico.com>> 
>> Datum:12.04.2018 14:52 
>> Betreff:Re: [Gta04-owner] Second trial with QtMoko2 
>> Gesendet von:"Gta04-owner" > > 
>> 
>> 
>> 
>> Am 12.04.2018 um 14:32 schrieb Sven Dyroff > >: 
>> 
>> Hello Nikolaus, 
>> 
>> it would astonish me if you're right, but of course I'll then test it again 
>> in order to give you a chance to astonish me...:-)) 
>> 
>> I have done this test for you: 
>> 
>> GTA04A4 and GTA04A5 with display upside on the table with the same µSD card 
>> (i.e. boot A5 first, then swap card and boot A4). 
>> Run evtest /dev/input/accel | head -20 and write down highest X/Y/Z values. 
>> 
>> On a GTA04A5: 
>> 
>> root@letux:~# evtest /dev/input/accel | head -20 
>> Input driver version is 1.0.1 
>> Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0 
>> Input device name: "accelerometer-iio-input-bridge" 
>> Supported events: 
>>   Event type 0 (EV_SYN) 
>>   Event type 3 (EV_ABS) 
>> Event code 0 (ABS_X) 
>>   Value 14 
>>   Min -511 
>>   Max  511 
>> Event code 1 (ABS_Y) 
>>   Value-32 
>>   Min -511 
>>   Max  511 
>> Event code 2 (ABS_Z) 
>>   Value   -253 
>>   Min -511 
>>   Max  511 
>> Properties: 
>> Testing ... (interrupt to exit) 
>> root@letux:~#  
>> 
>> This means: X=14/256 = +5%, Y=--32/256 = -12%, Z=-253/256 = -99% 
>> 
>> On a GTA04A4: 
>> 
>> root@letux:~# evtest /dev/input/accel | head -20 
>> Input driver version is 1.0.1 
>> Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0 
>> Input device name: "accelerometer-iio-input-bridge" 
>> Supported events: 
>>   Event type 0 (EV_SYN) 
>>   Event type 3 (EV_ABS) 
>> Event code 0 (ABS_X) 
>>   Value-15 
>>   Min -511 
>>   Max  511 
>> Event code 1 (ABS_Y) 
>>   Value -5 
>>   Min -511 
>>   Max  511 
>> Event code 2 (ABS_Z) 
>>   Value274 
>>   Min -511 
>>   Max  511 
>> Properties: 
>> Testing ... (interrupt to exit) 
>> root@letux:~#  
>> 
>> This means: X=-15/256 = +6%, Y=--5/256 = -2%, Z=274/256 = +107% 
>> 
>> Comparing A4 and A5: they basically behave *the same* regarding the range 
>> and report both +/-256 for 1g. They just differ in the orientation of the 
>> sensor. 
>> 
>> I.e. the Z axis also has a sign error. This is still missing in my 
>> correction patch. 
>> To make it really precise I should rotate both devices by 90° and write down 
>> all 
>> values... 
>> 
>> What I don't know and can't compare is if they behave like a GTA02... And 
>> if a total value of ~1g is what QtMaze expects. And if t

Re: [Gta04-owner] qtmoko2 crosscompilation

2018-04-13 Thread Belisko Marek
Hi Nikolaus,

On Fri, Apr 13, 2018 at 11:47 AM, H. Nikolaus Schaller
 wrote:
> Hi Marek,
>
>> Am 13.04.2018 um 11:32 schrieb Belisko Marek :
>>
>> Hi,
>>
>> I tried to find some valuable info about qtmoko2 crosscompilation on
>> PC (not native on arm board). in README it's written it's not
>> supported but there are anyway some steps how to do that. I was able
>> to cross-compile qtopia on my ubuntu 16.04 pc but it fails when
>> compile qtmoko. Kust want to ask if anybody here have some ideas or
>> tried to do the same and can share some knowledge. Thanks a lot.
>
> what I had tried is:
>
> http://git.goldelico.com/?p=gta04-qtmoko.git;a=blob;f=README;h=539a8c41dddc9f726641e1d1228d6a548a6a3f53;hb=e8a920c0c4eaef02a060af138f6bec80054bb517#l76
OK thanks I'll look.
>
> i.e. without chroot. It looks really straightforward and to be the right 
> thing.
>
> But I failed in finding the correct cross-compiler binary for wheezy.
> This is when I decided to move to the native build because there is a wheezy 
> compatible (non-cross-)gcc.
I installed amr-gcc/g++-4.7 from apt and it was working fine. I cannot
find place where it's hardcoded to 4.7 though (to have possibility to
change to something newer).
>
> So which cross-compiler do you use to compile qtopia?
>
> BR,
> Nikolaus
>
>>
>> BR,
>>
>> marek
>>
>> --
>> as simple and primitive as possible
>> -
>> Marek Belisko - OPEN-NANDRA
>> Freelance Developer
>>
>> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
>> Tel: +421 915 052 184
>> skype: marekwhite
>> twitter: #opennandra
>> web: http://open-nandra.com
>> ___
>> Gta04-owner mailing list
>> Gta04-owner@goldelico.com
>> http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner
>
> ___
> Gta04-owner mailing list
> Gta04-owner@goldelico.com
> http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner


BR,

marek
___
Gta04-owner mailing list
Gta04-owner@goldelico.com
http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner


Re: [Gta04-owner] qtmoko2 crosscompilation

2018-04-13 Thread H. Nikolaus Schaller
Hi Marek,

> Am 13.04.2018 um 11:32 schrieb Belisko Marek :
> 
> Hi,
> 
> I tried to find some valuable info about qtmoko2 crosscompilation on
> PC (not native on arm board). in README it's written it's not
> supported but there are anyway some steps how to do that. I was able
> to cross-compile qtopia on my ubuntu 16.04 pc but it fails when
> compile qtmoko. Kust want to ask if anybody here have some ideas or
> tried to do the same and can share some knowledge. Thanks a lot.

what I had tried is:

http://git.goldelico.com/?p=gta04-qtmoko.git;a=blob;f=README;h=539a8c41dddc9f726641e1d1228d6a548a6a3f53;hb=e8a920c0c4eaef02a060af138f6bec80054bb517#l76

i.e. without chroot. It looks really straightforward and to be the right thing.

But I failed in finding the correct cross-compiler binary for wheezy.
This is when I decided to move to the native build because there is a wheezy 
compatible (non-cross-)gcc.

So which cross-compiler do you use to compile qtopia?
 
BR,
Nikolaus

> 
> BR,
> 
> marek
> 
> -- 
> as simple and primitive as possible
> -
> Marek Belisko - OPEN-NANDRA
> Freelance Developer
> 
> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> Tel: +421 915 052 184
> skype: marekwhite
> twitter: #opennandra
> web: http://open-nandra.com
> ___
> Gta04-owner mailing list
> Gta04-owner@goldelico.com
> http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner

___
Gta04-owner mailing list
Gta04-owner@goldelico.com
http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner


[Gta04-owner] qtmoko2 crosscompilation

2018-04-13 Thread Belisko Marek
Hi,

I tried to find some valuable info about qtmoko2 crosscompilation on
PC (not native on arm board). in README it's written it's not
supported but there are anyway some steps how to do that. I was able
to cross-compile qtopia on my ubuntu 16.04 pc but it fails when
compile qtmoko. Kust want to ask if anybody here have some ideas or
tried to do the same and can share some knowledge. Thanks a lot.

BR,

marek

-- 
as simple and primitive as possible
-
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
___
Gta04-owner mailing list
Gta04-owner@goldelico.com
http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner