<z3ntu>
one thing to kind of look out (not totally related) for is that some spmi-adc7 headers already have an ifndef for the SID so it might leak into dts also..
mripard has joined #linux-msm
<lumag>
z3ntu, we should probably fix them
<lumag>
patch would be appreciated ;-)
mripard has quit [Quit: mripard]
mripard has joined #linux-msm
<lumag>
z3ntu, regarding UCSI on qcm6490. Do you know if it needs the GET_PDOS workaround? In other way, have you tried enabling UCSI on FP5 beforehand?
<z3ntu>
Without the workaround I very quickly see "sync write returned: -16" and "UCSI_GET_PDOS failed (-5)" errors in dmesg. Very seldom it works once or so, so something plugged in actually works
<lumag>
ack, thanks.
<z3ntu>
With the workaround I didn't see it (but as mentioned didn't test too much but quite confident it improved things). But still role swiching back from host to gadget didn't seem to work, or maybe in postmarketOS this doesn't work properly, not sure
<lumag>
Hmm. this is strange.
<z3ntu>
Meaning when I boot the phone, rndis gadget gets set up and I have ssh access to the phone, I then unplug, plug in a USB stick to the phone which works, but when I plug the phone back into the computer the usb network doesn't re-appear
<z3ntu>
Again, take it with a grain of salt but I think I saw this behavior yesterday
<lumag>
z3ntu, reproduced here.
<lumag>
And I got the mysterious [ 40.013494] ucsi_glink.pmic_glink_ucsi pmic_glink.ucsi.0: GET_CONNECTOR_STATUS failed (-95)
<lumag>
z3ntu, however restarting the gadget (I'm using adb) fixes the issue.
<z3ntu>
lumag: any clue if this a qcom/ucsi bug or something maybe user space handles wrong? But I imagine if you see the same with your environment, at least it's not caused by whatever we have in postmarketOS :D
pespin has joined #linux-msm
rmsilva has joined #linux-msm
<lumag>
z3ntu, either a kernel, or a firmware issue. I'll try sorting it out later.
<z3ntu>
thanks!
<z3ntu>
lumag: Also any idea what pmic-glink compatible I should use on this qcm6490 phone? Either qcom,sc7280-pmic-glink or qcom,qcm6490-pmic-glink make some sense I guess
<z3ntu>
Currently in my tree I added qcom,sm7325-pmic-glink but this makes no sense really, it would be "Snapdragon" variant of this chip
<narmstrong>
I get GET_CONNECTOR_STATUS on recent SoCs aswell, but it may be a different issue from the GET_PDOS workaround
<lumag>
narmstrong, I have yet to debug it, because I see it only rarely and it returns -EOPNOTSUPP.
<lumag>
z3ntu, well, since it is a firmware thing, you might want to emphasise that. So from my POV qcm6490 makes more sense
<lumag>
In the end, typical sc7280 has different firmware.
<z3ntu>
sc7280 with qualcomm firmware (non-cros) will probably behave the same though as qcm6490 ^^ but I'll change it to qcm6490 compatible in my tree then, let's see if anyone in review will say something different
<strongtz[m]>
iirc I also randomly get "UCSI_GET_PDOS failed" on qcs8550 (sm8550)
<strongtz[m]>
unaware of "GET_CONNECTOR_STATUS" though
<lumag>
strongtz[m], strange. It was supposed to be fixed with newer firmware releases.
<lumag>
bamse, ^^
<lumag>
strongtz[m], do you have a log of ucsi failures?
Danct12 has quit [Quit: A-lined: This user has been AViVA-lined!]
Danct12 has joined #linux-msm
Danct12 has quit []
Danct12 has joined #linux-msm
Danct12 has quit [Read error: Connection reset by peer]
Daanct12 has joined #linux-msm
anholt_ has joined #linux-msm
anholt has quit [Ping timeout: 480 seconds]
pespin has quit []
pg12_ has joined #linux-msm
pg12 has quit [Ping timeout: 480 seconds]
pg12_ is now known as pg12
<strongtz[m]>
lumag: Sure, but the device isn't at hand now. I'll probably get a log later today or tomorrow.