libera/#maemo-leste/ Saturday, 2021-06-26

Daanct12Does Fn sym works for anyone?02:34
buZzDaanct12: wat should fn+sym do?03:49
buZzwhat*03:49
Daanct12Opens up a symbol board for additional chars that do not exist on kb03:50
buZzoh, dont think i ever saw that03:51
buZzeh duh, droid4 has no fn :P03:52
parazydWizzup: We tested qemu-user a few times, and I already told you what happened in Devuan when we were using qemu-user06:46
parazydWizzup: So I'm strongly against moving to qemu-user (and qemu-system for that fact) rather than native package builds06:46
parazydIt's not just about gcc, but rather the entire pbuilder/apt setup which is simply too slow when emulated.06:48
uvosWizzup: i also cant get gprs/umts data to work09:42
uvosso i have hildon-connectivity-mobile installed09:42
uvosand i installed libicd-network-ofono (this was not in the meta package, probubly a bug)09:42
uvosi used to get the umts/gps connection in the conndialog last time i tryed this09:43
uvosbut now no cellular connection appears tehre09:43
uvos*there09:43
tmlindhmm so omerlle was going to look into producing android cpcap register dumps for various voice output settings, with those it should be possible to add support to the cpcap audio driver09:47
uvostmlind: ok but you confirm it currenly dose not work09:48
tmlinduvos: yeah somebody at some point mentioned the normal non-speaker output working after setting the loopback switch and tweaking alsamixer, i never had any luck with that09:50
tmlindi guess that's the headset speaker output09:51
* tmlind goes back to nursing the bbq09:53
sicelobuZz: didn't you map Fn on Droid 4 to the OK key? I seem to recall that was your contribution ;-)10:35
siceloDanct12: last i tried, it was working on N900 Leste, yes. Are you in a text field when you try this?10:37
WizzupbuZz: the same exists on the d4 with diff keys10:39
Wizzupparazyd: I wasn't advocating we move our infra, I just thought it was a neat hack others could use for devel10:39
sicelouvos: gprs/umts was working for me sometime last week using the Leste connection dialog. unless something broke very recently10:40
Wizzupuvos: did you switch sims?10:40
uvosWizzup: yes i did10:41
uvosWizzup: but umts data works fine if i reboot into los10:41
uvossicelo: something did change very recently10:41
sicelowhen switching SIMs, i noticed you have to boot twice before an IAP for the new SIM is created10:42
sicelouvos: what changed? this shouldn't be related to the wifi stuff, iiuc10:43
Wizzupuvos: so fmg has code to provision a sim10:43
WizzupI think it is in libicd-network-ofono, so maybe that doesn't trigger properly somehow10:44
uvossicelo: conndialog itself also some changes in addition to wifi stuff10:44
WizzupI assume the sim has no pin?10:44
uvosWizzup: sim has pin10:44
uvosbut i enter it via ofno10:44
uvosrather during init10:44
WizzupI don't follow10:44
uvosit has a pin, but i have a initscript that enters it10:44
uvosthe i have 3g and bars in the status menu10:44
uvosas well as the operator name10:45
uvosjust the gprs/utms connection option in conndialog is missing10:45
uvosWizzup: i sent you the output of list-modems10:46
uvosWizzup: is there any thing else that would help?10:47
uvosi really have no idea about how ofono in particular or cellular stuff in general10:47
uvosworks10:48
sicelothe connection in dialog should be in gconf, tied to the SIM card's ID (imsi, iirc)10:48
siceloi know i didn't have to do it manually even though i also had switched sim. a simple reboot was enough10:49
uvossicelo: /osso/connectivity/IAP ?10:50
siceloyes, should be that10:50
uvosnothing cellular there they are all wifi connections10:51
uvoslol it stores the wpa2 passwords as plain text10:51
uvosthats not great10:51
sicelo  /osso/connectivity/IAP has no gprs IAPs? then you've never connected to umts/gprs with the maemo conn dialog (or you reinstalled?)10:53
siceloon my D4 i have two gprs IAPs now10:53
siceloon that gconf key/tree, that is10:53
uvosi had the cellular networking stuff uninstalled between this try and the last10:54
Wizzupuvos: hang on, let me boot my d410:54
uvosbecause it was crashing on me with no sim at some point10:54
uvoslast time i tryed this it deffinatly worked10:54
Wizzup(also I need a coffee, brb)10:54
Wizzupuvos: does a icd2 restart help?10:57
uvosWizzup: no10:57
uvosalso reboot dident help either10:57
Wizzupok, I'll need to read the provisioning code10:57
Wizzupsrc/iap.c ofono_iap_provision_sim does the work10:58
uvosfor the record i have libicd-network-ofono  connui-home-cellular connui-statusbar-cellular connui-cellular-settings libconnui-cellular hildon-connectivity-mobile connui-iapsettings-gprs connui-conndlgs-cellular installed11:00
uvosand at latest devel right now11:01
uvosWizzup: in what repo?11:02
Wizzuphttps://github.com/maemo-leste/libicd-network-ofono/11:03
Wizzupuvos: is there anything in the daemon.log related to the sim (from icd2)11:09
uvosWizzup: so cat -v /var/log/daemon.log | grep sim returns empty11:14
uvosWizzup: cat -v /var/log/daemon.log | grep sim returns lots of11:15
uvoslibicd-network-wpasupplicant: try_scan_wpa_control failed with -111:15
uvosrequest 0x4f5700 does not have iaps11:15
uvosnothing obviously ofno or cellular related11:16
siceloi removed both gprs IAPs in gconf, killed icd2. the apns were still showing in control panel, so i rebooted to be sure no remnants were left over. tried again to connect, and wasn't successful. however, after a while, an iap became visible. so far not had a successful connection, but in gconf, the iap exists now. just doing another reboot to see if it's any better11:20
siceloi think part of the problem is the droid 4's ofono issues11:20
Wizzupuvos: sorry, I have trouble parsing what you said11:22
Wizzupuvos: one thing you can try is to remove the old GPRS network from gconf and see if that matters11:22
uvosWizzup: i have no old gprs network in gconf11:22
Wizzupsicelo: yeah the setting up the connection part is a little different11:22
uvosWizzup:  /osso/connectivity/IAP contains only wlan infra connections11:23
Wizzupuvos: hm, ok, let me make another coffee and stare hard at your package list11:23
Wizzupuvos: does libicd-network-ofono get loaded?11:23
uvosWizzup: how can i tell?11:23
Wizzupuvos: I would run icd2 with -l0 (instead of -l2)11:25
Wizzupor opposite, I always forget, but the opposite of what is in the init script11:25
uvoscan i make it log to console instead of syslog?11:30
WizzupI think unfortunately the answer is no, which I think is quite annoying11:34
WizzupYou could modify rsyslog to log icd2 to a specific file, like /var/log/icd2.log11:35
uvosWizzup: ok anyhow libicd-network-ofono is not mentioned at all11:37
uvosbut there is11:37
uvos icd2 0.98[3839]: [OFONO] > ofono_start_search11:37
uvos icd2 0.98[3839]: [OFONO] path /motmdm_011:38
uvosicd2 0.98[3839]: [OFONO] Token (nil)11:38
uvosicd2 0.98[3839]: [OFONO] < ofono_start_search11:38
uvosicd2 0.98[3839]: dbus api successfully started 'GPRS' scan for ':1.31'11:38
uvosicd2 0.98[3839]: [OFONO] > search_operation_check11:38
uvosicd2 0.98[3839]: [OFONO] Status 111:38
uvosicd2 0.98[3839]: [OFONO] < search_operation_check11:38
Wizzupuvos: yeah, I think the [OFONO] messages are from that module11:38
WizzupPali: btw I think the u-boot folks are saying that where we load u-boot now, we could load spl (minimal u-boot), which then in turn would load u-boot, which would then load linux or something, which doesn't help with the size requirements, but it's technically doable, I suppose11:40
Paliand I have already explained why this is nonsense11:40
WizzupPali: it's not clear to me why exactly11:41
uvosWizzup: i sent you an email with the [OFONO] messages11:41
PaliI have already wrote about it in previous email11:41
uvosJun 26 11:29:25 localhost icd2 0.98[3839]: [OFONO] Search group for path /motmdm_0 finished, status 611:41
uvosi gues this is error maybe?11:41
Palithere is no such SPL, nobody worked on it and implementing it would required to add tons of #ifdefs into u-boot spl code or omap part11:41
Palito skip all things which cannot be done / called in spl code11:41
uvosalso why would you do that vs not appending kernel?11:41
Palialso I have wrote that there is no way how to flash that u-boot into eMMC without working u-boot11:42
Wizzupuvos: I think it would be helpful if libicd-network-ofono was a bit more verbose, but I think maybe it cannot find any contexts ? Are those visible in mdbus2 or the ofono scripts?11:42
Paliso they are trying to introduce a new chicken and egg problem11:42
uvosWizzup: what contexts?11:43
WizzupPali: I think their assumption (regardingless of the work required) is that instead of where we load u-boot, we would load SPL, and SPL would be able to read eMMC, en load u-boot from there11:43
Wizzupuvos: ofono data contexts11:43
Paliyes, I have understood it11:43
Wizzupuvos: list-contexts11:43
uvosnothing11:43
Paliand I have already explained it that this is nonsense11:43
uvos"also I have wrote that there is no way how to flash that u-boot into eMMC without working u-boot" <- that sounds fatal to the idea11:44
WizzupPali: so the email with this:11:44
WizzupNot mentioning that implementing this means to implement all N900 code11:44
Wizzupin U-Boot from scratch. And the last thing is testing...11:44
uvosWizzup: so shal i try create-internet-context?11:45
Wizzupuvos: not sure, I am still digesting this, many things going on at once11:45
siceloalso check to be sure there are no other personal/private modifications at play - i don't have the IAP problem with the latest -devel. I can't connect, but that's different11:46
uvossicelo: i dont have anything modifed with cellular11:47
Wizzupuvos: let me see what status 6 is11:47
uvosidk what private modifcations would be11:47
uvossec ill unlock the pin11:47
uvosmaybe its that11:47
uvos*unset the pin11:47
Wizzupuvos: no, it should work with pin11:47
Wizzupas long as you entered it already11:47
uvosok11:48
uvosyeah its enterd11:48
Wizzupbtw 6 = OPERATION_STATUS_CANCEL11:48
uvosi can make voice calls after all11:48
Wizzupand the code checks for OPERATION_STATUS_FINISHED11:48
Wizzupso we need to figure out why ofono_start_search_finish gets a non-successful status11:48
WizzupPali: I think Tom has the same confusion as I have/had, I could try to summarise your email if you like, to attempt to clear up confusion, but I'd like to run it past you first11:49
uvosinterestingly the operatior technology preferance carrys over from android11:50
Wizzupcould it just be some default?11:50
uvosno i changed it to gsm on android11:50
uvosand now ofono also repots gsm11:50
WizzupI think if you're in a call, it probably has to switch, but maybe that's not it11:50
uvosmaybe its saved by the modem or soemthing, no idea11:50
uvosWizzup: no its not that11:51
PaliWizzup: ok!11:51
parazydWizzup: I was referring to this11:56
parazyd<Wizzup> well, if qemu-user is faster than our pis, maybe we should run it on arm64 host then11:56
Wizzupuvos: it's weird that ofono doesn't show any contexts I think, what if you re-online/offline the host11:56
Wizzups/host/modem/11:56
uvosWizzup: so i removed sim pin11:59
uvosand now rebooted11:59
uvos(with android)11:59
uvosand now ./ist contexts has a context12:00
uvos*./list-contexts12:00
uvos[ /motmdm_0 ]12:01
uvos    [ /motmdm_0/context1 ]12:01
uvos        Name = Internet12:01
uvos        Active = 012:01
uvos        Type = internet12:01
uvos        Protocol = ip12:01
uvos        AccessPointName =12:01
uvos        Username =12:01
uvos        Password =12:01
uvos        AuthenticationMethod = chap12:01
uvos        Settings = { }12:01
uvos        IPv6.Settings = { }12:01
Wizzupdoes it get provisioned?12:01
uvosum provisioned is what?12:02
Wizzupaccesspointname and such need to be set12:02
Wizzupso any change in icd behaviour?12:02
uvosnot in the ui12:02
uvos /system/osso/connectivity/IAP has not gained anything12:03
uvosill send you the log later12:04
uvosbrb makeing food12:04
Wizzupuvos: so I think we're seeing operations_group_timeout be hit, and that calls pending_operation_group_list_remove which sets the OPERATION_STATUS_ABORTED12:04
uvosok12:04
Wizzupwhy that happens, I don't know yet12:05
WizzupPali: so you think that writing spl support would also require lots of ifdefs in u-boot spl and omap code?12:10
Paliin past (10 years ago?) I was investigating the way how we can boot u-boot and the only reasable way was the current one, directly load main u-boot by x-loader/nolo12:11
PaliI have already spend some time with spl on n900 and at that time I have rejected this idea, because it did not work that12:12
Palispl is also doing hw initialization which cannot be called on n900 as this code basically crash / freeze n90012:13
Palifreemangordon has already written patches which enabling usb dm, the last missing thing, in very elegant way12:14
Palibut for their perfectionism they do not like it and want from us completely perfect code12:15
Palidespite the fact that other drivers / boards are using same pattern as freemangordon used in those patches12:15
Wizzupyeah, it's annoying, I agree12:16
WizzupI think they were saying SPL would just not touch/reinitialise anything12:16
Paliand I really dislike this discussion... if we even implement this as requested (which is imho not possible...) then we would be faced again by another "perfectionism" issues12:16
Paliwell as I said, in past I already spend time on SPL for oma3 and it did not work on n90012:17
Palibut that eMMC idea is total nonsense, I really do not know why I'm discussing it12:18
WizzupPali: I'll send you my draft now12:22
Paliack12:22
WizzupPali: let me know if you think it's helpful12:49
PaliI think it is fine!12:49
uvosWizzup: you got mail with a new log12:50
uvosWizzup: also btw closing icd2 with SIGINT causes it to segfault12:50
uvosso thats funn12:50
uvosalso for some reason if i start icd2 with -l0 and then connect to wifi it fails in a maemo dhcpc script12:51
uvosthe message abot dhcp is on console not syslog12:55
uvosits /etc/maemo-dhcp.d/50_ipv4_network_setup: 81: kill: Illigal option -S12:56
Wizzupuvos: I have only seen that happen (segfault on sigint) when you locally build and 'cp' .so files in12:58
WizzupI don't think the illegal option -S is what causes dhcp to fail12:58
uvosmaybe we just need to kick jenkins to rebuild the modules12:58
Wizzupmaybe, but it works for me I think, so something is odd12:58
WizzupI need to figure out what is actually timing out for you12:59
uvosbased on mce nokia dosent know what a plugin interface is :P12:59
uvosso we should allways rebuild everything12:59
WizzupThe pending operation code confuses me quite a bit13:00
WizzupI guess it runs search_operation_check13:01
uvosalso fun that icd2 leaks the psk to the log file13:01
Wizzupmaybe we need some more debug there13:01
uvoswho thought thats a good idea13:01
Wizzupuvos: yeah that is my bad13:01
uvosno matter13:02
Wizzupwe should take that out13:02
Wizzupuvos: I guess it's part of some entire dictionary that it prints?13:03
uvoshmm the psk?13:03
Wizzuplooks like it's this:13:03
Wizzupyes the psk13:03
Wizzup./src/gconfmap.c:    WPALOG_DEBUG("gconfnet_to_wpadbus: %s", pr);13:03
uvoslibicd-network-wpasupplicant: gconfnet_to_wpadbus: ({'ssid': <'UvosServerNet24'>, 'psk': <'PSK'>, 'key_mgmt': <'WPA-PSK'>},) <-- i mean this13:03
Wizzupyes, same code13:04
uvosok13:04
Wizzupit only does it in debug mode13:04
uvosok13:04
WizzupI can try to strip the psk before it prints it if you think that makes more sense13:04
uvossure13:04
uvosbut its not a big deal really13:04
uvosgprs no working is worse :P13:04
uvos*not13:04
Wizzupok13:04
Wizzupdoes gprs work through ofono scripts?13:05
Wizzuplike, can you at least get it to attach, regardless of the data?13:05
Wizzupregardless of the interface having the right ip*13:05
uvosim sorry attach?13:05
WizzupLet me log into my d413:06
Wizzupuvos: unrelated, but I see what you mean now with scan oddities in wlan13:07
WizzupI see scans happening in wpa_cli but the dialog doesn't refresh the list13:08
uvosright13:08
Wizzupuvos: what if you run this:13:08
Wizzupmdbus2 -s org.ofono /motmdm_0/context1 org.ofono.ConnectionContext.SetProperty Active true13:08
uvosmdbus2: command not found :P13:08
uvossec13:08
Wizzupyeah, it's gone from beowulf13:09
WizzupI get it from stretch and dpkg -i it13:09
Wizzuphttps://packages.debian.org/stretch/armhf/mdbus2/download13:09
uvosit returns ()13:10
uvosand exits with 25513:11
uvos./list-contexts  channged13:11
uvosSettings = { Interface=wwan3 Method=static Address=10.171.163.47 Netmask=255.0.0.0 Gateway=10.171.163.33 DomainNameServers=62.109.121.17, }13:12
Wizzupwell, that looks like it works at least13:13
Wizzupso then the question is why the provisioning fails in libicd-network-ofono13:13
uvosbtw unfortionalty runing icd2 with gdb attached dose not segault on sigint13:15
Wizzupyeah something funny is going on there13:15
WizzupI am surprised that you have the problem though, if you have no custom modules.13:15
uvosnope no modules13:16
Wizzupcan you maybe reinstall libicd-network-ofono or something?13:16
uvossure13:16
uvosso i did apt reinstall libicd-network-ofono13:17
uvosand restarted icd213:17
uvosno change13:17
Wizzupit's a bit tricky for to debug the problem since I am not seeing it, maybe you can add some print statements to search_operation_check and see where it fails?13:19
uvosok13:19
Wizzupyou could try to step with gdb, but since it's hitting a timeout, that might get tricky13:19
uvosbut not now13:19
uvosttyl then13:19
Wizzupok13:19
Wizzupfmg is back on tuesday, it's his code, so maybe he has better ideas13:19
uvoscould you kick all the icd2 modules on jenkins just in case?13:21
Wizzupyeah ok, I can do that in a bit13:24
scopshm copy paste will grade nicht ... fluffychat hab ich von flathub13:27
Danct12sicelo, i was in the terminal, so that counts14:02
Wizzupthe ui-fonts definitely look a bit better14:23
Wizzupuvos: should I add sphone to the CI?14:51
Wizzupnot as extras, just as core14:51
uvosWizzup: building what exactly15:04
uvosits not pacakged15:04
WizzupI guess we'd have to package it15:06
uvossure if you want to package it that would be lovely :)15:06
uvosidk if adding it to CI is nesscarly helpfull atm15:06
Wizzupyeah, sure, I can do that sometime soon then15:06
uvosbut packaging it sure is15:06
uvosWizzup: btw if you have time you could apt install salutem reboot twice and add it to the metapackage if you like it as is15:13
Wizzupuvos: yeah ok, later today, my gf is done working and we're going to a beach for a bit, but once I'm settled there I can check15:15
uvossounds lovely :)15:15
uvosWizzup: so i poped the sim into a d4 that i had insalled maemo on but done nothing with21:19
uvosWizzup: and upgraded it & installed hildon-connectivity-mobile and libicd-network-ofono21:21
uvosand the behavior is exactly the same21:21
uvosso thats a fresh image from the 6th or something upgraded to devel and nothing else21:22
uvosoh btw apt wont upgrade the alpha theme21:24
uvosbecuase it depends on beta or something21:25
uvosno big dieal but there is some packaging bug here21:25
marexWizzup: Pali: hi, if you need input on the whole spl/usb discussion, just let me know21:30
bencohparazyd: regarding emulated apt-get/dpkg, there is a slight issue with the fact that they derive the native (versus foreign) arch name from the arch of the dpkg/apt process, instead of reading it from a config file (for instance)22:16
bencohbut we may be able to work that around somehow22:17
bencoh(to use amd64 apt/dpkg and still set the native arch to armhf)22:17

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