ChanServ changed the topic of #linux-msm to:
jn has joined #linux-msm
jnn has quit [Ping timeout: 480 seconds]
Danct12 has joined #linux-msm
Danct12 has quit [Ping timeout: 480 seconds]
Danct12 has joined #linux-msm
<vknecht[m]> bryanodonoghue: Hello ! pushed my WIP https://github.com/vknecht/msm8916-mainline-linux/commits/msm8939-camss ... still getting the same 1k junk blocks problem with TPG (8916 still fine)
Danct12 has quit [Quit: WeeChat 4.0.4]
Danct12 has joined #linux-msm
Danct12 has quit [Quit: WeeChat 4.0.4]
Danct12 has joined #linux-msm
mripard has joined #linux-msm
White has joined #linux-msm
<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
<HappY[m]> <z3ntu> "konradybcio: you mean some..." <- I have same driver in downstream.. so I was add .. fsa4480 & usb with pmic-glink like this https://github.com/Saikatsaha1996/linux-sm8350/blob/e4d90d13d227ba9cc88e7e56b6039224290117da/arch/arm64/boot/dts/qcom/sm8350-realme-porsche.dts#L258 but always failed to connect any device.. so just disabled..
<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]> And battery always reporting to 100%
<HappY[m]> Failed like this
pg12 has quit [Ping timeout: 480 seconds]
pg12 has joined #linux-msm
<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 ?
<HappY[m]> <konradybcio> "here you go :) perhaps you..." <- Without pmic-glink battery status reporting perfectly..
<konradybcio> depends how it's terminated
<konradybcio> i.e. whether it feeds 1 or 2 fuel guages
<HappY[m]> konradybcio: In stock dmesg reports single fuel-guge
Danct12 has quit [Quit: WeeChat 4.0.4]
<HappY[m]> Without pmic-glink
<konradybcio> maybe your downstream ignores pmic-glink?
<HappY[m]> <konradybcio> "maybe your downstream ignores..." <- This is my downstream pmic glink... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/uInfTScfcgEFtRpcTAFZndPj>)
Danct12 has joined #linux-msm
White has joined #linux-msm
Danct12 has quit [Quit: WeeChat 4.0.4]
Danct12 has joined #linux-msm
<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
<HappY[m]> Extra reporting real %
<konradybcio> maybe your downstream driver ignores battmgr reports?
Daanct12 has quit [Quit: What if we rewrite the code?]
<HappY[m]> <konradybcio> "maybe your downstream driver..." <- https://pastebin.com/Zm5Jtss2
<HappY[m]> Stock battery & charger related
<HappY[m]> Charger possible 🥹 for my device?
<HappY[m]> In my stock have batt manager firmware.. `battmgr.jsn` I don't know mey be it required?
Danct12 has joined #linux-msm
jhovold has joined #linux-msm
pespin has quit []
Danct12 has quit [Quit: What if we rewrite the code?]
marvin24 has joined #linux-msm
atipls has quit [Killed (NickServ (Too many failed password attempts.))]
atipls has joined #linux-msm