libera/#maemo-leste/ Tuesday, 2025-05-06

Wizzupsicelo: probably the ack is not being received by the operator (or sent by us)00:46
siceloyes, i think we have a regression in the d4 stack (ofono?). i was using this sim on leste+n900 all this time and didn't have this sms problem06:58
freemangordonWizzup: I wonder why rtcomel was ever working properly on any platform07:50
freemangordonsee https://git.maemo.org/leste/rtcom-eventlogger/src/branch/master/src/eventlogger.c#L83107:51
freemangordonhere we call time(), but printf() specifier is '%d'07:52
freemangordonperhaps time.h was never included befor, so compiler was assuming time() returns 32 bits08:22
freemangordonthis still does not explain it why it is ok on 64 bit platforms08:22
sicelofreemangordon: what's the context for that?08:40
freemangordontime_t is 64 bits08:41
siceloi mean, this is in connection with which issue? :-)08:45
freemangordonrtcomel tests fail on trixie08:45
freemangordonWizzup: so, I am not really sure what to do: if I cast to int, we will hit year 2038 problem08:46
freemangordonif I implement support for 64bits, then we have issue with rtcom_el_query_prepare() that expects pointers08:47
freemangordonand we cannot fit 64bits in 32 bit pointer08:47
sicelocast to int and leave a TODO :p08:48
freemangordonwell..08:48
Wizzupfreemangordon: good find09:35
Wizzupfreemangordon: let me think a bit on the best thing to do here09:35
Wizzupsicelo: we'll still be running maemo in 2039, so we'll need a good fix :p09:36
uvos__sicelo: this has always been a problem on d409:36
uvos__but its operator dependant, with some sim cards it dosent happen09:37
uvos__so yeah somehow the modem is not acking the sms, and different operators behehave diferently when this happens09:38
uvos__i think remote party never gets a deivery report even when the operator dosent keep repeating the sms but i would have to check again09:38
sicelouvos__: the same sim has had no repeated SMSes on the N900, so in this case i can almost say it's not the operator.09:57
siceloWizzup: yeah, i was mostly joking :p09:57
WizzupI suspect the right way here is perhaps to make a new function prototype and pass args in differently10:23
Wizzuplike glib does I guess10:23
uvos__sicelo: i dont think its ever on the operator11:23
uvos__it never happens on d4 android either11:23
uvos__its just that operators handle the d4 misbehaveing differently11:23
freemangordonWizzup: I think I fixed it properly11:33
freemangordonwill push in a couple of minutes, if you think that's not the proper way, just LMK11:33
freemangordonsicelo: if you can gather ofono logs, perhaps we can fix it11:58
freemangordonWizzup: rtcomel excalibur is fixed, however, build fails in CI on daedalus with some dbus error12:38
freemangordonsee https://phoenix.maemo.org/job/rtcom-eventlogger-binaries/architecture=armhf,label=armhf/16/console12:38
freemangordonthis is the fix https://git.maemo.org/leste/rtcom-eventlogger/commit/f9f316f6dacc4e2c4419a7e8baa66789887c4ee812:39
uvos__freemangordon: isent time_t still 32 bits on x86-32?13:02
freemangordonseems no13:02
sicelodebian recently had a massive t64 related transition. AFAIK, even armhf has t64 now in debian13:04
freemangordonyes, and that's our issue13:04
uvos__maybe we should assert on sizeof(time_t) then?13:05
freemangordonno, see the commit ^^^13:05
freemangordonI think current code is wrong even on 64bit13:08
uvos__hmm is intmax_t __int128 on platforms that supports it (like x86-64)13:08
uvos__if so useing that seams excessive13:08
freemangordondo you have a better idea?13:08
freemangordonuse long long ?13:09
uvos__sure or stdint.h13:09
freemangordonlemme check the actual size of intmax_t on amd6413:09
uvos__https://stackoverflow.com/questions/20459513/is-intmax-t-the-same-as-long-long-int13:10
uvos__seams gcc breaks spec and it is not13:10
freemangordonok, so we are ok13:10
freemangordonuvos__: so, shall I change to signed long long int?13:12
uvos__i dont think it makes a difference, just like intmax_t could (really should) be 128 long long can be anything too, but in practice is 64bit. So no strong opinion13:14
uvos__its fine13:15
freemangordonok13:15
freemangordonso, it seems time_t is 32bits on daedalus and 64 bits on excalibur13:19
Wizzupfreemangordon: great :)13:41
siceloyup, excalibur being based on trixie, which had the t64 transition :-)13:49
Wizzupfreemangordon: ok, well, with that out of the way we should release daedalus soon (assuming no more big blockers)14:29
freemangordonWizzup: right16:00
uvos__do we have a daedalus-devel repo already?16:24
freemangordonI think yes16:24
uvos__ok so if we are releasing deadalus soon i presume i shal now stop building for non devlel daedalus directly and will do so.16:33
sicelouvos__: freemangordon: i think sphone needs to be rebuilt asap ... the rtcom change is crashing sphone16:57
sicelo"rtcom_el_iter_get_values: bug in library, unexpected type gint64"16:57
sicelostarted just after upgrading16:57
ladslathello17:03
ladslatfrick17:03
ladslati mispelled ladsalt17:03
ladsaltback17:03
ladsalthello everyone17:03
ladsaltid like to know if maemo supports modern firefox17:04
uvos__freemangordon: please rebuild sphone, i cant atm17:24
uvos__ladsalt: sure maemo is just devuan (which is essentally debian)17:24
uvos__you can install and run anything that runs on debian17:24
uvos__however of our supported phones only the pinephone is fast enough to have a decent expirance17:25
uvos__n900 just flat dosent have the ram and droid 4/ mapphones is are painfull with modern ff17:25
uvos__chromium dose a bit better, jib dose better still but is still a bit unfinished, theres also qtwebbrowser17:26
uvos__for n900 the only thing you can really use is dillo and things like links217:27
ladsalti hope one day maemo will be supported on anything with a unlocked bios like other linux phones17:29
ladsaltin the mean time ill just have to wait for my pixel 8a to crap out so i can switch to pinephone17:29
uvos__its hard as arm based phones dont follow a standard and are all special snoflakes you need to write specific support for17:30
uvos__a generic arm phone distro will never happen as a result17:30
uvos__with current hardware anyhow17:30
uvos__google is slowly pushing for things to standardize as they are a bit sick of dealing with this with android too17:31
ladsaltalso x86 phones must hog up the battery like crazy17:32
ladsaltalthough one could use limbo vm or somethin and use it as there launcher on android17:33
ladsalthowever i know it will happen someday17:35
siceloladsalt: well, any mainlined phone should be supported in leste. just needs someone to do the basic integration work (not a lot if mainline linux is already working well on said phone)17:36
* sicelo is working on Librem5 support, for example (but getting sidetracked a lot - but at least so far it's been distraction with important leste stuff)17:37
siceloso if you have in mind a phone that pmOS supports using mainline, this channel might be able to help you get it up and running with Leste to nearly the same level of functionality as pmOS17:38
ladsaltwell im not sure getting it running on a tensor cpu will be very pratical17:39
ladsaltwhy does my maemo vm just go blank after a while17:45
ladsaltis it in sleep mode or something?17:45
siceloyes, because the phone also defaults to that17:50
sicelojust go to Display settings and disable the timeout (i seem to think it should default to that on VM)17:50
ladsaltoddly enough i cant seem to wake it up17:55
uvos__we dont currently have a mechnaism to have different gconf defaults for specific device builds17:55
uvos__ladsalt: you have to press power17:55
ladsaltproblem17:55
ladsaltim on a vm17:55
ladsaltthere is no power button17:55
uvos__vms ususally have a way to press power17:55
Wizzupthe qemu gtk interface has a 'shut down' option17:55
Wizzuphit that and it'll press the button17:55
ladsalton virtualbox17:55
uvos__"also x86 phones must hog up the battery like crazy" x86 phones exited17:58
uvos__they where not really better17:58
uvos__as just becasue you are x86 dosent mean you are a pc with acpi and probeable buses like pci17:58
uvos__the x86 phones where also special snoflakes that needed you to write specific support17:58
uvos__what you want is a phone that is also an IBM PC comptable / acpi device17:59
ladsaltinteresting18:01
ladsalti just have always heard that x86 tends to use more power18:01
uvos__thats not really true, i mean its bearly true the instruction decoder uses a tiny bit more power18:02
uvos__but the main reason why practical x86  devices use more power is because they are not as optimized for that18:02
uvos__the instruction set has very litttle to do with it18:02
uvos__Motorola made a x86 phone that is related to the devices we support at around the same time:18:03
uvos__https://en.wikipedia.org/wiki/Motorola_RAZR_i18:03
ladsaltwonder why there arent that many x86 phones compared to arm then18:03
ladsaltwell ill be back i need to do something18:04
ladsalti have returned18:10
ladsaltit seems maemo would be great for tablets18:12
Wizzupyeah it is18:16
uvos__we kinda support 1 tablet the mz617, but its a huge pain to install leste there18:16
uvos__for tablet use i think however hildon lacks mulit window18:17
ladsaltalso the app store is doesnt work on virtual box it just says no connections available18:18
Wizzupyou need to install the dummy internet conn, I think that is on the wiki18:18
Wizzuphm, looks like it's *not* on the wiki18:19
Wizzupsudo apt install libicd-network-dummy18:19
Wizzupand then follow the gconf instructions18:19
ladsaltif maemo was released by nokia now it would be a very big boost for the linux phone community18:21
ladsaltnot just be limited to a fairly unknown linux phone operating system18:22
ladsaltlibicd-network-dummy seems to not work i mean i did what it told me to do18:30
ladsaltwith gconftool18:30
ladsaltyet another question i have is how usable is meamo leste on the droid 4?18:35
sicelovery usable18:35
ladsaltgood thats all i need to hear to expand my ancient ass phone collection18:35
ladsaltwait if maemo is meant for a x86 cpu then why does it work so well on a droid 4 which uses arm18:37
siceloarchitecture is not really important for Leste... Droid 4 just happens to be the fastest phone with mainline and a hardware keyboard18:39
siceloand actually maemo was originally meant for arm, not x86. where did you get that?18:39
ladsaltknow that you bring it up i have no fucking idea something in my mind assured me that it was x86 but it was wrong and i am very sorry18:41
sicelomaemo started with the N770, then N800 & N810, N900, and finally N9 & N95018:41
uvos__N9 still counts as maemo?18:41
ladsaltn9 is meego18:42
sicelothat's why Leste is Maemo 7, not 6 :-D18:42
ladsaltok if the n770 was the first device to use maemo and it used 2.2 that what happened to older versions?18:43
sicelowhat older versions18:44
ladsaltlike a 1.018:44
ladsaltsurely they didnt just start at 2.218:44
siceloin house maybe :-)18:45
sicelonot everything Nokia made made it to the sales shops18:45
ladsalt86why did i just get disconnected18:45
ladsalt86hold on18:45
ladsalt40why is there a 40 at the start of my name now18:46
ladsalt40end*18:46
ladsalt40IM SO CONFUSED???18:46
ladsalt40anyway18:47
ladsalt40i wonder what this inhouse 1.0 looked like18:47
ladsalt40maybe it was a pre-release?18:48
sicelono idea. I'm not into18:49
siceloAnyway, the Hildon (Maemo) UI borrows from Symbian S90, which was somewhat related to Symbian S8018:50
siceloso looking at those two might give you hints ... Anyway, I don't have any idea (or interest) in unreleased products or prototypes18:51
ladsaltback19:18
ladsaltim trying to get maemo leste to work on a pixel 8a via limbo19:19
ladsaltshould be no reason for it to not owkr19:19
ladsaltwork*19:19
sicelouh, limbo ...19:23
siceloyou might as well try it via Android chroot or similar ... it's been done before19:24
ladsaltthat is smart but im going to be honest im just lazy19:25
ladsaltand i have to deal with this shitty xz extractor19:28
ladsaltfor android19:28
ladsaltwelp all it does is boot me back to grub and grub doesnt even give me a meny19:42
ladsaltmenu*19:42
ladsaltafter saying "loading inital ramdisk"19:43
siceloladsalt: https://github.com/diejuse/proot_MaemoLeste_on_Android/19:44
siceloladslat: also, regarding Maemo 1, https://wiki.maemo.org/Maemo_basics#How_can_I_run_Maemo.3F19:47
siceloaka 1.x is OS2005, 2.x is OS2006. The 770 ran both. and sorry, it's not N770 :-)19:48
ladsalti give up lol19:59
sicelouse the proot way really19:59
ladsaltcant get adb to work19:59
ladsaltid rather just wait for a chance to get a pine phone20:00
ladsaltyou know what would be really cursed?20:00
ladsaltwine20:00
ladsalton maemo20:01
ladsalthow do i get snap working?20:08
ladsaltjust doing "sudo apt install snap" seems not to work20:08
ladsalti type snap after and returns a not found20:08
siceloisn't that an Ubuntu thing?20:12
siceloanyway, the OS is basically Devuan ... so whatever way works on Devuan/Debian should work20:12
ladsalthow would i get glibc working?20:43
siceloit's working already, no? deb/vuan is a glibc distro20:46
ladsalti meant it isnt preinstalled20:46
siceloit is20:52
sicelowithout it, there's basically no distro :-)20:52
ladsaltwhen i try to run snap it says its missing20:53
sicelothen snap is wrong or you should share the real error from snap20:53
siceloglibc --> lib6 2.36-9 is the version we're currently running in Leste20:54
sicelos/lib6/libc6/20:54
sicelobtw, what you you want/need snap for?20:55
ladsaltits just easier to use then apt20:55
siceloeasier for?20:56
ladsaltsnap: /lib/x86_64-linux-gnu/libc.so.6: version "GLIBC_2.34" not found (required by snap)20:56
siceloi admit i don't know a lot about snaps, but afaik it's for specially packaged packages, not just about anything20:56
siceloso if you want a replacement for apt, snap is likely not the solution ...20:57
ladsaltits easier because you usually dont have to get dependencies and also firefox requires it from what ive experienced20:57
siceloFF doesn't require it, no20:57
ladsalthuh odd20:58
ladsaltawhile back i tried making my own bloatfree distro without snap and when i ran firefox it required snap20:58
sicelowhat's the real problem with FF :-)20:58
ladsaltwell there is that firefox also is demanding glibc20:59
siceloi'm still using FF (currently v. 138) and I've never installed snap20:59
ladsaltmy memory is wrong i guess20:59
sicelo20:56 < ladsalt> snap: /lib/x86_64-linux-gnu/libc.so.6: version "GLIBC_2.34" not found (required by snap)    <<< looks like here it's looking for a very specific glibc version21:00
siceloas indicated already, daedalus has glibc 2.3621:00
ladsalttryin to run --fix-broken install just removes snapd guess it cant find the version specifyed21:01
ladsaltthis is very confusign21:03
ladsaltconfusing*21:03
sicelostill didn't understand why snapd is needed in the first place though ... so it's not easy to advise accordingly21:06
sicelowhy not install Synaptic?21:08
ladsaltgood idea21:19
ladsaltjust repeats waiting for cache lock: could not get lock21:20
ladsaltwhat is the sudo password on the vm (synaptic requires it21:25
ladsaltfixed21:30
ladsalt31any good browsers on synaptic?21:40
ladsalt31that supports maemo21:40
sicelofirefox?21:42
sicelomight be named firefox-esr21:42
sicelofreemangordon: i suddenly miss the sharing plugins from Fremantle :p21:44
ladsalt31i tried "firefox" and it said it was basically a package that didnt exist and was just refrenced by another one from what i remember21:48
ladsalt31yup it was that it was firefox-esr21:49
ladsalt31a maemo themed android launcher would be really cool21:58
ladsalt31and it could have termux as the terminal21:58
ladsalt31would 100% use that21:59
ladsalt31bye!22:02
ladsaltback22:05
ladsalthow good does leste run on a n900?22:05
f_ladsalt Apparently very good22:46
freemangordonsicelo: will do, tomorrow23:47
freemangordonthough, I don;t see why would sphone crash23:48

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