libera/#maemo-leste/ Thursday, 2024-03-28

inkyfolks, so i need/want to revive 'tablet mode' on maemo. i need it to be in airplane mode but still have wifi.00:04
inkyfor that there was this project, and with my changes it now builds, here its xml: https://github.com/norayr/cell-modem-ui/blob/main/etc/systemui/cell-modem-ui.xml00:05
inkywhen it builds, the xml is symlinked to /etc/systemui.00:05
uvosairplane mode needs to be changed to only disable cellular (i dont think it works atm anyhow)00:05
uvosthe rules have changed for airplanes and thus all modern phones work this way00:06
inkyit looks like com.nokia.phone.SSC is not available but com.nokia.cellular_ui is present.00:07
uvosi dont think any of this works yet00:08
uvosif you want to disable the radio your going to have to ask ofono directly for now00:08
inkywithout dbus?00:09
uvosno via dbus, but via its own interface00:09
uvosor use ofono-scripts00:09
uvoswich will call the dbus interface for you00:09
inkyi have no idea how to do that. i can figure out i think but i have no background.00:09
Wizzupinky: I think we should just update our icd2 to make offline mode allow wifi00:09
Wizzupthere's no need to have a mode with wifi and modem off I think00:10
inkyyeah please do that.00:10
Wizzupuvos: btw yes offline mode works fine00:11
Wizzupit turns off both wifi and modem00:12
WizzupI use it frequently00:12
uvoswho turns off the modem?00:12
uvosinky: i cant look right now but it think the script to turn off the modem is /etc/ofono/scripts/disable-modem.sh or someting obvious like that00:12
Wizzupuvos: cellulard00:12
Wizzupiirc00:12
inkyokay, i think we don't need new entry in systemui menu if the offline mode can be modified.00:13
inkytablet mode may overcomplicate things.00:13
inkyand what i was able to build anyway is not showing up. not only doesn't work but doesn't show up in menu.00:14
uvosWizzup: i dont see it00:15
uvoshttps://github.com/maemo-leste/cellulard/blob/master/src/cellulard.c00:15
inkythank you for the tor-applet i use it always and it works perfectly. i also modified it a bit and use on my laptop.00:15
uvosWizzup: im not sure anyone is calling ofono to depower the modem00:15
uvosbu it gues thats easy to check on device00:15
WizzupI'm confident this happens00:17
Wizzupsrc/libicd-network-ofono.c:flightmode_changed(dbus_bool_t offline, gpointer user_data)00:17
Wizzupso it is in libicd-network-ofono00:17
uvosits kindof a mess that bits of modem state are there some are in cellulard and some are in sphone/vcm00:18
uvosWizzup: also flightmode_changed seams to be noop or am i missing something00:19
Wizzupmaybe just try it00:22
Wizzupwhen I put my droid4 in flight mode in the US the battery lasts way longer00:22
Wizzupwhen I don't it keeps searching and the battery doesn't last as long00:22
Wizzupit's probably connui I guess00:27
Wizzupin any case fmg probably remembers00:27
inkymaybe it should be discussed. since our community is security oriented maybe some people would like to have full offline mode possibility.00:48
inkythough i turned off the modem on the pinephone prior to turning it on first time, but i never turned off wifi.00:48
inkymac address randomization is another very important thing and i understand it is very hard to solve.00:49
inkysince icd gets crazy if the mac changes.00:49
Wizzupfreemangordon: btw fwiw I don't think we had to close the pr here https://github.com/maemo-leste/hildon-status-menu/pull/6 but we can just keep it open during the discussion01:09
freemangordonWizzup: what needs to be discussed? obviously there is an issue in presence-ui applet I am unable to repro. ofc we can reopen, but I don;t see what is the benefit07:15
siceloWizzup: btw, https://github.com/maemo-leste/leste-config/pull/45 and https://github.com/maemo-leste/status-area-applet-battery/pull/7 are still waiting to be merged :-)17:36
Wizzupwill do today, ty for reminding me17:40
sicelosure21:10
siceloarno11: btw, i hope N900 also has correct charging LED behavior now? forgot who was the user who reported the issue first23:57
sicelothe pending MR's are just for cleanup ... otherwise green LED and status animation should be OK23:59

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