tmlind | freemangordon: that just sets the autosuspend and wakeup just like you already do with sysfs, right? | 05:05 |
---|---|---|
tmlind | freemangordon: 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 |
tmlind | freemangordon: if the data connection ping works from the outside, then the issue might be with the voice related parts.. | 05:08 |
tmlind | freemangordon: 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 session | 06:46 |
tmlind | so 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 events | 06:51 |
freemangordon | tmlind: I wonder why wakeup does not work in VM with EC20 | 07:28 |
tmlind | freemangordon: maybe modem needs to be configured for the events somehow? | 07:29 |
freemangordon | yes, will try something | 07:29 |
freemangordon | there is AT+QURCCFG command, will play with it to see if it makes any difference | 07:36 |
sicelo | about 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 thing | 07:37 |
freemangordon | run checkpatch,pl if you have any doubts | 07:38 |
sicelo | ah, sure | 07:38 |
freemangordon | *checkpatch.pl | 07:38 |
sicelo | checkpatch is happy, so i'm happy. | 07:43 |
tmlind | freemangordon: 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 up | 07:56 |
tmlind | freemangordon: and eventually the padconf should be for omap-usb-tll.c to ensure proper runtime pm sequence | 07:57 |
tmlind | freemangordon: but for now i believe your padconf wakeirq test patch should do for testing :) | 07:57 |
tmlind | freemangordon: 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.html | 07:59 |
tmlind | anyways getting the modem to do the wake-up k-state is the first step | 08:00 |
freemangordon | and I am unable to make it work even on x86 :( | 08:04 |
freemangordon | https://sixfab.com/wp-content/uploads/2021/02/Quectel_EC2xEG9x_Power_Management_Application_Note_V1.0.pdf | 08:04 |
freemangordon | I don;t think I am doing anything wrong, it just does not work | 08:04 |
freemangordon | "When the module has URC to report, its USB will send remote wakeup signals first" | 08:05 |
Wizzup | freemangordon: in vm there is also use passthrough that might perhaps mess with it | 11:33 |
Wizzup | unlikely I suppose, but still | 11:33 |
freemangordon | Wizzup: yeah, unlikely | 13:25 |
freemangordon | tmlind: ok, with EC20 wake-up somethimes work | 13:25 |
freemangordon | like, I get 3 notifications in a row, but I get them | 13:25 |
freemangordon | not with d4 BP mode | 13:26 |
freemangordon | but, maybe we still can live without gsmtty, it seems there is a way to enable notificatrion on AT port | 13:27 |
freemangordon | *notification | 13:27 |
freemangordon | and that can be used to kick the modem | 13:27 |
freemangordon | will play with it a bit more | 13:27 |
tmlind | freemangordon: ok so what did you have to do to get ec20 do notifications when suspended? | 14:04 |
tmlind | freemangordon: 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 usb | 14:10 |
sicelo | Wizzup: 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 |
sicelo | i fixed the charger (bq24150) showing up as a battery in UPower. will do MR for this tomorrow, when I've refreshed my repos | 15:15 |
Wizzup | sicelo: great, ehm, let's keep the blacklist but comment the entries so it's clear to people how to use it | 16:49 |
Wizzup | at least imo | 16:49 |
Wizzup | but we can also get rid of it, up to you | 16:49 |
sicelo | btw, any quick/easy way to build droid4-linux on pc as a deb? | 17:06 |
Wizzup | not that I know of, I usually just copy the image and modules manually when cross building | 17:08 |
Wizzup | but I am sure it is possible, actually I did think I did it a while ago using bencoh's cross lxc thing | 17:09 |
bencoh | now that's funny, because I myself wonder how to build kernel for droid4 :] | 17:15 |
bencoh | did you just dpkg-buildpackage in the kernel repo? | 17:15 |
Wizzup | from the right branch, I think so, yeah, uh, I'd have to check | 17:20 |
freemangordon | hildon-status-menu does not support multiple instances of a single plugin :( | 19:13 |
sicelo | ah, that's in relation to the desire to show 2+ modem statuses? | 19:23 |
sicelo | an idea is ... keep it one instance, and make the 1 instance handle the multiple modems | 19:24 |
freemangordon | yes | 19:30 |
Wizzup | btw, is it just me or is the menu arrow gone in qt again | 19:52 |
freemangordon | why would it? | 19:58 |
Wizzup | good question, looked like some -devel update | 19:59 |
Wizzup | it definitely is gone for me | 19:59 |
freemangordon | did you change something lately? | 20:06 |
freemangordon | beca | 20:06 |
freemangordon | use I did not | 20:06 |
Wizzup | it might be from a few weeks ago, I'll investigate | 20:07 |
freemangordon | ok, seems I will have to implement hd_status_plugin_item_set_status_area_icons() :) | 20:07 |
freemangordon | Wizzup: any objections? ^^^ | 20:07 |
freemangordon | that will allow single plugin so set multiple icons | 20:08 |
freemangordon | in the status area | 20:08 |
Wizzup | sounds good to me | 20:11 |
arno11 | Wizzup: menu arrow is still there on my device (-devel) | 21:23 |
Wizzup | hmmm | 21:25 |
Wizzup | arno11: in qt programs? | 21:25 |
arno11 | yes | 21:25 |
Wizzup | for example countdowntimer | 21:25 |
arno11 | let me check | 21:25 |
arno11 | argh, give me another example plz :P | 21:28 |
Wizzup | conversations | 21:28 |
arno11 | conversations is ok | 21:28 |
freemangordon | at least in VM calendar menu has arrow | 21:28 |
arno11 | on n900 as well | 21:28 |
Wizzup | ok, my droid does not | 21:29 |
Wizzup | weird | 21:29 |
Wizzup | I also didn't have it on the tablet | 21:29 |
Wizzup | maybe it's the theme (Devel) | 21:29 |
arno11 | ah maybe | 21:29 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!