| Wizzup | arno11: ah, good | 00:13 |
|---|---|---|
| inky | > if i remove nokia modem, battery draining stops | 00:43 |
| inky | > | 00:43 |
| inky | > but impossible to modprobe it | 00:43 |
| inky | > | 00:43 |
| inky | > until reboot | 00:43 |
| inky | how 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 |
| inky | though i need it on d4, i dont use n900 and on pinephone i disabled the modem via hardware switch. | 00:44 |
| arno11 | inky: <how do you remove it?> i simply used modprobe -r nokia-modem | 06:57 |
| arno11 | but you can also blacklist it in /etc/modprobe.d iirc | 06:58 |
| gnarface | if i unload the modem module on the pinephone i have to reboot to make it work again too | 07:16 |
| gnarface | i suspect this may be some sort of (possibly common?) hardware limitation | 07:17 |
| arno11 | iirc it was working on n900 previously but not 100% sure or maybe there is a trick i don t remember | 07:24 |
| inky | I dont need to ever make it work, i have no sim card | 09:12 |
| inky | what is a d4 modem module? i will blacklist it. | 09:12 |
| inky | i know how to blacklist. | 09:12 |
| inky | i didnt think that rmmoi is etough, i was thinking i need to put tde modem to airplane mode by some command. | 09:13 |
| freemangordon | https://imgur.com/o7fzYRe :D | 14:51 |
| dsc_ | you are using guest additions to more easily mount stuff? | 14:52 |
| dsc_ | or for graphics things? | 14:52 |
| freemangordon | grapchics | 14:52 |
| freemangordon | *graphics | 14:53 |
| freemangordon | but I was surprised by that notification :) | 14:53 |
| dsc_ | yes :) | 14:53 |
| dsc_ | its funny | 14:53 |
| freemangordon | yeah | 14:53 |
| dsc_ | i have avatars working inside the chat | 14:56 |
| dsc_ | with proper refreshes etc | 14:56 |
| freemangordon | great | 14:56 |
| freemangordon | I am still on authorizations, will take some time | 14:57 |
| dsc_ | should they also be on the overview? | 14:57 |
| freemangordon | I think yes | 14:57 |
| dsc_ | ok | 14:57 |
| freemangordon | maybe ask Wizzup about what he thinks about | 14:57 |
| Wizzup | I think on fremantle they are | 14:58 |
| freemangordon | mhm | 15:00 |
| inky | yes, notification is funny | 15:04 |
| inky | how to put leste/d4 to airplane mode? | 15:04 |
| inky | or to put modem to sleep. | 15:04 |
| Wizzup | offline mode | 15:05 |
| Wizzup | press power key | 15:05 |
| dsc_ | im not finished with the avatar stuff yet | 15:05 |
| dsc_ | probably tomorrow | 15:06 |
| dsc_ | hmm no, longer. it needs testing etc. | 15:09 |
| Wizzup | let's also do some memory testing | 15:18 |
| dsc_ | yes I wrote some C/glib | 15:20 |
| freemangordon | ok, now with ubuntu 20/linux 5.15 I should be ready to hack ofono :) | 16:06 |
| Wizzup | :) | 16:13 |
| Wizzup | I 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 pkgs | 16:14 |
| Wizzup | I have to check this manually atm and it's a bit annoying | 16:14 |
| freemangordon | ugh, 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 d4 | 17: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 pmic | 17:05 |
| inky | how does the airplane mode work? | 17:05 |
| uvos__ | it just tels the modem to to offline itself via the at interface | 17:06 |
| uvos__ | same as offline mode | 17:06 |
| inky | that's CFUN=0 thing? | 17:06 |
| uvos__ | yes, irrc thats the command at+CFUN=0 | 17:06 |
| uvos__ | theres probubly also a way to do the same thing over qmi | 17:06 |
| uvos__ | but idk | 17:06 |
| inky | what 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 modem | 17:07 |
| freemangordon | yes, it does it over qmi | 17:07 |
| inky | yes, interesting how. | 17:07 |
| inky | what is the modem port? | 17:08 |
| uvos__ | port? | 17:08 |
| uvos__ | to the cpu? its connected via usb and some gpios | 17:08 |
| inky | i mean tty | 17:08 |
| inky | i need minicom or cu or something to send AT commands to it, right? | 17:08 |
| uvos__ | you can just use ofono | 17:08 |
| inky | it should be /dev/ttyUSB? | 17:09 |
| inky | oh | 17:09 |
| uvos__ | its gsmtty | 17:09 |
| uvos__ | there are several | 17:09 |
| uvos__ | i dont remeber which one is the at interface | 17:09 |
| freemangordon | better use qmicli | 17:09 |
| uvos__ | that works too | 17:09 |
| uvos__ | but ofono should do the right thing | 17:09 |
| freemangordon | mhm | 17:09 |
| uvos__ | theres a script for offlineing the modem | 17:09 |
| freemangordon | leste too | 17:09 |
| * inky is trying to find the modem device. | 17:13 | |
| Wizzup | uvos__: uh, the modem goes in offline mode with our offline mode | 18:02 |
| Wizzup | doesn't mean it's unpowered, but it does go offline | 18:02 |
| uvos__ | yes thats exactly what was said | 19:24 |
| Wizzup | right, but I mean that I said that earlier as well | 20:35 |
| Wizzup | anyway, doesn't matter | 20:36 |
| inky | Wizzup: yes, but our offline mode also turns off wifi. i need wifi, i don't need modem. | 20:48 |
| Wizzup | yeah, agreed | 20:56 |
| Wizzup | that needs to be solved | 20:56 |
| arno11 | Wizzup: 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 |
| sicelo | ah, sounds more like what i expected ... i really don't remember that modem dropping. in general it's quite solid | 22: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 | |
| inky | sicelo: you have droid4? | 23:16 |
| arno11 | sicelo: yeah indeed quite solid usually | 23:19 |
| inky | will 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 |
| inky | so 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/!