libera/#maemo-leste/ Thursday, 2023-09-14

tmlindfreemangordon: maybe you want to use a completion?04:26
freemangordontmlind: it uses wait queue behind the scenes, so the same question is still valid. I guess I'll just implement it like that07:38
tmlindfreemangordon: ok yeah, no idea about the latencies here07:41
freemangordontmlind: for some reason, on n900   usleep_range(728, 728) sleeps for 10955 us :)08:05
freemangordonseems there is something wrong with hrtimers on omap308:05
tmlindhmm sounds like there's some issue somewhere08:08
freemangordonor, when asked for 307us sleeps for 2166748ns. Unless I am doing something stupid when logging the time https://pastebin.com/tMuYC1Cy08:11
freemangordonthe result https://pastebin.com/wDaFYHGX08:12
freemangordonno wonder IR TX does not work :)08:12
tmlindmaybe run timer tests like cyclictest to check which timers are broken08:13
freemangordontmlind: ktime_t is timestamp in nanoseconds, right?08:14
tmlindcyclictest and others are in the rt-tests package08:14
freemangordonin the repos?08:14
tmlindmight be08:14
freemangordonlemme try to find08:14
* tmlind bbl08:15
freemangordontmlind: no idea how to read the results:08:20
freemangordonT: 0 ( 5683) P: 0 I:1000 C:  10000 Min:    172 Act:  383 Avg:  446 Max:    497908:20
freemangordonWARN: measured clock resolution approximately: 30517 nsec08:31
tmlindfreemangordon: the max value is way too long it seems09:16
tmlindhmm well it's high but it's not with rt patches09:22
freemangordontmlind: well, average 446 us does not look good to me09:50
freemangordongiven that timer resolution is 30us09:50
tmlindis this with the mainline v6.5 or something else?09:51
freemangordon6.1.4809:51
freemangordonthis https://github.com/maemo-leste/droid4-linux/tree/maemo-6.1.y09:52
tmlindok09:52
tmlindwell CONFIG_NO_HZ_IDLE=y is needed for pm, but also causes the clockevent to be often reprogrammed for the next timer so there's some extra overhead09:53
tmlindsched_clock() is slow because there is no localtimer09:54
freemangordonhave to run, ttyl09:59
tmlindlater10:07
Wizzupuvos: do we have a way to enter dtmf in sphone?15:40
bencohWizzup: I don't see any either at least16:26
bencohwhich reminds me ... does anyone see odd cases of missed calls / sphone not making the phone vibrate / interrupted vibration?16:28
Wizzupno, but I have had repeated smses still some times16:33
bencohWizzup: I've had repeated SMSes for a day (and counting)17:42
bencoh(I switched yesterday to d4 as a main phone)17:43
bencohis there a workaround to that btw?17:43
WizzupI don't know why it happens, but I think it has something to do with setting the display on/off (by that I mean what mce writes to the modem to silence the signal strength notifications on display on/off)17:51
Wizzupbecause I get the repeated smses the moment I turn on the display17:51
Wizzupcheck @ main phone, I finally have some peace so I'm going to revive the sphone tp part17:52
Wizzupthen we will hopefully finally also have sip/xmpp calls17:52
bencohhow does the cellular part work nowadays? sphone takes care of everything (ie ofono, pulseaudio routing, vibration, ...)?18:00
bencohI noticed that I often get SMSes (either repeating, or just regular SMSes that didn't show up thus far) whenever I call or get a call18:01
bencoh4118:02
bencoh(woops)18:02
tmlindWizzup, uvos: dtmf should be trivial to implement, there's the dtmf shell script at https://github.com/tmlind/droid4-sms-tools18:52
Wizzupthanks19:08
Wizzupsicelo: arno11: I have the n900 set up with serial again, lmk if I need to test anything else21:49
freemangordontmlind: any idea where to look for why usleep_range() misbehaves?23:27

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