IRC log of #maemo for Wednesday, 2019-02-27

*** mavhc has joined #maemo00:01
sixwheeledbeastmessybox?00:06
WikiwideNo idea. Might be somewhat similar to https://bugs.maemo.org/show_bug.cgi?id=22500:06
DocScrutinizer05>> So *maybe* the environment within the desktop application is running with a wrong timezone.<<00:12
DocScrutinizer05environment settings in maemo are tricky00:12
sixwheeledbeastwould the date binary be in messybox :thinks:00:13
sixwheeledbeast~pkg00:15
infobotextra, extra, read all about it, pkg is http://maemo.org/packages/00:15
WikiwideYes, time binary is from busybox00:17
DocScrutinizer05https://pastebin.com/N4dUYtcF00:18
Wikiwidetzconfig, just like date, persists with Lord Howe Island timezone, disregarding Settings->Date and time00:18
sixwheeledbeastSo it's currently zulu +10.5? not Zulu +11?00:22
*** florian_kc has quit IRC00:22
WikiwideYes. So date shows one thing, and clock shows another.00:23
DocScrutinizer05I'm pretty sure maemo doesn't care about $TZ  $LC_ALL etc00:24
*** Kabouik has quit IRC00:24
Wikiwidetzconfig seems to be getting it from /etc/localtime somehow00:24
KotCzarnythere are few libc implementations00:24
KotCzarnyglibc, busybox's one, uclibc etc00:24
*** Kabouik has joined #maemo00:25
DocScrutinizer05though https://termbin.com/wzxi  set|grep '^LC'|nc termbin.com 999900:25
WikiwideProblem is, date's half-an-hour ahead of reality time gets used by other things, such as, phone call log. Very inconvenient.00:25
WikiwideI have everything en_AU except for LC_MESSAGES and LC_TIME, which are en_GB00:27
WikiwideLord Howe comes from  readlink /etc/localtime00:30
*** Kabouik has quit IRC00:30
sixwheeledbeastIsn't /etc/localtime normally a symlink to /usr/share/zoneinfo/foo/bar ?00:30
WikiwideYes, it is. But why is it a symlink to Lord Howe, and not to Adelaide or Sydney or whatever? Why does a change in GUI settings fail to affect date and tzconfig and localtime?00:32
DocScrutinizer05maemo is special, don't get fooled00:33
DocScrutinizer05particularly around everything time, quite a few things work different than you'd expect assuming maemo was debian or ubuntu00:34
WikiwideIs it even typical for maemo to have /etc/localtime symlink, or is it usually falling back onto some other mechanism for timezones?00:34
DocScrutinizer05^^^00:34
DocScrutinizer05check "set time: automatic" in settings, which not only adjusts system clock but also timezone according to what the cellular network says00:35
DocScrutinizer05as long as you didn't mess up stuff by using standard debian means to alter it00:36
WikiwideHmm, I used tzconfig to set timezone to Adelaide. That's a patchy fix - I don't get why GUI didn't work, and I don't get why Sydney cellular network pretends it's Adelaide - but at least, it's consistent.00:38
DocScrutinizer05it's quite possible the symlink (if there's any, even) points to one particular file statically and when TZ gets changed by maemo stuff then the *content* of the file gets changed00:38
DocScrutinizer05or maybe this is total BS I just made up00:38
WikiwideNay, symlink pointed to Lord Howe, not to a statical hold-anything file00:39
WikiwideNow it points to Adelaide00:39
DocScrutinizer05lrwxrwxrwx  1 root root    33 2019-02-25 22:32 /etc/localtime -> /usr/share/zoneinfo/Europe/Berlin00:40
WikiwideYes, problem is, GUI changes didn't change date or tzconfig or localtime, whether they were manual or automatic00:40
WikiwideGUI is probably broken. Which sounds weird00:40
DocScrutinizer05-rw-r--r--   1 root root  842 2015-02-28 19:16 /usr/share/zoneinfo/Europe/Berlin00:41
*** Venemo_j_ has joined #maemo00:41
sixwheeledbeastTime zones make no sense over there anyway...00:41
sixwheeledbeastBrizzy ignore DST, some have half hour DST shift. o.O00:41
*** xorly has quit IRC00:41
WikiwideAka applet-datetime00:42
*** Venemo_j has quit IRC00:43
*** Venemo_j_ is now known as Venemo_j00:43
WikiwideWhere does control panel log errors from its applets?00:44
sixwheeledbeastSetting my device to automatic never seems to fix the time/date.00:44
Wikiwidesixwheeledbeast: does 'date' at least change its output when you change timezone in Settings?00:45
DocScrutinizer05sixwheeledbeast: depends on network providing the info afaik00:46
WikiwideIt provides info, just, the timezone is 'Adelaide', in Sydney ;-)00:47
*** Pali has quit IRC00:48
WikiwideThat's critical infrastructure. If trains go mad (say, one train has one time, another train has a different time - depending on which cellular provider is for which train, or which software the train is using; they try to run by timetable, and collide head-on)00:49
DocScrutinizer05I'm pretty sure trains are not supposed to use cellphones as timer normal00:49
DocScrutinizer05can't speak for Australia00:50
WikiwideHopefully not. But GPS and cellular chips are very close to each other, and using GPS for time is common.00:50
DocScrutinizer05here you get lynched for doing this00:50
DocScrutinizer05GPS time is pretty unrelated to cellular00:51
DocScrutinizer05however maemo might actually use GPS when celular signal not available00:51
WikiwideYes, but what if GPS signal isn't locked yet?.. Or is GPS time much faster to get than GPS almanach?00:51
DocScrutinizer05you get a first fix within iirc 45s00:52
DocScrutinizer05even without almanach00:52
WikiwideAnd, GPS doesn't provide a timezone. I think.00:52
DocScrutinizer05no, only coords ;-D00:52
WikiwideSo, where do trains get timezone from?00:52
DocScrutinizer05from their own signaling & communications infra?00:53
DocScrutinizer05they neither use cellphones tzo talk to next station00:54
DocScrutinizer05or rather, not public cellphone networks, thjey got their own00:54
WikiwideCommunications infra? Is it cellular, or something else (wires, radio, something)?00:54
WikiwideWell, their own are probably better configured.00:54
sixwheeledbeast/etc/localtime symlink changes when you change the timezone with the clock. I have 9.55 in Sydney00:55
sixwheeledbeastdate is the same as clock00:56
DocScrutinizer05often at 400some MHz00:56
*** Vajb has quit IRC00:56
DocScrutinizer052G00:56
*** Vajb has joined #maemo00:58
* DocScrutinizer05 wouldn't be surprised to learn messybox-extended or whatever the name is messing up all environment using some chenged ~/.profile or .bashrc or whatever during system boot00:58
DocScrutinizer05I recommended to NEVER change the system messybox since it's used during boot incl all flaws and glitches it has00:59
DocScrutinizer05nobody listened00:59
DocScrutinizer05funny enough this applies only to *user* messybox, not root's01:00
sixwheeledbeastautomatic seemed to work and set the clock correctly this time01:01
DocScrutinizer05haha01:01
DocScrutinizer05takes up to 15 minutes sometimes01:01
* DocScrutinizer05 is missing a systemwide file related function tracing option01:26
DocScrutinizer05like "at <time>, <who/PID> did <operation> to <FQN/filename> with <result>"01:27
DocScrutinizer05might do this if I'd strace PID1 before it starts forking child processes01:28
DocScrutinizer05there's a sketch of how to do a faintly similar approach, somewhere in maemo developers' howto01:29
MaxdamantusTrains shouldn't need a timezone to operate correctly. Timezones are just presentational, they're not part of the notion of "a time"01:33
Maxdamantus"now" for me is the same time as "now" for you. We might just have different ways of expressing that same time.01:34
*** Venemo_j has quit IRC01:35
MaxdamantusInternally, sensible systems just represent the time uniformly, so my phone and your phone and my computer and all the GPS satellites all know how many seconds have passed since it was Jan 1 1970 in UTC+001:36
*** mavhc has quit IRC01:37
*** mavhc has joined #maemo01:40
MaxdamantusActually, GPS has a different representation of the time, based on Jan 1 1980 in UTC+0, and counting uing weeks and stuff.01:40
MaxdamantusHopefully maemo knows how to handle the next rollover, which happens in a few months (happens every 19.6 or so years)01:42
*** mavhc has quit IRC01:50
*** mavhc has joined #maemo01:57
*** atk has quit IRC02:02
*** mavhc has quit IRC02:08
*** atk has joined #maemo02:13
*** mavhc has joined #maemo02:22
*** Wikiwide has quit IRC02:29
*** segnior has quit IRC02:34
*** segnior has joined #maemo02:46
*** segnior has quit IRC02:55
*** segnior has joined #maemo02:57
*** Kilroo has joined #maemo02:58
*** mavhc has quit IRC04:48
*** mavhc has joined #maemo04:54
*** Wikiwide has joined #maemo05:08
WikiwideSurvived reboot. So kernel power v53 has installed correctly, I guess.05:09
brolin_empeyReportedly time zones were originally created to use instead of true local time to synchronise railway schedules.05:21
brolin_empeyBoth Linus Torvalds and John Carmack were born close to 1970‑01‑01.05:47
*** tm has quit IRC05:56
*** tm has joined #maemo05:59
*** mavhc has quit IRC06:02
*** mavhc has joined #maemo06:07
*** mavhc has quit IRC06:48
*** mavhc has joined #maemo06:57
*** ketas has quit IRC07:11
*** spiiroin has quit IRC07:11
*** ketas has joined #maemo07:33
*** tryagain has quit IRC07:39
*** Kilroo has quit IRC07:39
*** spiiroin has joined #maemo07:43
*** Kilroo has joined #maemo07:44
*** mavhc has quit IRC07:59
*** mavhc has joined #maemo08:01
MaxdamantusI think Torvalds' birthday is supposedly in the source code somewhere.08:08
Maxdamantusas a magic number that userspace is meant to send to the kernel to cause a reboot or something.08:09
Maxdamantushttps://stackoverflow.com/questions/4808748/magic-numbers-of-the-linux-reboot-system-call08:10
MaxdamantusHis kids' too.08:11
*** mavhc has quit IRC08:28
*** Milhouse has joined #maemo08:28
*** mavhc has joined #maemo08:33
*** Kilroo has quit IRC08:54
brolin_empeyApparently my DIY microSIM→nanoSIM conversion succeeded because my now nanoSIM card that began as a miniSIM card in 2009 and was converted to a microSIM card in 2014 seems to work in the LG G5. :-D09:41
*** Venemo has joined #maemo09:44
*** dafox has joined #maemo09:52
*** jskarvad has joined #maemo09:55
*** mavhc has quit IRC09:55
*** mavhc has joined #maemo10:06
auenfbrolin_empey, what about if the contacts on my minisim are larger than a microsim size :P10:11
*** LeePen` has quit IRC10:13
brolin_empeyauenf: Contacts as in electrical contacts or as in persons?10:14
*** LeePen has joined #maemo10:14
*** dafox has quit IRC10:24
*** Vajb has quit IRC10:28
*** eMHa_ has quit IRC10:28
*** mavhc has quit IRC10:29
*** Vajb has joined #maemo10:31
auenfelecrical contacts :P10:33
auenfalthough the sim i'm referring to (which i have since replaced) wasnt an USIM anyway10:33
Vajb~backupmenu10:35
infobot[backupmenu] http://talk.maemo.org/showthread.php?t=63975, or one-click install handling dependency issues: http://maemo.cloud-7.de/maemo5/et_al/HAM-catalogs/BM.install10:35
sixwheeledbeastAs the sims have gone through the generations they support different voltages and number of electrical contacts IIRC.10:35
auenfyes, and sims prior to USIM arent guaranteed to pickup 3G signals10:36
*** Vajb has quit IRC10:38
*** hurrian has joined #maemo10:45
*** mavhc has joined #maemo10:57
*** mavhc has quit IRC11:02
*** Vajb has joined #maemo11:05
Vajbproblem: backupmenu doesn't work11:05
Vajbhere is what I did:11:05
Vajb1 Flashed stock kernel11:05
Vajb2 Removed all the traces of backupmenu related stuff and made sure that that white menu does not appear when booting keyboard open11:06
Vajb3 reinstalled backupmenu via link which I got from channel bot11:06
Vajb4 booted keyboard open, got white bootloader. Selected middle option (the one which should bring up actual backupmenustuff)11:07
*** Vajb has quit IRC11:12
*** Vajb has joined #maemo11:13
Vajb5 device loads awhile and reboots11:14
Vajbso where did I go wrong? Why it does not work? Any suggestions?11:14
VajbIt is starting to seem that I wont be doing any kind of backup of this device11:15
*** Enrico_M_RX-51 has quit IRC11:20
Vajbgoing to see what I get with default backup application.11:23
*** mavhc has joined #maemo11:24
*** Vajb has quit IRC11:25
*** Enrico_M_RX-51 has joined #maemo11:33
*** mavhc has quit IRC11:38
*** mavhc has joined #maemo11:45
*** mavhc has quit IRC11:54
*** mavhc has joined #maemo12:12
*** mavhc has quit IRC12:18
*** xorly has joined #maemo12:23
*** Vajb has joined #maemo12:31
*** mavhc has joined #maemo12:44
*** Vajb has quit IRC12:48
*** Vajb has joined #maemo12:48
*** Vajb has quit IRC12:55
*** Vajb has joined #maemo12:57
*** mavhc has quit IRC13:03
*** mavhc has joined #maemo13:06
*** tm has quit IRC13:28
*** xorly has quit IRC13:33
*** Vajb has quit IRC13:34
*** Vajb has joined #maemo13:36
WikiwideThis may be of interest for 3D model of battery cover: http://afrodita.zcu.cz/~skala/PUBL/PUBL_2013/2013_3D-Scan-SIGGRAPH-poster-A0.pdf13:36
*** Venemo has quit IRC13:39
*** mavhc has quit IRC13:40
WikiwideSame people, different publication: http://citeseerx.ist.psu.edu/viewdoc/download/doi/10.1.1.696.7915?rep=rep1&type=pdf13:42
*** Wikiwide has quit IRC13:51
*** mavhc has joined #maemo13:51
*** xorly has joined #maemo14:06
*** Vajb has quit IRC14:09
*** Vajb has joined #maemo14:37
*** tm has joined #maemo14:55
*** hurrian has quit IRC15:17
*** xorly has quit IRC15:20
*** Vajb has quit IRC15:41
*** Vajb has joined #maemo15:43
*** spiiroin has quit IRC15:48
*** Vajb has quit IRC16:01
*** spiiroin has joined #maemo16:14
*** TW1920 has joined #maemo16:47
*** Venemo has joined #maemo16:57
*** Vajb has joined #maemo17:01
VajbI think that problem is backupmenu not finding /usr/share/backupmenu/BakupMenuLauncher.item, but I have no idea why.17:02
sixwheeledbeastonly internal show in bm?17:18
Vajbboth entries are shown, but it doesn't find what it seeks and just reboots17:21
Vajbso I guess launcher is not found17:21
sixwheeledbeastno not the same as this then http://talk.maemo.org/showpost.php?p=1455798&postcount=133717:21
Vajbmy other device states what it is booting17:21
sixwheeledbeasts/no/so/17:21
infobotsixwheeledbeast meant: so not the same as this then http://talk.maemo.org/showpost.php?p=1455798&postcount=133717:21
Vajbmight as well try17:27
Vajbremoved find as suggested and recreated symlink17:27
*** Vajb has quit IRC17:28
*** Vajb has joined #maemo17:36
Vajbwell did nothing17:36
Vajbthanks for suggesting17:39
*** Vajb has quit IRC17:50
*** tryagain has joined #maemo17:58
*** Vajb has joined #maemo18:06
*** mavhc has quit IRC18:06
Vajb\o/ finally I made a backup. It seems my guess was right. When I place BackupMenuLauncher.item in to /etc/bootmenu.d it worked as expected18:08
*** Vajb has quit IRC18:13
*** mavhc has joined #maemo18:15
*** Venemo has quit IRC18:28
*** eMHa_ has joined #maemo18:30
*** Enrico_M_RX-51 has quit IRC18:36
*** Pali has joined #maemo18:40
*** Vajb has joined #maemo18:47
Vajbyet another joke is that my phone refuses to charge :p18:47
*** xray256 has joined #maemo18:48
VajbI suspect it is because flashing stock kernel messed up something. Apt now thinks that kernel power is installed but uname shows it is stock18:48
*** xray256_ has quit IRC18:49
Vajband I guess that will be the state of my backup too, but oh well now I have backup to play with to fix this18:49
sixwheeledbeastbackup will be an img of the current state. Why would apt care about kp?18:52
*** dafox has joined #maemo18:53
Vajbwell it shows that kp is installed but kernel in use is stock18:54
VajbI guess I'll have to fix it by hand. Removing kp and all it dependencies and reinstall them again18:55
*** Venemo has joined #maemo18:55
sixwheeledbeastI don't see an issue with having multiple kernels? Doesn't uboot have the option to boot either?19:05
VajbI guess it would have but I don't have it19:08
Vajbthen what you think would cause device to not charge anymore?19:09
*** xkr47 has quit IRC19:10
Vajbbattery just says "no data or battery is not calibrated"19:10
*** Venemo_j has joined #maemo19:10
*** xkr47 has joined #maemo19:11
Vajbif I attach charger when device is turned off it just starts and starts. If I attach charger when it is on, it does nothing19:11
*** Venemo has quit IRC19:11
*** xray256 has quit IRC19:14
sixwheeledbeastwhat have you installed recently?19:19
sixwheeledbeasttesting?19:19
Vajbflashed stock kernel via flasher19:21
Vajbthat is only thing I did more19:21
*** xray256 has joined #maemo19:27
sixwheeledbeastthat would probably explain the charging issue then. maybe --reinstall if you feel brave?19:31
Vajbumm reinstall stock or reinstall kp?19:35
Vajbor reflash stockä?19:35
Vajb19:36
*** dafox has quit IRC19:39
*** LauRoman has quit IRC19:41
*** LauRoman has joined #maemo19:43
sixwheeledbeastkp19:47
*** jskarvad has quit IRC19:49
*** Pali has quit IRC20:12
*** xray256 has quit IRC20:30
*** grinseka1ze is now known as grinsekatze20:40
*** xray256 has joined #maemo20:44
Vajbdidn't help21:03
*** mavhc has quit IRC21:05
sixwheeledbeastis the kernel in use?21:19
sixwheeledbeastkp21:19
Vajbnope21:35
Vajbgonna change full battery now21:35
*** Vajb has quit IRC21:35
*** Vajb has joined #maemo21:38
Vajbreinstall went smoothly, but stock kernel is still in use21:39
*** dafox has joined #maemo21:40
*** Rassi is now known as Ras_Older21:44
Vajbhehe n900 is really testing me now. First backuprestore was not very succesfullä21:45
Vajbwhined about timestamps being in the future and resulted unbootable device21:46
*** Ras_Older has left #maemo21:49
*** Enrico_M_RX-51 has joined #maemo22:15
*** Venemo_j has quit IRC22:16
*** mavhc has joined #maemo22:19
*** mavhc has quit IRC22:24
*** eMHa_ has quit IRC22:43
*** mavhc has joined #maemo23:00
*** mavhc has quit IRC23:05
*** mavhc has joined #maemo23:22
*** tryagain has quit IRC23:32
Vajbok. Charge issue fixed. Removed kernel-power and all its dependencies. Reinstalled them from the notes and reboot. Profit!23:36
*** Vajb has quit IRC23:43
*** Vajb has joined #maemo23:43
sixwheeledbeastOhhh profit.23:49
Vajband since backuprestore was also succesfull I had indentical device to test other approach which was "reinstall kernel-power-flasher" instant profit!23:52
*** eMHa_ has joined #maemo23:53
*** xes_ has quit IRC23:53
*** xes has joined #maemo23:59
*** Pali has joined #maemo23:59
*** Vajb has quit IRC23:59

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