libera/#maemo-leste/ Friday, 2024-12-20

tmlindfreemangordon: i just used v6.12 with the phy-mdm6600-usb patches on top with omap2plus_defconfig06:00
tmlindfreemangordon: not sure which mail from 2020 you're talking about.. interesting if it's just a serdev issue06:00
freemangordontmlind: you are in CC to my reply from yesterday06:58
freemangordon"Re: [PATCH 1/6] tty: n_gsm: Add support for serdev drivers"07:00
dsc__morn07:08
mkfarno11 thank you.08:06
Wizzupmorning11:18
dsc__Wizzup: look at this :) DISPLAY=:0 QT_IM_MODULE=him ./build/bin/conversations11:41
dsc__https://plak.infrapuin.nl/tpxagu8c.mp411:41
dsc__https://plak.infrapuin.nl/selif/tpxagu8c.mp411:41
sicelothat's really nice.11:43
dsc__yes!11:44
Wizzupgreat11:52
Wizzupbtw, I think you can switch languages from the vkb11:52
Wizzupwith the hamburger menu thing11:52
Wizzupthe four horizontal stripes11:52
Wizzupas long as you set a second language11:52
Wizzupvery nice :)11:53
Wizzupthat'll be a big quality of life improvement all around11:53
Wizzupesp. for non-hw keyboard devices11:53
mkfhow well do leste compre to framentle in terms of power usage, and how long leste will be continued to support n900?12:28
mkf... is n900 a dying dream?12:31
Wizzupwe'll support for a few more years at least, I don't see why not12:32
Wizzupwe've brought it this far12:32
Wizzuppower usage isn't as good as fremantle, but it can still be improved, lack of time is the main issue12:32
Wizzupstill, you can get 24+ hours np12:32
WizzupI use a leste n900 daily12:33
mkfwhat are biggest missing parts in leste?12:34
mkfcompared to framentle12:34
Wizzupmaybe ussd and dtmf from telephony perspective, there are also just things that are a bit less polished12:35
Wizzupbut fremantle these days is barely usable for anything but sms+calls, it's tls and browser are simply too old12:35
Wizzupleste doesn't have these problems12:35
mkfi suppose.12:36
Wizzupalso, you can actually change/improve it :)12:36
mkfare the framentle games available on leste?12:36
Wizzup<- speaking from experience, I used fremantle n900 until I think April this year or so12:36
mkfor they were closed source12:36
mkfwell only chess. others aint that fun.12:36
Wizzupsome games are available, some were closed, others were open but haven't been fully ported12:36
Wizzupchess - https://github.com/maemo-leste/bugtracker/issues/27712:37
mkfi suppose i'll get another n900, this one i have got it's sdcard fired.12:43
mkfor is there is a way to figure?12:43
Wizzupyou think the sd card slot is broken?12:43
mkfi just checked dmesg and it didnt had anything intersting12:43
mkfyeah.12:43
mkfi didnt had a n900, so i dont know what should happen (a notification? a mesg in dmesg?) when i insert an sdcard12:45
Wizzuphm, that really depends12:53
Wizzupyou could just put leste on a sd card and tr yto boot it through u-boot12:53
Wizzupthen you will know soon enough12:53
Wizzupbut you can ls /dev/mmcblk* and see what you see12:53
Wizzupif you see two devices then the microsd card is found (you'll see more files anyway, for the partitions)12:54
sicelomkf: getting a new N900 might not *generally* be a good idea. If you love the device though, then by all means do get one. it's still a fun device, as long as you understand and are willing to live with the shortcomings (cpu & ram)14:00
g4rrgl3n0m4dwhat about a n810 ? I have one of those could it be upgraded to maemo-leste ?14:02
sicelonot supported14:08
sicelobest for that is probably a modified i3wm, such as what's used in pmOS for N90014:08
g4rrgl3n0m4dkeeping it of parts then14:09
mkfsicelo: how come? cpu and ram isn't a problem for me (i already use rpi zero as my main computer)14:14
mkfalso, if n900 isn't good, what's the recommended device in leste these days?14:21
Wizzupdroid 4 is similar but has better specs14:22
Wizzupbut I would suggest to try leste on n900 first and see if you like it14:22
mkfhow much one would cost?14:24
Wizzupdroid 4 wasn't too expensive but they are harder to find now, if that was the ask14:24
mkffrankley it's easier to find n900 than motorolla (or pinephone, which is impossible) phones in my country, is there another well supported phone?14:25
Wizzupthere are a few others, but I would again recommend to try the n900 first -- have you established that the one you have is not supported?14:31
mkfyup. it only detects mmcblk014:35
Wizzupand the card is working?14:40
Wizzupmight be dirty contacts14:40
mkfcard worked on pi.14:42
mkflemme clean the contacts14:42
mkfno effect14:44
mkfsince microphone and camera too died14:44
mkfi assume this was previously repaired (poorly)14:44
dsc__Wizzup: interesting, jib does work with vkb15:07
dsc__it inserts text into the wrong widget though15:08
dsc__but this should be trivial to fix15:08
dsc__if anyone want to test some other apps... im sure some wonkiness still https://github.com/kroketio/qt5-platform-him/tree/master?tab=readme-ov-file#installation15:09
dsc__(since i did not complete the port yet)15:09
g4rrgl3n0m4d2515:11
g4rrgl3n0m4dsorry wrong tab15:11
dsc__happens15:12
sicelomkf: if cpu and ram isn't a problem for you (like it isn't for me), then sure, getting an N900 is fine :-)15:54
siceloif your n900 detects mmcblk0, then sounds to me like there's no problem. what exactly do you find to be a problem?15:55
mkfnot finding mmcblk115:58
tmlindfreemangordon: oh the file naming and location statement? sorry not sure which reply you mean.. anyways, johan said there's no need for the ngsm naming gsm it's legacy so just gsm16:03
siceloah, where mmcblk1 is the sd card? you're getting this under fremantle, or maemo leste?16:04
siceloasking because .. under fremantle, there's a check in the kernel driver, which is dependent on the cover switch. if you lose the magnet related to that switch, then your sd card won't be detected. but on Leste, we nuked that check, so there shouldn't be a problem16:05
mkffremantle.16:06
mkfi still have the sd card switch, but maybe magnet is broken?16:07
mkfso i should try?16:07
siceloyes, try16:08
sicelotry with Leste, i mean16:08
mkfok!16:09
arno11sicelo: mkf: the problem is that last imgs for n900 are half broken16:16
arno11not sure what is the best way to get a clean install actually16:17
mkfuh.16:18
mkfwhat's the last known good?16:18
arno11maybe a img from 2024/07 and dist-upgrade to -devel (see n900 wiki)16:20
arno11but really not 100% sure16:21
mkfokay 2024/01 is safe?16:21
mkfto be extra safe.16:21
arno11probably, yes16:21
arno11the upgrade to devel should take a while, like 30-40 min16:22
arno11depending of your sd card16:22
arno11hmm no, better try img from 2024/0716:24
siceloarno11: seems mkf is talking about the SD card not being detected ... that's unrelated to the Leste images. but I do understand in connection with having other problems16:25
sicelomkf: btw how do you boot leste? you have u-boot installed?16:25
mkfyes, i'll follow the wiki. downloading 2024/07 img right now.16:26
arno11sicelo: yeah16:26
arno11mkf: ok16:26
mkfi dont have leste installed atm.16:26
sicelowhen you had leste 'installed', it did start at least?16:27
mkfi didnt installed leste at all? o.o716:28
mkfi just thought it's not possible since it appears sdcard isn't detected16:29
mkfand i assumed that's because of faulty hardware.16:29
mkfsorry to be unclear.16:29
arno11if you're lucky, that's just the magnet issue and leste will work like a charm :P16:30
mkfhopefully. :)16:31
siceloindeed :-)16:31
mkfthanks for help arno11, sicelo. i am thankful for it. :D16:32
arno11np16:33
siceloyw. N900 is an awesome device. i now have three different device types capable of running Leste (N900, Librem5, Droid4), but N900 remains the most exciting of them all (to me)16:34
dsc__freemangordon: cyrillic works for conversations @ vkb fyi :) see link above16:36
freemangordondsc__: great job man!17:25
freemangordontmlind: I meant the statement that serdev might have issues with tty hangup17:25
freemangordonlemme find the link17:25
freemangordontmlind: this https://www.uwsg.indiana.edu/hypermail/linux/kernel/2005.3/05620.html17:27
freemangordon"It looks like you may also have a problem with tty hangups..."17:27
mkfokay installed leste18:54
mkfslider is open, but it still opens 2.6 kernel18:54
sicelomkf: your u-boot isn't kicking in18:55
mkfyeah. :(18:56
mkfi can see the early boot messages. so u-boot works, but it seems sd on SoC is dead?18:57
sicelouse this method since you're testing for now - https://leste.maemo.org/Nokia_N900#Quick18:57
mkfbroken micro usb ;_;18:58
mkfguess i'll buy another n900 then.18:59
mkfthis is way too broken.18:59
siceloyeah19:01
sicelobtw, if you think you can put in the work, you can also buy any other device for which mainline linux works, and then port Leste to it19:02
gnarfacelike a pinephone!19:05
mkfnot available here :(19:05
siceloe.g. https://wiki.postmarketos.org/wiki/Devices#Smartphone19:05
mkfbut i guess i can look for that too. samsung and xiaomi devices are available here, so.19:06
siceloand no, i'm not sharing that link to draw you to pmOS. stay on with us! :-)19:06
mkf:P19:06
freemangordonleste it better if not the best :)19:06
sicelosometime ago i wanted to try the Samsung A5 there ... if in your country you can get the OnePlus 6 or 6T, that could possibly be the fastest ever Leste device19:07
siceloabsolutely, leste is the best... and i'm someone who maintains a device in postmarketos (Nokia N900) and have daily run Mobian (thus Phosh)19:08
mkfsince you these phones19:10
mkfwhich has the least hostile toolchain?19:10
mkfi recall htc phones had somewhat pleasent and standard toolchain, but htc is long dead19:11
mkfmaybe toolchain isn't the proper word, flash toolset?19:11
sicelomkf: no idea ... i haven't used them myself, and to be clear, maemo leste currently does not work on any of them ... that's why i said you can get one if you're willing to put in some work to port it to Maemo Leste. that said it shouldn't be too difficult for most of the phones in that table19:12
sicelobut in pmOS, the A5/A3 and others with msm8616 were hugely popular a while back ... thus it should be easy to get info about them. there's some bootloader thing for them too, lk2nd that supposedly makes stuff easy19:14
siceloatm, OnePlus 6, 6T are probably the most popular. there's also Google Pixel 3a, which is drawing lots of attention as well due to having cameras supported. getting some of these into Leste would be cool19:15
* dsc__ wants a Google Pixel 3a19:15
dsc__hmm maybe ill buy one tomorrow..19:16
sicelomkf: there's actually someone who started porting Leste to the Xiaomi Redmi 4 Prime. i don't know if they'll get around to sharing their work, but i'm sure they could give you some assistance (if you get that one). anyway i sometimes hear xiaomi phones may not be too easy to bootloader unlock19:17
sicelodsc__: nice. they're not available in my part of the world, but does seem to be a great device indeed19:18
dsc__yes I discovered this also :(19:18
dsc__sicelo: btw do you know anything about porting leste to SBCs19:21
dsc__Allwinner H618 in my case19:21
dsc__https://linux-sunxi.org/H61619:22
siceloi think Wizzup can help you with that :-)19:22
dsc__it says:19:22
dsc__> The H618 is fully compatible from a kernel point of view, but does require extra support in U-Boot, TF-A and sunxi-fel. Support for that has been merged in mainline releases.19:23
dsc__sicelo: yeah ok :)19:23
sicelobut overall it's ... (1) get a kernel, and a way to boot it, (2) slap a leste rootfs on top, (3) boot, and fix whatever few things that need fixing thereafter19:23
mkfoh i have a h618.19:24
dsc__mkf: zero 2w?19:24
mkfzero 319:24
dsc__ah the square one19:24
mkfyeah19:24
siceloanyway i seem to recall Wizzup is well-versed with sunxi stuff, but might be wrong :-)19:24
dsc__mkf: its a really cool SBC19:24
dsc__sicelo: thx4info19:25
dsc__i dont know where to start basically19:25
mkfapperantly openbsd supports it (just barely) so i got it.19:25
dsc__get a kernel you say19:25
dsc__mkf: btw, yesterday I found a similar board but another chipset with a faster CPU19:26
mkflike h618?19:26
dsc__yeah different chipset, but same form-factor (as 2W)19:26
dsc__orange pi zero 3 runs on A53, but this other one runs on A55 which is 30% faster probably19:27
dsc__(cortex)19:27
dsc__https://radxa.com/products/zeros/zero3w/19:27
mkfintersting.19:27
dsc__same price range19:27
dsc__this chipset, RK3566, also has good mainline support I believe...19:28
mkfi've asked #linux-sunxi people a while ago, it seems h616/h618 is pretty much done mainlining19:29
mkfother than few hard parts19:30
dsc__nice19:30
dsc__so lets try it I guess19:30
mkf:D19:30
dsc__lets try 6.13-rc319:31
freemangordonI have A33 tablet with leste in the drawer :)19:37
freemangordonbut it is with linux 5.10 or something19:38
freemangordonmaybe I shall upgrade it to chimaera somerday19:38
Wizzup19:24 < sicelo> anyway i seem to recall Wizzup is well-versed with sunxi stuff, but might be wrong :-)20:31
Wizzupat least some years ago20:31
WizzupI'd really like to make sunxi generic images again, as well as more specific ones20:31
tmlindfreemangordon: oh ok yeah don't know anything about the issues with hangups20:36
freemangordonyeah I see20:58
freemangordonI will try to send patch that uses serdev, hoping the reply will be more useful than the one from Jiri20:59
inkyfolks if i want to have some qualcomm 410 device to run leste, what do i do?22:58
inkyhttps://wiki.postmarketos.org/wiki/Qualcomm_Snapdragon_410/412_(MSM8916)22:58
inkyit looks like lots of drivers work in mainline.22:58
inkyi wonder what that person who was runnnig leste on xiaomi did.22:59
siceloinky: i already explained the basic drill: (1) build a kernel and its drivers, (2) get a Leste image ... e.g. start from the generic arm64 or even pinephone image. (3) boot kernel + image, and fix whatever needs fixing. e.g. install appropriate mesa/xorg stuff, required firmware, etc.23:01
inkysicelo, i didn't notice anything.23:01
inkysorry.23:01
inkyi can build kernel and drivers, i am doing it always. and right now i run my custom kernel on pinephone.23:02
inkythat's not a problem.23:02
sicelowhen you're past that, should be easy to add the device in arm-sdk, our image builder, so that you no longer need to start from some other device's image23:02
sicelobut yes, msm8916 devices should make nice Leste targets23:03
inkyboot kernel + image - that part i don't understand. all phones have different partitions. or is it standardized?23:03
inkywhere to push and how the kernel?23:03
inkywhere to push and how the rootfs?23:03
inkyis it by any means necessary to have a specific device tree or there are template device trees for these devices?23:04
sicelowell you need to figure out how android devices do this stuff ... there's usually a boot.img concept.23:04
inkyyes please tell me more about it or at least what should i search for. that part is a dark forest for me.23:04
* sicelo has no further info about it though, having only worked with N900, Librem5, and Droid4 is not using the standard Android way23:05
inkyyou know i am someone who patched u-boot for some custom boards.23:05
inkyi just need to understand some things, i have no data about those.23:05
inkyokay.23:05
sicelomaybe start by looking at how postmarketOS does the boot.img stuff ... or Droidian23:06
siceloanyway msm8916 devices have lk2nd as well ... have a look at that. don't take my word, but it sounds like a uboot-y kind of thing23:06

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