libera/#maemo-leste/ Saturday, 2022-12-03

Wizzupfreemangordon: ok, I'll have a coffee and look at eds tp again11:18
Wizzupuvos__: did you figure out what to do with iio-sensor-proxy?11:19
Wizzupdo we just fork + add init script?11:19
* SuperMarioSF slaps SuperMarioSF around a bit with a large trout11:26
Wizzup:D11:27
SuperMarioSFOuchies11:27
SuperMarioSFwell I guess I have to do the international shipping research next day11:28
SuperMarioSFbecause I am working on my day off11:28
SuperMarioSFbtw I'm using mIRC now. Auto reconnect isn't available on web based IRC.11:29
siceloso you're on windows?11:30
SuperMarioSFyup, my workspace have many PCs, the primary one is a Windows 11 machine.11:30
SuperMarioSFand there is a NAS running TrueNAS core, a small PC running with passive cooling running AOSC OS (Linux), a Dell Optiflex running Ubuntu 20.04, but with a smart router NIC in it.11:32
SuperMarioSF*Ubuntu 22.0411:32
sicelointeresting... i just noticed mIRC is still well supported. last release about a week ago. really nice11:33
SuperMarioSFIf I need a Linux desktop, that Ubuntu 22.04 PC had KDE5 on it and connected to my KVM switch.11:33
SuperMarioSFwell mIRC isn't free.11:34
Wizzupsicelo: all good, no rush11:35
sicelomeaning?11:35
Wizzupsorry11:35
WizzupI meant to say11:35
WizzupSuperMarioSF: all good, no rush11:35
siceloah,11:35
SuperMarioSFok11:35
Wizzupsicelo: let me make a coffee and look at that n900 serial thing, once python-hildon builds11:35
sicelocool11:36
SuperMarioSFoh I haven't have my food for a while. time for a breakfast/launch/dinner all-in-one. (I'm too busy on work these days...)11:37
Wizzupheh :)11:39
_uvos_Wizzup if we are going to have it forked we might as well have the magnetometer stuff enabled too11:42
_uvos_so rebase11:42
_uvos_the devuan people where on #devuan where not helpfull11:42
Wizzupoh well11:42
_uvos_"haveing forks is work"11:42
_uvos_and "oh this never had a legacy init script in debian, no idea what to do then"11:43
_uvos_ill do it tomorrow11:43
Wizzupok11:43
_uvos_if you dont want to11:44
WizzupI hope to do qt5 today and then most of the hard stuff should be done11:44
_uvos_good11:44
Wizzupthere's various python pkgs that are just a pain, but we'll get it done for this release I guess11:44
Wizzupfor the next one, I don't know :)11:44
_uvos_what about abook, sphone and friends11:44
Wizzupabook is done, I will re-try sphone in a bit11:45
_uvos_the motoactv arrived, smoothest android 2.3 device i have ever used :P11:45
Wizzupheh11:46
_uvos_amazing that they crammed essentally a n900 into 1/8 its size just 1 years after the n900 was released11:46
buZzsicelo: afaik that mirc dev stopped all other work, he's living of the few people that paid for mirc :)12:39
buZzpretty cool12:39
Wizzupshall I just import the cython pkg from buster instead of building it ourselves?13:05
Wizzupsicelo: ke-recv does not seem happy @ n900 either atm13:14
Wizzupsicelo: https://wizzup.org/n900-6.1-panic.txt13:15
Wizzuplooks like the same one as I worked around before with the revert13:15
Wizzupuvos__: ^13:17
sicelofunny thing is - since upgrading to 6.1 on the d4 yesterday, i've never been able to get to h-d. anyway, will see the d4 later13:18
siceloWizzup: the dma patch is available in that kernel you're testing with, right?13:19
siceloyes i see it in https://github.com/maemo-leste/droid4-linux/commits/maemo-6.113:20
Wizzupwell, I don't know if uvos cherry-picked it, or actually did the revert13:20
Wizzupif he just cherry picked it I am surprised the kernel even compiles13:21
Wizzupas in, I thought that usually you'd have to re-do the revert13:21
Wizzupit's also just possible it's not enough anymore13:21
Wizzupuvos__: re: sphone see https://phoenix.maemo.org/job/sphone-binaries/architecture=arm64,label=arm64/54/consoleText13:22
sicelo Wizzup: when doing the revert, https://paste.debian.net/1262731/  and https://paste.debian.net/1262730/13:25
Wizzupsicelo: right, you'll have to figure out what the right path is there, I can take a look after I free up my head a bit (10 mins)13:29
WizzupI always get confused by >>> and <<<, so maybe look at what the commit adds (git log -p <commit you want to revert>)13:29
Wizzupand then just try to undo what it does13:29
siceloi believe that's what i did, ending up with https://gitlab.com/postmarketOS/pmaports/-/blob/f50cc07cf7988185e6a5162c6bd42dde597bfe20/device/community/linux-nokia-n900/0005-kernel-dma-workaround-n900-modem-oops.patch13:34
sicelobut it's possible i did it wrong13:34
Wizzupok, let me make a coffee and check it13:35
sicelosure,13:35
Wizzupfreemangordon: uvos__: do you know if we still need https://github.com/maemo-leste/qt-platform-maemo/commit/86cbc6f410cd295cd522403e635892160f90a4af ?14:05
Wizzupsicelo: it looks to me like your revert is correct, I think14:10
Wizzupsicelo: actually, hm14:11
Wizzupsicelo: || arch_dma_map_page_direct(dev, page_to_phys(page) + offset + size)) seems new14:11
Wizzupsame for the other two14:11
Wizzupwonder what happens if you remove those too14:11
Wizzupbtw, maybe you can ask on linux-omap and other MLs again about this problem14:12
Wizzupsicelo: btw, I assume that without the revert it also crashes?14:13
Wizzuphttps://wizzup.org/qt5-chimaera-1.png14:53
Wizzuphttps://wizzup.org/qt5-chimaera-2.png14:53
Wizzupfreemangordon: ^^ :)14:53
siceloWizzup: yes crashes without patch/revert14:57
sicelonice @ qt14:57
Wizzupyeah, we're mostly there... libgq-gconf has a mysterious failing test though :(15:04
_uvos_cherry-picking a revert absolutly should work, there should not be anzthing speical about a revert commit. that said the revert in the kernel is not cherry-picked, its comes from the n900 branch that was merged15:22
_uvos_where the revert was perfomed15:23
_uvos_anyhow the diff looks absolutly fine15:23
Wizzupthe || calls there look like they might be causing the crash15:23
_uvos_the new 6.1 kernel contains the n900 patches from sicleo/pmos15:23
Wizzupbut that's just a wild guess15:23
_uvos_btw15:23
_uvos_the aditional ones15:23
Wizzupwhich branch?15:24
_uvos_what he linked15:24
_uvos_a 6.1 branch15:24
_uvos_i cant look rn @ the underlying issue15:25
Wizzupit's the same issue as before, but I got no useful response from the ML15:25
Wizzupbut removing the new || call for dma might work15:25
_uvos_ok15:25
Wizzupbut really I think it ought to just be fixed proper15:26
_uvos_yes15:26
_uvos_is this code used on the other devices?15:26
_uvos_ie can this sort of hack break other things15:26
_uvos_we may also want to consider blacklisting the modem untill this is fixed15:27
Wizzupmaybe just don't built it in the kernel15:30
Wizzupor blacklist yeah.15:30
Wizzupbut my fix didn't cause other issues15:30
_uvos_blacklist is better15:30
_uvos_allows debugging15:30
WizzupI suppose, still not sure how to help the existing -devel users on n900 that have a non booting device now :P15:30
_uvos_tell tem to mount sdcard15:32
_uvos_and add blacklist i gues15:32
tmlindWizzup, _uvos_: pushed out a new mapphone-v6.1 branch that has dts stuff rearranged a bit to boot also xt910, xt912, mz609 and mz61715:49
tmlindhttps://github.com/tmlind/linux/commits/mapphone-v6.115:50
tmlindlcd works on xt910, should work on xt912 too in theory15:50
tmlindno lcd support for mz609 or mz617 so far15:50
tmlindthis will cause merge conflicts for dts and the panel-dsi stuff if merged in to the droid4-pending-v6.1 fyi15:51
tmlindboot tested only on xt910 and mz617 so far, hopefully notghing broke for xt875 and xt894 lcd15:52
buZzwas mz617 the xyboard with a keyboard case by motorola available?15:56
tmlindbuZz yeah i guess they had some case, never seen one16:06
Wizzuptmlind: sweet, will take a look tomorrow, I have a xt912 here16:20
tmlindWizzup: ok, check the partition table on it first16:23
tmlindon xt910, mmcblk1p8 is utags, mmcblk1p13 is bpsw. if xt912 has the same partitioning, you can try flashing xt910 bootloader after flashing allow-mbmloader-flashing-mbm.bin16:25
Wizzupok16:26
freemangordonWizzup: sorry, busy with other things, maybe will have time tomorrow16:57
Wizzupfreemangordon: wrt what?17:01
Wizzupoh, eds tp17:01
n900what caused the bootloop? did you have to have "devel" in sources.list or was it any recent kernel upgrade?17:32
n900(i have not rebooted for a little while...)17:32
Wizzupn900: yes unfortunately -devel kernel17:33
n900i dont think i have that enabled...17:34
n900not sure.17:34
n900oh hang on...17:35
Wizzupthe fix is to blacklist some modules17:35
WizzupI'll test that in a bit17:36
n900hmmm. i dont appear to have any "devel" in /boot17:36
n900certainly not in uname out17:36
n900or in sources.list17:36
n9005.18.917:37
Wizzupok17:37
n900anyway, i dont plan on rebooting any time soon! :)17:37
sicelohey, nice to see another n900 user! i had begun to fear i might be the only one still using it17:42
Wizzupsicelo: I still use in fremantle too :)17:43
sicelonice. i meant use with mainline linux17:43
* sicelo still needs to repair usb on two N90017:44
n900sicelo: "using" in the sense that i created a cool irc nick for it and run weechat on it and lurk in this channel! ;)17:46
sicelothat counts as use ;-)17:47
Wizzupsicelo: yeah having call audio working would be sweet17:47
WizzupI got a bit disappointed when trying to get OFF mode to work that so many things can't deal with OFF mode17:47
siceloi still hope to work on the call audio in coming months17:47
WizzupI had all the modules compiled I think17:48
siceloWizzup: yeah this issue really sucks. i tried this path, https://paste.debian.net/1262761/ ... also no success19:34
Wizzupok19:38
Wizzupseems like we just need to see if we can fix it19:38
sicelosucks that it's something that can only be seen via serial. i haven't had success with mtd/blkdev pstore and mtdoops, but maybe i should give that a try some more19:45
siceloi once got some output out of serial, but my setup was too fragile ... only got bootloader output, even though i had console=ttyS2 in cmdline19:45
siceloin next two weeks i hope to have some time to come up with a better serial setup19:46
Wizzupsicelo: well, the error is mostly the same, I think what's important is check out how the non-dma path works, how that is taken on 5.x and then just see how we can not take the dma path19:50
Wizzupand then see if the dma path is even supposed to work on the n90019:50
uvosjust pulled my droid razr out of the closet, its back has gotten really sicky :(22:14
Wizzupplastic :)22:15
uvosthis soft touch stuff is terrible22:16
uvosseams removeable with naphta22:18
Wizzupuvos: btw not sure if you saw, but sphone fails to compile due to some glib change22:18
Wizzupall the dependencies are in place22:18
Wizzupin fact, I think that apart from mesa pretty much everything is done22:18
uvoswhat glib version and sphone branch are you tring to compile against?22:18
uvosbtw22:19
uvosthe qt change is no longer needed i fixed that in hildon ages ago22:19
Wizzuphttps://phoenix.maemo.org/job/sphone-binaries/architecture=arm64,label=arm64/54/consoleText22:19
uvosdosent give me the glib version22:20
uvosthat error means your compileing against something older than 2.6622:20
uvosi gues that might be normal for chimeara22:20
Wizzupuh22:20
WizzupI doubt that the m-l beowulf glib is newer than our chimaera22:20
uvosits not22:20
Wizzup2513 packages can be upgraded. Run 'apt list --upgradable' to see them.22:21
Wizzupwonder if I should try it22:21
uvosi have compiled master sphone compiles only on arch linux22:21
uvos*i have compiled master sphone only on arch linux22:21
Wizzupwell there's the problem ;)22:21
Wizzupin any case the log should tell you what's up22:21
uvosyes glib is to old22:21
Wizzupwell, I think it's what you'll have to deal with :(22:22
uvoshttps://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=glib2&x=submit22:22
uvosuh22:22
Wizzupapt dist-upgrade is taking over a minute already to resolve :D22:22
Wizzuphttps://packages.debian.org/source/bullseye/glib2.022:22
uvos2.66.822:23
uvosshould be new enough22:23
Wizzupfreemangordon:22:23
Wizzup2503 upgraded, 182 newly installed, 22 to remove and 9 not upgraded.22:23
WizzupNeed to get 655 MB of archives.22:23
WizzupAfter this operation, 330 MB of additional disk space will be used.22:23
WizzupDo you want to continue? [Y/n]22:23
Wizzup:D22:23
uvoscould you check if the devuan pacakge is the same?22:23
WizzupThe following packages will be REMOVED: g++-8 gcc-8 libgcc-8-dev libldb1 libpython-dev libpython-stdlib libstdc++-8-dev python python-dbus python-dev python-funcsigs python-gi python-gobject python-location python-minimal python-mock python-numpy python-olefile python-pbr python-pil python-talloc python3.722:23
Wizzupuvos: sure22:23
Wizzupii  libglib2.0-0:amd64                                  2.66.8-1+leste1+m7                 amd64        GLib library of C routines22:23
uvosWizzup: thats wierd22:24
uvosguri should be in 2.66+ https://docs.gtk.org/glib/struct.Uri.html22:24
Wizzupuvos: I think in a matter of days we'll have images22:24
uvosWizzup: great22:24
WizzupI am upgrading my labdroid now22:25
Wizzuplet's see if it breaks22:25
uvosVersion         : 2.74.2-122:25
uvoshmm maybe glib documentation is wrong22:25
uvosand it was added later22:25
Wizzupprobably is22:25
Wizzupor we packaged a wrong glib22:26
Wizzup(since it's our pkg)22:26
uvosinterestingly the motoactv dosent use mbm and isent bootloader locked at all22:39
uvoslike its not unlockable the bootloder just dosent do any signing at all in the first place22:39
Wizzupwell, that's not bad, right? :D22:39
uvosyeah22:39
Wizzupit has wifi and bt right?22:39
uvosyeah wifi bt gps sensors22:40
Wizzupgps too? cool22:40
uvosjup22:41
uvosso22:58
uvoswho has allow-mbmloader-flashing-mbm.bin for xt910 and xt91222:59
uvosi dont and firmware.center is gohne22:59
Wizzupuvos: darn, you're usually my go-to :p23:08
uvosWizzup: looks like archive.org has it23:13
uvoshttp://web.archive.org/web/20130806073837/http://sbf.droid-developers.org/23:13
uvosbut sloooow downloading from there23:13
uvosbut its there23:13
Wizzup\o/23:14
Wizzupuvos: ah I guess my dist upgrade is probably too soon since we still need to do the elogind thing23:20
Wizzupoh well23:20
uvospowerbutton on spyder is KEY_END23:54
uvoswtf motorola23:54
Wizzupin android kernel? heh23:57
uvosyeah23:57
uvosand its so random23:57
uvoson d4 it was a different key23:57
uvosand on mb6xx it was yet another different key23:57
uvoslike someone at motorola rolls the dice on what the power button keycode is going to be23:58

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