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

Wizzuparno11: ah, good00:13
inky> if i remove nokia modem, battery draining stops00:43
inky>00:43
inky> but impossible to modprobe it00:43
inky>00:43
inky> until reboot00:43
inkyhow do you remove it? i dream of 'tablet mode', i don't use the modem, only wifi. HOW can i disable the modem?00:43
inkythough i need it on d4, i dont use n900 and on pinephone i disabled the modem via hardware switch.00:44
arno11inky: <how do you remove it?> i simply used modprobe -r nokia-modem06:57
arno11but you can also blacklist it in /etc/modprobe.d iirc06:58
gnarfaceif i unload the modem module on the pinephone i have to reboot to make it work again too07:16
gnarfacei suspect this may be some sort of (possibly common?) hardware limitation07:17
arno11iirc it was working on n900 previously but not 100% sure or maybe there is a trick i don t remember07:24
inky I dont need to ever make it work, i have no sim card09:12
inkywhat is a d4 modem module? i will blacklist it.09:12
inkyi know how to blacklist.09:12
inkyi didnt think that rmmoi is etough, i was thinking i need to put tde modem to airplane mode by some command.09:13
freemangordonhttps://imgur.com/o7fzYRe :D14:51
dsc_you are using guest additions to more easily mount stuff?14:52
dsc_or for graphics things?14:52
freemangordongrapchics14:52
freemangordon*graphics14:53
freemangordonbut I was surprised by that notification :)14:53
dsc_yes :)14:53
dsc_its funny14:53
freemangordonyeah14:53
dsc_i have avatars working inside the chat14:56
dsc_with proper refreshes etc14:56
freemangordongreat14:56
freemangordonI am still on authorizations, will take some time14:57
dsc_should they also be on the overview?14:57
freemangordonI think yes14:57
dsc_ok14:57
freemangordonmaybe ask Wizzup about what he thinks about14:57
WizzupI think on fremantle they are14:58
freemangordonmhm15:00
inkyyes, notification is funny15:04
inkyhow to put leste/d4 to airplane mode?15:04
inkyor to put modem to sleep.15:04
Wizzupoffline mode15:05
Wizzuppress power key15:05
dsc_im not finished with the avatar stuff yet15:05
dsc_probably tomorrow15:06
dsc_hmm no, longer. it needs testing etc.15:09
Wizzuplet's also do some memory testing15:18
dsc_yes I wrote some C/glib15:20
freemangordonok, now with ubuntu 20/linux 5.15 I should be ready to hack ofono :)16:06
Wizzup:)16:13
WizzupI paused for a moment on daedalus to see if I can write a script to parse all our debian/control files (of our repos) and figure out in which order to build pkgs16:14
WizzupI have to check this manually atm and it's a bit annoying16:14
freemangordonugh, RMNET_FLAGS_INGRESS_MAP_CKSUMV5 is not in 5x linux :(16:19
Wizzup~16:22
Wizzup:)16:22
uvos__inky: You cant power down the modem on over what putting it offline dose (CFUN=0 via the "at" interface iirc) the modem has its own pmic that we afaik have zero control over.17:03
uvos__*on d417:03
uvos__you can blacklist the motmdm module but that dosent really affect the modem at all hw wise, since it still controlls its own pmic17:05
inkyhow does the airplane mode work?17:05
uvos__it just tels the modem to to offline itself via the at interface17:06
uvos__same as offline mode17:06
inkythat's CFUN=0 thing?17:06
uvos__yes, irrc thats the command at+CFUN=017:06
uvos__theres probubly also a way to do the same thing over qmi17:06
uvos__but idk17:06
inkywhat is the modem interface? i need to connect to it with some terminal program like cu i guess.17:07
uvos__on d4 the modem has no control over the cpu or its peripherals but the cpu also dosent really have any control over the modem17:07
freemangordonyes, it does it over qmi17:07
inkyyes, interesting how.17:07
inkywhat is the modem port?17:08
uvos__port?17:08
uvos__to the cpu? its connected via usb and some gpios17:08
inkyi mean tty17:08
inkyi need minicom or cu or something to send AT commands to it, right?17:08
uvos__you can just use ofono17:08
inkyit should be /dev/ttyUSB?17:09
inkyoh17:09
uvos__its gsmtty17:09
uvos__there are several17:09
uvos__i dont remeber which one is the at interface17:09
freemangordonbetter use qmicli17:09
uvos__that works too17:09
uvos__but ofono should do the right thing17:09
freemangordonmhm17:09
uvos__theres a script for offlineing the modem17:09
freemangordonleste too17:09
* inky is trying to find the modem device.17:13
Wizzupuvos__: uh, the modem goes in offline mode with our offline mode18:02
Wizzupdoesn't mean it's unpowered, but it does go offline18:02
uvos__yes thats exactly what was said19:24
Wizzupright, but I mean that I said that earlier as well20:35
Wizzupanyway, doesn't matter20:36
inkyWizzup: yes, but our offline mode also turns off wifi. i need wifi, i don't need modem.20:48
Wizzupyeah, agreed20:56
Wizzupthat needs to be solved20:56
arno11Wizzup: i got procps error because of missing file in sysctl.d (didn t noticed it before) and corrupted files in /tmp. fixed it then modem drops and battery draw disappear...21:33
siceloah, sounds more like what i expected ... i really don't remember that modem dropping. in general it's quite solid22:42
* sicelo adds yet another TODO - ussd for droid 4... one-shot ussd commands work quite reliably with modemmanager (i.e. those not needing a response)22:44
inkysicelo: you have droid4?23:16
arno11sicelo: yeah indeed quite solid usually23:19
inkywill try tomorrow to communicate with d4 modem again. i tried to send AT commands to all /dev/ttyUSB and all /dev/gsmtty devices and neither replied.23:22
inkyso i dont know which device to talk to with qmi.23:22

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