[Gta04-owner] Antwort: Re: Antwort: Re: Antwort: Re: First trial with QtMoko2

H. Nikolaus Schaller hns at goldelico.com
Wed Mar 28 19:50:21 CEST 2018


> Am 28.03.2018 um 19:36 schrieb Sven Dyroff <S.Dyroff at phytec.de>:
> 
> Hello Nikolaus, 
> 
> after executing your apt-gettings, I now have QtMoko v59 built on Mar 1 2018 and Linux kernel is 4.15.6-letux+. See attached log. 
> 
> Still no reaction on accelerator. Debug messages are now: 
> 
> --------------------------------%<---------------------------------- 
> 
> QSocketNotifier: Can only be used with threads started with QThread 
> QSocketNotifier: Can only be used with threads started with QThread 
> File_loader: 45 game levels parsed 
> GTA04 accelerometer opened 
> 
> -------------------------------->%---------------------------------- 
> 
> Thus the last line with the error is gone. 

Ok, fine!

> 
> UI will react on touches to "<<" and ">>", but not to "X": 

Ok, so it is not as locked up as before. That is already good.

> 
> --------------------------------%<---------------------------------- 
> 
> unknown mouse event type=3, code=18, value=34c 
> unknown mouse event type=3, code=18, value=351 
> unknown mouse event type=3, code=18, value=352 
> unknown mouse event type=3, code=18, value=0 
> unknown mouse event type=3, code=18, value=346 
> unknown mouse event type=3, code=18, value=34d 
> unknown mouse event type=3, code=18, value=34e 
> unknown mouse event type=3, code=18, value=0 
> unknown mouse event type=3, code=18, value=345 
> unknown mouse event type=3, code=18, value=34d 
> unknown mouse event type=3, code=18, value=34e 
> unknown mouse event type=3, code=18, value=0 
> ... 
> ... 
> ... 
> 
> -------------------------------->%---------------------------------- 

Maybe can you do a "ctrl-C" and then command "bt" (stack backtrace).
This might give some information (to those who understand the Qt frameworks...).

> 
> By the way: 
> How can I create screenshots of the full screen in QtMoko or from the Letux command line? 

I think in QtMoko there is a tool.

From the command line: there used to be some tool to capture /dev/fb0 into some jpeg butI do not remember.

https://wiki.debian.org/ScreenShots#Using_command_line

links to some non-existing "fbgrab".
But it sems to be part of package "fbcat" https://packages.debian.org/search?searchon=contents&keywords=fbgrab&mode=path&suite=stable&arch=any

So please try:

	apt-get install fbcat
	man fbgrab	(that is another factor why I love Debian on embedded devices: there is always a man page on the device :)

