libera/#maemo-leste/ Thursday, 2021-05-27

Wizzupparazyd: freemangordon: so I used ethtool to set the raspi's iface to 100mbit and also changed the aoe scheduler to none from mq-deadline01:09
Wizzupso there should be no more dropped packets and it also shouldn't burst (it's ssd backed, but it didn't know)01:09
Wizzupit seems to not hang now01:09
Wizzupassuming this holds, I'll get a dedicated switch or something01:10
Wizzup(thanks meridion for the suggested fixes)01:10
Danct12just resized my rootfs, i'm happy with my maemo phone :)07:55
Danct12just updated it also07:55
parazydWizzup: Awesome!07:56
freemangordonWizzup: ok, I see the following message in fremantle wlan icd module "WLAN: [%s]: IAP \"%s\" is hidden, scanning it"08:22
freemangordonso it seems wlan module shall enumerate iaps and scan for each saved hidden wlan iap08:23
mardyDanct12: oh, nice to see you here too :-)10:22
Danct12hi10:22
siceloDanct12 nice to hear you're happy with it :-)11:01
Danct12sicelo: it'd be much cooler to have the pinephone keyboard :)11:15
Danct12i'd spend my entire life saving on that one keyboard11:15
siceloI agree11:15
Danct12(jk don't spend your entire life savings on the keyboard, it's only 50-60$)11:16
Danct12more powerhouse than the n900, also a bigger battery too :D11:17
siceloMeant at it being cool ;-)11:17
Wizzupfreemangordon: makes sense @ hidden11:31
Wizzupfreemangordon: I might need to add them to wpa_supplicant's known networks somehow, but don't want it to auto connect11:38
Wizzupfreemangordon: It should be a matter of wpaicd_add_network with scan_ssid=111:42
Wizzupactually it's a bit more complex I think, let me see11:43
pereanyone tried leste on the dragonbox pyra?11:44
Wizzuppere: not lucky enough to get one11:45
Wizzupfreemangordon: wpaicd_initiate_scan should add the networks beforehand I think, with scan_ssid=1, and then the rest should just work11:45
Wizzupfreemangordon: but only the hidden ones, and remove them before the next scan, unless we're connected to them, I think11:46
Wizzupfreemangordon: for that we will hidden wlan_hidden keys to parsed11:47
Wizzupfreemangordon: is wlan_hidden a boolean, or a string?11:48
uvosthe pyra really took to long and now is sorta dead in the watter, new device with 32 bit arm, and sgx etc12:01
Wizzupstill, it'd make for a nice target12:02
Wizzupfreemangordon: I've pushed to libicd-network-wpasupplicant with an untested change to parse wlan_hidden attributes, and a suggestion in comments on what to do in src/wlan.c to make the hidden APs scannabl12:16
Wizzupe12:16
Wizzuphttps://github.com/maemo-leste/libicd-network-wpasupplicant/commit/ebd4c81b6d08b6b83ff412d002b0f9f184e1010412:17
Wizzupand then get_gconf_networks can be used in src/wlan.c's search code that I annotated ^12:20
Danct12just fully charged my phone, didn't have time to calibrate this morning since i wanted to play around with it on the go..13:04
Danct12now discharging13:05
WizzupThe n900 currently discharges relatively fast because we don't hit OFF mode yet13:06
Wizzup(it requires some work, newer kernel, and we want to move to a new powervr driver at the same time)13:06
Wizzuptypical discharge time is ~8 hours or so13:06
Wizzupit should become days with OFF mode13:07
Wizzup(with modem on, etc)13:07
uvosOFF mode is unrealistic with the current amount of kernel timers going off13:07
uvosbut yeah mutch better n900 pm should be doable13:08
Wizzupuvos: I mean latest mainline does enter off mode with few things loaded, but yeah13:14
WizzupI just wanted to highlight the potential for better pm :)13:14
Danct12moving to a new kernel would be ideal, sadly i haven't managed to get 5.12 to boot on pmOS :\13:17
Danct12it boots to a black screen and stuck there13:17
Danct12btw, any IRC client for maemo leste? not interested in CLI for this one13:18
Danct12i've tried hexchat but the elements are all broken13:19
uvoslostirc13:19
WizzupDanct12: so last I tried the most recent kernel should boot, but we haven't tried to port over the old pvr driver (which it not drm based either), because we hope to move to the same shared one (but again, more work), but mainline should just boot, but without 3d accel13:23
Danct12yeah 3d accel is necessary for maemo ui, unfortunately we'll never get a pvr foss driver..13:24
uvosthere are several rumors going around img is developing a foss driver13:24
uvosbut not mutch chance that it will be for sgx13:25
Danct12that has already been mentioned many times on news articles for years and still nothing13:25
Danct12so not going to hold my breath on that13:25
uvosim pretty sure they will do it13:25
uvosthey lost most of thair marketshare on the issue13:26
uvosof poor dirver support13:26
Danct12can't say for sure yeah13:26
Guest15Danct12 @uvos XChat IRC Client at http://maemo.org/downloads/product/Maemo5/xchat/13:33
WizzupGuest15: that's one kinda outdated currently no?13:35
Wizzupbrb13:35
Guest15Wizzup I'm an old guy and today I use IRC for the first time13:38
bencohoh, welcome then :)13:45
Guest15Thanks, I hope that I can find the time to attend more often in the #maemo-leste channel.13:52
Danct12uvos: lostirc doesn't do tls so that's out the door14:09
mightyhello maemo!14:09
Wizzup\o14:10
Danct12although, is there anyway to make programs display using the traditional gtk dialog instead of the one used in maemo?14:11
mightytmlind hello there, here is the regulator summary https://pastebin.ubuntu.com/p/Fr3Drt5hd3/14:12
mightytook me quite some time to get to the new maemo xD14:12
Danct12lol we moved away just only a few days ago14:13
mightyand the irc channel has been locked down ig, so i couldnt ask for more help14:13
mightys/irc/freenode14:14
Danct12well the new fn staff tookover the channel14:14
mightywhaa omg14:15
WizzupDanct12: what do you mean, traditional gtk dialog?14:27
Wizzupdo you mean the normal gtk theme?14:27
WizzupOr do you not want dialogs to be 'hildonized' (on top of everything)14:27
Danct12not to be hildonized, but also normal gtk theme14:28
WizzupDanct12: I don't think there is an easy way, since the window manager (hildon-desktop/matchbox) makes dialog types like that14:30
mightyDoes maemo keep logs? I'm new to irc and stuff and irccloud seems to log u out14:31
Wizzupmighty: https://libera.irclog.whitequark.org/maemo-leste/14:31
mightyThank you!14:32
Wizzupfreemangordon: I can try to do the libicd-network-wpasupplicant part tonight if you'd like14:33
Danct12Wizzup: how about the theme then?14:33
WizzupDanct12: unfortunately I don't actually have the answer... maybe parazyd or uvos do14:34
WizzupI think it might be  GTK_THEME=...14:34
Wizzup(on environment)14:34
WizzupOh, that's gtk3 only14:34
Wizzupinternet says:14:34
WizzupGTKRCFILE=Clearlooks14:34
WizzupGTK2_RC_FILES=/usr/share/themes/"$GTKRCFILE"/gtk-2.0/gtkrc "$@"14:34
Wizzupfreemangordon: let me set up a hidden AP at home, should be simple14:35
Danct12oh right, got it14:37
Danct12thanks14:37
Danct12here's how hexchat dialog looks like with Raleigh theme14:40
Danct12https://kde.modular.im/_matrix/media/r0/download/kde.org/60bcbce836b3009df39860132f24a87af0120f3214:40
Danct12much usable now :P14:40
Wizzupdepending on the size of the screen and fingers ;)14:41
Danct12stylus :)14:41
Wizzupfreemangordon: please push any connui changes required for the icd2 part of it and I'll try to do it, I have a hidden AP set up at home and fremantle connected to it14:48
Daanct12o/14:51
Danct12works quite nicely14:51
Wizzupcool :)14:53
WizzupI see that xchat on fremantle also had maemo patches, including notification code14:53
Danct12with the default theme hexchat looks a bit ugly but doable14:54
Wizzupyeah the hildon theme works really well for hildonized apps and does some best effort for UIs that were never designed for mobile14:54
Wizzupbut it's not ideal14:54
Wizzupiirc even with libhandy and stuff they still design different uis for mobile and non-mobile14:55
Danct12https://kde.modular.im/_matrix/media/r0/download/kde.org/c88860f4b8d98a854fa8806b4eb25901fdb32f7d15:04
Danct12looks really nice though15:04
Wizzupyep15:05
Wizzupand wow that keyboard15:05
Wizzupthat n900 has definitely seen better times15:05
Danct12it's just sticky tape on the keyboard :P15:05
Danct12the keys fall off, and when they do there's no way you can stop it15:05
Wizzupdoesn't prevent sliding?15:06
Danct12nope15:06
Wizzupmhm15:06
Wizzupif you like hw keyboards, maybe it's not too hard to source one of these locally: https://leste.maemo.org/Motorola_Droid_415:06
WizzupI have loads here for kernel and maemo devs who are interested, but that's in europe15:06
Danct12i have the fxtec pro115:06
Danct12can't find the droid 4 though, seems like it was never sold here15:07
buZzit wasnt sold outside US afaik15:07
Danct12but that make sense, i believe that's a verizon only device15:07
buZzbut tooootally works outside of US :D15:07
Wizzupyeah they work on any network outside of the US15:07
Danct12sounds nice15:07
WizzupI also have a fxtec here, but didn't find time to do too much with it yet :(15:07
Danct12maybe i can try to source one from ebay, but then not today15:08
Wizzup:p15:08
Wizzuptmlind: uvos: the xyboard tablets will arrive on monday it seems15:08
Wizzupwonder how hard it will be to do similar kexecboot wonders15:08
Danct12Wizzup: maybe you're the guy that Chen told me about15:08
WizzupDanct12: hope it's not too negative ;)15:08
WizzupDanct12: He sent me a fxtec15:09
buZzlol how can anyone be negative about you, Wizzup15:10
* buZz wears the wizzup fanclub tshirt15:10
WizzupbuZz: we didn't do that much with the fxtec so I feel a bit bad, mostly because of the lack of mainline kernel, I haven't checked in the last 2 months15:10
Danct12nah he didn't say anything about you :P15:10
Danct12same here, he sent me a fxtec15:10
Danct12i wish hw keyboard phones becoming common, right now it's just too expensive15:11
Wizzupthe d4 is 20-30 bucks iirc15:11
WizzupbuZz: also thx :)15:12
Wizzupfreemangordon: I am wondering if I should add some more states to src/wlan.h so that we can use netdevice(7) to set the interface to down when it's not used15:12
Wizzupthat will help with pm at least, but might hinder hostapd related things15:13
uvosWizzup: clown boot should just work on xyboard if you recompile the kexec modules15:16
Wizzupcool, I'll poke you when I get them then15:16
uvosWizzup: maybe xyboard has the same atags cmdline injection vuerability like d4 mbm15:16
uvosthat would need investigation15:16
tmlinduvos: the xyboard models mz617 and whatever the smaller one can be made to work with modified droid4-kexecboot, other models don't use utags15:21
uvostmlind: great15:21
uvos:)15:21
Wizzupoh I got MZ60915:21
uvosoh15:21
uvos:P15:21
Wizzupnot MZ61715:21
uvoslooks like MZ609 is the "smaller model"15:22
tmlindsounds like that might be it, the 7" variant15:22
Wizzupyes15:22
Wizzuphttps://www.ebay.nl/itm/22253128738215:23
Wizzup8.2" apparently15:23
tmlindthose things have a missing micro-sd cage, and i had no luck adding one and configuring the regulator for it that is different from the phones..15:23
uvoshow many did you buy?15:23
Wizzup315:24
Wizzupone for me, one for parazyd, and one who whomever I suppose (in case you're interested)15:24
tmlindthe mz609 might be eventually somewhat usable as an lte phone if somebody cares to work on it, it has mdm9600 modem i believe15:25
WizzupI'm not very big on tablets in general, but I think it's good to have a port15:25
Wizzuptmlind: cool, does it have an earpiece? (joke)15:25
uvoshehe15:25
uvosWizzup: maybe :P15:25
tmlindheh well the mz609 is somewhat compact actually15:25
tmlindpppphablet15:25
uvosphablet with capital P15:26
uvosshould go excellent with my mc hammer pants15:26
Wizzupuvos: well lmk, I'd send them out mid next week as I will travel late next week likely15:26
buZzWizzup: ^_^15:26
buZzkidding about the shirt though15:26
tmlinduvos: i think what i needed was some utags generating patches and droid4-kexecboot patches, then kernel needs the lcd panel configured for dsi video mode that should be all cleaned up in mainline15:28
tmlindneed to look at what i did.. but i got mz619 booted with about two hours of tinkering15:29
uvostmlind: sounds good15:29
uvostmlind: ill do it (if i decide to thake the device)15:30
uvosis the mz619 dts flying around somewhere?15:30
tmlinduvos: i think i did a dummy one, i'll look around15:31
tmlinduvos: mz617 (and probably mz609) are using MMC_PWR_VSIMCARD for the micro-sd regulator, but it may not be wired even if the cage is added15:32
uvosok15:32
uvosthats fine tho we can just flash leste to emtstorage via fastboot15:32
tmlindanyways, safest to install kexecboot to the swap partition as that can be reflashed with fastboot15:33
uvosok15:33
tmlindsorry cache partition15:33
tmlindi think i never found allow-mbmloader-flashing-mbm for mz619, if anybody finds it let me know15:33
tmlindthat would allow flashing other partitions too and not waste cache partition for bootloader15:34
uvosok yeah ill look around, but kexecboot on cache and rootfs on emtstorage would do fine for now :)15:34
tmlindhmm the video mode lcd could be also a good one to test pvr hacks on as it leaves out the command mode issues15:34
uvostrue15:35
uvossame thing be accived with hdmi on d4 ofc15:35
tmlindright15:35
tmlindnever looked at the modem stuff if it's using /dev/gsmtty, it might be all qmi over usb hopefully15:36
tmlindif it's qmi over spi then nobody is going to hack on them i bet15:37
uvosno modem is fine for a tablet imo15:37
uvosits more of a problem with xt91x15:37
tmlindyeah i'm pretty sure wlan worked just fine on it15:37
Wizzupit'll be fun to start making h-d multiple screen aware15:38
tmlindmighty: no idea why your vaux2 regulator is not working, maybe send an email about that to the lists in case somebody has ideas15:42
tmlindheading out, bbl15:44
Danct12Wizzup: I was talking about the modern devices, not old :)15:48
mightyOk thanks16:29
Danct12is it safe to move away from beowulf and get something like sid?17:01
Danct12^ branch17:01
WizzupDanct12: on maemo leste? nah, that won't work atm17:03
Wizzupwe have no beowulf+1 branches yet, it entails quite some porting work and we have other things to focus on17:04
WizzupI imagine 6 months from now we might look at moving17:04
R0b0t1huzzah17:06
mighty@tmlind: I actually have twl6032 (Not 6030) is that a problem?17:08
Wizzup\o17:09
uvosmighty: twl6032 has a public datasheet why dont you compeare it with 6030?17:10
mightyBut mainline has support for twl6032 but no twl6032.dtsi17:11
uvosdepending on how same it is it might not need one17:14
uvosthats why you should check the regulator setup in datasheet and the corissponding dirver files to see if its in order17:14
uvosor as on the ml17:14
uvosask17:15
mightyAlright, will check, but my downstream kernel twl6030 files, I'm really confused17:23
uvosmighty: check teardown of the device maybe17:24
mightySo twl6030 and 32 seem to be very similar17:24
mightyIn teardown it's 603217:24
uvosif the pmic regulator drivers on downstream are also 6030 likely there is no difference in this hardware block17:25
mightyYeah so 6030 should work17:25
mightySo don't know why regs are disabled17:28
freemangordonWizzup: sorry, was very busy today, just got to the PC21:07
freemangordonWizzup: also, nothing new to be pushed21:32
Wizzupfreemangordon: it's all built too?22:00

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