Oksana | My Fxtec Pro1 is a brick since a problem with Sailfish OS update. | 00:37 |
---|---|---|
Oksana | I have been using Nokia 1.3 for a while. Laggy, not-Linux, and no hardware keyboard. | 00:38 |
Oksana | Cosmo Communicator looks attractive, but is pricey even on sale. https://store.planetcom.co.uk/products/cosmo-communicator | 00:38 |
Oksana | Question: does anybody have experience with whether Cosmo Communicator can function as everyday phone while running Linux (such as, Maemo Leste?)? | 00:39 |
Oksana | Or is it more like "Decorative Debian" that cannot access much of the hardware? | 00:40 |
inky | hello, i am not from the team of devs, i contribute sometimes | 00:40 |
inky | but i found cosmo here https://wiki.postmarketos.org/wiki/Planet_Computers_Cosmo_Communicator_(planet-cosmocom) | 00:40 |
Wizzup | I think some of the problems with the cosmo communicator was it's mainline support | 00:40 |
inky | and it looks like it doesn't have mainline support. | 00:40 |
inky | oh it links here https://support.planetcom.co.uk/index.php/Linux_for_Cosmo | 00:41 |
Oksana | No mainline support?.. And they sell https://store.planetcom.co.uk/products/linux-media-installation-card-for-cosmo-communicator ? | 00:42 |
Oksana | Why?.. > Please note that altough it's possible to keep using Linux v3, updating from v3 to v4 using apt is not possible. < | 00:43 |
inky | Wizzup or anyone from the team will answer better. but my understanding they use android kernel. Postmarketos is possible to install to some devices via their pmbootstrap utility to which you provide kernel sources to build. it can be mainline or android sources. maemo only uses mainline. | 00:45 |
inky | and if you are able to run debian, as an extreme case you might be able to convert it to devuan, and then add some repos and install some packages from maemo repos and you'll have maemo? i don't know? | 00:45 |
Oksana | Anyway, Dragonbox Pyra is probably more Linux-friendly out of the box. Don't want to waddle through another "Linux on top of Android kernel" thing where partition might be encrypted. | 00:50 |
Wizzup | Oksana: what about a droid 4? | 02:02 |
Oksana | Wizzup: Not too bad, but that's 11yo device, didn't anybody release anything better since then? Is its 4G compatible with Australian Optus? Probably no RGB backlight for keyboard. | 03:00 |
Oksana | At this rate, KaiOS is tempting. | 03:01 |
Wizzup | no, no rgb backlight keyboard... | 03:04 |
* Wizzup zzz | 03:04 | |
inky | i am using d4 as my main mobile device since january 2023. more than a year. | 12:43 |
inky | and i must say i cannot advice doing that. (: | 12:44 |
Oksana | inky: Cannot? Laggy, or what are the problems? | 12:45 |
inky | screen is small for people used to bigger screens. even to me it is harder to read from it. and other main problem is that the best browser for it is that qt demo browser and it becomes slow very fast if you open several tabs. | 12:46 |
inky | if i need to show someone something from the web i tell them 'search for it' instead of finding myself and showing. | 12:47 |
Oksana | Would /etc/hosts adblock help? | 12:47 |
inky | just a web page may be too heavy for it. and of course you must forget videos. | 12:47 |
Oksana | Nokia N900 played videos just fine, I thought :-/ | 12:48 |
inky | i dont think so, modern web is so complicated anyway. i have an dblock ah home but using d4 is still hard. | 12:49 |
inky | i think it can play 320x240 but waybe not. 120p certainly. | 12:49 |
inky | for n900 i remember i was converting videos. | 12:49 |
inky | again, you just cannot open lots of tabs or use firefox. | 12:50 |
arno11 | through yt-dlp, no probs to play online 360p videos | 12:50 |
inky | but i use it, i run dino on it all the time, i used pidgin on it all the time. | 12:50 |
Oksana | Nokia N900 had Fennec, Firefox for mobile. Of course, it's ancient now. | 12:51 |
inky | > through yt-dlp, no probs to play online 360p videos | 12:51 |
inky | good! thats not what people expect though. | 12:51 |
Oksana | 800x480 resolution, do not try to play videos of higher resolution | 12:52 |
dsc_ | inky: you are using leste yeah? | 12:55 |
inky | you can use just firefox for the desktop. i have my scripts running it in mobile touch friendly mode. but on d4 you must wait five minutes for it to start. on pinephone (not pro) you feel that it can run same firefox and open mny tbs without problems. | 12:55 |
inky | yes, leste. | 12:55 |
dsc_ | inky: https://github.com/maemo-leste-extras/jib | 12:55 |
dsc_ | probably gives better experience than qt demo browser | 12:55 |
inky | i broke the screen of my xperia in dec 31 2022 and decided since then i will use d4. | 12:55 |
inky | i think i tried it? i'll try again. ty. | 12:56 |
dsc_ | it does not support multiple tabs or windows... should probably make that | 13:01 |
arno11 | btw links2 (gui mode) is still faster than everything else on old devices, with lot of options/settings. (not for video browsing ofc) | 13:09 |
arno11 | it's like 'opera mini' but with far more options and compatible websites | 13:10 |
arno11 | *like opera mini: i mean, the user exp | 13:11 |
inky | well i think modern web should not be used. (: that's why i packaged lagrange gemini browser. | 13:13 |
inky | and i have to make it rotatable one day i guess? | 13:14 |
inky | and on my computer i have http to gemini proxy which allows me to view many pages with gemini browsec. | 13:14 |
inky | also i like projects like https://epicyon.net/ - works with console browsers, doesnt require js at all. | 13:16 |
inky | so i try to use more of what is usable. | 13:17 |
inky | alas the activity pub software i run isn't that. it didn't exist back then. and it needs browser js. so opening it from d4 is always a problem. i need to write an app for it probably, that would be a solution. | 13:18 |
inky | that http to gemini proxy didnt compile on chimaera, i need to understand why. | 13:19 |
freemangordon | Wizzup: help! GVariant drives me mad :( | 14:51 |
freemangordon | this https://pastebin.com/nLCiT2C7 | 14:53 |
freemangordon | "the GVariant format string '(sa{sv})' has a type of '(sa{sv})' but the given value has a type of 'v'" | 14:53 |
freemangordon | the 'given' value is the structure | 14:53 |
freemangordon | code is g_variant_get(value, "(sa{sv})", NULL, &sw); | 15:00 |
Wizzup | tell me about it :D | 15:08 |
Wizzup | I need a moment to refresh | 15:09 |
Wizzup | so it's a tuple of a string, and then of an array of dictionaries | 15:09 |
Wizzup | and then the g_variant_get is where you get stuck? | 15:09 |
Wizzup | I also used the g_variant_print or whatever for debug | 15:10 |
freemangordon | ok, lemme try with g_variant_print | 15:10 |
Wizzup | I can take a deeper look in a bit, do you have a bit more code | 15:12 |
Wizzup | like what is value and what is &sw | 15:12 |
freemangordon | Wizzup: (controlpanel:6974): cellular-settings-DEBUG: 16:12:02.805: <('interrogation', {'VoiceCallWaiting': <'enabled'>, 'FaxCallWaiting': <'disabled'>, 'SmsCallWaiting': <'disabled'>, 'DataSyncCallWaiting': <'enabled'>, 'DataAsyncCallWaiting': <'enabled'>})> | 15:13 |
freemangordon | this is what g_variant_print(value, TRUE) results in | 15:13 |
freemangordon | that's what I try to get as "(sa{sv})" | 15:14 |
* sicelo isn't too free right now ... but what interface are you on, and what are you looking to extract | 15:21 | |
sicelo | nokia-n900:~$ busctl call org.ofono /n900_2 org.ofono.SupplementaryServices I | 16:36 |
sicelo | nitiate s '*#43#' | 16:36 |
sicelo | sv "CallWaiting" (sa{sv}) "interrogation" 5 "VoiceCallWaiting" s "enabled" "FaxCallWaiting" s "disabled" "SmsCallWaiting" s "disabled" "DataSyncCallWaiting" s "disabled" "DataAsyncCallWaiting" s "disabled" | 16:36 |
freemangordon | sicelo: yes, this is what I want to parse from C code | 16:38 |
freemangordon | it comes as GVariant | 16:38 |
sicelo | freemangordon: so if i read this correctly and looking at your gvariant print output ... this is "sv", with the (sa{sv}) being another "v" :) | 16:38 |
freemangordon | hmm... ok, lemme try it | 16:38 |
freemangordon | oh, no | 16:39 |
freemangordon | the 's' part I already have, as operation_name | 16:39 |
freemangordon | so it is the 'v' part I want to parse | 16:39 |
freemangordon | so trying to pares the 'v' as '(sa{sv})' gives the ^^^ error | 16:40 |
sicelo | ah ok. was mixing it with your pastebin. so operation_name is "CallWaiting", i guess? | 16:40 |
freemangordon | yes | 16:40 |
sicelo | what's the NULL? | 16:42 |
freemangordon | I do not need the 's' part of '(sa{sv})' | 16:43 |
freemangordon | "interrogation" | 16:43 |
freemangordon | ok, got it | 17:02 |
sicelo | ok great. what was missing? | 17:12 |
freemangordon | I have to first upack one variant | 17:13 |
freemangordon | g_variant_get_variant() | 17:13 |
freemangordon | and then use that variant to unpack the structure | 17:13 |
sicelo | sure, makes sense | 17:13 |
* sicelo is playing with ell dbus these days | 17:14 | |
Wizzup | freemangordon: yeah I think that is also what I did in wpasupplicant icd module | 17:15 |
sicelo | freemangordon: wow that was quick response from ofono folk :p | 18:19 |
peetah | exit | 18:44 |
freemangordon | sicelo: yeah | 19:14 |
sicelo | freemangordon: Wizzup: may i abuse you for a moment ... https://paste.debian.net/1307567/ .. this segfaults on line 61. any obvious reason? | 21:45 |
sicelo | oh, damn. i see what's wrong now | 21:48 |
Wizzup | good ole rubber duck debugging | 21:56 |
sicelo | yeah, i've been stumped for quite a while, and just after writing here, i immediately saw my mistake | 21:57 |
sicelo | freemangordon: hehe ... looks like your answer to concerns about sailfish is going to be the response to https://lore.kernel.org/ofono/7B2450B9-BC8E-45A4-8C39-10E3E2887279@holtmann.org/T/#m2c3a81e48edde86f0f724f70aedd113be318059b ... | 22:16 |
freemangordon | heh | 22:19 |
Wizzup | rafael2k: halfway done copying the image | 22:34 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!