libera/#maemo-leste/ Thursday, 2021-11-25

missMyN900@sicelo: I loathe wpa_supplicant. I have NEVER gotten it to work manually, only with frontends. And I have very carefully followed the tutorials. OpenBSD's ifconfig is so much better than the mess networking is (or used to be at least) on Linux00:57
WizzupmissMyN900: you're free to port libicd-network-wpasupplicant to iwd :p01:11
missMyN900Wizzup: is connman supporting iwd not enough?01:18
Wizzupno, we don't use connman01:31
sicelomissMyN900: and i never had a problem with wpa_supplicant ever, even on N900. whether using manual methods (wpa_cli) or frontends. anyway, no denying that everyone is moving towards iwd, and one may as well embrace it10:34
uvosparazyd: can i have a extras repo for qtwebbrowser?11:27
crabok so what is happening here: https://paste.debian.net/1220759 ?11:50
crabill run with -a and see what that says...11:50
crabhildon-connectivity-wlan/stable 1.5+2m7 all [upgradable from: 1.4+2m7]11:51
crabhildon-connectivity-wlan/now 1.4+2m7 all [installed,upgradable to: 1.5+2m7]11:51
Wizzupcrab: btw, if you still have no ui, we may know the problem11:51
Wizzupuvos: so you think I should revert this right? https://github.com/maemo-leste/maemo-system-services/commit/5b164f9a8dc0bf34abb4120348c1aa0c69a88c8811:52
crabhttps://paste.debian.net/1220760/11:52
craband thats what happens if i try to install it11:53
crabwell i do have the ui problem still,11:53
crabbut im now beginning to think that somehow apt is a bit unwell11:53
crab"problem" (for certain values of "problem")11:53
Wizzuptry: apt-get -s -o Debug::pkgProblemResolver=yes install ...11:53
crabi did that the other day to no avail iirc.11:54
Wizzupuvos: I could also have ofono be a dependency of maemo-system-services11:54
Wizzupcrab: right it's just more debug info, what if you install the packages directly that it says it cannot pull11:54
Wizzupi.e. add all three to apt install11:54
crabso install with the three .'s literally like that?11:55
crabor with that hildon wifi thingy?11:55
crab(re. my pastebins)11:55
Wizzupcrab: sec let me give you a literal command11:56
uvosWizzup: yes we need to revert that11:56
Wizzupuvos: what about depending on ofono11:56
uvosWizzup: and whatever xsession script hangs when ofono is not available must not11:56
Wizzupcrap: apt install hildon-connectivity-wlan libicd-network-wpasupplicant-dbus-n900 libicd-network-wpasupplicant-dbus-common11:56
uvosi dislike it because it forces ofono on devices with no modem11:56
crabcool...11:56
Wizzupuvos: by design it system waits for sim to be ready before it continues11:56
Wizzupthis is how fremantle does it11:57
Wizzupmaybe it can not block if ofono is not running11:57
Wizzupor something.11:57
uvosWizzup: im pretty sure you can just after: ofono and have the script return of ofono is not running11:57
Wizzupit's not about the script, it's about the binaries it invokes11:57
Wizzupand in general this contains a lot of non-ofono stuff AFAIK11:57
uvoswell fixing the binary would be best11:57
Wizzupso it can't just *not* run11:58
uvoswhat is it?11:58
uvosthe binary11:58
Wizzupsure if we remove the ofono line now it will work for non-devel, but anyone with ofono and the connui-cellular installed will get a black screen forever11:58
Wizzupstartup-pin-entry iirc11:58
Wizzupit's supposed to block in X before h-d starts11:58
uvosand what dose startup-pin-entry do except unlock the sim?11:58
Wizzup^11:58
Wizzupthere's a whole part that uses actual matchbox11:59
uvosyeah but what for? why would we block x on a device with no modem?11:59
uvosfor what11:59
Wizzupnobody said 'with no modem'11:59
Wizzupof course with devices without modem it is different11:59
uvosok well why would we block x on a device with ofno ot installed?11:59
Wizzupthe line of questioning is not helpful11:59
crabhttps://paste.debian.net/122076211:59
uvosWizzup: im trying to undeerstand11:59
WizzupI didn't say we should block X if there is no modem waiting for pin11:59
uvosok11:59
crabhopefully i did that right11:59
crabthe copy paste was a bit tricky12:00
uvoswhat i realy want to know is why must startup-pin-entry run if ofono is not availble12:00
crabbut since it thinks those things exist i guess it cant have been that badly wrong12:00
uvosrun as in more than just exit with: ofono not available12:00
Wizzupuvos: I don't think it should be installed when there is no modem probably12:01
Wizzupthat's an easy solution, but it doesn't help if we then remove 'ofono' from the depends of this script12:01
uvoswhy you can have it after: ofono12:01
uvosthen iiuc if ofono isten installed12:01
uvosthe script will still work fine12:02
uvoswhile if it is ofono will run before this script12:02
Wizzupcrab: so I don't understand this, I see parazyd committed those packages at some point but I reverted them, but it is not clar to me what made it into the repo12:02
Wizzupuvos: ok, I would try it on my d4 except that ofono there isn't helpful :P12:02
uvosbtw startup-pin-entry needs to be replaced anyhow12:03
uvossince sim cards can be hot plugged etc12:03
Wizzupit can run upon sim plug as well then12:03
uvosright12:03
Wizzupin any case ofono often doesn't detect this currently12:03
uvoswe can change it from blocking the session12:04
WizzupI wouldn't worry about this edge case atm12:04
uvosto just poping up whenever ofono reports a new sim12:04
Wizzupuvos: yeah it only blocks the session by 'virtue' of it not exiting and not being backgrounded12:04
Wizzupso I should test this with 'after' and see if I still get the pin entry?12:04
uvosnot sure how you would test that, i dont get pin entry regardless12:05
Wizzupwish the droid4 and n900 sim size were the same hehe12:05
uvosdue to ofono isues12:05
uvosoh on n900 yeah12:05
Wizzupoh, I forgot I removed nokia-modem from 5.15 because of panics12:05
Wizzuprip12:05
WizzupSNAFU all day long :P12:05
crabWizzup: so essentially on my machine, apt wants those two packages in the repo for the gui (or something it depends on - the wifi thing) ?12:05
Wizzupcrab: let me check something with parazyd12:06
uvosWizzup: maybe making startup-pin-entry non blocking and wait for ofono to show on dbus to pop up with a window is least work12:07
uvosthen the init script dosent have to care about ofono at all12:07
Wizzupuvos: well that's not how it should work I think12:07
uvoswhy not12:07
uvosyou want the phone to be unusable with a locked sim?12:07
uvosas in to someone without the pin12:08
uvosi allways thought that was a absurd security mesure.12:08
uvossince the attecker can just swap the sim, or remove it12:08
crabWizzup: i appreciate this, but remember: im just a casual hobbyist end user who is (hopefully) helping you lot out. my n900 is doing what it needs to do and as ive said before i am more than happy to do a reinstall at some point if ive been unlucky :)12:08
Wizzupuvos: I don't know why they do it per se, but I think it's a logical order12:09
Wizzupcrab: right, do you still have ui problems?12:09
craboh sure12:09
uvosi dont think so, but ok12:09
Wizzupcan you change one line and see if it gets better12:09
crabi have no ui at all except during kernel boot :)12:09
crabsure ill try...12:09
crab(well until i ssh in ofc)12:09
crabwhat do you need me to change?12:09
Wizzupcrab: edit /etc/init.d/xsession and remove 'ofono' from it12:10
crabroger...12:10
Wizzupand then restart/reboot12:10
crabroger again...12:11
Wizzupthe wlan thing we'll fix next, it looks like the CI just failed12:11
* crab waves at n90012:11
uvosWizzup: looks like the right flag is use: not after:12:17
uvoshttps://github.com/OpenRC/openrc/blob/master/service-script-guide.md12:17
uvosuse is a soft dependency - if dns, logger or netmount is in this runlevel start it before, but we don't care if it's not in this runlevel.12:17
uvosafter declares that we need to be started after another service, without creating a dependency (so on calling stop the two are independent)12:17
uvosactually im not sure what the difference is12:18
uvosbut use sounds more directly like what we want12:18
Wizzupuvos: looks good12:19
Wizzupcrab: parazyd and I likely debugged the wifi thing, will have fix in ~1hr or so12:19
n900my gui has been restored! \o/12:20
Wizzupwe'll push that fix out as well12:20
crabWizzup: ^ you heard the phone :)12:20
Wizzupcrab: feel up for trying one more thing to help out? :P12:20
crabofc12:20
Wizzupcan you change the same file and add 'use ofono' below 'need xorg mce'12:21
Wizzupwithout the quotes12:21
Wizzupand then reboot to see if it still works12:21
crabok let me take another look and make sure i know what you mean...12:21
Wizzupdepend() { need xorg mce use ofono keyword -timeout12:22
Wizzup}12:22
Wizzupirssi stripped the newlines12:22
Wizzupsec12:22
Wizzuphttps://dpaste.com/8DBZ9YHAH12:22
n900cool i will do that and leave more gracefully this time.12:23
crabi dont want to hassle you about it today, esp. as it seems to be consistent with regular maemo and that strange debian install,12:25
crabbut i wish i knew why this thing didnt seem to play ball with slaac for ipv612:25
crabif i assign the address manually it works fine12:25
crabso strange12:25
uvoswe dont setup ipv6 at all12:26
uvosso yeah no ipv6 support12:26
Wizzupcrab: don't push your luck regarding ipv6 lol :P12:28
WizzupI think there is some ipv6 support on fremantle, but I don't know -anything- about ipv612:28
Wizzupit's a 'later' thing mostly I think12:28
crabwell the use works12:30
crabi still have a gui12:30
Wizzupok, ty12:31
uvosWizzup: how can you install files in debian/*.install from src directory ?12:32
crabWizzup: it does work:12:32
crabroot@devuan-n900:~# ping6 www.google.com12:32
crabPING www.google.com(lhr25s32-in-x04.1e100.net (2a00:1450:4009:81e::2004)) 56 data bytes12:33
crab64 bytes from lhr25s32-in-x04.1e100.net (2a00:1450:4009:81e::2004): icmp_seq=1 ttl=119 time=12.5 ms12:33
crabjust not slaac oddly.12:33
crabbut i guess the implication is that code may be a bit old and crufty12:33
uvos$ ping6 www.google.com12:33
uvosconnect: Network is unreachable12:33
uvosnot sure12:33
uvosmust be something you did12:33
crabuvos: it took me years of farting aroudn12:33
crabbut one day i just thought "what happens if i assign manually with ifconfig?"12:33
craband to my shock and surprise it worked.12:33
uvosright ok12:33
crabso if anyone here has a n900 and wants ipv6 - theres your hot tip.12:34
uvosyeah no idea why slaac over ipv6 dosent work on your custom setup ofc :P12:34
crabits not that custom!12:34
crabits pretty standard maemo-leste i think12:34
crab:)12:34
crab(but in fairness to you lot, it also doesnt work under debian or the regular maemo)12:35
crabanyway, thanks for getting my gui back and hope ive helped.12:35
crabif you need me to test more stuff in future, if n900 is lurking here, i have a device ready for you.12:35
uvosWizzup: no ideas?12:38
Wizzupuvos: sorry, what do you mean, how ot edit debian//rules or name files, or do you want to do some hack?12:38
Wizzupcrab: yeah ipv6 support is there in kernel, we just don't do whatever is required upon link up/dhcp/etc12:39
Wizzupcrab: https://github.com/maemo-leste/bugtracker/issues/13912:39
uvosWizzup: a bit of a hack, i want to just install a resource fille that the the buildsystem dosent install12:39
uvosie i have a maemo specific .desktop file12:39
uvosi dont want to add it to the source itself12:39
uvosi just want to maintain it in in debain/12:40
Wizzupuvos: I think you just add the path, no?12:40
Wizzupdoes that not work?12:40
Wizzupyou could maybe even do something like ../src/foo12:40
uvosdh_install: Cannot find (any matches for) "../qtwebbrowser.desktop" (tried in ., debian/tmp)12:40
uvosi tried that12:40
Wizzuptry ../../12:41
uvossame12:42
crabWizzup: weird that you should link that with Merlijn Wajers avatar on github when ive been listening to bauhaus today12:42
Wizzupyeah I drew that up in inkscape ~13 years ago :P12:42
Wizzup(I am merlijn)12:42
crabheheh12:42
sicelocrab ... enyc?12:43
crabheh12:43
crabno but i kind of know who that is! :)12:43
sicelook12:44
uvosWizzup: was it you that made the svg file on wikipedia?12:44
crabWizzup: https://www.youtube.com/watch?v=y5Y6JrRRMiM you may enjoy this later12:44
Wizzupuvos: no I just made this one based on the logo, don't think too much of it12:44
WizzupI might change the avatar at some point12:45
WizzupI just set it a long time ago and never changed it really12:45
Wizzupis talk.maemo.org down for others? http://talk.maemo.org/showthread.php?t=8535712:45
uvosno12:45
Wizzupweird12:52
freemangordonuvos: youshould have another target in .pro file that installs to $DESTDIR/$WHATEVER_PATH12:54
uvosi dont want to really12:55
freemangordonthat's the right way12:55
uvosid rather not modify upstream source at all12:55
freemangordonwhy? ou're doing distro-specific installation12:55
freemangordonalso, holdon provides pkgconfig variable for .desktop files location, IIRC12:56
freemangordon*hildon12:56
freemangordonuvos: the other option is to have custom dh_something in debian/$notsurethepath that installs .desktop file12:57
freemangordonbut I have never used that so not sure how it works12:58
Wizzupfreemangordon: hm, I do occasionally get some segfaults still with cma=32MB: [ 2402.701477] cma: cma_alloc: reserved: alloc failed, req-size: 375 pages, ret: -1613:03
freemangordonWizzup: -depth 16 is your friend ;)13:04
uvoson n900 depth 16 might acutally be worthi it13:05
uvosit cant run the applications i have in mind that dont do 16 bit anymore13:05
uvosanyways13:05
freemangordonuntil I implement that patch that scanouts should not require CMA13:05
freemangordonand even after then, it doesn;t make sense to have 24bpp on mobiles with 3-4 inches display13:06
freemangordonuvos: what are those apps?13:07
enyccrab: I'm here too but not the same as you =)).13:07
crabhahah13:07
crabi bothered to check if sicelo was in the other other place but i never thought you'd be in here too!13:08
Wizzupfreemangordon: do you use it with 16 bit depth atm?13:09
sicelocrab: i just remembered that enyc was the other person who reported ipv6 issues, hence my question13:09
craboh!13:10
crabyeah enyc and i love the ipv613:10
crabwe cant get enough of it13:10
Wizzupfreemangordon: if so, please let me know what config you use and I'll try it13:10
Wizzupotherwise, I think I will increase cma size for now to make this usable13:10
crabsicelo: it was just a bit freaky after the bauhaus thing! :)13:11
crabi guess its a small world...13:11
freemangordonWizzup: I dont; use it at all :)13:11
enycsicelo crab ;  been ages since I tried N900 alas...   uerm iirc the problem was that for some oid reasons ipv6 packaets weere getting dropped  and were not getting the functionality that worked under  cssu+power kernel i.e.  at least ipv6 autoconfig without userland support, used to work .......13:11
freemangordonWizzup: but I think I have tested -depth 16 and it is just fine13:11
freemangordonkeep in mind this halves the required memory for graphic ops by a factor of 213:12
freemangordonbecause 24bpp is actually 32 bpp13:12
freemangordonwe have ARGB/XRGB13:12
freemangordonalso, increasing CMA > 32 and having compcache will just leave no memory for anything else13:13
Wizzupcrab: looks like it's quite small: $ ls -lsh usr/lib/icd2/libicd_network_ipv6.so13:14
freemangordonoh, while we are at it - please, *disable* compcache13:14
Wizzup20K -rw-r--r-- 1 merlijn merlijn 18K Apr  9  2008 usr/lib/icd2/libicd_network_ipv6.so13:14
Wizzupfreemangordon: I don't know what compcache is13:14
freemangordonzswap13:14
Wizzupso you want no swap?13:14
freemangordonI want swap, but no zswap13:14
WizzupI want zswap I think :)13:14
freemangordonn900 has a dedicated partition13:14
freemangordonWizzup: trust me, you dont;13:15
freemangordonfor sure not on n90013:15
freemangordonWizzup: https://talk.maemo.org/showthread.php?t=7611213:16
freemangordonI've spent a lot of time on that, the final verdict is - unusable13:16
crabWizzup: fwiw, (and i absolutely don't want to contradict what Pali wrote, because i know hes a "legend in the scene" so to speak),13:17
crabbut im not entirely sure that what he said about just having the sysctl is enough is completely true13:17
crabill see if i can confirm that my settings are sane at some point though13:17
uvosfreemangordon: well the fact that i just tried to switch x to 16bit but amdgpu refuses to create 16bit scanout buffers should be an indication how well this is still tested13:18
bencoh:]13:19
uvosfreemangordon: from runing 16bit on ddk1.9: anything qml and firefox is realy slow because they do 32 bit rendering regardless and convert to 16 bit for output13:19
freemangordon16bit is broken on ddk1.913:20
bencohthey probably rely on RGBA for everything GL anyway13:21
freemangordonwhich is slow on ARM, because it uses BGRA ;)13:21
freemangordonwell, at least SGX do13:21
uvosBGRA istent that unusal13:22
Wizzupcrab: I took a quick look and libicd-network-ipv6 is only 20kb so RE'ing it probably takes 1-2 days, I don't have that time now but in early 2022 I could take a look13:22
bencohoh, I didn't mean RGBA vs BGRA, but vs other 16b formats13:22
bencohlike 56513:23
freemangordonuvos: I don;t want to go into lengthy discussions, but I will insist on having 16bpp until someone provides some evidence that 32bpp is better (on mobile)13:23
Wizzupfreemangordon: maybe just try it for yourself and see13:23
freemangordonand "app X does not work" is not really an evidence13:23
freemangordonWizzup: sure, but not now13:23
uvosignoreing the problem with compatability: i mean better is really subjective anyways13:23
Wizzupif it works better then we can revisit13:23
crabWizzup: put it on the list13:23
uvospeople look at photos and stuff on mobile alot13:23
crabbut far down the list would be my suggestion13:24
freemangordonuvos: and how many bits do you think your display has?13:24
craband if anyone bothers you ill happily tell 'em what i have in my script! ;)13:24
freemangordonbits per pixel that is13:24
freemangordon12?13:24
Wizzupcrab: well there are fremantle scripts already13:24
bencohn900's display is pretty decent actually, but yeah, I doubt it has a super high definition13:24
Wizzuplibicd-network-ipv6-scripts13:24
freemangordonn900 is a winner, IIRC it uses 14 or 16 bpp13:24
freemangordonbut it is a real GRB13:24
freemangordon*RG13:25
uvosfreemangordon: well more that 16 is not usual even on cheep pannels, besides they do temporal dithering13:25
freemangordonaah13:25
uvosobv ainchent suff like n900 is not the benchmark here13:25
freemangordonactually it is13:25
freemangordonbecause it has a real RGB13:25
* Wizzup checks out for a bit :P 13:25
Wizzupcrab: please apt update and apt upgrade13:26
Wizzupcrab: wlan should be fixed13:26
freemangordonunlike 'modern' displays which do not13:26
crabroger13:26
uvosfreemangordon: ? "real RGB"13:26
uvosyou mean not pentile?13:26
uvoswho still uses pentile?13:26
uvosexcept really really high density stuff13:26
freemangordonand what is used now?13:26
uvosrgb13:26
freemangordonprovide example, please13:26
bencohSony ACX565AKM (n900)13:27
uvosxt160213:27
freemangordonLast time I checked iphone, they were using pentile13:27
uvosbesides pentile is totaly orthagonal to color depth13:27
bencohDisplay Colors16.7M (8-bit), CIE193170%13:27
uvospentile reduces spacial resolution not color resolution13:27
freemangordonuvos: as I told you ,I don;t have time now (not will later :) ) to go into lengthy discussion on that13:28
bencohsounds like it's really 24b then (?)13:28
freemangordonBenwhat is this?13:28
freemangordonbencoh: what is this?13:28
bencohn900's lcd panel13:28
bencohhttp://www.lcd-source.com/Product_Specifications_SONY_ACX565AKM-713:29
freemangordonyes, it is full 24bit rgb13:29
freemangordonn900 panel goes circles around everything I've seen for the last 8-9 years13:29
uvosyou must have not seen mutch then13:30
freemangordon24bpp, transflective13:30
freemangordonuvos: sure, it is that having fullhd on 5 inches is not my cup of tea13:31
bencohfreemangordon: yeah, I wish they would go back to transflective displays13:31
freemangordonespecially if you have to use that in special light conditions to be able to see what is actually drawn on the screen ;)13:31
uvostransflective is great13:31
uvosbut its bad for color reproduction13:31
freemangordonnot on n90013:32
uvossure is13:32
uvosany amount of inicdent light totaly distroys reprodcution13:32
freemangordonah, you mean when it is exposed to sunlight?13:32
Wizzupbtw, I mailed pavel about te 5.15 n900 kernel problems13:32
uvosits kinda same tradeof as RGBW on d413:32
freemangordonok, but I give a shit about colors when I am on the beach and want to read a book13:32
sicelogreat Wizzup. privately, or via some ML?13:33
uvosfreemangordon: right its a tradeoff13:33
uvosa good one13:33
bencohwhen exposed to direct sunlight (at least here) n900 kinda looks like some eink reader :)13:33
bencohbut it's much better than nothing13:33
Wizzupsicelo: privately, I think doing it through ml makes more sense if we have the kernel more packaged and less wip13:33
Wizzupsicelo: like in a week from now or so13:33
WizzupI also plan to do a blog post with the 2d/3d stuff13:34
sicelosure.13:34
freemangordonI don;t really see much tradeoff here, mobile phone is not tool used for color calibration13:34
freemangordonanyway, have to do some RL job13:34
freemangordonttyl13:34
crabWizzup: i think im waiting for the wossname to become valid13:36
crabstill needs 48 mins or so.13:36
Wizzupcrab: the what13:36
crabhttps://maedevu.maemo.org/leste/dists/beowulf/InRelease13:37
crabthat ddue13:37
crab*dude13:37
Wizzupmaybe your time is off13:37
craboh...13:37
crabhmmm.13:37
Wizzupntpdate-debian -413:37
crabok we are cooking...13:41
crablooks like its installed some stuff...13:42
crabhttps://paste.debian.net/1220770 if you want to see output.13:43
crabi wonder what was up with the time - zone was correct but it was an hour out. maybe a result of accidentally booting into regular maemo with a weird tz when i pulled the battery before,13:44
craband then when it got into maemo-leste it was like "meh im not stepping this a whole hour in one big chunk" or something13:44
uvosso qt webbrowser shows a vkb now - but only if the deivce is not opened :)13:46
Wizzupcrab: yeah looks fine, maybe try to reboot to make sure it worked13:47
Wizzupor sudo /etc/init.d/icd2 restart13:47
Wizzupuvos: cool, how does that work with qt?13:47
Wizzupthe IM is still missing13:48
uvosWizzup: it uses qt's internal vkb - i allready supported that13:48
uvosWizzup: i just added support for checking with mce13:48
uvosto get the slide state13:48
Wizzuphm, him does that normally I think (The slide checking)13:48
uvosWizzup: yeah ofc13:48
Wizzupas in the application doesn't need to know13:48
uvosyeah but its not him13:48
Wizzupsure13:49
uvosit implements/uses qts own vkb13:49
Wizzupeventually I don't think we want many different vkbs, but having a decent browser is exciting13:49
uvosyeah sure13:49
uvosbut rn we dont have any browser that works on ts only devices13:49
Wizzupyeah13:50
Wizzupbrb13:51
crabrestarting looks good13:51
Wizzupcool13:52
crabill try a reboot too but since you are brb i will attend to irl job hopefully before you get back!13:52
crab;P13:52
crabWizzup: yep works with reboot too. :)14:11
crab<- rl14:11
Wizzupgreat14:14
uvoshttps://github.com/IMbackK/qtwebbrowser <---- someone can pull that intro extras if they like14:23
Wizzupuvos: I'm waiting for parazyd to do it :)14:30
Wizzupbut excited to try14:30
Wizzupbtw I think we need to look closely at spinals patches for 5.1 since a lot of problems that we had before seem to appear again with 5.1514:31
Wizzupfor example the n900 doesn't detect the usb cable is gone and it's no longer charging in upower14:32
Wizzuppretty sure that kind of stuff was fixed14:32
sicelohe definitely did some amazing work14:35
Wizzupbasically this https://github.com/maemo-leste/n9xx-linux/commits/n900/v5.1.21-patch14:38
Wizzupprobably https://github.com/maemo-leste/n9xx-linux/commit/949a796f05f6aab2f13d1504b9453a2dea03f2df-14:38
Wizzupactually that should be merged14:38
Wizzupanyway, just another thing to do14:38
Wizzupuvos: we don't need the /disable attribute anymore for touchscreens right, since we release them in x and mce?14:41
uvosno14:42
uvosand i droped suport for it form mce some time ago14:42
uvosso nothing uses it14:42
uvosafaik14:42
uvosdid we patch that in on n900?14:42
Wizzupwe used to re-add the disable attr, but I don't think we need it anymore14:43
Wizzupuvos: the maemo system services thing is in -devel14:45
WizzupI want to test it somehow but not sure how14:45
Wizzupmy leste n900 is in 5.15 and 5.1 boots to tty only14:45
Wizzupso that gets tricky14:46
Wizzupmaybe if I can trick the droid into entering charge mode or something...14:46
uvosofono has a fake modem14:46
uvosi dont quite remember how to enable it14:46
uvosmight be usefull14:46
uvos(in general not only in this case)14:46
Wizzupmaybe if it does sin unlocking and stuff yeah14:46
uvoshttps://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=472d84386fbe5f181623328376603ad378d395d414:49
uvoslooks like14:49
uvosmight make sense to look into enableing phonesim on vm by default14:50
Wizzupmhm14:52
parazyduvos: Should that go to extras?17:00
parazyd(qtwebbrowser)17:01
Wizzupyes17:01
lelparazyd created a repository: https://github.com/maemo-leste-extras/qtwebbrowser17:03
parazyduvos: Added you to the repo ^17:03
Danct12does anyone know how to get a dump of wl1251-nvs.bin from my n900?17:03
WizzupDanct12: https://github.com/maemo-leste/wl1251-cal ?17:11
Danct12would be nice if it can output into file17:11
tmlindWizzup: that oops you posted few days ago is for unloading musb with a configured gadget or something like that17:21
tmlindWizzup: the n900 pm status script looks nice :)17:21
Wizzuptmlind: I will package that script today17:22
Wizzuptmlind: hm, the other oops I shared on the droid, I'm pretty sure I didn't unload musb then17:23
tmlindhmm17:24
tmlindwas that on reboot or something?17:24
Wizzupno, it caused a reboot17:25
tmlindinteresting17:25
WizzupI was watching a movie and not using it17:25
WizzupIt's 5.15 though - so not 5.1117:25
tmlindok sounds like there are infinite bugs remaining in musb17:27
WizzupLet's double check we're talking about the same thing, I'll find the log17:27
tmlindfreemangordon: sorry have not had a chance to look at your patches, how about i just merge your linux sgx branch back?17:28
tmlindi'll be busy all weekend with a move17:28
Wizzuptmlind: so we're talking https://dpaste.com/8YZQ8MX5B right?17:29
Wizzuplooks like it17:29
tmlindyeah17:30
tmlinddid you plug in the usb cable when it happened?17:31
Wizzupit could be that it was plugged in to keep it charged17:31
Wizzupwhich does cause a lot of plug/unplug events I think17:31
Wizzupbut I didn't -physically- do anything17:31
tmlindok sounds like there's some race with the plug/unplug events with musb17:32
bencohI think so as well17:33
bencoh(although here I haven't seen it crash, just disconnect after a few seconds)17:34
Wizzupwell that aggrevates it probably :p17:35
uvosi also saw a random hang+reboot today18:00
Wizzup5.11 or 5.15?18:00
uvos5.1518:00
Wizzupanything in pstore?18:00
uvosdevice was just idleing18:00
Wizzupand it's the one from the repo, or?18:00
uvosi dident have pstore enabled18:00
uvosno mine18:01
uvosbut its same as yours18:01
uvoswith just 2 wip cpcap patches18:01
Wizzupapart from pstore :P18:01
uvosand pstroe18:01
uvosyeah18:01
uvosrandom hangs being back is pls no territory18:03
uvosn900 dosent boot and d4 hangs18:03
uvosit is as allways :P18:03
lelIMbackK edited a repository: https://github.com/maemo-leste-extras/qtwebbrowser18:04
uvosbtw is there a "trick" to figure out what qml modules are needed by a package18:07
Wizzupmaybe dsc_ knows18:08
uvossince they are resolved at runtime its nearly impossible to know what classes/imports are provided by what pacakge18:08
freemangordontmlind: sorry, which patches do you mean?18:09
uvoswithout going through all source and looking up eatch class by hand18:09
Wizzupuvos: maybe you can find -iname \*.qml -exec grep import {} \; | sort | uniq or something18:09
freemangordonyeah, the wonders of js18:09
uvosfreemangordon: yeah no kidding18:10
uvossucks18:10
freemangordonuvos: I just finished couple of hours angularjs session ;)18:10
freemangordonwhich is no better than qml, if not worse18:10
Wizzupworse yeah18:10
uvosWizzup: what you suggest is semi usefull yeah18:12
uvosbut still pretty hard to compear that to what debian pacakges it needs18:12
Wizzupye18:12
freemangordonmaybe it will be easier to just run it and watch for "this is missing" exceptions/error messages18:13
uvosfreemangordon: yeah but then i need a rootfs that has no qml modules to start with18:13
freemangordonhow hard is to remove if you have already installed18:14
freemangordonyou'll just reinstall later on18:14
uvoswell it removes other stuff too18:14
uvosbecause of depends :P18:14
freemangordonI know18:14
freemangordonbut it will remove 2-3 apps18:14
freemangordonI guess18:14
uvosits in the repos now18:16
uvosso maybe just try if you have few modules installed :P18:16
uvosi think/hope i have everything coverd18:17
Wizzupmy droid4 has qml stuff installed for conversations so also not a good test bed18:17
Wizzupuvos: what category is it in the application manage?18:19
WizzupI found it18:19
uvosupps its in utilitys18:20
uvosshould be network18:20
Wizzupand the icon, it's not in the hildon ones?18:20
uvosshould it be?18:21
Wizzupif it is in extras I would expect it to18:21
WizzupI also don't see it in the debian ones18:21
uvosoh you mean that18:21
uvosyeah its in hildon18:21
uvosthis is a bug18:21
WizzupI must be blind18:21
uvossometimes i have to kill hildon to make it pick up new ones18:21
uvosor you are blind18:22
uvos:P18:22
uvoslooks like chrome18:22
WizzupI think it might be that you don't use the right way to install it and it is not picked up?18:22
uvosno18:22
Wizzupmaybe it just didn't install or something18:22
freemangordonWizzup: there is some bug, apps don;t appear after being installed18:22
WizzupI never had that before18:23
Wizzupmaybe kernel lacks inotify?18:23
uvosi have sean it plenty18:23
freemangordonmhm18:23
uvosit works sometimes so that would be unusaly18:23
uvos*unusal18:23
uvosre lacks inotify18:23
Wizzupkilled h-d and h-h18:24
Wizzupstill not there18:24
Wizzupand it's definitely installed18:24
Wizzupit's an empty pkg.18:24
uvoshuh wierd18:24
Wizzupit contains nothing but a changelog.gz18:24
Wizzupassuming it is qtwebbrowser18:24
uvosyeah18:24
Wizzupdpkg -L shows only changelog.gz18:25
uvosit works if i build it localy (obivously)18:25
uvos$ dpkg -L qtwebbrowser18:25
uvos/.18:25
uvos/usr18:26
uvos/usr/bin18:26
uvos/usr/bin/qtwebbrowser18:26
uvos/usr/share18:26
uvos/usr/share/applications18:26
uvos/usr/share/applications/hildon18:26
uvos/usr/share/applications/hildon/qtwebbrowser.desktop18:26
uvos/usr/share/doc18:26
uvos/usr/share/doc/qtwebbrowser18:26
uvos/usr/share/doc/qtwebbrowser/changelog.gz18:26
uvos/usr/share/icons18:26
uvos/usr/share/icons/qtwebbrowser.png18:26
uvoslocal pacakge is fine18:26
Wizzup/. is a bit awkward is it not?18:26
uvosno idea how to debu18:26
uvosg18:26
uvosparazyd ?18:26
uvosideas18:26
Wizzupanything you didn't commit?18:26
Wizzupcheck phoenix build log too18:26
uvos$ dpkg -L mce18:27
uvos/.18:27
uvos/etc18:27
uvos/etc/dbus-118:27
uvosseams normal18:27
Wizzupmake -j4 install DESTDIR=/build/qtwebbrowser-5.11\+2m7/debian/qtwebbrowser AM_UPDATE_INFO_DIR=no INSTALL_ROOT=/build/qtwebbrowser-5.11\+2m7/debian/qtwebbrowser18:27
uvos@ /.18:27
Wizzupmake[1]: Entering directory '/build/qtwebbrowser-5.11+2m7'18:27
WizzupSome of the required modules (qtHaveModule(webengine)) are not available.18:27
WizzupSkipped.18:27
uvosaha18:27
Wizzupyou might want to fix that18:27
Wizzupfrom https://phoenix.maemo.org/job/qtwebbrowser-binaries/architecture=armhf,label=armhf/1/consoleText18:27
uvosok yeah i expected libqt5webview5-dev to depend on webengine18:29
uvosbut aperantly not18:29
tmlindfreemangordon: i meant the updated and pending omapdrm and sgx kernel patches, i guess there is at least one patch to revert and update?18:32
uvosWizzup: try again?18:40
freemangordontmlind: ah, yesh. well there are 2 of them18:46
freemangordonplease ping me when you come to it18:46
tmlindfreemangordon: ok let's try to deal with it next week if no rush18:50
dsc_< uvos> btw is there a "trick" to figure out what qml modules are needed by a package18:54
dsc_https://dpaste.com/8MWF5L2VX.txt18:55
uvosQT_DEBUG_PLUGINS=1 qtwebbrowser 2>&1 | grep --line-buffered className | grep -i quick18:56
uvosno output18:56
dsc_note that perhaps these plugins are resolved dynamically @ runtime `dlopen()` so you may not get them all18:56
dsc_ah18:57
uvosbut yeah  QT_DEBUG_PLUGINS=1 qtwebbrowser contains the info18:57
Wizzupuvos: ok just a moment19:22
Wizzupuvos: btw 'frendly' -> ;friendly'19:23
Wizzupuvos: btw 'frendly' -> 'friendly'19:23
Wizzupicon showed up right away19:24
Wizzupuvos: hm it's a black window for me19:25
Wizzupuvos: it say BrowserWindow is unaailable19:25
Wizzupand SettingsView19:25
Wizzupand Qt.labs.settings is not installed19:25
uvosso qml-module-qt-labs-settings19:27
uvosi think BrowserWindow imports settings19:28
uvoscould you check if that is sufficant?19:28
Wizzupok19:30
Wizzupuvos: qtquick virtualkeyboard19:30
uvosit depends: qml-module-qtquick-virtualkeyboard19:30
uvosso hmm19:31
parazydThat vkb is actually nice19:31
uvosyes :)19:31
uvosbut not in portrait19:31
Wizzupqml-module-qtquick-virtualkeyboard is already the newest version (5.11.3+dfsg-2).19:31
uvoshmm19:31
Wizzupuvos: oh, 'Type Keyboard unavailable'19:32
Wizzupbtw, was this not packaged anywhere else/19:32
uvosWizzup: no19:32
uvosjust arch linux19:32
Wizzupand they didn't have a list?19:32
uvosarch linux has one package19:32
Wizzupbtw, on startup it also says neither GLX or EGL are enabled19:32
uvosqml modules19:32
uvosor some sutch19:32
Wizzupdo you get that as well?19:32
uvos?19:33
Wizzup19:32 < Wizzup> btw, on startup it also says neither GLX or EGL are enabled19:33
uvosWizzup: yes its broken19:33
uvosqwebengine checks for xcb platform module19:33
WizzupI think that is only with the maemo integration19:33
Wizzupah19:33
Wizzupthat's stupid19:33
uvosbut its a blessing in desguise19:33
WizzupI purposefully didn't fork/replace it19:33
uvosbecause its broken19:33
uvoson pvr19:33
Wizzupegl too?19:33
uvosit causes gles errors19:33
uvosyeah19:33
Wizzupweird19:33
uvosand renders black19:33
Wizzupanyway19:33
uvospvr specific19:34
Wizzupuser@maindroid:~$ qtwebbrowser19:34
WizzupQXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled19:34
Wizzupqrc:/qml/Main.qml:36:9: Type Keyboard unavailable19:34
Wizzupqrc:/qml/Keyboard.qml:31:1: module "QtQuick.VirtualKeyboard" is not installed19:34
uvosi have no idea what provides that19:34
uvosmaybe qtvirtualkeyboard-plugin?19:34
Wizzupthat is not a package19:34
uvosyes it is19:34
Wizzup$ dpkg -l | grep qtvirtualkeyboard-plugin19:34
uvos$ dpkg -s qtvirtualkeyboard-plugin19:35
uvosPackage: qtvirtualkeyboard-plugin19:35
uvosStatus: install ok installed19:35
Wizzupmaybe you installed it from some source?19:35
Wizzup$ dpkg -s qtvirtualkeyboard-plugin19:35
Wizzupdpkg-query: package 'qtvirtualkeyboard-plugin' is not installed and no information is available19:35
WizzupUse dpkg --info (= dpkg-deb --info) to examine archive files.19:35
uvosWizzup: no i dident19:35
uvosis there a way to check what repo a package came from?19:36
uvosbut i mean its Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>19:36
uvosso..19:36
Wizzupwhat version is it for you19:37
Wizzupit is here https://packages.debian.org/buster/qtvirtualkeyboard-plugin19:37
uvosVersion: 5.11.3+dfsg-219:37
WizzupI think we just misspellted it19:37
Wizzupm19:38
Wizzupapt update made it installable19:38
Wizzupqrc:/QtQuick/VirtualKeyboard/content/components/Keyboard.qml:36:1: module "Qt.labs.folderlistmodel" is not installed19:38
uvosugh19:38
uvos:P19:38
Wizzupdialogs?19:38
uvosno19:39
uvosit depends on that allredy19:39
uvosqml-module-qt-labs-folderlistmodel19:39
Wizzupyou're keeping notes btw, right? :p19:39
uvosyeah im adding it to control as you type19:39
Wizzupok19:40
Wizzupnow it runs19:40
Wizzupit's pretty hard to type on the virtual keyboard hehe19:41
Wizzuphm my touch screen stopped responding19:41
Wizzupworks fine in evtest19:42
uvoslock unlock display dosent helP/19:43
uvos?19:43
uvoshildon is responsive otherwise?19:44
Wizzupit did help19:44
uvoshmm19:44
Wizzupbut it's stil lweird19:44
uvosyeah19:44
uvosi wonder if we have the latest ts-buttons19:44
uvosi told tmlind to pull19:44
uvosthere was a bug that could cause it19:44
uvosill check later19:44
Wizzupok19:44
uvosi kicked qtwebbrowser again19:45
uvosi hope its fine now19:45
uvosbut really who knows19:45
WizzupI think we should figure out the dependency things for the droid419:46
Wizzup5.15 seems pretty ready for -devel19:46
Wizzupwhat did we say, omap-linux or maemo-linux? I think omap yeah?19:48
uvosi prefer maemo-linux and f**ckl it to devices that cant keep up, but the resonable objection was that we cant expect every device to work with latest linux19:48
uvosso omap-linux19:49
uvosan alternatie would be to make it just linux with different sections19:49
uvosat least when we reorganize the sections to be saner19:50
Wizzupok19:58
Wizzupso I guess I will add a bootmenu.scr to leste-config for the n90020:10
Wizzupit will be hard to know what the exact fremantle settings are...20:10
Wizzupperhaps the usual attachboot and emmcboot are enough to cover that20:11
Wizzupideally it would just read bootmenu.scr from all partitions I guess20:11
Wizzuptmlind: https://github.com/maemo-leste/n900-pm/blob/master/scripts/openrc/n900-pm20:20
uvosbtw would be nice for people to weigh in on the default browser question https://github.com/maemo-leste/bugtracker/issues/2220:20
WizzupI think what will be the browser is what we invest in20:21
Wizzupfor example if we get someone to work on the qml parts of qtwebbrowser to make it more hildon usable, it has a good chance20:21
uvosnot sure what you mean20:21
Wizzupbut the same is true for surf-gtk20:21
uvosim also not sure QtWebBrowser is ideal20:21
uvosalso n900 needs a custom solution i think20:22
uvosalso sholes if you ever invest the time to port leste to that20:22
Wizzupsholes?20:22
uvospre mapphone motorola devices20:23
Wizzuplike the xt610?20:23
uvosyes20:23
uvos"for example if we get someone to work on the qml parts of qtwebbrowser to make it more hildon usable, it has a good chance" except vkb im not sure what that would mean20:24
Wizzupthe qtwebbrowser isn't in any way hildonised20:24
Wizzupbut it seems to be quite fast20:24
Wizzupit needs some ui that makes it look like hildon20:24
Wizzupand a menu where it's title is20:24
uvosoh you want you theme it20:25
Wizzupa fullscreen mode that works well20:25
WizzupI think it's more than just theming20:25
Wizzups/it's/its/20:25
Wizzup(for it's title)20:25
uvosnot sure what you would want the title menu to contain really20:26
uvosbut ok20:26
Wizzupsettings20:26
Wizzupbookmarks view20:26
Wizzupuseful stuff20:26
Wizzupsaved credentials20:26
Wizzupbeing able to change rotation, full screen, auto focus addr field, memory cache size, how zoom works, password saving, popups, cookies, javascript,20:27
Wizzupthat kind of stuff20:27
Wizzupsicelo: n900-pm is now in -experimental20:28
uvosi mean the only thing i think it lacks is ad block and plugin support - witch it has if you build it against qt 5.15 or newer20:29
uvosbut sure20:29
WizzupI think some form of customisation is important20:29
Wizzupbut I also don't know how well it works since the UI is mostly custom20:29
Wizzupor foreign to me20:29
uvos"how zoom works" zoom works idealy for me20:29
WizzupI figured out that I had to swipe to see a url bar20:29
uvosother than on n900 where you cant zoom20:30
Wizzupthe zoom was weird for me since eventually it just zoomed when I used one finger20:30
uvosbut it ooms there at startup anyhow20:30
Wizzupbut maybe that was the ts buttons bug20:30
Wizzupfremantle browser does the right thing imho hiding the top bar and having the url at the bottom20:31
Wizzupat least having the bar visible20:31
Wizzupanyway we all have different opinions on this, but I think there's some work to be done to make it a bit more usable20:32
Wizzupand if we have to do that, we might want ot keep that in mind when selecting a default20:32
uvosthe point i was making before we should select a default before we start working on something20:32
uvosat least majorly20:32
uvosand a descision on if the n900 just not working is acceptable20:33
Wizzupyes, but then we also need to weigh stuff like gtk2/gtk3/qt520:33
Wizzupand how much it's maintained by others20:33
uvosyes20:33
uvosyes absolutly20:34
tmlindWizzup: n900-pm, cool :)20:34
Wizzuptmlind: it works, but there are a few blockers that I don't know how to tackle20:35
tmlindwhich bits are those?20:36
tmlindspi is used by wlan probably20:36
WizzupST_SDRC, ST_OMAPCTRL, ST_I2C120:36
Wizzupspi only blocks sometimes, so wlan idles20:36
tmlindhmm i2c would block idle for sure20:37
Wizzupyeah I think that's twl?20:37
Wizzup(at least that's what the &i2c1 entry in the dts hints at)20:37
tmlindbut that should be active only now and then20:37
uvostwl i2c same thing20:37
Wizzupunfortunately that seems to be most of the phone20:37
uvosi2s is trademarked by philips or something20:38
tmlindusb phy maybe?20:38
Wizzupuvos: I mean the twl subsystem20:38
uvosright ok20:38
Wizzuptmlind: phy_twl4030_usb ?20:38
tmlindyeah try rmmod that20:38
WizzupI can remove it, but I think musb_hrc depends on it?20:38
tmlindyup20:38
tmlindrmmod omap2430, then the phy20:38
Wizzuphm it reset, me do this properly20:39
Wizzup(just a minute)20:39
WizzupI had to remove the usb gadget before phy_twl4030_usb would rmmod, but removing the gadget caused a reset20:39
Wizzup3/3 boot failures, we'll get there :p20:45
Wizzupthere we go 5th attempt20:48
Wizzuphm, it still thinks it is in use20:50
Wizzupudc_core needs musb_hdrc, so do I remove that too then?20:51
Wizzupthat's in use by the charger though20:51
Wizzuptmlind: https://dpaste.com/5FR8EML2620:51
tmlindat least on droid4 i can just rmmod either the phy or musb243020:54
tmlindyou need to deconfigure the gadgets first though20:55
WizzupI cleared the gadget and I think I even removed any modules that were related to it20:56
WizzupI blacklisted them, let's see20:56
Wizzupphy_twl4030_usb,musb_hdrc,omap2430 are not loaded but still ST_I2C1 blocks it seems21:00
Wizzupbtw, audio doesn't finish probing, maybe that is related as well21:00
Wizzupsince I believe that's also on twl?21:01
Wizzup[   31.051513] of_get_named_gpiod_flags: parsed 'speaker-amplifier-gpios' property of node '/n900-audio[0]' - status (0)21:01
Wizzup[   31.230865] gpio gpiochip7: Persistence not supported for GPIO 721:01
Wizzup[   31.331268] rx51-audio n900-audio: snd_soc_register_card failed (-517)21:01
Wizzupand the rgb led also doesn't probe or work iirc, so maybe that is somehow related?21:03
Wizzupfinally, mce and ke-recv have certain input devices open - twl4030 keypad, twl 4030 pwrbutton, gpio_keys21:04
Wizzupstopping mce and ke-recv didn't seem to matter, so keeping those open might have an efect but it was not enough.21:06
sicelorgb led controller chip isn't powered. unlikely to be holding i2c captive :-)21:08
WizzupI think I completely removed all modules that contained 'twl' and i2c1 still seesm to block i2c21:08
Wizzuptmlind: any other things, or should I just try it in 2 weeks when I have serial access, probing one module at a time, until it blocks21:10
sicelomaybe i2cget to see what else is on i2c?21:15
tmlindWizzup: i'd boot with init=/bin/bash and then modprobe one module at a time21:17
tmlindn900 was ret idle just fine for me when i last tried, just a minimal setup21:18
Wizzupyeah, ok, I'll do that when I get home in 2 weeks21:19
WizzupI actually travelled with a lab power supply and n900 serial, but I left the lab psu somewhere21:19
Wizzupso I don't have a way to debug now21:19
Wizzupsicelo: I think the dts should describe that and it seems to be only twl?21:21
tmlindyeah well somebody could try to enable the twl carkit mode for debug serial port over usb like we have for d4..21:21
WizzupI've never heard of that, what is that?21:21
tmlindi recall it's buggy though so may not even work21:21
tmlindcarkit mode is where the dock feeds vbus, then usb rx and tx lines are muxed to uart mode, there are various carkit device combinations21:22
Wizzupaha21:23
tmlindi recall also twl4030 has uart capability like cpcap, but i also recall on twl4030 it might be buggy21:23
tmlindanyways, ttyl time here21:25
Wizzupttyl21:25
Wizzupd4 just reset while connected to wall charger, let's see22:57
Wizzupnothing in pstore this time23:06
uvosmine has reset twice since23:07
uvos(no charger)23:08
uvossomethings up :(23:08
Wizzupmaybe serial can help23:08
uvosthe good news, i gues, is that the plain debain one thats on 5.14 dosent reset23:11
Wizzupuvos: right, but if it's just idle I wouldn't expect it to be pvr either23:17
uvos5.14 debian one runs pvr23:17
uvosstill cromeos mesa but still23:17
uvosi could upgrade it to 5.15 and see if it resets23:18
uvosif it dosent its annoying because that means that some interface that isent used there but is on leste is causing it23:18
uvosso it could have been introduced anywhere since 5.1123:18

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