libera/#maemo-leste/ Monday, 2021-06-07

dreamerlol @ dremear08:35
buZz:)12:25
freemangordonWizzup:12:54
freemangordonJun  7 13:47:28 localhost wpa_supplicant[27089]: wlan0: Reject scan trigger since one is already pending12:54
freemangordonJun  7 13:47:28 localhost iap_conndlg 2.88+0m5[1233]: connui_dbus_mcall_reply(): Failed DBUS method call with error 'fi.w1.wpa_supplicant1.Interface.ScanError': Scan request rejected12:54
Wizzupfreemangordon: is that when scanning for just one AP?12:54
freemangordonyes12:54
WizzupMaybe try again after a few seconds?12:54
WizzupI think only one scan can be active at once12:55
freemangordonseems plugin scans as well in background12:55
WizzupIt does when icd2 tells it to scan12:55
WizzupIt doesn't just scan out of it's own, afaik12:55
freemangordonok, will see what's going on12:55
WizzupI had this in my wpa_supplicant.conf for a while but I don't think it helps:12:56
Wizzupautoscan=periodic:-112:56
Wizzupthere is some more that we can do on the control socket with wpa, about auto scanning12:58
Wizzupbut I think you'll have to deal with this problem regardless12:58
Danct12Good afternoon13:00
Wizzuphi13:00
Danct12How are you?13:01
WizzupPretty decent, how about you?13:08
Wizzupfreemangordon: the above (about autoscan) is just about wpa_supplicant deciding to scan on its own, but I think that is mostly not happening (anymore)13:26
Wizzupbut if you have some conndlg open, that schedules scans every now and then13:26
Danct12Wizzup, I'm good. Decided to recharge my Fxtec Pro1 for some fun today14:16
Danct12I wonder when we'll have a filebrowser on Leste14:18
uvosDanct12: liri-files works fine and is touch optimized and in extras.14:21
WizzupDanct12: hamsterfiler would be pretty simple to port, too14:25
Wizzupfreemangordon also said he might port the 'original' one some time too\14:25
bencohhamsterfile <314:32
bencohI don't really see a reason to port the stock filer once we have hamsterfile :)14:32
WizzupI've personally never used it but I think it shouldn't be too hard to port14:33
bencohit depends on qt414:34
Wizzupyeah, it needs porting to qt514:35
Wizzupbut it's by the same author whose other qt4 stuff I already ported to qt5 :p14:35
bencohdid devuan drop qt4 altogether?14:35
Wizzupwe didn't bother including the maemo qt4 port14:35
bencohalright14:35
bencohwas it that significant btw?14:36
Wizzupmostly mean that the author uses similar constructs that need porting in different sw14:36
Wizzupso I'm familiar with the work required, is all I meant14:36
Wizzupoh, I misread14:36
bencohyeah, I was referring to the maemo qt4 port, sorry (terrible phrasing / timing)14:36
WizzupI don't know, feel free to take a look at it :-p14:37
bencoh:)14:37
WizzupI don't remember why we made the decision at the time, but I think the idea was just to look forward and port stuff over14:37
bencohyeah I guess so14:37
bencohapplication-wise qt4 would have allowed to just rebuild old apps "as-is", but I see your point14:37
Wizzupyeah, we can still do it, although qt4 will be dropped soon from debian I think14:38
bencohah14:38
bencohin that case ...14:38
Wizzuptbh what would be really useful is someone to help me with the QML stuff for openmediaplayer14:38
WizzupI did a lot of the porting but stuck on qml14:38
Wizzupah, need to run, bbl14:38
bencohI kinda walked away from QML when I realized it had some serious power-related issues14:39
bencoh(it might be fixed in qt5)14:39
uvosqml remains and allways will be a pig14:43
freemangordonWizzup: as soon as you click on the "hidden wlan", connui dialog gets closed15:00
freemangordonbut I'll double-check who is initiating the scan15:01
freemangordonbut yeah, most-probably it is icd2's timer expired while waiting for me to pres something in the dialog15:02
freemangordonWizzup: hmm, shall I do spmething special when I scna for a hidden wlan?15:18
freemangordon*scan15:18
freemangordonWhere I am supposed to get the result from?15:20
Wizzupfreemangordon: I think you need to provide the ssid16:26
freemangordonWizzup: I am https://pastebin.com/UzW6pLEL18:07
freemangordonand I am getting "Scanning" and "ScanDone" signals18:08
freemangordonthen what?18:08
Wizzupfreemangordon: I think you need to monitor for 'NetworkAdded' signals18:27
Wizzupas wpaicd.c does (which I suggested we could share the code from)18:27
freemangordonI see18:28
Wizzupyou might also be able to just get a list of all the registered Bss'es after scandone18:28
freemangordonhmm, hidden wlan does not appear there18:34
freemangordonneither I see NetworkAdded signal18:35
freemangordonactually I see BSSID with empty SSID after that scan18:37
freemangordonWizzup: anyu clue about that comment https://chromium.googlesource.com/chromiumos/platform/flimflam/+/refs/heads/0.11.257.B90/plugins/newwifi.c#1289 ?18:41
WizzupNot really18:56
Wizzupthis is connman ?18:56
gordon1that commit causes n900 to panic if you boot kernel with flipper open fb2c599f056640d289b2147fbe6d9eaee689f1b2 ARM: omap3: enable off mode automatically18:59
gordon1which is strange and weird coincidence19:00
gordon1but probably problem is somewhere else in off mode code, just it gets triggered during boot with this commit19:02
gordon1any particular place i need to report it?19:08
sicelolinux-omap ML, I guess19:20
siceloAnyway, weird ... mine didn't have issues with that commit, and booting with cover open19:21
siceloIf that's what you mean by "flipper"19:22
gordon1i mean flip open the keyboard19:23
gordon1if phone is closed it boots ok, if you open the keyboard - it might panic, and if you flip open the keyboard right at the moment when kernel just initialized the framebuffer and continue booting rest of the stuff - it 100% guaranteed panic19:25
uvosyeah linux omap ml19:51
uvosalso tmlind ^^^19:51
uvosany ideas?19:51
uvoscan you extract the panic?19:52
uvosvia serial or so?19:52
uvosthe trace i mean19:52
gordon1nope20:01
gordon1that's why i opted out to bisecting it20:01
gordon1i mean i could try usbtty thing from u-boot if that would work as emergency console20:01
gordon1or i'm open to ideas how else that could be done20:02
gordon1i mean technically i can laser cut a jig for pogo pins, but that's going to happen only next weeked or even later20:03
gordon1should be ok if i would use 3V UART for RX only?20:07
uvosyes20:07
gordon1ST_SDRC ST_OMAPCTRL20:34
gordon1two bits reported by idlest1_core20:34
gordon1no idea what it means20:35
gordon1but i have pretty much nothing running and i did UART suspend as per sicelo suggestion20:36
gordon1do i need to turn on "opportunistic sleep" btw, or is CPU PM managed on some different level?20:45
L29Ahgordon1: just smash a few pogo pins with a blob of PCL into N900 :)20:48
L29Ahwould still need an adjustable PSU instead of the battery tho20:48
gordon1i have my pogo pins in the same place where i have a laser cutter, so it doesn't matter20:48
gordon1yeah, exactly20:49
siceloOr can use the battery in same way sre did (that's what I will do)20:52
L29Ahcut the plastic housing and insert it at an angle?20:53
freemangordonWizzup: oh, shit, SSID should not be zero terminated :(21:30
Wizzupfreemangordon: ah :-)21:30
Wizzupgordon1: if others can reproduce your problem, I could try to reproduce it on my n900 serial21:31
gordon1Wizzup: you can try to use this config on 5.12.9 and try to boot it with keyboard open or flip keyboard open right after the moment when framebuffer is initialized http://ix.io/3p5z21:33
gordon1took my sources from right here https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.12.9.tar.xz21:33
WizzupI can't try it right now, but I can try it a bit later21:34
gordon1sure, no rush21:35
sicelo(I always boot with keyboard open ... since I didn't take time to make boot.scr. so I always boot with manually typing "run sdboot" each time)21:37
gordon1i modified u-boot to do run sdboot first in bootmenu, easier than to find out why saveenv is not present21:43
siceloRight. So the point is, booting with keyboard open, I didn't have that problem with 5.9-5.12 ... of course, maybe other things at play, who knows21:49
siceloThanks for following up on this :-)21:50
* sicelo appreciates any N900 work21:50
Wizzupsicelo: can you check if you have the problem with 5.12.9, or did you include that one?21:51
Wizzupit's also possible that using a different u-boot somehow causes trouble21:51
siceloI think my last tests were up to 5.12.721:51
gordon1cat arch/arm/boot/zImage arch/arm/boot/dts/omap3-n900.dtb >zImage && bash21:53
gordon1./scripts/mkuboot.sh -A arm -O linux -C none  -T kernel -a 0x80008000 -e 0x80008000 -n 'pmos' -d zImage uImage21:53
gordon1that's how i assemble image, if that is something that might be in play21:53
siceloSame21:53
gordon1and that's u-boot commit 25db3403094a57320644544eb0f38b1670a6716b21:54
gordon1oops21:54
gordon1wrong one21:54
gordon1that one 89be8e31ccd1c53b010385ed0807eb00f0eec06a21:54
siceloI mostly use fremantle old u-boot, and also did use wizzup's uboot from maedevu. No issue with both21:54
Wizzupmight be worth trying somehow21:55
Wizzupuvos: posting it tomorrow22:04

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