Wizzup | uvos: android doesn't do a lot of suspend? I thought it did | 11:22 |
---|---|---|
sicelo | anyone 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 code | 12:43 |
sicelo | for example, it is used/referenced at https://gitlab.freedesktop.org/upower/upower/-/blob/master/src/up-device.c#L94 | 12:43 |
sicelo | if you can help me find where it's defined, since i'd like to know how it finds battery level | 12:47 |
norayr | my droid4 with this battery also cannot charge it if it is very low. | 16:07 |
norayr | usually 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 |
norayr | i dont know if both batteries are bd or something changed in maemo. | 16:09 |
norayr | then hildon shuts down because the battery is low | 16:10 |
norayr | i 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 again | 16:12 |
norayr | and it continued to boot | 16:12 |
norayr | it looks like that battery was drown on framebuffer by linux kernel or maemo, no idea. | 16:13 |
norayr | drawn | 16:13 |
Wizzup | 12 days uptime on my d4 :) | 16:33 |
Wizzup | (with 6.1) | 16:33 |
sicelo | lucky. mine just shutdown a few minutes after being connected on charger yesterday | 16:41 |
Wizzup | hm, I don't think I usually see that | 16:46 |
Wizzup | my reboots have been from the modem oopses fulling up disk and requiring a reboot | 16:47 |
sicelo | Wizzup: what did you end up doing about 19:29 26 #maemo-leste Libera | 18:29 |
sicelo | -EPASTE, sorry | 18:29 |
sicelo | https://www.mail-archive.com/devkit-devel@lists.freedesktop.org/msg01749.html | 18:29 |
sicelo | seems upower people never replied? | 18:30 |
Wizzup | mhm | 18:32 |
sicelo | ah, you did this, https://github.com/maemo-leste/bugtracker/issues/90 | 18:40 |
sicelo | :-) | 18:40 |
buZz | norayr: sometimes it helps to disconnect and reconnect usb during powerup | 19:25 |
buZz | the 'battery drawn on framebuffer' is uvos' 'chargemode' thingy | 19:25 |
buZz | its a whole linux booted, just pressing powerbutton makes it continue | 19:26 |
norayr | buZz, 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 |
norayr | i forgot that i did that, but you reminded me. | 19:30 |
norayr | aha, now i know what is chargemode! | 19:31 |
norayr | maybe it makes sense to enter charge mode even with a better battery. because for me it was able to boot to hildon. | 19:31 |
norayr | but the charging didn't start, and then hildon reported low battery and | 19:32 |
norayr | the phone turned off. | 19:32 |
norayr | so 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 |
sicelo | it goes to charge mode always, if device was turned on by connecting usb cable | 19:35 |
buZz | sicelo: not for me | 19:37 |
buZz | its very unreliable | 19:37 |
buZz | if i -turn on- the phone by USB cable, the phone never detects the USB and boots past chargemode , all the time | 19:37 |
buZz | only if i connect the usb -after- kexecboot, it seems to trigger greenled & USB detection works | 19:38 |
buZz | i suspect it has to do with charger vs actual USB vs just resistors vs usbcondom | 19:38 |
norayr | >it goes to charge mode always, if device was turned on by connecting usb cable | 19:42 |
norayr | hmmm not sure it indeed works always. | 19:42 |
norayr | >only if i connect the usb -after- kexecboot, it seems to trigger greenled & USB detection works | 19:43 |
norayr | ah! | 19:43 |
sicelo | buZz: well i did disable charge mode myself, long ago. but afaik it should just work | 19:44 |
uvos | the way mapphones detect charging is racy/broken | 19:45 |
uvos | so this is aknown issue | 19:45 |
buZz | norayr: do you see that repeated for you? | 19:46 |
buZz | uvos: yeah, its not new | 19:46 |
norayr | i will try to make sure i am connecting the cable after kexecboot. | 19:46 |
uvos | buZz: um actually suprised it ever works | 19:46 |
uvos | its just a irq cpcap raises | 19:47 |
uvos | if its raised before the mianline kernel boots i would expect the irq to have been cleared by the android kernel | 19:47 |
uvos | for some reason sometimes it works | 19:47 |
uvos | it really should never work | 19:47 |
buZz | uvos: i feel the data pins are involved | 19:48 |
buZz | somehow .. | 19:48 |
uvos | anyhow freemangordon is rewirteing th usb detect stuff | 19:48 |
uvos | so its not to relevant anymore for long | 19:48 |
norayr | should i try to build for chimaera in phoenix? | 19:54 |
norayr | build with parameters | 19:54 |
norayr | release: extras | 19:54 |
Wizzup | yes please | 19:54 |
norayr | distribution: chimaera? | 19:54 |
norayr | should i replace beowulf with chimaera? | 19:54 |
Wizzup | just replace beowulf with chimaera | 19:54 |
norayr | >ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. | 19:55 |
norayr | i think i need to make changes in the repos too. | 19:55 |
norayr | let me remember where there beowulf is mentioned. | 19:56 |
norayr | ah the branch! | 19:56 |
norayr | the branch should be maemo/chimaera probably. | 19:56 |
Wizzup | yes | 20:14 |
norayr | i think this is something i cannot deal with: https://phoenix.maemo.org/job/msid-repos/9/console | 20:33 |
norayr | File "pool/main/m/msid/msid_0.4.8.orig.tar.gz" is already registered with different checksums! | 20:33 |
norayr | md5 expected: a0f5d1d951f55234f8b01123370ad767, got: 3af6a70638c98a3165f58bdf786dac00 | 20:33 |
norayr | there is already that file. | 20:34 |
norayr | i can change the tag and/or version of course. but the actual version did not change. | 20:34 |
norayr | should i change changelog? | 20:35 |
norayr | if i have msid (0.4.8-3+leste1) unstable; urgency=low | 20:35 |
norayr | should i change it to msid (0.4.8-4+leste1) unstable; urgency=low ? | 20:35 |
Wizzup | the same happened on jun 30 | 20:35 |
Wizzup | https://phoenix.maemo.org/job/msid-repos/ | 20:35 |
norayr | should it be leste2? | 20:36 |
norayr | or i can change the number after the dash? | 20:36 |
norayr | but that would mean also changing changelog? | 20:36 |
Wizzup | I think you might want to increase the version first, and retag | 20:36 |
norayr | hmmm. ok, let it be other version. | 20:37 |
Wizzup | norayr: btw, I think I already did maefat, but thanks for checking it anyway | 20:37 |
norayr | oh! | 20:37 |
norayr | maybe i spoiled it? | 20:37 |
Wizzup | nah it's fine I think? | 20:37 |
Wizzup | norayr: souce pkgs are based on tag | 20:37 |
Wizzup | any time you change source you must make a new tag and new version | 20:37 |
Wizzup | so in this case there is already a 0.4.8 source pkg registered before | 20:37 |
norayr | but i didn't change the source. i only created a new branch. | 20:38 |
Wizzup | and only the amd64 job normally uploads the source | 20:38 |
norayr | and pushed it. and pushed the tag. | 20:38 |
Wizzup | yes, but this was already a problem for beowulf too. | 20:38 |
Wizzup | see my link | 20:38 |
norayr | ok, i'll try to find in the repos, which of my projects you wasn't able to rebuild. | 20:38 |
norayr | to not mess with those you already did. | 20:38 |
norayr | and thanks for doing that btw. | 20:38 |
Wizzup | for example I see that you changed the source without retagging | 20:38 |
Wizzup | norayr: you can see here what I checked :) https://github.com/maemo-leste/bugtracker/issues/644#issuecomment-1344151471 | 20:39 |
norayr | let me see, because i believe i did the tag... | 20:39 |
norayr | maybe i did something wrong | 20:39 |
Wizzup | norayr: 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 changelog | 20:39 |
Wizzup | well that's it really, just (1) | 20:40 |
norayr | oh. | 20:40 |
Wizzup | in this case tag 0.4.8 points to commits that aren't even in main | 20:40 |
Wizzup | so there's a chance that the pkgs in the repo actually don't contain all the changes you wanted | 20:40 |
Wizzup | so just tag your HEAD as 0.4.9 | 20:40 |
Wizzup | and then add 0.4.9 to the changelog | 20:40 |
Wizzup | or make it 0.4.8.1 if you want | 20:40 |
norayr | oh good, so i'll do photolightmeter, lagrange, leafpad, msid, shermans-aquarium-maemo, live-wallpaper, mstardict. | 20:41 |
norayr | is there a way to upgrade droid4 to chimaera or i should better download a new image and try to sync the home? | 20:42 |
Wizzup | sec. | 20:44 |
Wizzup | norayr: dist-upgrade might work if you do it right | 20:54 |
Wizzup | I can help in an hour or so | 20:55 |
norayr | i'll try. not now, i'll deal with repos now. | 20:55 |
freemangordon | Wizzup: I am still struggling with HAM :) | 21:06 |
freemangordon | but, almost there | 21:06 |
freemangordon | I need to fix that 1px offset that sometimes happens for couple of resolutions | 21:06 |
freemangordon | hopefuly I will fix it in 1-2 days | 21:07 |
Wizzup | freemangordon: heh, it's not that important | 21:13 |
freemangordon | well, I am so close it does not worth to leave it unfinished | 21:30 |
sicelo | oh, 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 easy | 21:36 | |
Wizzup | sicelo: asap :p | 21:50 |
Wizzup | freemangordon: btw I checked the bluetooth RE work we have to do and it doesn't seesm to be too muc | 22:32 |
Wizzup | h | 22:32 |
Wizzup | connui-bluetooth-status-menu-item.so = 11.1K | 22:32 |
Wizzup | libdialog_bluez.so = 11.9K | 22:32 |
Wizzup | libdialog_btsearch.so = 8.0K | 22:32 |
Wizzup | hildon-control-panel/libbtsettings.so = 19.9K | 22:32 |
Wizzup | that's connui-btsettings and connui-conndlgs-bluetooth and connui-statusbar-bluetooth | 22:32 |
Wizzup | this disregards the obex stuff | 22:32 |
norayr | with 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 line | 22:45 |
norayr | but the configure.ac is right and contains gmodule-2.0 | 22:46 |
norayr | so libtool calls | 22: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 |
Wizzup | uvos: btw I have organicmaps running on my laptop atm | 22:46 |
Wizzup | norayr: please share the full error | 22:47 |
norayr | it seems right, -lgmodule is after .o files... | 22:47 |
norayr | minute | 22:47 |
norayr | https://bpa.st/YOCMQ | 22:48 |
norayr | this is the important part. | 22:48 |
norayr | for some reason it searches 'g_module_open' in libgtk-x11-2.0.so | 22:49 |
Wizzup | so the problem is absolutely in the order of the -l flags | 22:49 |
norayr | while it should be in libgmodule-2.0.so, and that file exists. | 22:49 |
Wizzup | I think they should be before the object | 22:49 |
Wizzup | files | 22:49 |
norayr | yes in configure.ac, look: | 22:49 |
Wizzup | I've done this a million times and still haven't done it properly | 22:49 |
Wizzup | I mean | 22:50 |
Wizzup | i did it properly | 22:50 |
Wizzup | but I don't remember it properly | 22:50 |
norayr | https://github.com/maemo-leste-extras/mstardict/blob/48f7924faed85ec6f9c12c75cf490c6287879c6f/configure.ac#L51 | 22:50 |
norayr | and it is there in config one time more | 22:50 |
Wizzup | you also need to look at Makefile.a, | 22:52 |
Wizzup | am | 22:52 |
norayr | oh | 22:52 |
Wizzup | I also don't see: AC_SUBST(LIB_STARDICT_LIBS) - don't you need that too? | 22:52 |
norayr | where where? | 22:53 |
norayr | in configure.ac? | 22:53 |
Wizzup | yes | 22:54 |
norayr | there is AC_SUBST(MSTARDICT_LIBS) | 22:54 |
Wizzup | hm | 22:54 |
Wizzup | if you cannot figure it out I can try to fix it | 22:54 |
norayr | there are two PKG_CHECK_MODULES lines, one for MSTARDICT_LIBS and one for MSTARDICT | 22:54 |
norayr | i'll suffer a bit more and pass it to you, will push and then pass. | 22:55 |
Wizzup | it should be simple really, just figure out how come the flags are in the wrong order | 22:55 |
Wizzup | autotools never gets them wrong if you set it up right | 22:55 |
Wizzup | norayr: did you figure it out? | 23:17 |
norayr | noooo | 23:18 |
norayr | ok i pass it to you. | 23:18 |
norayr | mstardict | 23:18 |
norayr | nothing to push actually | 23:18 |
norayr | i 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 |
Wizzup | norayr: ok | 23:20 |
Wizzup | norayr: checking | 23:29 |
norayr | i managed to do photolightmeter, lagrange, msid, leafpad | 23:30 |
norayr | thank you | 23:30 |
Wizzup | sweet, checked them off the list | 23:31 |
Wizzup | :) | 23:31 |
norayr | yay! | 23:31 |
Wizzup | norayr: so | 23:31 |
Wizzup | src/Makefile.am | 23:32 |
Wizzup | -mstardict_LDADD = @MSTARDICT_LIBS@ @LIBINTL@ lib/libstardict.a | 23:32 |
Wizzup | +mstardict_LDADD = lib/libstardict.a @MSTARDICT_LIBS@ @LIBINTL@ | 23:32 |
Wizzup | this will make it build | 23:32 |
norayr | oh. thank you. i don't understand the logic though, why lib/libstardict.a was causing it there, but okay. | 23:33 |
norayr | i really afraid what i may encounter with shermans-aquarium-maemo, live-wallpaper, and i forgot about 9x9 sudoku. | 23:33 |
norayr | plus you can check off the list oricutron because i never packaged it in the first place, but i will. | 23:33 |
Wizzup | norayr: I won't check it off then :p | 23:37 |
Wizzup | norayr: just ask, happy to help | 23:37 |
norayr | thank you! | 23:37 |
norayr | i 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 |
Wizzup | darn, sorry to hear it was this hard | 23:39 |
Wizzup | we've done some other gstreamer porting for other packages, so that's often a good resource | 23:39 |
norayr | that was a great experience! | 23:44 |
norayr | good to know, true, that might have helped if i asked. | 23:44 |
Wizzup | freemangordon: 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/!