<White>
Hello Everyone, My question is how to do software R&D better?
<White>
For example the ipc_logging feature in msm-5.10, is there any method to understand the whole feature faster?(from the designer view)?
<White>
OK Fine RTFSC
irungentoo has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
irungentoo has joined #linux-msm
White has quit [Ping timeout: 480 seconds]
<HappY[m]>
Hello! In mainline I don't have charger support.. and my downstream driver if different.. so if I want to add charger support in mainline.. then how can I solve?
pespin has joined #linux-msm
<z3ntu>
HappY: if you're on sm8350 I'd expect this to use pmic-glink for battery & charger?
<HappY[m]>
z3ntu: Pmic-glink never worked for me.. every time all device failed to connect..
<HappY[m]>
And I don't know what is pmic-spmi but always probe failed
<z3ntu>
HappY: pmic-glink has different things it does, one is battery&charger communication, another is DP altmode (connecting external display), one other is UCSI which does the USB role switching. The latter (UCSI) is quite unreliable for me also but the rest works fine
<z3ntu>
HappY: Maybe it's a good idea to just disable UCSI in the driver for now for your chipset, so you at least get the rest of the pmic-glink goodies
<HappY[m]>
Same with failed to create device link with fsa4480
<z3ntu>
this shouldn't be fatal
<z3ntu>
HappY: What entries do you have in `/sys/class/power_supply/`?
<HappY[m]>
z3ntu: I have to check.. I will update
<konradybcio>
yeah this is not fatal
<konradybcio>
it may be reporting 100% because your battery is fully charged
<HappY[m]>
konradybcio: No not full charge .. my battery originally reported 62% in Android.. and then I flashed pmos to my device.. but in pmos battery reporting to 100%
<konradybcio>
does it have 1 or 2 batteries?
<HappY[m]>
konradybcio: 2 battery with parallel connection
<HappY[m]>
* In reply to @konradybcio:matrix.org
<HappY[m]>
does it have 1 or 2 batteries?
<HappY[m]>
2 batteries with parallel connection
<konradybcio>
here you go :) perhaps you need a separate fuel gauge to get the real output
<HappY[m]>
But parallel connection.. still I have to use dual fuel-guge ?
<mal>
minecrell: do you have any opinion about the watchdog slowness (watchdog triggers only after quite a while instead of the set timeout), should I somehow try to debug that or just send the dts patches first and look in the issue later?
<mal>
not sure how common that issue is
<konradybcio>
mal your client sent both messages twice
<mal>
very odd, this is just normal irssi and has never misbehaved before
<konradybcio>
well, it just did it again
z3ntu_test has joined #linux-msm
<z3ntu_test>
I wouldn't rule out the matrix bridge being weird either
<z3ntu>
hm worked properly for this message 🤷
<mal>
I can restart irssi just in case if this keeps happening
<konradybcio>
please do, it keeps doubling
<lumag>
konradybcio, mal: I don't see duplicates
mal has quit [Quit: leaving]
<minecrell>
konradybcio: well it seems like a Matrix issue to me (the messages are not duplicated on IRC) so maybe you need to fix things :D
<minecrell[m]>
fun it duplicates all IRC messages on the Matrix side
Daaanct12 has joined #linux-msm
Danct12 has quit [Ping timeout: 480 seconds]
mal has joined #linux-msm
<mal>
does anyone still see duplicate messages from me?
<minecrell>
no
<minecrell>
now only mine are duplicated :p
minecrell has quit [Quit: :( ]
minecrell has joined #linux-msm
<minecrell>
test
<minecrell>
strange somehow disconnecting fixes it on the Matrix side
<z3ntu>
the bridge is a mysterious creature
<mal>
minecrell: any opinion to my question about watchdog?
CosmicPenguin has quit [Read error: Network is unreachable]
CosmicPenguin has joined #linux-msm
irungentoo has quit [Remote host closed the connection]
<minecrell>
mal: iirc I tried to debug the watchdog slowness for at least a full day but didn't find any good hints why it happens. Somehow it works normally in LK but gets slow once Linux boots. I suspected something like cpuidle or so but that didn't help iirc
Daaanct12 has quit [Quit: WeeChat 4.0.4]
<minecrell>
mal: I don't think you should add it upstream in the broken state
<minecrell>
maybe consider adding the pmic watchdog with pm8916-wdt instead
White has quit [Ping timeout: 480 seconds]
<minecrell>
I use that on 8909, it works reliably
irungentoo has joined #linux-msm
<mal>
ok
White has joined #linux-msm
z3ntu_test has left #linux-msm [#linux-msm]
<z3ntu>
Btw with pmic-glink for me upower considers two wrong devices to be batteries too so if the battery is 100% charged, the DisplayDevice is only 33%. The other devices seem to be battery_qcom_battmgr_usb and battery_qcom_battmgr_wls where upower thinks those are batteries too. The battery with correct data is battery_qcom_battmgr_bat
<z3ntu>
Is there something wrong in dts/driver config maybe? Probably if you ask upower people they say to fix the kernel to provide correct data :)
White has quit [Ping timeout: 480 seconds]
White has joined #linux-msm
White has quit [Ping timeout: 480 seconds]
<HappY[m]>
<konradybcio> "maybe your downstream ignores..." <- With pmic-glink