libera/#maemo-leste/ Sunday, 2024-02-25

tmlindfreemangordon: that just sets the autosuspend and wakeup just like you already do with sysfs, right?05:05
tmlindfreemangordon: so the autosuspend already works at least for a modem data connection where power consumption is quite low and connection maintained.. not sure what happens is if you try to ping the modem from outside, does the ping not work or does it trigger the k-state wakeup?05:07
tmlindfreemangordon: if the data connection ping works from the outside, then the issue might be with the voice related parts..05:08
tmlindfreemangordon: so on my d4, i opened a modem data connection, connected from d4 to a machine with ssh, ran while true; do date; sleep 10; done in the ssh session and date only updates if i hit a d4 key in the ssh session06:46
tmlindso assuming there's nothing wrong with the padconf wakeirqs, maybe there is something that needs to be set on the modem for the wake up events06:51
freemangordontmlind: I wonder why wakeup does not work in VM with EC2007:28
tmlindfreemangordon: maybe modem needs to be configured for the events somehow?07:29
freemangordonyes, will try something07:29
freemangordonthere is AT+QURCCFG command, will play with it to see if it makes any difference07:36
siceloabout kernel coding style, `val-> intval = (ret == 1) || (ret ==2);` ... are the brackets superflous here, or i should keep them? i did look at https://www.kernel.org/doc/html/v4.10/process/coding-style.html but it doesn't mention any specific rules about this kind of thing07:37
freemangordonrun checkpatch,pl if you have any doubts07:38
siceloah, sure07:38
freemangordon*checkpatch.pl07:38
sicelocheckpatch is happy, so i'm happy.07:43
tmlindfreemangordon: once you get usb wakeup to trigger, we need to also signal the omap-usb-host child devices ohci or echi controller to wake them up07:56
tmlindfreemangordon: and eventually the padconf should be for omap-usb-tll.c to ensure proper runtime pm sequence07:57
tmlindfreemangordon: but for now i believe your padconf wakeirq test patch should do for testing :)07:57
tmlindfreemangordon: also i think usbb1_mm_rxrcv is the right pad, looks like it was also used in this old patch for 4-pin transceiver: https://www.mail-archive.com/linux-omap@vger.kernel.org/msg55426.html07:59
tmlindanyways getting the modem to do the wake-up k-state is the first step08:00
freemangordonand I am unable to make it work even on x86 :(08:04
freemangordonhttps://sixfab.com/wp-content/uploads/2021/02/Quectel_EC2xEG9x_Power_Management_Application_Note_V1.0.pdf08:04
freemangordonI don;t think I am doing anything wrong, it just does not work08:04
freemangordon"When the module has URC to report, its USB will send remote wakeup signals first"08:05
Wizzupfreemangordon: in vm there is also use passthrough that might perhaps mess with it11:33
Wizzupunlikely I suppose, but still11:33
freemangordonWizzup: yeah, unlikely13:25
freemangordontmlind: ok, with EC20 wake-up somethimes work13:25
freemangordonlike, I get 3 notifications in a row, but I get them13:25
freemangordonnot with d4 BP mode13:26
freemangordonbut, maybe we still can live without gsmtty, it seems there is a way to enable notificatrion on AT port13:27
freemangordon*notification13:27
freemangordonand that can be used to kick the modem13:27
freemangordonwill play with it a bit more13:27
tmlindfreemangordon: ok so what did you have to do to get ec20 do notifications when suspended?14:04
tmlindfreemangordon: if you figured out a way to enable notifications for at port, diff the nvram, writing another value to that nvram reg may enable the notifications over usb14:10
siceloWizzup: I no longer need anything to be blacklisted in mce/status-area-battery ... should we drop the blacklist function? it's no longer used, but maybe some other device will have a use for it in future. what do you suggest?15:09
siceloi fixed the charger (bq24150) showing up as a battery in UPower. will do MR for this tomorrow, when I've refreshed my repos15:15
Wizzupsicelo: great, ehm, let's keep the blacklist but comment the entries so it's clear to people how to use it16:49
Wizzupat least imo16:49
Wizzupbut we can also get rid of it, up to you16:49
sicelobtw, any quick/easy way to build droid4-linux on pc as a deb?17:06
Wizzupnot that I know of, I usually just copy the image and modules manually when cross building17:08
Wizzupbut I am sure it is possible, actually I did think I did it a while ago using bencoh's cross lxc thing17:09
bencohnow that's funny, because I myself wonder how to build kernel for droid4 :]17:15
bencohdid you just dpkg-buildpackage in the kernel repo?17:15
Wizzupfrom the right branch, I think so, yeah, uh, I'd have to check17:20
freemangordonhildon-status-menu does not support multiple instances of a single plugin :(19:13
siceloah, that's in relation to the desire to show 2+ modem statuses?19:23
siceloan idea is ... keep it one instance, and make the 1 instance handle the multiple modems19:24
freemangordonyes19:30
Wizzupbtw, is it just me or is the menu arrow gone in qt again19:52
freemangordonwhy would it?19:58
Wizzupgood question, looked like some -devel update19:59
Wizzupit definitely is gone for me19:59
freemangordondid you change something lately?20:06
freemangordonbeca20:06
freemangordonuse I did not20:06
Wizzupit might be from a few weeks ago, I'll investigate20:07
freemangordonok, seems I will have to implement hd_status_plugin_item_set_status_area_icons() :)20:07
freemangordonWizzup: any objections? ^^^20:07
freemangordonthat will allow single plugin so set multiple icons20:08
freemangordonin the status area20:08
Wizzupsounds good to me20:11
arno11Wizzup: menu arrow is still there on my device (-devel)21:23
Wizzuphmmm21:25
Wizzuparno11: in qt programs?21:25
arno11yes21:25
Wizzupfor example countdowntimer21:25
arno11let me check21:25
arno11argh, give me another example plz :P21:28
Wizzupconversations21:28
arno11conversations is ok21:28
freemangordonat least in VM calendar menu has arrow21:28
arno11on n900 as well21:28
Wizzupok, my droid does not21:29
Wizzupweird21:29
WizzupI also didn't have it on the tablet21:29
Wizzupmaybe it's the theme (Devel)21:29
arno11ah maybe21:29

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