libera/#maemo-leste/ Monday, 2022-11-28

siceloi think you should not remove those extra patches05:18
sicelo"we dont have an equiavlent to 0005-kernel-dma-workaround-n900-modem-oops.patch" -- https://github.com/IMbackK/droid4-linux/commit/5259a862010ee65366db1a2ad7427b0686ab744305:24
sicelocould the n900-61 branch not have been in maemo-leste namespace? i think it would help so we don't have to wonder where stuff like https://github.com/maemo-leste/droid4-linux/commit/7c2221dca56dca6d711f89ad635a8fbc5f5a91ab came from05:28
sicelowut! i have h-d now. nothing i did however05:38
sicelooh, there *is* something i did ... i used the N900 that has b0rk modem. using the one with working modem results in the reset. Wizzup, so it's what i mentioned the other day - the dma patch isn't enough in 6.1 unfortunately ):05:56
siceloi wonder what we need to do in order to enable/use pstore on N900? maybe use the 'log' partition on the OneNAND? freemangordon, would you have an idea?06:07
SuperMarioSFhi06:12
SuperMarioSFlong time no see06:12
SuperMarioSFabout two phones, I'm unable to get another one on good condition.06:13
SuperMarioSFso should I ship the existing one?06:13
sicelowhat phones are you referring to? :-/06:16
SuperMarioSFThe Chinese exclusive Motorora Milestone 3 (XT883)06:17
SuperMarioSFI was planned to get 2 of them06:17
SuperMarioSFbut I have only got one in good condition, full of everything.06:18
SuperMarioSFimages will be sent here soon.06:22
SuperMarioSFwoah06:27
SuperMarioSFi got lucky06:27
SuperMarioSFjust found another one in good condition06:27
SuperMarioSFthe one for months06:27
SuperMarioSFand for a similar price as th first one06:28
sicelooh great, https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/admin-guide/pstore-blk.rst ... this could work for N90006:40
Wizzupwell, missed SuperMarioSF :)09:53
Wizzupsicelo: well cherry-picking reverts doesn't work well09:54
Wizzupyou need to re-do the revert09:54
Wizzupmaybe this is also what uvos did with the memory compaction commit, seeing he made a leste-config PR instead of reverting, but if it works...09:55
siceloi also tried revert. did the same thing iirc. but i can try again when i find time (this week hectic though)10:22
WizzupI can do it a few days from now if you bug me10:25
sicelook. i guess it's a bit urgent since the kernel is already out (in -devel, of course)10:29
Wizzupsicelo: right, maybe we should use -experimental for unstable kernels10:37
Wizzup@supermariosf - drop me a msg for sending it10:39
buZzhehe with the 2250mAh , it takes almost 2hrs to charge from 0% to full13:03
buZzeven at 1.5A inputcurrent13:04
buZzbut seems to work superwell, hope the videos etc are all well taken, we'll edit all the material soon13:04
uvos__so did you edit the eeprom?13:19
buZzi didnt try yet13:21
tmlinduvos__: i don't think the battery eeprom can be updated?13:33
buZzwould seem weird to me too, you'd be able to 'explode' ppls batteries13:36
buZzby overwriting with wrong stuff, once you have root13:36
uvos__tmlind: no idea, i was just asking buZz to see if so13:40
uvos__its not impossible that its really a eeprom instead of a prom13:40
buZzhmhm, i'll try later anyway13:40
tmlindforgot what the chip on the battery pcb is, but i recall it says on the chip and has a public doc available, some ds something i think13:43
buZzisnt that the gauge chip?13:44
buZzi have a loose BMS now (ripped the flex connector) i can take closeups later13:44
tmlindok, looks like i have a pdf named DS2450.pdf along with my notes, maybe that's it13:46
tmlindhttps://www.maximintegrated.com/en/design/technical-documents/app-notes/1/177.html13:53
tmlindseems to require 12v controller to reprogram?13:53
freemangordonbuZz: set input current to 180014:07
freemangordon(assuming your charger allows that)14:08
buZzfreemangordon: oh i'll try later,  is that the max? afaik this usb wallwart can do 2.5A14:10
buZzalso, its limit is on the current to battery14:10
buZzso 1000000 on the device is 900000 on wallwart, or sim ilar14:11
buZzsimilar*14:11
freemangordonthe max(according to specs) is unlimited, but I don't think this can be set14:15
freemangordonalso, 1800 is what android sets14:15
freemangordonand later on adjusts, somehow14:15
freemangordonthe limit shall be set on the charger14:16
freemangordondon;t touch the battery14:16
freemangordonI think it has 1200mA constant current setr14:16
uvos__i think buZz is asking what is cpcap max charge current14:25
uvos__iirc this is just under 2.5A14:26
buZzah cool, thats about 1C charging for this 2250mAh14:27
buZzit does accept 2500000 as limit , anyway14:33
uvos__i gues theoreticly anthing motorola dident use isent validated thermally14:36
uvos__so maybe watch out with that @ using full current cpcap can do register wise14:36
uvos__but im sure its really fine14:37
Wizzupfreemangordon: https://github.com/maemo-leste/dsme/pull/614:42
Wizzupcare to check?14:42
BlagovestPetrov[https://hastebin.com/omuyitacaj.coffeescript Wizzup15:29
BlagovestPetrov[there is something with the l10n packages15:30
BlagovestPetrov[nvm, it happened because osso-applet-display has broken dependencies. l10n packages are fine15:31
BlagovestPetrov[freemangordon: hildon-desktop is also failing because of gcc flags17:06
BlagovestPetrov[it's using Tidy which is a wrapper library on top of Clutter17:07
BlagovestPetrov[there are some inline functions which are too bit for the standard gcc settings.17:07
BlagovestPetrov[should we ignore the warning?17:07
BlagovestPetrov[or we can convert them to standard functions. It may cause performance issues..17:08
freemangordonWizzup: looks good17:20
freemangordonBlagovestPetrov[: how exactly it is failing?17:21
freemangordonbuZz: not really, the real limit is 180017:22
freemangordonanything above that is still 180017:22
BlagovestPetrov[https://hastebin.com/daziviwuho.yaml17:23
freemangordonbuZz: https://github.com/maemo-leste/droid4-linux/blob/maemo-6.1/drivers/power/supply/cpcap-charger.c#L30717:23
BlagovestPetrov[https://hastebin.com/ixoleravax.properties this is the function :)17:25
freemangordonWTF is max-inline-insns-single ?17:25
BlagovestPetrov[something which limits the size of the inline functions17:27
freemangordonBlagovestPetrov[: try if -finline-limit=1000 will fix it17:27
BlagovestPetrov[I'm not sure what "size" means - memory utilized?17:27
BlagovestPetrov[or cpu time?17:28
freemangordonthe number of pseudo-instructions IIUC17:28
BlagovestPetrov[it will probably fix it. I'll try :)17:28
freemangordonbut, I wonder why we hit that now17:28
freemangordonthis is not something new17:29
buZzfreemangordon: tried abit, havent seen it draw over 1.2A from charger17:31
buZzbut still pretty full now17:31
freemangordonthat's why17:31
buZzuhuh17:31
freemangordonon empty battery it will draw 1200+device usage17:31
buZzah, like that , yeah, we'll see later :)17:32
freemangordonBlagovestPetrov[: maybe older compiler issued less instructions?17:32
BlagovestPetrov[yeah17:32
freemangordonbut maybe you are right and this function shall not be marked as inline17:33
freemangordonnow it saves one call I guess17:33
BlagovestPetrov[:)17:46
freemangordonyup, just remove that inline and call it a day17:48
SuperMarioSFI'm back18:35
SuperMarioSFJust replaced a new battery in my droid 4, battery life and charge speed seems much better than before.18:38
SuperMarioSFrecalibrating battery18:39
SuperMarioSFjust found some weird thing about the APN provision issue18:39
SuperMarioSFI have a dead SIM card, which have no subscription any more on it, but card itself works.18:40
SuperMarioSFIt can provision its APN correctly, first try18:40
SuperMarioSFbut when I swap to my daily driving SIM card, 3G signal seems okay but APN provisioning have problem18:41
SuperMarioSFtwo SIM card are for GSM based network, but have different operator.18:41
SuperMarioSFmaybe there is some weird issue related to China Unicom's SIM card.18:42
SuperMarioSFbut for now, just receieving SMS is already working enough for me, and character encoding is correct.18:43
SuperMarioSFif anyone want to dig deeper on this issue just contact me.18:44
SuperMarioSFI currently have no idea about this problem and I don't have much spare time to read the source code myself.18:44
SuperMarioSFand that's the reason why I didn't shown for a long time, because my work is too busy.18:45
Wizzuphi18:53
SuperMarioSFhi18:53
WizzupSuperMarioSF: send you a private message btw19:05
Wizzupuvos: I built leste-config19:05
Wizzupfreemangordon: thanks for checking19:11
BlagovestPetrov[SuperMarioSF: dragast?19:16
BlagovestPetrov[oh, no. I though you are someone else :)19:18
SuperMarioSFi have no idea what or who dragast is.19:18
Wizzupheh19:19
WizzupBlagovestPetrov[: I see how that happened :D19:19
WizzupSuperMarioSF: nevermind, someone we know19:20
uvosSuperMarioSF: both me and i think buZz too have had that issue with the apn20:15
uvosso its not that operator specificly but rather lots of operators20:15
SuperMarioSFthat's weird20:15
SuperMarioSFsince the working SIM card was for a "virtual operator"20:16
SuperMarioSFwhich shouldn't in any of pre-defined list.20:16
SuperMarioSFand that operator name were shown correctly20:17
SuperMarioSFso is there a way to define a operator information manually?20:17
SuperMarioSFor even better, an option for forcing (for debug or workaround purpose)20:18
uvostheres a dbus call20:18
uvosi dont remebmer it by heart20:18
uvosWizzup: knows20:18
SuperMarioSFyou mean something like 'mdbus2 -s org.ofono /motmdm_0/context1 org.ofono.ConnectionContext.SetProperty Active true' ?20:19
uvoswell not that one20:19
uvosbut a dbus call20:20
SuperMarioSFok20:20
uvosi switched operators so i dont need it anymore20:20
uvosso wait for Wizzup to respond20:20
SuperMarioSFwell I don't have much choice.20:20
uvosdose sending sms work for you?20:20
SuperMarioSFthe only other operator doesn't even have 3G any more.20:21
uvosit dosent for me20:21
SuperMarioSFSMS is working fine.20:21
SuperMarioSFand I just got bombed with SMS an hour ago.20:21
uvosoutgoing20:21
uvoson my device incomeing sms works fine but outgoing just hang in ofonos send buffer20:21
SuperMarioSFjust tested20:23
SuperMarioSFworking20:23
SuperMarioSFmy first message went to conntest loopback20:23
SuperMarioSFand I switched to ofono, it works.20:23
uvosprobubly i should unload contest in the default configureation again20:24
SuperMarioSFthe only operator have HSDPA support in China is China Unicom, so switching to another operator is out of question, except virtual operators (which is often unreliable)20:27
uvossicelo: im rebuilding the kernel with the extra pmos patches now20:40
uvosill try to test it later20:40
uvosWizzup: please do test and get some serial if issues persit20:40
uvospersist20:40
sicelothose will not fix the problem, unfortunately20:47
uvosfreemangordon: found the issue with charging_sdl21:17
uvosfreemangordon: there was a bug in it that caused it to missread the battery when its _callibrated_21:18
uvosapperantly the changes in cpcap-battery ment its callibrated more often when charging_sdl starts21:18
uvosits fixed, was a boolean inversion21:18
freemangordonuvos: ah, so there was a bug after all? great that you smashed it, will test as soon as I can.21:22
uvosfreemangordon: yeah i was looking at the estimation code path so hard i just dident see it21:23
uvosit will be in the repo asap21:23
freemangordonok21:28
uvosill also make it use sw rendering21:29
uvoshopefully removing the hang21:29
uvosjust a workaround ofc21:29
uvosim testing that rn21:29
freemangordonnever had hangs here21:29
freemangordonbut yes, we don;t need GPU21:29
uvosit hangs in a drm ioctl and pvrk sometimes complains about a zero sized surface21:31
uvos(cant make it happen rn)21:31
uvosyeah dont really need the gpu here anyhow21:31
uvosbut maybe its related to the xorg hang in some helpfull way21:31
Wizzupuvos: what dbus call do you mean21:45
uvosWizzup: giveing ofono apn21:45
Wizzupprobably just GetProperties on the ConnectionContext21:45
uvosyou set the apn with GetPorperies21:46
uvosinteresting21:46
uvos:P21:46
WizzupSetProperty AccessPointName ...21:50
Wizzupbut GetProperties call will give you the exact property names21:50
uvosWizzup: ok, its not for me but for SuperMarioSF21:51
uvosSuperMarioSF: ^^^21:51
Wizzupfreemangordon: if you merge a PR for chimaera, can you please add it here: https://github.com/maemo-leste/bugtracker/issues/64422:35
buZzfreemangordon: now on 50%, charger doesnt see >1.5A draw23:41
buZzso i guess 1500000 for input limit is pretty much the limit?23:41
buZzever so briefly ; POWER_SUPPLY_CURRENT_NOW=158000023:43

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