libera/#maemo-leste/ Thursday, 2021-07-08

bencohWizzup: hmm, what do ifconfig/wpa_cli say?00:03
bencohoh and, I just saw wpasupplicant and friends got an upgrade today when updating repos ... I hope it doesn't enable the interface now00:05
Wizzupbencoh: it doesn't enable the interface00:06
bencohthen if you were still able to connect, it means the applet didn't disable it (?)00:07
bencohare you able to reproduce it?00:07
bencohoh and, I might have an idea00:08
bencohapparently the wifi.sh script doesn't get a parameter from the applet, but instead toggles the interface based on its current status00:09
bencohso if the interface was disabled manually (not updating the applet status), then you tried disabling it from the applet ...00:09
bencohit will actually enable it (I think)00:09
uvosbencoh: maybe try /dev/rfkill (isent in leste kernel you need to compile a kernel with support for this) then nothing can unblock the interface except your widget00:10
Wizzupbencoh: I was connected to a wifi ap when I tried to disable it00:10
Wizzupuvos: I don't think we necessarily want rfkill?00:10
uvosWizzup: why not?00:10
uvosWizzup: the widget is to disable wifi no?00:10
uvosi thought00:10
bencohWizzup: can you reproduce it?00:11
Wizzupbencoh: I think maybe the iaps were cached00:12
Wizzupthat's why they showed up in the scan dialog00:13
WizzupI suppose I could flush more quickly00:13
Wizzupprobably should00:13
bencohWizzup: did you really manage to connect though?00:13
uvosthe widget is just bringing down the wlan0 interface or?00:14
bencohuvos: ifconfig wlan0 0.0.0.0 down00:15
uvosdose that even prevent scanning? or monitor mode for that matter?00:16
bencohI think it should, unless I missed something00:16
bencohat least I don't get any scanning result after ifconfig down from the connections dialog00:17
bencohuvos: is rfkill even supported by our driver(s)00:17
bencoh?00:17
Wizzupbencoh: I think so, kinda weird00:18
Wizzupuvos: it does prevent scanning00:18
uvosbencoh: probubly00:18
uvosbencoh: not that i tried00:18
uvosWizzup: why would that be wierd?00:18
Wizzupuvos: because the interface is down and wpa_supplican cannot use it00:18
uvosWizzup: that dosent disable scannin per say00:18
Wizzupuvos: try it00:18
uvoswpa just dosent use down interfaces00:19
Wizzupit doesn't work00:19
uvosright but is that wpa00:19
uvosor kernel interface00:19
uvosim not so sure00:19
Wizzuppretty sure it's kernel iface00:19
uvosok00:19
uvosi dont see why you think rfkill is wierd00:19
bencohhe was referring to the fact that he still connected, not to rfkill :)00:20
uvosoh i missread00:20
uvosnvm then00:21
lelMerlijnWajer closed an issue: https://github.com/maemo-leste/bugtracker/issues/353 (ScummVM segfaults on launch)01:20
stanr5.11.22 #1 seems very stable. congratulations to the fixers.04:12
stanri understand C++ about as well as a dog understands a vacuum cleaner06:04
stanrand all i can do is bark angrily at it06:04
stanrfigured it out.  larger font theme 0.1 working on pc, not on maemo-leste version yet08:06
mighty17[m]`glmark2 Score: 22` ok this is really bad i get better results with 1.17 + wayland08:07
stanrwhat device08:10
mighty17[m]Samsung Galaxy Tab 208:14
mighty17[m]with --fullscreen i get `glmark2 Score: 74`08:15
stanrwhat cpu/gpu is that?08:15
mighty17[m]Omap443008:15
mighty17[m]Sgx54008:15
stanrcool08:15
mighty17[m]cant understand why without fullscreen its so bad08:16
stanri think xorg is doing an extra copy08:16
stanrdue to compositing08:17
mighty17[m]https://pastebin.ubuntu.com/p/mHCcJz6FGZ/ logs for both08:18
stanrunder hildon, you should be able to disable compositing in windowed application with ctrl-shift-n08:20
mighty17[m]no keyboard08:30
mighty17[m]wiki.postmarketos.org/wiki/Samsung_Galaxy_Tab_2_7.0%22_(samsung-espresso3g) its a tab08:30
stanri got glmark2-es2 24 yesterday i think08:32
mighty17[m]what device?08:32
stanrdroid4, omap443008:33
mighty17[m]oh i use droid4 rootfs :P on the tab208:33
stanrnot under hildon08:33
mighty17[m]very similar devices08:33
mighty17[m]not under hildon  > then what?08:34
stanrxorg + openbox08:34
mighty17[m]and maemo?08:34
stanryes08:34
stanryou can switch WM's without restarting x08:34
mighty17[m]wow thats  new08:35
mighty17[m]any pics?08:35
stanrnot really, they're just programs running in x08:35
stanrit looks like openbox08:35
mighty17[m]one can theme openbox :)08:36
stanrto switch to openbox i do08:37
stanr/usr/sbin/dsmetool -k /usr/bin/hildon-desktop08:37
stanrsleep 208:37
stanropenbox-session&08:37
mighty17[m]openbox wouldnt work well for me, no hw keyboard08:37
stanrthey can be purchased08:37
stanrthen to restart hildon i just killall openbox && sleep 2 && /etc/X11/Xsession.post/20hildon-desktop08:37
mighty17[m]i mean yes but i dont hv any reason08:38
mighty17[m]openbox-session& > pretty simple :D08:38
mighty17[m]i still hv to try gdm08:38
stanra computer without a keyboard is like a horse without legs08:41
mighty17[m]haha08:41
mighty17[m]virtual keyboard is good for me :P plus its a tab like lol08:42
meldrianAre there additional sources for the maemo leste package manager besides the ones already present after flashing the sdcard?10:33
uvosno10:34
uvosbut apt has all of debian10:34
sicelomeldrian: you can also add/enable the -devel repository, but expect the unexpected, like you would with Debian Sid, for example10:45
meldrianThanks. expect the unexpected. I like that.10:49
uvosthe -devel repo dosent conatin anything for ham10:50
uvosafaik10:50
uvoseverything there is in extras anyhow so its not affected10:51
Wizzupmighty17[m]: how far did we get with support your device btw? what are the next steps?11:53
Wizzupuvos: the -devel repo can contain stuff for ham, but I only do that for some not-well-working stuff11:54
uvosWizzup: but thats in extras-devel12:01
uvosi dont thing we document extras-devel anywhere12:01
uvos*think12:01
uvosor not?12:02
Wizzupnot sure12:02
Wizzupbtw, wifi changes should be in stable12:02
uvosWizzup: good12:02
uvosWizzup: no issues since you implmented the workaround12:02
uvosbtw did you test if this happens on other devices besides the d4?12:03
uvosjust in case the driver is a fault12:03
Wizzupdo you mean the wpa interface randomly returning that it could not actually start a scan>?12:07
uvosyes12:07
WizzupNot really, but it's also hard to debug.12:08
Wizzupuvos - the module still logs that though (when it fails)12:08
Wizzupso you can grep daemon.log12:08
Wizzupgrep for 'try_scan_wpa_control'12:09
WizzupLooks like the last time I had it was on July 312:09
uvosi dont really have a device with wifi i could try except another mapphone12:10
WizzupI'm saying you could also grep on your d4 for the message to see if it still happens too12:10
uvosthe n900 igues12:10
WizzupI can try other devices, yeah, I suppose12:10
uvosbut it shares a driver12:10
WizzupI am not too worried since the scan still seems to work, it's probably something in wpa supplicant socket handling for the most part12:10
uvosok12:10
Wizzup(or a scan already happening, which is also not too bad, but it can't be the cause for all of them)12:11
uvoscould also be that kernel driver returns  failure and then dose the scann anyhow12:11
uvosconfuseing wpa12:11
mighty17[m]Wizzup: we were on making a wiki page :P12:20
mighty17[m]so far droid4 rootfs is working great for me12:20
mighty17[m]and another thing is omap2plus defconfig somehow doesnt work for me12:20
siceloyou can diff omap2plus with yours, and see what the differences are12:23
mighty17[m]right now cant do anything, sdcard issues still not fixed12:24
mighty17[m]not mmc issue but getting a reader12:25
Wizzupok12:27
Wizzupso ongoing on your side it sounds like :)12:27
uvoswe could take on his device instead of mz609 if we want a tablet i gues12:28
uvosi dont relish the thought of not having a serial port tho12:28
uvosmotorola devices are pretty mutch optimal in this regard12:28
uvosmighty17[m]: you could try and compile omap2plus with just omapdrm built in instead of a module12:29
WizzupI think mz609 is not a bad target12:29
uvosand see if it spits out any errors12:29
Wizzupapart from the flashing stuff12:29
uvosmz609 has not flashing issues12:30
uvosthats mz61712:30
Wizzupok, so what's wrong with mz609 then?12:30
uvoswhere can i buy one?12:30
uvos(they are rare)12:30
uvosmighty17[m]'s samsung tablet is common as mud12:31
Wizzupwait, didn't I send you a mz609?12:31
WizzupI am confused now12:31
uvosWizzup: its mmc dosent work12:31
uvosit discards all wrights remember12:31
uvos*wirtes12:31
WizzupI remember12:31
WizzupI am trying to understand if the mbm allow flashing stuff is for the mz609 or not12:31
WizzupI keep confusing the codenames :)12:31
uvosmz609 (the small tablet) works great12:32
uvoswe have permissive mbm12:32
uvosand kexecboot and everything ready12:32
uvosthanks to tonys work12:32
Wizzupok, so that's something I can try next week when I get back to croatia then12:32
uvosright12:32
Wizzupuvos: ah I see, the 11 mz617 are harder to flash12:33
uvosyes12:33
mighty17[m] you could try and compile omap2plus with just omapdrm built in instead of a module > uvos omapdrm needs to be a module for hildon/pvr to work12:42
uvosmighty17[m]: right but this would be without pvr just to debug12:42
mighty17[m]samsung tablet is common as mud > indeed like it used to be top 10 in LineageOs at one time :P12:43
uvosmighty17[m]: i guessing that maybe your linux cant find its modules due to your block device issues12:43
uvosmighty17[m]: if you compile in omapdrm this gives the kernel a chance to complain and you to read the error12:43
mighty17[m]right but this would be without pvr just to debug > uvos im missing a sdcard reader so i cant change the modules (/lib/modules/5.11.0)12:43
uvosyour not supposed to change that12:44
uvosjust compile a new tag12:44
mighty17[m]oh ok like that12:44
mighty17[m]also bootloader issue12:44
uvosand then modules_install creates a new directoy called 5.11.0-akhfshgkjhjdsah12:44
uvosjust copy that into /lib/modules with leste12:45
uvosyeah bootloader issue is another thing12:45
mighty17[m]for now i will modify it in omap2plus12:45
Wizzupany idea what the easiest way would be to get a sfos device? to inspect the audio stack and such16:08
buZzhttps://en.wikipedia.org/wiki/Sailfish_OS#Hardware_overview16:28
bencohwe could easily download an image I guess16:31
buZzthere's a nokia n950 port, lol16:33
buZzthe unobtainium16:33
bencohsome leste devs own n950 :)16:33
bencoh(well, they own a n950 unit, at least)16:34
parazydYeah fmg has one that I know16:34
parazydThough more or less it's the N916:35
bencohyeah16:35
parazydThat said16:37
parazydWizzup: You can run sailfish on the N916:37
parazydWizzup: https://wiki.maemo.org/Sailfish16:38
buZzits maybe bad marketing to post tweets as maemo leste that display 'posted with twidere on android'16:40
buZz;)16:40
parazydWho's to say I'm not using Anbox :p16:41
buZzright, but couldnt you spoof it? :P16:42
parazyddunnp16:43
parazyddunno16:43
WizzupI guess the pinephone might run it, but also I'm just mostly searching for where pulse config files come from16:44
Wizzuphow they build the rootfs etc16:44
buZzah hmhm16:45
Wizzupmaybe jusa will still reply, who knows16:45
buZzdid you see https://sailfishos.org/develop/hadk/ ?16:45
Wizzupthe pdf seems helpful16:47
Wizzupandroid/hal might be quite different though, but we'll see16:47
WizzupbuZz: 14.916:48
Wizzup14.9  AudioFor audio, Sailfish OS uses PulseAudio as the main mixer. For audio routing ohmd is used.TODO: Add info about audio routing configuration TODO: Add more info in general16:48
Wizzup;)16:48
buZz:)16:48
bencoh(talking about anbox, I couldn't get it to work on droid4)16:51
bencoh(I always eventually have some anbox/android-related process stuck at 100%cpu for ages)16:52
parazydbencoh: It won't work with pvr16:53
bencohoh, seriously? :(16:53
parazydAnd I think 32bit in general, it's a bit messy16:53
parazydYeah16:53
bencohwell, no need to try then16:53
parazydNo16:53
parazydIt works well on the Pinephone16:53
parazyd(with additional zram)16:53
bencohWizzup: something tells me telepathy is too high level for the sailfish hw adaptation guide btw16:54
bencohsince telepathy sits on another abstraction layer (they leverage the android RIL)16:54
Wizzupbencoh: this is about pulse though, but yeah16:55
bencohoh, pulse/ohmd, right. n900 uses ohmd as well16:55
Wizzupbencoh: it won't currently work with pvr at least16:55
Wizzupbencoh: the n900 does? I forgot about that16:55
bencohit does, I never really understood what it did though16:56
WizzupI see it now16:56
WizzupI think I have most of what I need, I was just searching for jusa's advice/blessing :p16:56
WizzupI'll continue later today or tomorrow, work took over16:56
bencoh:)16:56
Wizzuphttps://web.archive.org/web/20200815080328/https://wiki.merproject.org/wiki/Nemo/Audio this page describes a lot16:56
WizzupI just don't know how up to date it is (I had to port the cmtspeech to newer pa for example)16:56
bencohoh, right, nemo basically went the same way 5~10y ago16:57
bencohwait, so ohmd is the one reading xpolicy.conf?!16:58
Wizzupwiki.merproject.org is also down16:58
Wizzupbencoh: I need to verify that, I think that's pulse16:58
Wizzup(I'd try harder to answer the q, but need to get back to work :) )16:58
bencoh(same tbh :D)16:59
Wizzupbencoh: it is pulseaudio-policy-enforcement that does it17:00
Wizzuphttps://github.com/maemo-leste/pulseaudio-policy-enforcement17:00
Wizzuphttps://github.com/maemo-leste/pulseaudio-policy-enforcement/blob/leste/examples/xpolicy.conf17:00
Wizzup(i think)17:00
bencohah, thanks17:02
Wizzupsicelo: I suppose a nemo n900 image would work just as ewll17:23
stanri see maemo scummvm is using the oldstyle /opt install directories.  is there something i can read to understand the reasoning for this?18:20
stanriirc it was to allow large apps to go to a larger partition than system programs18:21
buZzi think there's still debate about a second partition like MyDocs18:21
Wizzupyes, it has not been ported over not to use /opt18:21
Wizzupthat's the only reason18:21
Wizzupwe don't optify at this point18:21
stanrthanks18:21
tmlinduvos: so i tried your suggestion of fastboot flash mbmloader mbmloader.bin on mz617 and yeah it works20:19
tmlinduvos: i also extracted mz615 and mz616 motoboot files and they too are flashable on mz617, but do not allow flashing utags partition20:20
tmlindi just used these for mz617 for reference to extract motoboot:20:21
tmlindbin="motoboot.bin"20:21
tmlinddd if=${bin} bs=1 skip=$((0x400)) count=$((0x80070 - 0x400)) of=allow-mbmloader-flashing-mbm.bin20:21
tmlinddd if=${bin} bs=1 skip=$((0x80400)) count=$((0x8a8e0 - 0x80400)) of=mbmloader_ns.bin20:21
tmlinddd if=${bin} bs=1 skip=$((0xa0400)) count=$((0xaaef0 - 0xa0400)) of=mbmloader_hs.bin20:21
tmlindthe filename and offsets are slightly different for mz615:20:22
tmlindbin="motoboot.img"20:22
tmlinddd if=${bin} bs=1 skip=$((0x400)) count=$((0x80070 - 0x400)) of=allow-mbmloader-flashing-mbm.bin20:22
tmlinddd if=${bin} bs=1 skip=$((0x80400)) count=$((0x8aef0 - 0x80400)) of=mbmloader_ns.bin20:22
tmlinddd if=${bin} bs=1 skip=$((0xa0400)) count=$((0xaaee0 - 0xa0400)) of=mbmloader_hs.bin20:22
Wizzupthat's good news... right?20:23
tmlindthen the mz617 motoboot has no mbm or mbmloader at all20:23
tmlindWizzup: well no, the motoboot files just contain yet another version of mbm and mbmloader, they are not really allow-mbmloader-flashing-mbm.bin files20:24
Wizzuphmm20:24
tmlindit seems that some earlier firmware might still contain the allow-mbmloader-flashing-mbm.bin, otherwise utags needs to be installed with dd on a rooted system20:25
uvostmlind: just to carify the first ofsets are for mz616 not mz617 as you wrote right21:02
uvosotherwise the rest of what you said makes no sense21:02
uvosi wonder what they needed motoboot for if it contains just another mbm, its not bit identical to regular mbm.bin right?21:03
tmlinduvos: sorry yeah for mz61621:20
tmlinduvos: yeah no idea what the motoboot really is, maybe it's needed to update the partition tables?21:20
tmlindanyways sleepy time here, ttyl21:23
Wizzupgn21:24
freemangordonparazyd: BTW, may we have my tp-glib memleak patch somehow?21:37
freemangordoneither through devuan or leste repos?21:38
parazydfreemangordon: I think we decided to compile all of telepathy ourselves, at least for beowulf22:26
freemangordonbut, do we compile it?22:27
freemangordonas I still see a memleak with valgrind22:27
parazydNo, not yet22:27
parazydShall I set it up?22:27
freemangordonyes, but no hurry22:27
parazydok, added for morning todo22:28
freemangordon:)22:28
stanrnow one droid4 is hijacking the wlan connection of another and grabbing the same IP addr22:42
stanrif one disconnects a wifi manually, leste reconnects22:43
stanrseems that the user has indicated "stay offline" if disconnecting a wifi22:43
stanrwhich the system should respect22:43
stanri'll set it to 'always ask'22:44
stanrbut an unintended disconnection - lost connection is a different case!22:44
stanrTHAT should trigger a reconnection attempt!22:44
stanror we should have an option on internet connections to 'attempt reconnection to lost wifi'22:45
stanryeah i had two droid4's both thinking they had the same IP addr on wlan22:46
parazydMaybe you forgot to change one of their hostnames?22:49
stanrah that's it22:50
uvosstanr: you moved the sdcard from one droid 4 to another and now both have the same mac address as the mac addres travels with the sdcard/nvs23:00
stanrohhh23:00
stanrhow do i reset it?23:01
uvosstanr: you follow your own damn instructions https://leste.maemo.org/Motorola_Droid_4#Using_a_configured_Leste_sdcard_in_a_different_Droid423:02
siceloWizzup: sfos device -> droid4 has a working, old port23:03
uvossicelo: that uses android hal23:03
siceloWizzup: n900 nemo image -> that works too. phone calls worked ootb23:03
sicelouvos: he asked about an sfos device? no?23:04
uvossure but one that uses android hal for audio is very likely not what he wants23:04
stanrmac address appears to be in /etc/udev/rules.d/70-persistent-net.rules23:04
uvosno23:04
uvosits in nvs23:04
sicelo< Wizzup> [16:08] any idea what the easiest way would be to get a sfos device? to inspect the audio stack and such .... he's got million d4 :)23:04
uvosthats just the interface name based on mac23:04
stanrok thanks23:05
uvosyeah i know what he said, but a sfos device that uses android hal is unlieky to be very helpfull23:05
uvosthe n900 nemo is a mutch better suggestion23:05
siceloWizzup: you ported cmtspeech to newer pa - you did this in your recent work?23:07
Wizzupsicelo: re: cmtspeech, I didn't do much, I only ported the nemo module to newer PA23:09
Wizzupsicelo: I tried to find the nemo n900 image but couldn't find it23:10
Wizzupsicelo: uvos: yeah, preferrably not with android hal stuff23:10
sicelolet me check. i downloaded it in second half of 2020, so should be available somewhere23:11
uvosdid nemo drop support for n900?23:11
uvos(just curious)23:11
siceloyes, they did - and soon died too, but getting revived now23:13
Wizzupwhat soon died too?23:13
sicelohttp://releases.nemomobile.org/releases/0.20130620.0.1/images/23:13
siceloNemo eventually kinda died. It's back now, but mostly seems to be quite different from what it was in the start23:14
uvosheh armv7hl23:16
uvos do we really have to specify little-endian23:16
uvoswho runs arm in big-endian mode :P23:16
parazydsicelo, uvos, Wizzup: https://wiki.maemo.org/Sailfish23:17
parazydWizzup: You got an N9, right?23:17
Wizzupyes, it didn't have a link to the nemo images23:17
Wizzupyes, I have a N9 here somewhere23:18
Wizzupbut this is fine, I don't necessarily want to boot it on my n900 (i might)23:18
WizzupI just need to poke at the image23:18
parazydThe wiki link is for N923:18
parazydah crap the link is dead http://www.mediafire.com/download/zj4q8ai80xg41iu/sailfishos_n9_1_0_0_5.tar.bz223:19
Wizzupthe link sicelo posted also has n9 images I think23:19
parazydMaybe it's still possible to build it23:19
Wizzupwell n950 anyway23:19
Wizzupparazyd: I don't want to invest that much time in it23:19
WizzupI think I have what I need: to peek inside the pulseaudio config files23:20
Wizzupthe rootfs probably has tools to also let me poke around the rpm database23:20
sicelobtw now you're working with PA12 you said? or 14?23:21
uvosWizzup: maybe the vbox sfos image is even better23:21
uvossince its newer23:21
uvoshttps://sailfishos.org/wiki/Sailfish_SDK23:21
Wizzupuvos: no, that doesn't contain the n900 stuff :p23:21
Wizzupuvos: not sure if I linked this earlier https://git.sailfishos.org/mer-core/voicecall23:21
uvosoh ok23:21
uvosi thought you where after the genreal pa setup23:22
WizzupI am, but the n900 is still easier to use here I think23:22
Wizzupsince the modules I am working with are basically what is in this image23:22
sicelo(ah, i see Leste has PA12 - was looking at my sid laptop)23:22
Wizzupsicelo: yeah, sfos is on pa14 now23:23
uvosok23:23
uvosidk if we want to do waht the n900 stuff you linked back when did23:23
uvossince it looks specific to the n900 hardware mixer controles23:23
Wizzupcan you be more specific?23:24
Wizzupoh that part, well, that's just one part of a lot of this23:24
uvoswell it fiddels with mixer values directly if i read it correcly (i only glanced at it)23:24
uvosi know23:24
Wizzupif I can the other stuff going soon, that'll already be great23:24
uvoswell i suspect you know what you are doning23:24
uvosso carry on23:24
Wizzupuvos: that's kind, I am not always sure ;)23:24
WizzupI am sure things changed since nemo 2013 times, but the modules seem to be mostly the same otherwise23:25
Wizzupand the sfos stuff is not documented at all, compared to the nemo/mer audio, but I assume it's mostly the same23:25
Wizzupso for making policies, tagging apps and moving them to certain sinks, all that stuff, I think we're good with the current approach23:25
Wizzupthen the switching we can do with UCM probably, but I imagine that might not be a super tricky change23:25
uvosso do you want to import  voicecallmanager?23:33
Wizzupuvos: not sure, but if it does a lot of heavy lifting for us, it could be useful, I haven't looked that much at it23:53
WizzupIt seems to be a background daemon, if I understand correctly, not a UI23:53
uvosyes23:53
uvosit looks sorta like the mce call module as a deamon23:54
uvosexpanded a bit23:54
uvosalso replaces some stuff also in sphone23:55
uvoslike the rinnger23:55
sicelo(i was just watching the pp hwkb video by Martijn. is it just me, or with phone keyboards, you're better off with n900-droid4 size kbd, where you use only two fingers? looks to me like the pp keyboard is too big for easy "two finger" typing, and too small for all fingers)23:55
siceloanyway, still nice to have any keyboard :)23:55
Wizzupsicelo: yes, more like psion keyboard (thumb typing)23:56
Wizzupuvos: ok, good to keep in the back of our head, I don't know how much it depends on other sfos stuff23:56
uvosWizzup: idk if its usefull, except the abstraction that allows you to use ofono or telephathy thats need23:57
uvos*neat23:57
uvosWizzup: otherwise, if we use ofono direclty we have everything i provides in other places, as far as i can tell from a brief survay of the modules23:57
Wizzupuvos: in the long term I don't think we want to rely solely on ofono - for sip we will have telepathy23:59

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