libera/#maemo-leste/ Sunday, 2022-12-18

Wizzupuvos: android doesn't do a lot of suspend? I thought it did11:22
siceloanyone about? i am probably having a pebkac moment, but i can't find where `up_exported_device_get_battery_level` is defined in upower source code12:43
sicelofor example, it is used/referenced at https://gitlab.freedesktop.org/upower/upower/-/blob/master/src/up-device.c#L9412:43
siceloif you can help me find where it's defined, since i'd like to know how it finds battery level12:47
norayrmy droid4 with this battery also cannot charge it if it is very low.16:07
norayrusually when it started it was able to enter charge mode and light up a green led. with these two btteries it maanages to even start hildon but doesnt start to charge anymore.16:09
norayri dont know if both batteries are bd or something changed in maemo.16:09
norayrthen hildon shuts down because the battery is low16:10
norayri managed to somehow make it to charge, accidentally. i tried to halt the phone during boot process to not deplete the battery and somehow green led slappeared and the screen showed a battery with very low level. i thought thats yastboot or something not maemo and not linux but after half an hour i touched it again16:12
norayrand it continued to boot16:12
norayrit looks like that battery was drown on framebuffer by linux kernel or maemo, no idea.16:13
norayrdrawn16:13
Wizzup12 days uptime on my d4 :)16:33
Wizzup(with 6.1)16:33
sicelolucky. mine just shutdown a few minutes after being connected on charger yesterday16:41
Wizzuphm, I don't think I usually see that16:46
Wizzupmy reboots have been from the modem oopses fulling up disk and requiring a reboot16:47
siceloWizzup: what did you end up doing about 19:29 26                        #maemo-leste    Libera18:29
sicelo-EPASTE, sorry18:29
sicelohttps://www.mail-archive.com/devkit-devel@lists.freedesktop.org/msg01749.html18:29
siceloseems upower people never replied?18:30
Wizzupmhm18:32
siceloah, you did this, https://github.com/maemo-leste/bugtracker/issues/9018:40
sicelo :-)18:40
buZznorayr: sometimes it helps to disconnect and reconnect usb during powerup19:25
buZzthe 'battery drawn on framebuffer' is uvos' 'chargemode' thingy19:25
buZzits a whole linux booted, just pressing powerbutton makes it continue19:26
norayrbuZz, i tried to disconnect and reconnect but it was too slow and the phone would shut down. but i have a pine64 charger, and i managed to turn it shortly off and on via a switch and that helped. maybe i did that to put it to that state i described. i don't remember exactly now.19:30
norayri forgot that i did that, but you reminded me.19:30
norayraha, now i know what is chargemode!19:31
norayrmaybe it makes sense to enter charge mode even with a better battery. because for me it was able to boot to hildon.19:31
norayrbut the charging didn't start, and then hildon reported low battery and19:32
norayrthe phone turned off.19:32
norayrso forcing this charge mode somehow would be good. either forcing it or changing its values, because it doesn't enter chrage mode for me. well it entered somehow once.19:32
siceloit goes to charge mode always, if device was turned on by connecting usb cable19:35
buZzsicelo: not for me19:37
buZzits very unreliable19:37
buZzif i -turn on- the phone by USB cable, the phone never detects the USB and boots past chargemode , all the time19:37
buZzonly if i connect the usb -after- kexecboot, it seems to trigger greenled & USB detection works19:38
buZzi suspect it has to do with charger vs actual USB vs just resistors vs usbcondom19:38
norayr>it goes to charge mode always, if device was turned on by connecting usb cable19:42
norayrhmmm not sure it indeed works always.19:42
norayr>only if i connect the usb -after- kexecboot, it seems to trigger greenled & USB detection works19:43
norayrah!19:43
sicelobuZz: well i did disable charge mode myself, long ago. but afaik it should just work19:44
uvosthe way mapphones detect charging is racy/broken19:45
uvosso this is  aknown issue19:45
buZznorayr: do you see that repeated for you?19:46
buZzuvos: yeah, its not new19:46
norayri will try to make sure i am connecting the cable after kexecboot.19:46
uvosbuZz: um actually suprised it ever works19:46
uvosits just a irq cpcap raises19:47
uvosif its raised before the mianline kernel boots i would expect the irq to have been cleared by the android kernel19:47
uvosfor some reason sometimes it works19:47
uvosit really should never work19:47
buZzuvos: i feel the data pins are involved19:48
buZzsomehow ..19:48
uvosanyhow freemangordon is rewirteing th usb detect stuff19:48
uvosso its not to relevant anymore for long19:48
norayrshould  i try to build for chimaera in phoenix?19:54
norayrbuild with parameters19:54
norayrrelease: extras19:54
Wizzupyes please19:54
norayrdistribution: chimaera?19:54
norayrshould i replace beowulf with chimaera?19:54
Wizzupjust replace beowulf with chimaera19:54
norayr>ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.19:55
norayri think i need to make changes in the repos too.19:55
norayrlet me remember where there beowulf is mentioned.19:56
norayrah the branch!19:56
norayrthe branch should be maemo/chimaera probably.19:56
Wizzupyes20:14
norayri think this is something i cannot deal with: https://phoenix.maemo.org/job/msid-repos/9/console20:33
norayrFile "pool/main/m/msid/msid_0.4.8.orig.tar.gz" is already registered with different checksums!20:33
norayrmd5 expected: a0f5d1d951f55234f8b01123370ad767, got: 3af6a70638c98a3165f58bdf786dac0020:33
norayrthere is already that file.20:34
norayri can change the tag and/or version of course. but the actual version did not change.20:34
norayrshould i change changelog?20:35
norayrif i have msid (0.4.8-3+leste1) unstable; urgency=low20:35
norayrshould i change it to msid (0.4.8-4+leste1) unstable; urgency=low ?20:35
Wizzupthe same happened on jun 3020:35
Wizzuphttps://phoenix.maemo.org/job/msid-repos/20:35
norayrshould it be leste2?20:36
norayror i can change the number after the dash?20:36
norayrbut that would mean also changing changelog?20:36
WizzupI think you might want to increase the version first, and retag20:36
norayrhmmm. ok, let it be other version.20:37
Wizzupnorayr: btw, I think I already did maefat, but thanks for checking it anyway20:37
norayroh!20:37
norayrmaybe i spoiled it?20:37
Wizzupnah it's fine I think?20:37
Wizzupnorayr: souce pkgs are based on tag20:37
Wizzupany time you change source you must make a new tag and new version20:37
Wizzupso in this case there is already a 0.4.8 source pkg registered before20:37
norayrbut i didn't change the source. i only created a new branch.20:38
Wizzupand only the amd64 job normally uploads the source20:38
norayrand pushed it. and pushed the tag.20:38
Wizzupyes, but this was already a problem for beowulf too.20:38
Wizzupsee my link20:38
norayrok, i'll try to find in the repos, which of my projects you wasn't able to rebuild.20:38
norayrto not mess with those you already did.20:38
norayrand thanks for doing that btw.20:38
Wizzupfor example I see that you changed the source without retagging20:38
Wizzupnorayr: you can see here what I checked :) https://github.com/maemo-leste/bugtracker/issues/644#issuecomment-134415147120:39
norayrlet me see, because i believe i did the tag...20:39
norayrmaybe i did something wrong20:39
Wizzupnorayr: so:20:39
Wizzup(1) you can never re-use a tag, you must increase it and push a new tag, and also in the changelog20:39
Wizzupwell that's it really, just (1)20:40
norayroh.20:40
Wizzupin this case tag 0.4.8 points to commits that aren't even in main20:40
Wizzupso there's a chance that the pkgs in the repo actually don't contain all the changes you wanted20:40
Wizzupso just tag your HEAD as 0.4.920:40
Wizzupand then add 0.4.9 to the changelog20:40
Wizzupor make it 0.4.8.1 if you want20:40
norayroh good, so i'll do photolightmeter, lagrange, leafpad, msid, shermans-aquarium-maemo, live-wallpaper, mstardict.20:41
norayris there a way to upgrade droid4 to chimaera or i should better download a new image and try to sync the home?20:42
Wizzupsec.20:44
Wizzupnorayr: dist-upgrade might work if you do it right20:54
WizzupI can help in an hour or so20:55
norayri'll try. not now, i'll deal with repos now.20:55
freemangordonWizzup: I am still struggling with HAM :)21:06
freemangordonbut, almost there21:06
freemangordonI need to fix that 1px offset that sometimes happens for couple of resolutions21:06
freemangordonhopefuly I will fix it in 1-2 days21:07
Wizzupfreemangordon: heh, it's not that important21:13
freemangordonwell, I am so close it does not worth to leave it unfinished21:30
sicelooh, btw packages need to be ported to chimaera? when is it planned to release?21:35
* sicelo has a few extras packages to take care of ... hopefully moving them over will be easy21:36
Wizzupsicelo: asap :p21:50
Wizzupfreemangordon: btw I checked the bluetooth RE work we have to do and it doesn't seesm to be too muc22:32
Wizzuph22:32
Wizzupconnui-bluetooth-status-menu-item.so = 11.1K22:32
Wizzuplibdialog_bluez.so = 11.9K22:32
Wizzuplibdialog_btsearch.so = 8.0K22:32
Wizzuphildon-control-panel/libbtsettings.so = 19.9K22:32
Wizzupthat's connui-btsettings and connui-conndlgs-bluetooth and connui-statusbar-bluetooth22:32
Wizzupthis disregards the obex stuff22:32
norayrwith mstardict  i get this error:22:45
norayr/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libgtk-x11-2.0.so: undefined reference to symbol 'g_module_open'22:45
norayr/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libgmodule-2.0.so: error adding symbols: DSO missing from command line22:45
norayrbut the configure.ac is right and contains gmodule-2.022:46
norayrso libtool calls22:46
norayr/bin/bash ../libtool  --tag=CXX   --mode=link x86_64-linux-gnu-g++  -g -O2   -o mstardict conf.o dictmngr.o libwrapper.o mstardict.o prefsdlg.o transwin.o tts.o -Wl,--export-dynamic -lgmodule-2.0 -pthread ...22:46
Wizzupuvos: btw I have organicmaps running on my laptop atm22:46
Wizzupnorayr: please share the full error22:47
norayrit seems right, -lgmodule is after .o files...22:47
norayrminute22:47
norayrhttps://bpa.st/YOCMQ22:48
norayrthis is the important part.22:48
norayrfor some reason it searches 'g_module_open' in libgtk-x11-2.0.so22:49
Wizzupso the problem is absolutely in the order of the -l flags22:49
norayrwhile it should be in libgmodule-2.0.so, and that file exists.22:49
WizzupI think they should be before the object22:49
Wizzupfiles22:49
norayryes in configure.ac, look:22:49
WizzupI've done this a million times and still haven't done it properly22:49
WizzupI mean22:50
Wizzupi did it properly22:50
Wizzupbut I don't remember it properly22:50
norayrhttps://github.com/maemo-leste-extras/mstardict/blob/48f7924faed85ec6f9c12c75cf490c6287879c6f/configure.ac#L5122:50
norayrand it is there in config one time more22:50
Wizzupyou also need to look at Makefile.a,22:52
Wizzupam22:52
norayroh22:52
WizzupI also don't see: AC_SUBST(LIB_STARDICT_LIBS) - don't you need that too?22:52
norayrwhere where?22:53
norayrin configure.ac?22:53
Wizzupyes22:54
norayrthere is AC_SUBST(MSTARDICT_LIBS)22:54
Wizzuphm22:54
Wizzupif you cannot figure it out I can try to fix it22:54
norayrthere are two PKG_CHECK_MODULES lines, one for MSTARDICT_LIBS and one for MSTARDICT22:54
norayri'll suffer a bit more and pass it to you, will push and then pass.22:55
Wizzupit should be simple really, just figure out how come the flags are in the wrong order22:55
Wizzupautotools never gets them wrong if you set it up right22:55
Wizzupnorayr: did you figure it out?23:17
norayrnoooo23:18
norayrok i pass it to you.23:18
norayrmstardict23:18
norayrnothing to push actually23:18
norayri don't understand what is happening, why it searches the symbol g_module_open not in libgmodule but in libgtk-x11, and i don't see the problem in the linker line. :/23:19
Wizzupnorayr: ok23:20
Wizzupnorayr: checking23:29
norayri managed to do photolightmeter, lagrange, msid, leafpad23:30
norayrthank you23:30
Wizzupsweet, checked them off the list23:31
Wizzup:)23:31
norayryay!23:31
Wizzupnorayr: so23:31
Wizzupsrc/Makefile.am23:32
Wizzup-mstardict_LDADD = @MSTARDICT_LIBS@ @LIBINTL@ lib/libstardict.a23:32
Wizzup+mstardict_LDADD = lib/libstardict.a @MSTARDICT_LIBS@ @LIBINTL@23:32
Wizzupthis will make it build23:32
norayroh. thank you. i don't understand the logic though, why lib/libstardict.a was causing it there, but okay.23:33
norayri really afraid what i may encounter with shermans-aquarium-maemo, live-wallpaper, and i forgot about 9x9 sudoku.23:33
norayrplus you can check off the list oricutron because i never packaged it in the first place, but i will.23:33
Wizzupnorayr: I won't check it off then :p23:37
Wizzupnorayr: just ask, happy to help23:37
norayrthank you!23:37
norayri spent about 3 days last time with live wallpaper and shermans, there were functions in old gstreamer that did not exist anymore, and almost no documentation, so i hardly figured out which new functions to call instead of old ones.23:38
Wizzupdarn, sorry to hear it was this hard23:39
Wizzupwe've done some other gstreamer porting for other packages, so that's often a good resource23:39
norayrthat was a great experience!23:44
norayrgood to know, true, that might have helped if i asked.23:44
Wizzupfreemangordon: ah there is also libconbtui0 :(23:44

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!