libera/#maemo-leste/ Sunday, 2022-07-17

buZzfreemangordon: i'll see if i can reproduce it in xterm later06:01
Wizzupfreemangordon: so rtcom-eventlogger-plugins produces a libchat.so which needs librtcom-el-plugin-chat which is also produced by the same package09:55
Wizzupbut libchat doesn't link against this library at all09:55
Wizzupthe same is true for libsms and libcall for similarly named librtcom-el-plugin-... libs09:56
WizzupI can fix that in the Makefile.am09:57
Wizzupwell, it's not super easy since it needs to link to libs it builds itself09:58
Wizzupor maybe the rtcom plugin loading needs to the extra libraries10:01
Wizzupin any case it's not clear to me how this is supposed to work exactly10:01
Wizzupon fremantle it doesn't look like libchat links to librtcom-el-plugin-chat10:05
Wizzupit looks like rtcom-messaging-ui and others just link the lib directly in10:07
Wizzupthe one that libchat.s needs10:07
Wizzupuhhh10:07
mglbg[m]is there a reasonable offline maps program already running on n900? If not, how possible would it be to get osmand into linux? or are there better alternatives?11:20
Wizzupmaps yes, but navigation not easily11:20
Wizzupuvos linked some foss android maps/nav a while ago that also has a desktop qt backend11:21
Wizzupwas it this? https://github.com/organicmaps/organicmaps11:21
mglbg[m]which are these?11:21
Wizzupmaep does maps fine11:22
Wizzupmodrana too, it might be able to do nav but I never tried very hard11:22
Wizzupcloudgps as well iirc11:22
Wizzuphttps://leste.maemo.org/index.php?title=Category:Navigation&action=edit&redlink=111:23
Wizzuphttps://leste.maemo.org/Category:Extras11:23
Wizzupwe still need a lot more of our pkgs with a wiki page11:24
Wizzupbut yeah :)11:24
Wizzupcc norayr ;)11:24
mglbg[m]but maep modrana as well as cloudgps are not offline right:11:24
mglbg[m]?*11:25
Wizzupthey can have cached maps11:26
Wizzuppretty sure..11:26
Wizzuphttp://wiki.maemo.org/ModRana_offline_routing_guide11:26
mglbg[m]ah nice11:27
Wizzuplmk if it works for you -- I never got routing to work on modrana but I didn't even try the guide11:28
mglbg[m]looking, will make an attempt11:31
mglbg[m]looking good*11:32
Wizzuplet me know11:37
mglbg[m]k, tried for a bit, does not yet seem like it uses all maps I downloaded as it seems that tiles are missing which should have been downloaded. eed to look at it a bit further to be more conclusive.13:41
Wizzupok :)13:41
Wizzupdid navigation work?13:41
mglbg[m]* no time for that now though, will keep you updated once I explored further.13:42
Wizzup:)13:42
mglbg[m]not yet but did not get a fix, did not use network pos. and the guide says smth about translating openstreetmap files to monav to get that to work.13:44
mglbg[m]need more time ;)13:45
Wizzupwhat device?13:46
mglbg[m]n900 ofc :p13:48
Wizzupcheck13:49
Wizzupwas the modem online?13:49
Wizzupwait, I am not sure if gps works on n900 atm, it still needs gps3 I think13:49
mglbg[m]no sim card in the device13:50
mglbg[m]not sure about that then?13:50
Wizzupyou can definitely still online the modem without sim card13:50
mglbg[m]k13:51
mglbg[m]how do i check?13:51
Wizzuphmm this page doesn't mention it https://leste.maemo.org/Nokia_N90013:51
Wizzupsicelo: do you recall by any chance?13:51
siceloYes you can online it without sim. Normal ofono/dbus stuff13:54
Wizzupok, so gps3 is integrated somehow then?13:55
siceloAnd yes, gps is also integrated13:55
Wizzupgps3 I mean :)13:55
siceloAnd works. parazyd did good job there13:55
sicelomglbg[m]: you may just need to wait long enough. No agps, so you're talking raw gps ... that can be around 12 minutes13:56
Wizzupand it needs to be near a window I guess13:57
siceloWhile you can use gps without a sim even on n900, it's very insensitive that way. Put in a sim if you can13:58
mglbg[m]allright! so should be as simple as starting up modrana, allowing for gps and waiting?13:58
siceloYou don't have to use mobile data (even if it asks you)13:59
Wizzupsicelo: but if you don't have ofono installed (default, I think), or nothing onlines the modem, you will wait indefinitely13:59
mglbg[m]allright, sounds appealing13:59
Wizzupsicelo: or at least powered modem14:00
Wizzupeven this does not happen unless the ofono icd2 plugin is installed, no?14:00
siceloI think for n900, it doesn't make much sense not to have ofono.  I'd recommend installing it by default for n90p images14:01
Wizzupit will come with the cellular pkgs for all devices14:01
Wizzupno need to make it n900 specific14:01
Wizzupin any case was just commenting on the current state of affairs14:01
siceloOk. So yeah, mglbg[m] it's much recommended to use ofono than other means. I don't recall if you can even talk raw AT to the N900 modem14:02
Wizzupmy understanding is that he wants to use liblocation, which uses gpsd, which I think just needs the modem to be powered14:10
Wizzupwe just only have that in -devel repos still14:10
mglbg[m]let me know if this does not come across properly, I am on matrix. running online-modem gets me the following. I guess that means ofono is not standardly included as I do not recall installing it:14:16
mglbg[m]Setting modem /n900_2 online...... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/13f958062deb9505a99cdc8344f3ded3ada20308)14:16
mglbg[m]I find it hard to conclude now what it is you guys suggest.14:17
sicelo`dpkg -l ofono` will tell you if you have it or not14:18
siceloAnyway, as Wizzup indicated, the gps integration is only in the devel repositories, so you may want to upgrade to that as well. You can still get gps without them, but it's manual work for you14:19
mglbg[m]ok, dpkg tells me ofono is present. As in, adding the -devel repos to the source list?14:26
Wizzupyeah, and then dist-upgrade14:27
mglbg[m]<Wizzup> "my understanding is that he..." <- so gpsd is in the -devel repo, liblocation, or both? Sorry about the load of question, thanks for being so helpful :)14:30
Wizzupgpsd and liblocation are both fine14:30
Wizzupyou can install ofono and manually online the modem14:30
Wizzupwhat -devel gives you is more integration and less manual steps, hopefully14:30
Wizzupin particular the icd2 that talks to ofono14:30
mglbg[m]allright14:30
Wizzupthe icd2 plugin*14:30
mglbg[m]ok14:32
mglbg[m]is the telepathy integration also in the -devel already ? :D14:33
Wizzupnot fully14:34
Wizzupright now the stuff won't even start, but I'll fix that today or tomorrow :)14:34
mglbg[m]allright, very excited. will keep you guys updated on the modrana stuff14:36
norayr> uvos wrote:15:58
norayr> norayr: you can also try using android to charge btw15:58
norayr> just boot by pluging in usb15:58
norayr> and choose boot to safestrap/stock android15:58
norayr> if all else fails15:58
norayrAndroid doesnt charge, yes. Only shows empty battery for hours.15:58
norayr> Wizzup wrote:15:58
norayr> boot with usb cable plugged in15:58
norayr> apt upgrade should get you it15:58
norayrI believe my droid is up to date. Should charge mode appear in a list of bootloader choices? like maemo, stock android, and maemo without gui (dont remember the name of the option)15:58
siceloFrom the kexecboot screen, you can try the first option and choose shutdown. If you're lucky, it will be charging. For the symptoms you describe, charge mode isn't going to be much help16:05
siceloGetting the required cable is much better option if you want to keep your sanity :-)16:06
inetdragon@Wizzup, I'm back again. I can ssh to the N900 now. I found that 'libdrm-omap1' is not installed. Maybe I should install that?16:10
Wizzupis hildon-meta installed?16:10
inetdragonThe following packages have been kept back:16:36
inetdragon  hildon-meta-n900 libegl-dev libgles-dev wpasupplicant16:36
inetdragonyYE16:36
inetdragonI saw this when trying to run "apt dist-upgrade" again.16:37
inetdragonI did an "apt search omap". Saw xserver-xorg-video-omap is also not installed.16:37
inetdragonThis package is installed though: ti-omap3-sgx/stable,now 1.4.268.9-1+2m7.1 armhf [installed]16:38
inetdragonhildon-meta is also installed: hildon-meta is already the newest version (1.34+2m7.1).16:39
Wizzupso hildon-meta-n900 being held back is the problem16:43
Wizzupthere might be a package that is wrongly holding in the old 3d driver16:43
inetdragonWhen I try to install hildon-meta-n900. It gives error:16:46
inetdragonThe following packages have unmet dependencies:16:46
inetdragon hildon-meta : Depends: hildon-desktop (>= 1:2.2.182) but it is not going to be installed16:46
inetdragonE: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.16:46
Wizzupcan you add:16:46
Wizzup-oDebug::pkgAcquire::Worker=116:46
Wizzupwait, no16:47
Wizzupadd  -s -o Debug::pkgProblemResolver=yes16:47
inetdragonThis is the output: https://pastebin.com/zvqgFxwj16:50
Wizzup1 min16:54
Wizzupwhat about just apt-get dist-upgrade using those flags?16:55
inetdragonhttps://pastebin.com/3hhM9t1R16:58
Wizzupok... let me see17:03
Wizzupwhat if you remove ti-omap3-sgx ?17:04
Wizzupoh, wait17:04
Wizzupmaybe just remove libgles-dev ?17:04
Wizzupand then try dist-upgrade again17:04
Wizzupwell, libgles-dev and libegl-dev17:05
inetdragonI already tried to remove libgles-dev and libegl-dev. Still doesn't help17:07
Wizzupis the error not different?17:07
Wizzupin that case, remove ti-omap3-sgx17:07
inetdragonWhen I try to remove ti-omap3-sgx. It fails with:17:08
inetdragonThe following packages have unmet dependencies:17:08
inetdragon hildon-meta : Depends: hildon-desktop (>= 1:2.2.182) but it is not going to be installed17:08
inetdragonE: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.17:08
Wizzupyou ran apt-get update first, right?17:09
Wizzup(just checking)17:09
inetdragonThe initial run from yesterday was OK. However, now I got problem of "No space left on device". I already did an "apt clean"17:12
inetdragonStrange I should still have some space on /dev/root17:13
inetdragon/dev/root       26227900 25516688         0 100% /17:13
inetdragonNeed to leave now. I'll check this space issue and try to get "apt update" running first.17:14
Wizzupdid you run /etc/expandcard.sh ?17:15
sicelobtw, why not do a fresh install?17:35
Wizzupsicelo: sure but if we can fix the control files to deal with these situations too it might be good17:37
siceloYeah. I know I didn't need to reinstall, but was just checking if it's not an option they might like17:38
Wizzupit might depend on some extra pkgs perhaps17:40
Wizzupor some build-deps17:40
sicelo_fun - my droid 4 was shutting down (white led), and i immediately connected a charger. somehow it then hung there forever until after a while, it rebooted. now white led is stuck, e.g. when i connect charger, now it's light green (blended with the white)18:02
sicelo_:-D18:02
sicelo_anyway, the curious thing is - /sys/class/leds shows 0 brightness for each color (r,g,b)18:02
sicelo_reloading the led modules fixed the issue. but the 0 brightness still there. how does lm3532 keep led state then if sysfs is bogus?18:10
sicelo_ or let me do a proper reboot to see what it looks like on a normal boot18:10
sicelo_no difference. interesting.18:15
Wizzuphttps://wizzup.org/android.png20:38
sicelo_heh, what's the meaning? that android works out to be far from linux, despite expectations?20:42
Wizzupask dall-e :)20:43
Wizzupit doesn't look much like real linux anyway :P20:43
sicelo_:-D20:44
sicelo_that said, i keep hearing aosp can run on top of vanilla linux now ... so i wonder how it'd work out on Droid 420:44
uvosmglbg[m]: i use navit20:49
uvosit works fine and is touch optimized (according to its author)20:49
uvosbut the ui sucks imo20:49
uvosbut it works20:49
uvosorganicmaps compiles on linux20:50
uvosbut is essentaly not usable because the port is unfinished and stuff is missing20:50
uvosthe authors of that app are looking for someone to maintain the linux port btw20:50
uvossicelo: shutdown hang is known uart oops20:54
uvosbtw20:54
uvosthis sometimes make getty hang indefinetly wating for the serial port20:54
uvos:(20:54
sicelo_i don't mind the hang too much since i'm somewhat used to it. it's the stuck led that i found curious21:11
mglbg[m]<uvos> "the authors of that app are..." <- I am not that capable yet, but good to know21:11
mglbg[m]<uvos> "mglbg: i use navit" <- How do you download the maps? I remember trying navit but no maps loading21:13
uvosmglbg[m]: navit is offline maps only21:18
uvoshttp://maps3.navit-project.org/21:19
Wizzupuvos: so do you use navit-gui-gtk ?21:20
uvosno21:21
uvosthats the desktop one21:21
uvosi use sdl21:21
Wizzupso just 'apt install navit' ?21:21
uvosyou have to mess around with the xml a bit21:21
uvosto make the icons sanely sized21:21
Wizzupright21:21
uvosand to add zoom buttons21:21
Wizzupmight be worth to have that on the wiki somewhere21:21
uvos(the xml = navits config file)21:21
uvosWizzup: right just the repo version is fine21:22
inetdragon@Wizzup, I finally got the hildon working again. The wifi also works. I don't have held-back packages any longer.22:25
Wizzupinetdragon: what was the solution?22:26
inetdragonI took a look at what the hildon-meta-n900 contains by using "apt show hild-meta-n900". Then I do "apt install sgx-ddk-um-ti343x xserver-xorg-video-omap firmware-ti-connectivity sgx-ddk-um-tools libegl-mesa0 libgles2". Just picked some of the packages there.22:27
Wizzupwhat package did it uninstall?22:27
Wizzupdo you still have that in the terminal somewhere?22:27
inetdragonThis triggers the removal of the ti-omap3-sgx along with some packages, including hildon-meta and hildon-desktop.22:28
Wizzupok, and afterwards you were able to install hildon-meta again I suppose?22:28
inetdragonYes. Then when I do an "apt dist-upgrade" again, it's installing the hildon-meta and hildon-desktop again.22:29
inetdragonAfter that I can do "apt install hildon-meta-n900" without complaint about the dependency.22:30
Wizzupthe miracles of debian packaging :(22:30
Wizzupglad that it works now22:30
inetdragonI kept the console output for reference: https://pastebin.com/bbmh3XaH22:30
Wizzupcheck, ty22:31
inetdragonYou can take a look. During removing ti-omap3-sgx, it actually complaining about some dependency would be broken. However, in the end, it doesn't matter. This package is actually not used.22:32
inetdragonAfter doing the above and reboot. It still doesn't work because the 'xserver-xorg-video-pvrsgx' installs /usr/lib/xorg/modules/drivers/pvrsgx_drv.so, which conflicts withe omap driver.22:33
inetdragonI have to remove that package as well. Then it works again.22:33
Wizzupyes, that package should be removed too22:33
Wizzupmaybe you had some packaged marked as manually installed and this made it barf22:34
inetdragonApart from the hildon issue, I also had the issue that the 'wpasupplicant' is held back. To fix that, simply "apt remove" and "apt install" works.22:36
Wizzuphm, that is more weird22:37
inetdragonThis is the console output for wpasupplicant: https://pastebin.com/NkvCSdiz22:40
Wizzupwhy was wicd installed?22:42
Wizzupthat might have caused problems, since we packaged a newer wpa supplicant, which then might have conflicted with wicd22:42
inetdragonDon't remember any longer. It was quite some time ago. Maybe when I played with the wifi stuff, I've installed that.22:43
Wizzupcheck22:43
inetdragonThanks for helping debugging the issue and point to the right direction(the hildon-meta-n900)22:48
Wizzupnp, sorry for the trouble22:49
Wizzuplet me know if you run into problems22:49
inetdragonBTW, the "device full" issue during "apt update" is related to some huge icd2.log. Maybe last time when I started icd2 as background in the console, it produces some huge error log.22:52
Wizzuphmmm22:54
Wizzupnew logs for maemo should go to /var/log/maemo22:55
Wizzupwas it in there22:55
Wizzupand got a tail of that log?22:55
inetdragonYes. It was in that location. I don't have it any longer. I've removed that right away when I found the culprit. :-)22:59
inetdragonI should have used tail to check a bit what's really wrong.23:00
Wizzupmakes sense23:00
Wizzupit could be related to wicd perhaps23:00
buZzwicd is dead in chimaera23:09
inetdragonok. What's the general progress on the chimaera work?23:22
inetdragonI noticed another issue related to graphics. When I run es2_info( installed through mesa-utils-extra ), there are a bunch of repeated error messages: "PVR:(Error): FindAppHintInFile : Invalid hint name at /etc/powervr.ini line 2 [0, ]"23:26
inetdragonFor the second line in powervr.ini, it's "WSEGL_UseHWSync=1".23:26
Wizzupmaybe we could remove it, but we should check that it doens't make an impact23:27
inetdragonMaybe @parazyd knows?23:28
WizzupI doubt he'll ever come back, but who knows23:28
WizzupI don't think he will know in any case23:28
Wizzupwe can check with fmg this week23:28

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