Tuesday, 2014-07-29

*** DarkSim has quit IRC00:08
*** chriadam|away is now known as chriadam00:16
*** jonwil has joined #nemomobile00:37
*** wazd has quit IRC01:04
*** softmetz_ has joined #nemomobile01:05
*** softmetz has quit IRC01:08
*** jidiablo has joined #nemomobile01:37
*** amccarthy_ is now known as amccarth01:40
*** amccarth is now known as amccarthy01:40
*** phaeron has quit IRC01:58
*** wazd has joined #nemomobile02:04
*** Behold has quit IRC02:39
*** Morpog_PC has joined #nemomobile02:44
*** marxistvegan has joined #nemomobile03:16
*** mkosola has quit IRC03:18
*** spiiroin has quit IRC03:19
*** veskuh has quit IRC03:19
*** PMG has quit IRC03:19
*** kjokinie has quit IRC03:19
*** PMG has joined #nemomobile03:20
*** spiiroin has joined #nemomobile03:20
*** veskuh has joined #nemomobile03:20
*** mkosola has joined #nemomobile03:21
*** kjokinie has joined #nemomobile03:21
*** alin has quit IRC03:48
*** martyone has joined #nemomobile03:58
*** wazd has quit IRC04:03
*** marxistvegan has quit IRC04:29
*** Morpog_PC has quit IRC04:34
*** alin has joined #nemomobile04:52
*** zhxt has joined #nemomobile04:55
*** Morpog_PC has joined #nemomobile05:28
*** jonwil has quit IRC05:52
*** alin has quit IRC05:55
*** Morpog_PC has quit IRC05:56
*** SfietKonstantin has joined #nemomobile05:56
*** alin has joined #nemomobile06:01
*** DocScrutinizer05 has quit IRC06:14
*** DocScrutinizer05 has joined #nemomobile06:14
*** jidiablo has quit IRC06:17
*** gogeta has joined #nemomobile06:35
*** furikku has joined #nemomobile06:47
*** gogeta has quit IRC06:54
*** tanty_off is now known as tanty07:00
*** norayr has joined #nemomobile07:02
*** SfietKonstantin has quit IRC07:07
*** mjones has quit IRC07:08
*** mjones has joined #nemomobile07:08
*** alin has quit IRC07:11
*** alin has joined #nemomobile07:12
*** mjones has quit IRC07:13
*** blam_ has quit IRC07:14
*** LaoLang_cool has joined #nemomobile07:22
*** stephg has quit IRC07:27
*** xruxa_away is now known as xruxa07:29
*** mjones has joined #nemomobile07:40
*** SK_work has joined #nemomobile07:40
*** rcg has joined #nemomobile07:43
*** jreznik has joined #nemomobile07:50
*** Guest16891 has joined #nemomobile07:51
situIt looks like setting rtc is not possible on Nexus 5 and we will have to modify dsme code to avoid setting rtc.08:04
alinsitu: answered?08:09
alinsitu: and how do they do it on the android?08:09
*** dmol has joined #nemomobile08:09
situalin: On Android they do not write to rtc.08:09
situalin: that's all I know.08:09
alinsitu: I see...08:09
alinthat will be a bummer08:10
*** norayr has quit IRC08:16
*** LaoLang_cool has quit IRC08:24
*** tanty has quit IRC08:25
spiiroinsitu: android has /dev/alarm. the driver for that can override stuff done via /dev/rtc when device suspends -> dsme tries to use both08:30
spiiroin.. or was this about setting the time of day, not alarms?08:30
*** notmart has joined #nemomobile08:38
*** dmol has quit IRC08:43
*** tanty_off has joined #nemomobile08:48
*** tanty_off is now known as tanty08:48
*** mjones has quit IRC08:50
*** mjones has joined #nemomobile08:50
*** mjones has quit IRC08:55
*** pat_o has quit IRC08:58
*** pat_o has joined #nemomobile08:59
situspiiroin: it's about setting time09:02
*** blam_ has joined #nemomobile09:02
*** pat_o has quit IRC09:05
*** pat_o has joined #nemomobile09:05
*** pat_o_ has joined #nemomobile09:07
spiiroinsitu: it might be as simple as changing rtc related kernel configs09:07
*** wazd has joined #nemomobile09:07
spiiroinsitu: but I've not yet checked how things work on n5; are there some complications from failing to set rtc time?09:08
spiirointimed should move system time after it gets nitz data from network and dsme programs alarms relative to current rtc time -> things might still work even if there are complaints at dsme startup09:10
*** pat_o has quit IRC09:10
*** pat_o_ has quit IRC09:11
*** pat_o has joined #nemomobile09:12
alinspiiroin: timed crashes continuously ...09:14
alin[ 1335.725605] init: waitpid returned pid 2808, status = 0000ea0009:14
alin[ 1335.725704] init: process 'time_daemon', pid 2808 exited09:14
alin[ 1335.725846] init: process 'time_daemon' killing any children in process group09:14
alinover and over and over again09:14
*** pat_o_ has joined #nemomobile09:15
spiiroinalin: well, that certainly counts as a "complication" ...09:15
*** Guest16891 has quit IRC09:16
*** cristi has joined #nemomobile09:16
*** pat_o has quit IRC09:17
*** pat_o has joined #nemomobile09:17
*** pat_o_ has quit IRC09:19
*** piggz has joined #nemomobile09:19
*** pat_o_ has joined #nemomobile09:20
*** piggz_ has quit IRC09:20
situspiiroin: you are talking about timed utility in Sailfish right ?09:20
situalin: time_daemon is an android utility.09:21
*** solarius has joined #nemomobile09:21
*** pat_o has quit IRC09:22
*** pat_o has joined #nemomobile09:23
spiiroinsitu: yes, I was talking about nemo time daemon "timed"09:23
situspiiroin: so there might be a race condition here as sometimes I see correct time on boot.09:24
*** pat_o_ has quit IRC09:24
spiiroin/dev/rtcN can be opened by only one process at time, so it is possible09:24
spiirointhe assumption we have baked into system is that dsme has it open all the time09:25
spiiroinfor alarm purposes dsme will (or at least should) retry opening periodically09:25
alinsitu: I am confused then... for a reason.. timed is not installed on mine09:26
situalin: on my device -> timed-qt5-2.88-1.12.2.armv7hl09:26
alinsitu: I see it no.. is qt509:26
alinsitu: got fouled by the mer one09:27
situspiiroin: If I remove ihpb module from my device and let time_daemon take /dev/rtc0. I see correct time.09:27
situspiiroin: I straced time_daemon and found it executes settimeofday09:28
situspiiroin: so I think we should just execute settimeofday in case RTC_SET_TIME fails with permissoin errors.09:28
alinsitu: but if is a race condition... can't we just order the services?... or you suspect a race in something else?09:29
spiiroinsitu: if android side releases rtc device after setting the time -> adjusting start order might be enough09:29
spiiroin... but I'll take a peek at dsme code - been a while09:30
situspiiroin: https://github.com/nemomobile/dsme/blob/4f8d29664c1b7180b45066c3ac5b3ad50eb91977/modules/iphb.c#L92209:31
situThis is the call which fails.09:31
alinspiiroin: situ can;t we kill the android and just restart dsme to test09:31
situspiiroin: we can just disable time_daemon in init.hammerhead.rc09:31
situalin: ^09:31
*** phaeron has joined #nemomobile09:32
alinsitu: ok... I will comment and restart...09:33
alinbut I think there is something else that restarst time_d09:33
alinsitu: ok... disabled it in there.. let us see if is enough09:35
situalin: I have tried it and was not able to get correct time with it.09:35
*** DocScrutinizer05 is now known as DocScrutinizer0609:36
*** DocScrutinizer06 is now known as DocScrutinizer0509:37
spiiroinalin: situ: dsme does set system time; 1st when rtc device is opened (to get system time within 1s from rtc time); then on the next rtc wakeup (to get it closer to rtc time)09:38
*** Jon_Severinsson_ has joined #nemomobile09:38
spiiroin.. but there is enough room for errors if dsme does not get the rtc device node opened when it wants to09:38
*** mjones has joined #nemomobile09:39
situspiiroin: Relevant logs from my journalctl http://pastie.org/942903309:40
* spiiroin looks09:40
situspiiroin: consdering rtc can never be set, what is the best way to fix this issue ?09:41
*** Jon_Severinsson has joined #nemomobile09:41
*** dmol has joined #nemomobile09:41
spiiroindoes the system time still change?09:42
situspiiroin: Nope09:42
spiiroini.e. if you stop dsme; set system time to something bogus; start dsme -> system time stays at bogus value?09:43
*** Jonno has joined #nemomobile09:43
*** Jon_Severinsson_ has quit IRC09:43
situspiiroin: let me try09:44
alinsitu: spiiroin i tried09:45
alinand dsme changes it09:45
situspiiroin: http://pastie.org/942903709:46
alini set the time to some correct time with dsme down... when restarted I get the bogus time09:46
spiiroinalin: that is kind of expected if rtc time can't be set09:46
*** pat_o_ has joined #nemomobile09:46
spiiroinbasically it should go like this ..09:46
spiiroinon bootup: dsme syncs rtc -> system time, later timed adjusts system time (rtc is not changed); on shutdown: dsme syncs system time -> rtc09:47
spiiroinnow if rtc time can't be modified -> system time gets set to what ever rtc has; then something (nemo timed, hopefully) takes over system time09:48
spiiroin-> net effect is that system time is incorrect during bootup09:49
spiiroin... and stays that way if timed/something else does not function as expected09:49
alinspiiroin: exactly09:50
*** pat_o has quit IRC09:50
*** Jonno has quit IRC09:50
*** Jon_Severinsson has quit IRC09:50
spiiroinunfortunately PMG is still on vacation, he would know the timed side better09:51
*** pat_o_ has quit IRC09:51
*** pat_o_ has joined #nemomobile09:52
alinspiiroin: when you say timed you mean time_daemon?09:53
alinspiiroin: not timed-qt5?09:53
spiiroinalin: timed-qt5 (IIRC the prefix is due to qt4 -> qt5 porting)09:54
spiiroin... suffix09:54
alinspiiroin: ok..  then I am lost...09:54
*** pat_o has joined #nemomobile09:54
* spiiroin knows nothing about android time_daemon09:54
alinspiiroin: there is a time_daemon that keeps crashing...09:55
alinspiiroin: the timed_qt5 I do not think will be so early in the process...09:55
alinspiiroin: situ?09:55
spiiroinalin: yes I gathered that, but I mean I do not know what purpose it serves / how it works09:55
alinspiiroin: ok...09:56
alin[  956.509403] systemd[1]: Received SIGCHLD from PID 1955 (systemd-timedat).09:56
situalin: time_daemon keeps crashing because it's not able to get /dev/rtc0 as dsme has control over it.09:56
*** Jon_Severinsson has joined #nemomobile09:57
alinsitu: ok... this is what I thought... what I miss.. is how is related with timed-qt5?09:57
*** pat_o_ has quit IRC09:57
*** wazd_ has joined #nemomobile09:58
*** arcean has joined #nemomobile09:58
situspiiroin: but having wrong system time at boot is still a bug and should be fixed in dsme code.09:58
spiiroinsitu: it can't be fixed in dsme if rtc can't be modified09:59
*** pat_o has quit IRC09:59
*** pat_o has joined #nemomobile09:59
situspiiroin: can we call setttimeofday if setting rtc fails ?09:59
*** Jonno has joined #nemomobile10:00
spiiroinsitu: it already does, but if dsme does not know what the correct time is -> it does nothing useful10:00
*** Jon_Severinsson has quit IRC10:01
*** wazd has quit IRC10:01
situspiiroin: from where else would dsme know correct time other than rtc ?10:01
situspiiroin: sometimes I see it is trying to set correct time in rtc but fails because setting rtc is not allowed.10:01
*** solarius1 has joined #nemomobile10:02
*** sp3000 has quit IRC10:02
spiiroinsitu: the expectation is that timed sets system time (except during dsme startup, which should happen only on bootup)10:02
*** pat_o_ has joined #nemomobile10:02
spiiroinbut once dsme is running, any process that has enough privileges can change system time10:03
situspiiroin: ok, I will try to go through timed code.10:03
*** Jon_Severinsson has joined #nemomobile10:03
*** pat_o has quit IRC10:04
*** solarius has quit IRC10:04
spiiroinIIRC timed changes system time when nitz date is received from cellular network; possibly connman could play some role too (ntp?)10:04
*** DocScrutinizer05 is now known as DocScrutinizer0610:08
*** DocScrutinizer06 is now known as DocScrutinizer0510:08
*** pat_o has joined #nemomobile10:09
*** pat_o_ has quit IRC10:11
*** pat_o has quit IRC10:14
*** pat_o has joined #nemomobile10:15
*** xmlich02 has joined #nemomobile10:16
alinspiiroin: situ funnily enough rebooted time_daemon does not crash anymore10:23
alintime still wrong10:23
spiiroinalin: if there is a race condition it might go: android time_daemon manages to set system time somehow then dsme sets it to rtc time --- or dsme gets there first and then time_daemon crashes10:25
alinspiiroin: seems to10:25
spiiroinbut I'm not sure if android time_daemon is needed except for android compatibility (which is not present?)10:26
spiiroin... if timed were functioning as expected10:26
alinspiiroin: I have no idea why is in there... does not belong to any package10:27
alinsledges: what do you know about this time_daemon?10:30
sledgesis a closed source blob by qualcomm10:30
alinsledges: do we really need it?10:30
sledgesno idea :/10:31
alinsledges: i see is started as a service in init.hammerhead.rc10:31
sledgesif it works without - not10:31
*** norayr has joined #nemomobile10:31
*** onurati has joined #nemomobile10:31
alinsledges: for sure boots with the service disabled...10:42
alinsledges: but how comes it does not come from a rpm?10:42
sledgesalin: it's part of CM10:42
alinsledges: ok I see now10:42
alinsledges: let me ask an ubuntu man10:42
*** pat_o_ has joined #nemomobile10:44
alinsledges: ok.. I will do like this disable the crap and see what happens...10:46
*** pat_o has quit IRC10:46
alinsledges: for a long period of time10:46
sledgesalin: good call10:49
alinsitu: ubuntu on nexus5 they seem not to use dsme.. or for sure is not running10:52
*** suy has quit IRC10:54
*** chriadam is now known as chriadam|away10:55
*** suy has joined #nemomobile10:55
*** sp3000 has joined #nemomobile10:58
*** merlin1991 has quit IRC11:03
*** kelvan has quit IRC11:03
*** merlin1991 has joined #nemomobile11:06
*** Jon_Severinsson has quit IRC11:06
*** kelvan has joined #nemomobile11:13
*** pat_o has joined #nemomobile11:24
*** onurati has quit IRC11:24
*** pat_o_ has quit IRC11:27
alinsitu: spiiroin ...timed-qt5 is started as nemo...11:29
spiiroinalin: as it should be11:29
*** pat_o has quit IRC11:31
spiiroinalin: there is oneshot script that gives timed permissions to modify system time11:32
alinspiiroin: yap..11:32
*** solarius1 has quit IRC11:43
*** jreznik has quit IRC11:59
*** IgorSK has joined #nemomobile11:59
*** martyone has quit IRC12:05
*** jreznik has joined #nemomobile12:06
*** juiceme has quit IRC12:55
*** zhxt has quit IRC13:13
*** marxistvegan has joined #nemomobile13:31
*** marxistvegan has left #nemomobile13:38
*** dmol has quit IRC13:39
*** mkosola has quit IRC14:02
*** DrCode has quit IRC14:02
*** DrCode has joined #nemomobile14:03
*** kimmoli__ has joined #nemomobile14:18
*** kimmoli has quit IRC14:19
*** kimmoli__ is now known as kimmoli14:19
*** marxistvegan has joined #nemomobile14:35
*** solarius has joined #nemomobile14:37
*** xmlich02 has quit IRC14:58
*** dpurgin has joined #nemomobile15:02
*** artemma has quit IRC15:07
*** IgorSK has quit IRC15:10
*** phaeron has quit IRC15:31
*** phaeron has joined #nemomobile15:31
*** artemma has joined #nemomobile15:39
*** dmol has joined #nemomobile15:48
*** ced117 has joined #nemomobile15:51
*** dmol has quit IRC15:52
*** rcg has quit IRC15:56
*** sletta has quit IRC15:58
*** LjL has quit IRC16:08
*** tanty is now known as tanty_off16:13
*** tanty_off is now known as tanty16:14
*** LjL has joined #nemomobile16:15
*** artemma has quit IRC16:17
*** alin has quit IRC16:17
*** jreznik has quit IRC16:27
*** xruxa is now known as xruxa_away16:29
*** cristi has quit IRC16:35
*** dmol has joined #nemomobile16:40
*** tanty is now known as tanty_off16:58
*** dmol has quit IRC17:01
*** dmol has joined #nemomobile17:02
*** DarkSim has joined #nemomobile17:05
*** ced117 has quit IRC17:12
*** Eztran has joined #nemomobile17:17
*** sletta has joined #nemomobile17:23
*** Morpog_PC has joined #nemomobile17:24
*** kido has joined #nemomobile17:25
*** solarius has quit IRC17:31
*** dpurgin has quit IRC17:31
*** MrPigBearMan has quit IRC17:32
*** solarius has joined #nemomobile17:35
*** alin has joined #nemomobile17:51
*** jreznik has joined #nemomobile18:00
*** Morpog_PC__ has joined #nemomobile18:05
*** marxistvegan has quit IRC18:15
*** notmart has quit IRC18:27
*** onurati has joined #nemomobile18:29
*** Morpog_PC has quit IRC18:32
*** marxistvegan has joined #nemomobile18:39
*** dmol has quit IRC18:42
*** dmol has joined #nemomobile18:43
*** gogeta has joined #nemomobile18:53
*** furikku has quit IRC19:01
*** MrPigBearMan has joined #nemomobile19:08
MrPigBearManHello there someone once told me where i could find this code that I am looking for but I lost it in all the daily stuff that goes on.  I am looking to see how nemo mobile reads ini desktop files19:09
MrPigBearManif someone could point me to the source that would be great.  thanks for your time.19:09
*** alin__ has joined #nemomobile19:16
smokuMrPigBearMan: http://qt-project.org/doc/qt-5/qsettings.html19:17
MrPigBearMansmokex,  QSettings can not read after the ;19:18
MrPigBearManin other words it will  not work for categories19:18
specialMrPigBearMan: iirc desktop files are parsed by https://github.com/nemomobile/libcontentaction19:19
smokuMrPigBearMan: no idea what are you talking about19:19
MrPigBearMansmokex,    QString categories = settings.value("Categories").toString();19:19
MrPigBearManwill not read past a ;19:19
*** alin has quit IRC19:19
MrPigBearManthanks special  Oo now19:19
smokuMrPigBearMan: oh. you mean .desktop files, not .ini files?19:19
smokuMrPigBearMan: https://github.com/nemomobile/mlite/blob/master/src/mdesktopentry.h19:21
MrPigBearManthere we go that is what i am looking for19:21
MrPigBearManthanks !19:22
*** qwazix_ has quit IRC19:22
MrPigBearManany one here been able to get nemo mobile to run on the raspberry pi  ?19:23
MrPigBearManI looked at the wiki and KS files but It does not seem to be a full working DE19:24
*** wilask has joined #nemomobile19:35
*** javispedro has joined #nemomobile19:46
*** sletta has quit IRC19:47
*** piggz has quit IRC19:50
MrPigBearMansmoku, can you help me with this class ?  I have something like this  http://pastebin.com/2T3W1fJ3    End goal is to have it set up abstractlistmodels so that I can access from QML .  thanks But I can not figure out how to set the desktopfile to read.  :(19:57
MrPigBearManNM I got It !!!!19:58
MrPigBearManin the foreach loop it should look like this.  MDesktopEntry desktopFileValue(str);     qDebug() << desktopFileValue.icon();19:59
MrPigBearManThis is a Awesome Class !19:59
*** artemma has joined #nemomobile20:09
*** Behold has joined #nemomobile20:17
*** DrCode has quit IRC20:21
*** DrCode has joined #nemomobile20:22
*** marxistvegan has quit IRC20:23
*** jreznik has quit IRC20:25
*** alterego_ has joined #nemomobile20:25
*** SfietKonstantin has joined #nemomobile20:28
*** alin has joined #nemomobile20:29
*** alin has quit IRC20:29
*** alin has joined #nemomobile20:29
*** alin__ has quit IRC20:30
*** alterego_ has quit IRC20:31
*** SfietKonstantin has quit IRC20:32
*** alin has quit IRC20:32
*** SfietKonstantin has joined #nemomobile20:32
*** alin has joined #nemomobile20:32
*** sletta has joined #nemomobile20:46
*** sletta has quit IRC20:46
*** louisdk has joined #nemomobile20:49
*** Morpog_PC__ has quit IRC20:50
*** kido has quit IRC20:53
*** xruxa_away is now known as xruxa21:02
*** sletta has joined #nemomobile21:03
MrPigBearManAnyone know anything about dealing with icons that are in sets like xdg ?  Do you all have a class for that also ?21:08
*** sletta has quit IRC21:09
*** SfietKonstantin has quit IRC21:17
*** louisdk has quit IRC21:27
*** DarkSim has quit IRC21:31
*** onurati has quit IRC21:44
*** marxistvegan has joined #nemomobile21:45
*** mjones has quit IRC21:53
*** mjones has joined #nemomobile21:53
*** norayr has quit IRC21:57
*** mjones has quit IRC21:57
*** trollixx has quit IRC22:01
*** trollixx has joined #nemomobile22:01
*** javispedro has quit IRC22:07
*** xruxa is now known as xruxa_away22:07
*** phaeron has quit IRC22:23
*** artemma has quit IRC22:29
*** blam_ has quit IRC22:30
*** mjones has joined #nemomobile22:49
*** wazd_ has quit IRC22:50
*** wilask has quit IRC23:03
MrPigBearManNM I figureed it out with qpixmap and Qicon23:10
*** gogeta has quit IRC23:13
*** mjones has quit IRC23:14
*** chriadam has joined #nemomobile23:15
*** chriadam|away has quit IRC23:15
*** denexter has quit IRC23:15
*** mjones has joined #nemomobile23:16
*** blam_ has joined #nemomobile23:16
*** denexter has joined #nemomobile23:45
*** Behold has quit IRC23:51
*** Behold has joined #nemomobile23:55

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!