libera/#maemo-leste/ Friday, 2023-01-20

rafael2kWizzup, got it!06:07
freemangordonbencoh: well, I would blame mpv gpu backend then08:17
freemangordonWizzup: not sure honestly08:17
freemangordonmaybe I can upgrade my device to -experimental to see if it will still boot :)08:18
freemangordon*boots08:19
bencohis offline mode supposed to disable modem only? because it doesn't disable wifi (ie, phone remains connected)10:25
bencohbut it still prevents scanning from the status applet10:25
Wizzupfreemangordon: I only built one package11:43
Wizzupfreemangordon: I mean, do we want to measure the impact of neon and thumb or do we just ... do it?11:43
Wizzupbencoh: yeah I think this is a bug in libicd-network-wpasupplicant11:44
freemangordonWizzup: flight mode - I think we shall rename/redefine it12:09
freemangordonbecause IIRC there is no 'flight' mode anymore :)12:09
Wizzupyeah wifi can be on12:09
Wizzupit's 'airplane mode' now12:10
freemangordonis it?12:10
freemangordonok12:10
Wizzupyes12:10
Wizzupbut we can do this later I believe12:10
Wizzupwe can discuss it now though :p12:10
freemangordonI was under the impression that gprs can be on too, with the new regulations12:10
WizzupI think the idea is that wifi can be toggled independently of airplane mode12:10
Wizzupand then there is bt12:10
Wizzupand airplane mode only toggles the modem from online to offline12:10
Wizzupis my understanding12:10
Wizzupfreemangordon: no, I don't think so12:11
freemangordonwe shall check again what are the current requirements12:11
Wizzupvery rarely does an aircraft have a built in cellular12:11
Wizzupit does happen, but then they charge like 2 euro per minute for a call :)12:11
Wizzupfreemangordon: I'm sure it's the above, but I'm not sure if we need to do it now :D12:11
freemangordonagree, but this is not our problem :)12:11
Wizzupfeel free to do it though12:11
freemangordonok12:11
freemangordonnot now12:12
Wizzupwell this counters what I thought: https://www.makeuseof.com/tag/android-airplane-mode/12:12
Wizzupalthough it says nowadays it is more suttle12:12
Wizzupsubtle*12:12
Wizzup> And you can tweak airplane mode by turning on Wi-Fi or Bluetooth manually if you still want to allow some connections.12:13
bencohto we _have_ to support "airplane" mode? because it could very well be two separate "modem on/off" and "wlan on/off"12:14
Wizzup bencoh: that's what I mean12:15
bencohcompletely unrelated, but it looks like using headphones completely disables the internal mic nowadays? I couldn't enable internal mic back when headphones are plugged in12:15
WizzupI haven't seen that12:17
Wizzupbut also haven't tested it12:17
bencohah12:17
bencohI tested with twinkle12:17
Wizzupit might depend on whether you plug in a headset or headphone12:17
Wizzupdoes it have a mic?12:17
bencohheadphones have no mic12:17
bencohI think driver just assumes it does12:18
WizzupI think this is an UCM thing if anything, not driver12:18
bencohah, lemme check then12:18
Wizzupdoes pavucontrol make a new 'mic' for the hp?12:18
bencohpavucontrol shows both12:19
bencohhmm, it does switch to headset mic12:20
bencohand switching manually from pavucontrol works12:21
bencohlet's check again12:21
bencohalright, works fine with twinkle as well, nevermind then :)12:23
bencohI wonder if/how we could detect external mic presence12:24
Wizzupbencoh: weird that it detects it honestly12:25
bencohwhy?12:25
Wizzupbencoh: this might be a kernel/cpcap thing then after all12:25
Wizzupwell if it is not there, it should not detect it12:25
Wizzupnormally there is something that senses the third ring, no?12:25
bencohI dunno if it can tell the difference12:25
Wizzupif it wasn't all FUBAR on the n900, normally it would detect if it is a headset, or headphone with controls12:25
Wizzup(FUBAR as in different order from all regular ones)12:26
bencohmy headphones have a 3-pole jack12:26
Wizzupyeah so that might be it then12:26
Wizzupmine are 2 ole12:26
Wizzuppole*12:26
bencohwait, 2?12:26
Wizzup(I used to get only 2 pole on purpose because of the n900)12:26
Wizzupmaybe I got terminology wrong12:26
bencohthen strike that, I referred to two as well12:26
Wizzupwell l/r/ground12:26
Wizzupok12:26
Wizzupmaybe it's a chimaera bug, but I am pretty sure this worked normally for me on beowulf12:27
WizzupI can try later, but I might try with telepathy-rakia instead of twinkle ;)12:27
bencohon beowulf I vaguely remember having to change manually, I think12:27
bencoh(when inserting headphones)12:27
freemangordonWizzup: https://github.com/maemo-leste/bugtracker/issues/696#issuecomment-139799919312:27
bencohoh btw, telepathy-rakia doesn't handle www_authenticate apparently12:27
bencohcode has a few mentions of it, but I don't think it's properly implemented12:28
bencohfrom the sofia (the underlying sip library) doc it looks like it should be do-able12:28
freemangordonbencoh: on ubuntu (at least) this is solved by asking what type of device is connected12:31
freemangordonthough cpcap should be able to correctly detect the type12:32
Wizzupfreemangordon: this was just a grep -i ofono of the icd2 log12:37
Wizzup12:27 < bencoh> on beowulf I vaguely remember having to change manually, I think12:37
Wizzupyeah, this is true in the past12:37
Wizzupat this point it's detected the moment audio is on (not in pm suspend)12:38
uvos__cpcap can detect jack type12:46
uvos__but android dose this in the fw so i dont know how12:46
uvos__ucm on d4 just assumes its one way12:46
uvos__dont remember wich12:46
bencoh"one way"?12:46
uvos__with or without mic12:46
uvos__no support for butttons at all12:47
bencohapparently with12:47
uvos__ok12:47
uvos__the jack detection will only fire when the headphone amp is on12:48
uvos__thats why it dosent work when no music is playing12:48
uvos__we could have the amp allways on12:48
uvos__but that wastes power12:48
uvos__android works the same way12:48
uvos__as mainline atm12:48
bencohor we could enable it upon jack detection and disable it soon after?12:50
bencohI mean, it does detect when headphones are plugged12:50
Wizzupbencoh: iirc uvos__ means that the whole plug-in detection only works when anything is reading/writing sound13:06
Wizzupfor example mpv playing or pavucontrol on13:06
Wizzupso kernel won't see plug unless something is using audio13:06
bencohpavucontrol keeps underlying devices open?13:13
Wizzupsure13:13
Wizzupit shows mic levels and such13:13
bencohand still, it just mean that proper detection would be deferred13:13
bencohoh, right, I forgot about that13:13
uvos__to the user not watcing kernel evens13:19
uvos__this is transparant13:19
uvos__as the jack will be detected as soon as something plays audio13:20
uvos__there are never any pug or unplug events lost13:20
uvos__its just that it "ckecks" for pluged in headphones only while audio is active13:20
Wizzupfreemangordon: https://github.com/maemo-leste/bugtracker/issues/680#issuecomment-139832945613:44
freemangordonWizzup: re icd ofono bug - may I have full log maybe?13:54
Wizzupfreemangordon: we have to coordinate with SuperMarioSF13:54
freemangordonah, I was thinking this is your device13:54
Wizzuplast time he set up some ssh for me to log in and help13:54
Wizzupnope, it's his13:54
freemangordonok13:54
Wizzupit's on beowulf-devel13:54
freemangordonstill, we need the full log13:55
Wizzupok, I think he's around, so we can ask for /var/log/maemo/icd.log ?13:55
WizzupSuperMarioSF_ ^^ :)13:55
Wizzupfreemangordon: so do you want me to try to build a lot of thumb stuff for -experimental, or?15:43
freemangordonyes, if you have spare time15:51
freemangordonbut at least major libs, like glib,gtk,qtwebengine15:52
Wizzuplet's start with gtk and glib15:54
Wizzup:D15:54
freemangordon:)15:55
freemangordonit would be interesting to see what apt will report in terms of "bytes less"15:55
Wizzupright15:56
Wizzupin 10-20 mins I'll build some pkgs15:56
Wizzupin general thumb and non-thumb can coexist right15:57
freemangordonsure15:59
Wizzupmeanwhile qmake made a .la file at some point, but it's now refusing to make them :D16:58
Wizzupfreemangordon: and others - what cpu shall we emulate on our armhf build machine?17:14
Wizzupcortex-a15 ? cortex-a7? cortex-a8? cortex-a9?17:14
dsc_lowest common denominator = nokia n90017:19
dsc_= cortex-a817:19
dsc_Y/n ? :P17:19
Wizzupbbl17:23
Wizzupsry17:23
freemangordonright18:56
norayri will be porting/packaging this: https://github.com/communi/communi-desktop19:17
norayralso wip about quickflickr.19:17
Wizzupdsc_: I am not sure if I can 'turn off' the cpu being detected as armv819:54
Wizzupdsc_: it looks like the only way to do that is tonot use kvm19:54
dsc_IIRC the reason why the code thinks its armv8 is because GCC has built-in compiler definition that are avaiable to any project that goes through the compiler19:56
Wizzupdsc_: with the right -march= this might work ok19:57
dsc_just FYI that I'm not setting these definitions ^^19:57
dsc_ah, perhaps19:57
WizzupI can try in a bit19:57
sicelo full ofono log ... did you get from supermario? i can send mine if fmg wants. we have same issue(s)19:58
Wizzupfreemangordon: ^19:58
freemangordonsure19:59
sicelohow can i send it? email to someone perhaps?19:59
siceloor it doesn't potentially have stuff that needs redaction? (busy with something atm, so can't check)20:00
WizzupI think the actual really private stuff is likely not in the debug logs20:00
Wizzuplike passwords20:00
sicelophone numbers?20:00
Wizzupbut you can maybe just send the log of the last, shortly after you tried again20:01
Wizzupsicelo: in icd2 log? no20:01
sicelojust checked, yes, there's none20:01
siceloi'll send everything from January 1, i think20:02
siceloheh, my icd2 log is a year old :p20:03
siceloWizzup, uvos - do you use your droid 4s for phone calls with sphone? frequently? the touchscreen issue is driving me nuts :p20:04
sicelobut if i'm the only one affected, then i'm confused20:05
freemangordonsicelo: I don't need 1 year of logs20:07
siceloyes i'm trimming it20:07
freemangordonno20:08
Wizzupsicelo: I don't have ts issues often, mostly just sometimes it doesn't activate on unlock20:08
freemangordoni need a log created particularly for the issue20:08
freemangordonfrom the startup of icd220:08
sicelohttp://pastebin.notk.org/pastebin.php?show=m540cd7bf20:10
Wizzupsicelo: jfyi there is /var/log/maemo/icd*.log which is just icd20:12
Wizzupso there won't be maemo luancher stuff20:12
* Wizzup bbiab20:12
sicelohope that one helps. if i need to do it differently, you can ping me20:14
siceloWizzup: not on my d4. there's only icd2.log20:15
siceloroot@devuan-droid4:/var/log/maemo# ls20:15
sicelodsme.log  hildon-home.log  hildon-status-menu.log  iap_conndlg.log  ke_recv.log  mce.log  modem.log  ofonod.log  wpa_supplicant.log20:15
sicelo(i've just deleted icd2.log)20:16
* sicelo is happy however that d4 (1) calls work ok otherwise, and (2) it no longer reboots unexpectedly. I'm at 7.5 days uptime now20:26
uvossicelo: i have touchscreen issues extreamly rarely, not at all related to calls, yes i do call often21:16
siceloincoming calls are the ones that seem to cause it21:17
siceloit's almost 100% of the time21:18
siceloi never have ts issues at other times21:18
uvospossibly some interaction between tklock and sphone21:25
uvosdunno21:25
uvos(i dont use tklock)21:25
uvoswhen ts dosent work try killing systemui via ssh21:26
uvosi also run beowulf21:27
uvosso might be some new issue21:27
siceloi'm on beowulf21:28
siceloanyway, ssh not going to help. when this happens, there's an incoming call to accept :p21:29
uvosi mean you can simulate a call with calltest21:29
Wizzupsicelo: when ts doesn't work it's usually disabled by mce in my experience22:24
Wizzup(through xinput)22:24
Wizzupfreemangordon: doesn't seem to be a big difference wrt thumb23:42
Wizzuphttps://maedevu.maemo.org/pkgweb/chimaera-experimental/main/binary-armhf/libgtk2.0-0.html23:42
Wizzuphttps://maedevu.maemo.org/pkgweb/chimaera/main/binary-armhf/libgtk2.0-0.html23:42
Wizzupthe binaries are different for sure23:45
WizzupI am not sure if the default is -Os or -O223:45
Wizzupseems to be -O2, maybe we should use -Os23:46
Wizzupfreemangordon: I suppose we could also pass -ftree-vectorize23:57

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