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

Wizzupsicelo: re: iio-sensor-proxy not starting on boot, maybe this is why the pinephone doesn't rotate in daedalus image?12:11
siceloyes12:11
siceloeven d4 .. everything12:11
Wizzupok12:11
Wizzupseems like a daedalus blocker12:12
siceloyes, that's why i added it to the milestone12:12
Wizzupah, just saw that12:12
Wizzupgreat12:12
Wizzupso do we add it to maemo system services, or what?12:29
sicelowhat does maemo-system services do?12:35
sicelooh i see12:36
sicelowe could add the init script there, yes.12:36
siceloof course i would like us to ship latest upstream iio-sp (3.7) so we can also get N900 proximity12:37
siceloand face-down/up stuff12:38
siceloi already did the porting, just surprised i didn't push somewhere. will find where it's stashed then open PR12:39
sicelohttps://github.com/sicelo/iio-sensor-proxy/commits/leste/daedalus/ ... but i think i want to redo this so it's a bit cleaner12:40
Wizzupyeah, so do we add the init script to maemo system services?13:03
Wizzupthen we can figure out the upstream-fork13:03
sicelosounds like a plan :-)13:07
Wizzupok13:11
WizzupI think I will leave the pine64 kernel upgrade to 6.12 for now, the sunxi64_defconfig disappeared in favour of some 'all config' style13:11
Wizzupwhich means the kernel build would take too long and be very big13:11
Wizzupsicelo: wait if we're forking it any way we could just put it in there13:12
WizzupI'll just add it for now13:16
Wizzupsicelo: ok that's sorted13:26
Wizzupinterestingly enough the daedalus pinephone image (upgraded to daedalus-devel) does not detect charging13:36
Wizzupoh, it does detect some other cable13:41
inky> I think I will leave the pine64 kernel upgrade to 6.12 for now, the sunxi64_defconfig disappeared in favour of some 'all config' style13:45
inkyi have a working config on pinephone.13:45
inkyi built it under gentoo and it works.13:45
inkythen i rebuilt with 6.13, so now i run 6.13 on pinephone gentoo.13:45
inkyminute.13:45
WizzupI did the rebase on 6.1213:45
inkyand everything works well.13:45
Wizzupbut I need to patch the builddeb script13:45
Wizzupand then also rebase out config patches13:46
inkyah so you don't need the config? i can give you.13:46
Wizzupno, I don't need the config13:46
Wizzuptheir config has a bunch of thngs that do not work for us13:46
inkygood, thank you for doing that.13:46
Wizzuplike making EXT4 a module13:46
inkyokay. with my config i have tested that xorg works, and bluetooth works. i have enabled xfs as [*] because i run xfs on all my gentoos, even on pinephone. anyway, know i have it, if needed.13:47
inkyin 6.13 bt works better than in 6.12. much better.13:48
inkyi used megi's orange_pi branch because apparently that's what megi suggested to use, it is the main branch where megi puts the changes for pinephone.13:49
Wizzupin any case13:50
Wizzupthere is a pinephone daedalus image now13:50
Wizzupwe'll get a kernel upgrade shipped some time soon13:51
inkywow!13:51
inkyi'll dd it right now.13:51
inkyso if i backup /home/user that's enough for all my settings? also wifi passwords?13:51
Wizzupnot sure13:53
WizzupI don't know where icd2 gconf is stored13:54
inkyok at least i hope it won't harm to backup the home.13:54
Wizzupnote that there are a few fixes in daedalus-devel (like rotation)13:54
Wizzupthose will make it to then next image build I guess13:54
inkyyay. thank you.13:54
inkymaemo is really useful on pp.13:55
dsc_ah, my VM is again in this state where it thinks there is no internet connection14:19
dsc_arno11: I cannot test the addressbook stuff, sorry ^^14:19
dsc_maybe something installs during pkg install `purple-telegram` that puts it in this state, i dont know14:21
dsc_or maybe related to adding telegram via mc-tool14:21
dsc_https://plak.infrapuin.nl/selif/dqwndovi.png i see this14:22
Wizzupnetwork error means that the plugin did not manage to connect14:23
Wizzupcould be for all kinds of reasons14:23
Wizzupdbus will probably give more info, or you can run the connection manager manually14:23
inky$ pwd14:27
inky/home/user/.gconf14:27
inky$ grep -ir uncertain *14:27
inkysystem/osso/connectivity/IAP/b0cff3ac-7cd4-4652-ba09-72f703513945/%gconf.xml:  <stringvalue>uncertain areas</stringvalue>14:27
inkyi think it's in home. hope it'll work after dd.14:27
inkyuncertain areas is my wifi name.14:27
inkyessid*14:27
Wizzupok14:29
Wizzupkeep in mind that blindly rsyncing things back and forth can cause loads of trouble14:29
Wizzupbut you can give it a try I guess14:29
Wizzupinky: any idea about pinephone pro? is it the same kernel tree/branch?15:23
inkyi think megi said that all the newest changes go to that orangepi branch.15:49
inkyhttps://codeberg.org/megi/linux/commits/branch/orange-pi-6.15 here i see15:51
inky Merge branch 'rk3399-typec-6.15' into orange-pi-6.1515:51
inkythat's a pinebook pro and pinephone pro chipset i think.15:51
inkyyes this lists pinephone pro15:52
inkyhttps://codeberg.org/megi/linux/commit/f9936b9f7dc01ad55c530937305c88d6632b686615:52
arno11dsc_: @network error, did you install pidgin first and add tg account through it ? (to be able to receive code).16:01
arno11if not, you can't log your account through mctool or tg account plugin16:02
dsc_arno11: i located the error, it was because apparmor was active16:02
arno11ah16:03
arno11dsc_: btw @chat wrong title issue: in fact, it always shows the name of the last one who send a msg, which is a bit confusing sometimes16:33
dsc_arno11: will look later, I need to invest some time into getting a good development environment16:33
dsc_the VMs are not suitable atm16:34
arno11ok, i see. np16:34
arno11it is already usable anyway16:35
dsc_yesterday I (again) lost $x amount of time, it stops now, I will create my own image :P16:35
arno11ok :)16:35
dsc_yes apart from this, latest conversation should be OK16:35
arno11yeah16:36
dsc_as in, no drastic bugs :P16:36
arno11sure16:37
arno11Wizzup: btw, lost offline sms (cellulard) is maybe a blocker (could be critical for users)16:53
arno11i already try to start cellulard as late as possible through Xsession.post or from init.d (with some additional deps), no success unfortunately16:55
arno11i mean, it is never late enough16:55
siceloarno11: i wouldn't say it's a blocker, because it's not a regression ... we've always had this :-)16:58
sicelobut yes, it's important to fix16:58
freemangordonsorry, what?16:59
freemangordonhow is cellulard related to lost sms-es?16:59
arno11sicelo: yes indeed, not a regression17:01
sicelofreemangordon: if an sms is sent while the device is off, it gets queued in the air. when the modem goes online, the network will deliver it17:01
freemangordonand? ofono should act on that and queue it17:02
sicelothe problem is - as soon as ofono sets the modem online, the sms is delivered, and disappears, unless there's 'someone' looking out for it on dbus17:02
freemangordonno, ofono queues it (or at least it should)17:02
siceloit doesn't17:02
siceloofono doesn't queue anything17:03
freemangordonwho is that 'someone'? tp-ring?17:03
siceloyes17:03
freemangordonso, we shall start tp-ring before ofono, no?17:03
siceloyes17:03
freemangordonok17:03
freemangordonbtw, why do you think ofono does not queue sms-es?17:04
freemangordonsee https://git.maemo.org/leste-upstream-forks/ofono/src/branch/maemo-ofono/doc/messagemanager-api.txt17:06
freemangordonGetMessages()17:06
siceloi know it doesn't17:06
freemangordonhow do you know?17:07
siceloi've experienced it lots of times, even outside of maemo.17:07
freemangordonlike, did you try to call GetMessages() to see it returns empty list?17:07
freemangordonif that's the case, then we have issue in ofofno, no?17:07
siceloyes :-)17:07
freemangordon*ofono17:07
freemangordonis that n900 specific?17:08
sicelowell i don't know how ofono side really meant for that method to work. i've tried it before and at least at the time i knew nothing about ofono code, and concluded it's a non-working method17:08
sicelonot n900 ... it's just general ofono17:08
freemangordonok, could you please re-test that method17:08
freemangordonor wait, I can do on d4 I guess17:09
freemangordonhave to reboot my PC (to clean-up a  fan which is a bit noisy :) ), will look at it later on17:09
siceloyou can try, but assuming you don't have the issue with unACKed SMS ... because in that case, you will get false results17:09
freemangordonI have usb modems as well;17:10
siceloand, welcome back17:10
freemangordonwell, I was an a holiday :)17:10
freemangordonnot sure how 'bak' I am, given the RL work load though :(17:10
freemangordon*back17:10
freemangordonbrb17:10
sicelofreemangordon: so, i might be wrong, but, GetMessages() runs this function. https://elixir.bootlin.com/ofono/2.17/source/src/sms.c#L102618:25
freemangordonyes, seems it lists pending tx messages18:26
siceloi think that *data is NULL. question would be, where would real data come from :-)18:26
freemangordonhowever, I don;t see incoming messages being received by the modem after it is powered on18:26
freemangordonthis is some ec25 I have here18:27
siceloplus, what would 'queued' mean, since, afaict, ofono doesn't know/care that there are any clients connected. it just blindly pushes stuff to dbus. tldr; this method doesn't really work, and can't work until ofono can keep track of 'Getted' messages, or 'Getting' clients18:28
freemangordonofono keeps track of 'outgoing' queue18:28
sicelobut yeah, i'll give this actual testing in a couple of hours on N900, L5, and my laptop (Ericsson modem)18:28
Wizzuparno11: I think the sms thing is there on chimaera too18:29
freemangordonso yes, GetMessages is not what we need18:29
Wizzupfreemangordon: btw, we discussed this while you were gone and wondered if cellulard could decide not to online until tp-ring appears on the bus18:29
freemangordonbut, first I want to be sure that messages are queued by the network and send to the modem once it is back online18:30
freemangordonWizzup: lemme first make sure sms-es are delivered at all18:30
sicelook, do test, but yes, they are. if you already have a dbus listener before ofono goes online, you get them. at least i have, and i think arno did too18:30
freemangordonok, ok18:31
freemangordonlemme see what tp-ring  does in terms of bringing the modem online18:32
Wizzuptp-ring does not online the modem18:37
Wizzuponly cellulard does18:37
freemangordonmhm18:50
freemangordonbut the issue is that tp-ring runs as user18:50
freemangordonwhile cellulard runs as root18:50
freemangordonI am not sure how would that work in multi-user environment. also, how would cellulard know that tp-ring is started?\18:51
WizzupIt can listen on dbus :)18:59
Wizzupbut if you have another idea, I'm all ears18:59
WizzupThe tricky thing is that all tp things are auto started, so we don't really control when they are started, unless we start them explicitly19:00
siceloI don't see why cellulard should be run as root, but this is not related to this particular issue. afaict, what it does can all be done from a basic user19:09
freemangordonsicelo: because starting it as user means there should be user logged in19:14
freemangordonalso, what if we have 2 users? shall we have to cellulard instances?19:14
freemangordon*two19:14
freemangordonWizzup: I don;t have another idea, but I will try to come-up with some19:15
sicelook @ user logged in19:15
freemangordonmy gut feeling tells me ofono API is at fault here19:17
siceloyes, ideally ofono should keep messages until it gets an ack that they have been read19:18
freemangordonmhm19:18
sicelo@ user logged in, if root (cellulard) enables the modem, nothing can use it anyway. e.g. say emergency call comes in ... tp-ring must handle that,  and it's running as user. Anyway, not to derail us from main issue19:21
freemangordonyou can't have incoming emergency call :)19:26
freemangordonhowever, you can have auto gprs connection19:27
freemangordonthat's handled by icd219:27
freemangordonand you don't need user for that19:27
freemangordonsicelo: it is not derailing from the main issue, I would like a discussion to have all arguments19:28
freemangordonalso, why tp-ring?19:29
freemangordonwhat if we don';t want to use TP?19:29
arno11Wizzup: @sms/chimaera, yep22:33
arno11sicelo: we are now sure there is no lost sms if ofono goes online after tp ring, but what would happen if tp ring crash/restart for some reason ? lost sms in the meantime because of no listener ? or ?22:41
siceloabsolutely, yes :-)22:43
siceloif you're not on dbus at the right time, smses just whizz by22:44
arno11so...i'm agree that ofono is at fault22:45
siceloyes, i agree totally. i wonder what SFOS does22:47
arno11could be interesting to know22:48
siceloand yes, it's not directly about tp-ring ... it's about 'anything' that is responsible for picking up the sms, which in our case is tp-ring. a different platform could just do direct dbus, and have exactly the same problem (if it starts later)22:49
arno11mhm22:54
siceloWizzup: not sure if it's really a blocker, but the inverted battery/current_now sign drives me crazy on the Droid 4, and I won't have time soon to test a kernel patch22:56
arno11@sms, wonder if we can use some kind of redundancy to workaround the problem22:57
siceloah, i can more easily fix the issue in status-menu-applet-battery23:24
dsc_sicelo: did you ever create an image via image-builder?23:59

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