> 
> Best regards 
>    Sven 
> 
> 
> root at letux:~# apt-get update 
> Ign http://www.qtmoko.net <http://www.qtmoko.net/> wheezy Release.gpg                                   
> Ign http://download.goldelico.com <http://download.goldelico.com/> wheezy Release.gpg                           
> Hit http://httpredir.debian.org <http://httpredir.debian.org/> wheezy Release.gpg                             
> Ign http://download.goldelico.com <http://download.goldelico.com/> wheezy Release.gpg                           
> Hit http://httpredir.debian.org <http://httpredir.debian.org/> wheezy-backports Release.gpg                   
> Get:1 http://www.qtmoko.net <http://www.qtmoko.net/> wheezy Release [3256 B]                             
> Hit http://httpredir.debian.org <http://httpredir.debian.org/> wheezy Release                                 
> Hit http://ftp.us.debian.org <http://ftp.us.debian.org/> wheezy Release.gpg                                 
> Get:2 http://download.goldelico.com <http://download.goldelico.com/> wheezy Release [3256 B]                     
> Hit http://httpredir.debian.org <http://httpredir.debian.org/> wheezy-backports Release                       
> Get:3 http://download.goldelico.com <http://download.goldelico.com/> wheezy Release [3256 B] 
> Ign http://www.qtmoko.net <http://www.qtmoko.net/> wheezy/main Sources/DiffIndex                         
> Ign http://www.qtmoko.net <http://www.qtmoko.net/> wheezy/main armhf Packages/DiffIndex                 
> Ign http://download.goldelico.com <http://download.goldelico.com/> wheezy/main armhf Packages/DiffIndex         
> Hit http://ftp.us.debian.org <http://ftp.us.debian.org/> wheezy Release                                     
> Get:4 http://www.qtmoko.net <http://www.qtmoko.net/> wheezy/main Sources [5649 B]                       
> Ign http://download.goldelico.com <http://download.goldelico.com/> wheezy/main armhf Packages/DiffIndex         
> Hit http://httpredir.debian.org <http://httpredir.debian.org/> wheezy/non-free armhf Packages                 
> Get:5 http://download.goldelico.com <http://download.goldelico.com/> wheezy/main armhf Packages [24.7 kB]       
> Get:6 http://www.qtmoko.net <http://www.qtmoko.net/> wheezy/main armhf Packages [24.7 kB]               
> Hit http://httpredir.debian.org <http://httpredir.debian.org/> wheezy/non-free Translation-en                 
> Get:7 http://httpredir.debian.org <http://httpredir.debian.org/> wheezy-backports/main armhf Packages/DiffIndex [27.8 kB] 
> Get:8 http://download.goldelico.com <http://download.goldelico.com/> wheezy/main armhf Packages [24.7 kB]       
> Ign http://www.qtmoko.net <http://www.qtmoko.net/> wheezy/main Translation-en                           
> Hit http://ftp.us.debian.org <http://ftp.us.debian.org/> wheezy/main armhf Packages                         
> Get:9 http://httpredir.debian.org <http://httpredir.debian.org/> wheezy-backports/non-free armhf Packages/DiffIndex [736 B] 
> Get:10 http://httpredir.debian.org <http://httpredir.debian.org/> wheezy-backports/main Translation-en/DiffIndex [10.9 kB] 
> Ign http://download.goldelico.com <http://download.goldelico.com/> wheezy/main Translation-en                   
> Hit http://ftp.us.debian.org <http://ftp.us.debian.org/> wheezy/main Translation-en                         
> Ign http://download.goldelico.com <http://download.goldelico.com/> wheezy/main Translation-en                   
> Get:11 http://httpredir.debian.org <http://httpredir.debian.org/> wheezy-backports/non-free Translation-en/DiffIndex [2980 B] 
> Fetched 132 kB in 14s (8940 B/s)                                               
> Reading package lists... Done 
> root at letux:~# 
> root at letux:~# apt-get upgrade 
> Reading package lists... Done 
> Building dependency tree       
> Reading state information... Done 
> The following packages have been kept back: 
>   letux-qtmoko 
> The following packages will be upgraded: 
>   letux-base letux-minimal qtmoko-gta04 
> 3 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 
> Need to get 24.2 MB of archives. 
> After this operation, 2048 B disk space will be freed. 
> Do you want to continue [Y/n]? Y 
> WARNING: The following packages cannot be authenticated! 
>   letux-minimal letux-base qtmoko-gta04 
> Install these packages without verification [y/N]? y 
> Get:1 http://download.goldelico.com/letux-debian-rootfs/debian/ <http://download.goldelico.com/letux-debian-rootfs/debian/> wheezy/main letux-minimal all 0.20180316171325 [924 B] 
> Get:2 http://download.goldelico.com/letux-debian-rootfs/debian/ <http://download.goldelico.com/letux-debian-rootfs/debian/> wheezy/main letux-base all 0.20180316171247 [984 B] 
> Get:3 http://download.goldelico.com/letux-debian-rootfs/debian/ <http://download.goldelico.com/letux-debian-rootfs/debian/> wheezy/main qtmoko-gta04 armhf 59-1 [24.2 MB] 
> Fetched 24.2 MB in 39s (610 kB/s)                                               
> (Reading database ... 21228 files and directories currently installed.) 
> Preparing to replace letux-minimal 0.20180113093004 (using .../letux-minimal_0.20180316171325_all.deb) ... 
> Unpacking replacement letux-minimal ... 
> Preparing to replace letux-base 0.20180110171659 (using .../letux-base_0.20180316171247_all.deb) ... 
> Unpacking replacement letux-base ... 
> Preparing to replace qtmoko-gta04 59-1 (using .../qtmoko-gta04_59-1_armhf.deb) ... 
> Unpacking replacement qtmoko-gta04 ... 

Ok, it did (re?) install a new version.

I think we should add some real version numbers here, ideally some that are automatically incremented
each time we build these packages.

> Setting up letux-minimal (0.20180316171325) ... 
> Setting up letux-base (0.20180316171247) ... 
> Setting up qtmoko-gta04 (59-1) ... 
> [  352.414367] wwan_on_off_rfkill_set_block: blocked: 0 
> [  352.419555] wwan_on_off_set_power:on = 1 
> [  352.436462] wwan_on_off_is_powered_on: gpio value = 1, inverted=0 
> [  352.443908] wwan_on_off_is_powered_on: return 'true' 
> [  352.449584] wwan_on_off_set_power: state 1 
> [  352.454589] wwan_on_off_set_power: done 
> 
>           You have to configure "localepurge" with the command 
> 
>               dpkg-reconfigure localepurge 
> 
>           to make /usr/sbin/localepurge actually start to function. 
> 
>           Nothing to be done, exiting ... 
> 
> root at letux:~# 

BR,
Nikolaus


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20180328/39f0219e/attachment-0001.html>


More information about the Gta04-owner mailing list