libera/#maemo-leste/ Tuesday, 2024-07-16

freemangordonyes, but I will do tomorrow00:00
freemangordon(push)00:00
freemangordontoo tired now00:00
Wizzupsounds good00:06
dsc_can I disable 'apparmor' from the TARGET line @ /etc/init.d/.depend.boot09:12
dsc_i want to run without apparmor09:13
freemangordonWizzup: ok, finally found the reason for high power usage09:29
freemangordonCPCAP_REG_VAUDIOC.CPCAP_BIT_VAUDIO_MODE1 must be set09:30
freemangordonpreviously it was done by the hack09:30
freemangordonI have to find the proper place to do it now09:30
Wizzupmaybe it can be part of the route09:31
freemangordonwe don;t have a widget for it09:32
siceloWizzup: not important & no rush - i'm just curious why https://github.com/maemo-leste/leste-config/blob/master/leste-config-common/etc/wpa_supplicant/wpa_supplicant.conf.leste#L1 specifies different ctrl_interface from https://github.com/maemo-leste/libicd-network-wpasupplicant/blob/master/src/wpasupplicant-defs.h#L37 ... things are working, but i'm just trying to understand the code09:32
freemangordontmlind added it as a part of https://github.com/maemo-leste/droid4-linux/commit/0dedbde5062dbc3cf71ab1ba40792c04a68008e909:34
freemangordonbut nobody calls cpcap_voice_set_tdm_slot()09:34
freemangordonanyway, I'll fix that09:34
Wizzupsicelo: sorry, what do you need? :)09:35
WizzupI must have missed a message09:35
siceloyou haven't :-)09:35
siceloi've just been going through libicd-network-wpasupplicant, and observed code is using different wpa_supplicant control sock from what the config sets. i think there's a good reason for that (after all, wifi works)09:36
sicelooh, i get it now. sorry for the noise10:10
Wizzupsicelo: ah, ok, check :)10:59
siceloi'm now trying to figure out why we do scanning via the control socket, and also via dbus ..11:11
freemangordontmlind: ping11:11
freemangordontmlind: why is CPCAP_REG_VAUDIOC set to 0 her https://github.com/maemo-leste/droid4-linux/commit/0dedbde5062dbc3cf71ab1ba40792c04a68008e9#diff-3943bf3a33be67e51248be2256236bc49d57d158b6963870c0410b4853303cf7R232?11:11
sicelosomeday i hope to have time to change everything away from that control socket - looks like that will at least help us avoid hardcoding wlan011:11
freemangordonand then later on CPCAP_BIT_VAUDIO_MODE1 bit is set11:12
Wizzupsicelo: we can have multiple contrl sockets too, but we need it because the dbus interface doesn't do everything11:14
sicelommm, what can't it do? i was able to scan and connect via busctl only. looks like NetworkManager also doesn't use the ctrl sock11:16
sicelomy idea is ... we can tell icd2 to find a wireless device by asking udev, then we teach icd2 to do the rest, which is mainly CreateInterface, etc.11:17
WizzupI bet the commit history or the ode contains the motivation11:17
siceloi'll check11:17
Wizzupsee 16bd225c14e3c9c12fd01aefbd6ac8cffa61e13c for example11:18
siceloah thanks11:20
freemangordonuvos__: Wizzup: do we have cpcap register dump from android?11:35
Wizzupyes, but from what scenario11:35
Wizzuphttps://uvos.xyz/maserati/stockinfo/call/11:36
freemangordonidel11:36
freemangordon*idle11:36
uvos__freemangordon: not for the idle state11:46
uvos__freemangordon: but https://uvos.xyz/maserati/cpcaprw is a nativ android binanay that will create sutch a dump11:46
uvos__i can also do so later11:46
freemangordonplease do11:46
Wizzupare you checking pm? then omapconf could help too11:46
freemangordonas I think we are not controlling   CPCAP_REG_VAUDIOC properly11:47
freemangordonomapconf will not help here11:47
freemangordoncpcap supports some low-power modes etc11:47
freemangordonseems we have to set CPCAP_REG_VAUDIOC.CPCAP_BIT_VAUDIO_MODE1 all the time to 111:47
freemangordonand also CPCAP_REG_VAUDIOC.CPCAP_BIT_AUDIO_LOW_PWR when not playing audio or dunno11:48
freemangordonI need hifi playback and idle dumps11:48
Wizzupfreemangordon: telepathy-nonsense uses 'xmpp' as 'protocol' rather than 'jabber'12:15
Wizzupshall I fix our rtcom-accounts-ui plugin to do both?12:15
freemangordonsure, why not?12:16
freemangordonor, if we are to drop jabber12:16
Wizzupthe settings might not be super compatible maybe12:16
Wizzupjabber==xmpp12:16
freemangordonwell, I mean current tp plugin12:17
freemangordongabble12:17
WizzupI think maybe we should make nonsense use jabber12:17
Wizzupsince now the VCardField is also different12:17
Wizzupit's impp (?) not x-jabber12:17
Wizzupx-jabber*12:18
freemangordonheh12:18
freemangordonwhat is impp?12:18
Wizzupno clue12:18
freemangordonsounds like a bug12:18
Wizzupnonsense.manager:VCardField=impp12:18
Wizzupprotocol.cc:    setVCardField(QStringLiteral("impp"));12:18
Wizzupprotocol.cc:    m_addrIface->setAddressableVCardFields(QStringList() << QStringLiteral("impp"));12:18
Wizzuphttps://www.rfc-editor.org/rfc/rfc4770.html12:20
Wizzupdsc_: later I think we should support ChannelFactory::featuresForServerAuthentication stuff in conversations12:46
Wizzupso that we handle some sasl auth stuff12:46
uvos__Wizzup: did you note this weekends sphone changes? you responded to the rfc15:15
uvos__Wizzup: the vcm changes examplery are probubly wrong and it needs you to decide what the new fields should be there15:16
uvos__*you never responded to the rfc15:16
WizzupI will check when I am back in an hour, maybe github just doesn't email me anymore15:29
freemangordonWizzup: I will wait for cpcap regs dump before pushing, there are thing I still don't understand about cpcap audio PM16:08
WizzupI could make a dump on 6.1 but otherwise you'l have to wait for uvos16:16
freemangordonyeah, I prefer to have android values16:17
freemangordonalso, I want to know what tmlind knows about bits in  CPCAP_REG_VAUDIOC16:17
tmlindfreemangordon: you can have your wish, i don't know much anything17:48
tmlindis it a regulator?17:48
tmlindfreemangordon: have you looked at MC13783UG.pdf? it has "Table 7-45. VAUDIO Forced Enable Function" that might provide some info?18:27
siceloWizzup: i read through the libicd-network-wpasupplicant commit you mentioned, as well as https://github.com/maemo-leste/bugtracker/issues/489#issuecomment-850713508.21:47
sicelocuriously, looks like the disconnect is implemented exactly the same for dbus as well as ctrl_iface ... so sounds weird that they behave differently21:49
siceloor, more likely ... when the plugin was created/ported, https://w1.fi/cgit/hostap/commit/?id=5f040be4ff78f26b84840fa31037831bdd886f5b was not there in devuan ...21:51
uvosWizzup: have a place to send devices in us?21:52
uvoshttps://www.ebay.com/itm/13514855703221:52
uvosseams decent21:52
freemangordontmlind: yes, it is a regulator, so setting its bits from cpcap-voice seems a hack to me. OTOH, I don't know how to set it from DT22:19
freemangordonyes, I have looked at MC13783UG.pdf and MC13783IGPLDRM.pdf. The latter have more info22:20
freemangordonstill, I'll appreciate if you give me some hints how set those bits from regulator FW22:21
freemangordoncpcap-regulator that is22:21
freemangordonI can use   REGULATOR_MODE_IDLE, but, under what conditions will it be used?22:23
freemangordonuvos: will you do capture of idle and music playback regs?22:23
uvosfreemangordon: im currently doing it22:24
uvosnot haveing mutch fun22:24
freemangordonthanks!22:24
uvosso my old d4 with los installed had a als that stoped working so i shoved it in a drawer, and since then it seams to have worsend since now the ts dosent work so i cant use that one22:25
freemangordontmlind: also, I don't understand what 'low power mode' is supposed to mean22:25
uvosso im on my main d4 now, but that has android 4.1.2 which cant be rooted by normal means so i tried to manually root it from linux22:25
uvosbut now it dosent boot22:26
freemangordonheh22:26
uvosso now im reinstalling android 4.0.4 over that22:26
uvosso fun22:26
uvosill get there22:26
freemangordonI see22:26
freemangordonimagine if I was to do it :)22:26
uvosfreemangordon: https://uvos.xyz/maserati/stockinfo/audio_states/22:42
freemangordonthanks22:42
uvosyw22:44
freemangordonok, seems cpcap-audio never properly idles in upstream22:44
freemangordonunless I am missing something22:44
uvosprobubly not22:44

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