ChanServ changed the topic of #msm8937-mainline to: Boot Linux on your MSM8917/37/40 and QM215 mobile! | GitHub: https://github.com/msm89x7-mainline | Logs: https://oftc.irclog.whitequark.org/msm8937-mainline | Bridged to #msm8937-mainline:kde.org on Matrix
minecrell has quit [Quit: Ping timeout (120 seconds)]
minecrell has joined #msm8937-mainline
<NekoCWD[m]> <barni2000[m]> "phosh thinks there is no sensor..." <- ltr also doesn't work on markw
<NekoCWD[m]> And I screwed up with the huawei-agassi panel. I need to add `reg=<0>;` to it
<barni2000[m]> no it is a mistake :D
<barni2000[m]> sleep should be pinctrl-1
<NekoCWD[m]> I can send fixup PR
<barni2000[m]> i can make a fixup
<NekoCWD[m]> Ok ❤️
<NekoCWD[m]> barni2000[m]: riva, rolex - fix pinctrl
<NekoCWD[m]> agassi - add reg = <0>
<barni2000[m]> i have already do that i will check others
<barni2000[m]> rpm clocks are applied for 8937 and 8940 :D
<barni2000[m]> is there anyone here with sdm429?
<barni2000[m]> and do you know any dual dsi msm8937 or msm8940 device? or any msm8937 device what is using the other dsi_phy
<barni2000[m]> btw nekocwd thanks for your dt checks
<barni2000[m]> git add -p also an addictive stuff
<barni2000[m]> whit next rebase i would need fix your commits author and your sign-off
<barni2000[m]> in copyright commit do you have your name as firstname lastname order or reverse?
<barni2000[m]> s/commit/comments/
<NekoCWD[m]> barni2000[m]: firstname -> lastname
<barni2000[m]> please set your git correctly for next commits and fix it in the open PRs
<NekoCWD[m]> Ok. I forgot to set up git after distrohops :D
<NekoCWD[m]> barni2000 Is it correct to use firstname -> lastname ?
<barni2000[m]> yes, you should use western order
<NekoCWD[m]> Updated my prs
<NekoCWD[m]> Now it should be ok
<NekoCWD[m]> Replacement TS on huawei-agassi works strange. It reports something on touch, but it's not a cytsp5-structured report. Downstream can enable cytsp5-compatible mode somehow. I have a downstream tskit driver, but ts init code looks same as mainline for me
<NekoCWD[m]> s/cytsp5/cyttsp5/, s/cytsp5/cyttsp5/
<NekoCWD[m]> Lol
<NekoCWD[m]> It worls
<NekoCWD[m]> but strange
<NekoCWD[m]> I think i neeed to set ts properties in dt
<NekoCWD[m]> Oh, lol. It just works. Seems that internal app needs some time to actually start
<NekoCWD[m]> Yey!
<barni2000[m]> can it with out that patch?
<barni2000[m]> * can it work with out
<NekoCWD[m]> barni2000[m]: Original works fine, but i've broken my original screen
<NekoCWD[m]> Replacement doesn't
<barni2000[m]> i think it should work with regmap so maybe you should find out what is missing
<NekoCWD[m]> How can i do touchscreen calibration on wayland?
<NekoCWD[m]> seems that there are no simple solution for it
<barni2000[m]> libinput calibration, you will need to write an udev rule
<barni2000[m]> 4100 mAh battery POWER_SUPPLY_CHARGE_FULL_DESIGN=4197000
<barni2000[m]> 4100 is the design
<barni2000[m]> * the design value
<NekoCWD[m]> is it for me?
<barni2000[m]> no, i am bringing up charger for Redmi 3s
<barni2000[m]> i just wonder why an 4100 mAh battery almost 4200 mAh
<NekoCWD[m]> barni2000[m]: Did you pick pmi8950 charger commits?
<barni2000[m]> yep
<NekoCWD[m]> barni2000[m]: Can't you push it please?
<barni2000[m]> i want to test it first because it should have some irq issues
<barni2000[m]> <barni2000[m]> "4100 mAh battery POWER_SUPPLY_CH..." <- it will be a serious issue POWER_SUPPLY_CHARGE_FULL_DESIGN=4146000
<barni2000[m]> other land have different full design value
<barni2000[m]> i can set it to 4100000
<barni2000[m]> maybe that safer
<barni2000[m]> [ 12.241570] genirq: Flags mismatch irq 21. 00002003 (usbin-src-det) vs. 00002003 (200f000.spmi:pmic@2:usb-detect@1300)
<barni2000[m]> we will need find out the extcons for the devices
<NekoCWD[m]> Ahhhhh. Now i hate libinput + udev. xorg calibrator works fine, but now i need to convert my calibration values to libinput
<barni2000[m]> maybe weston-calibrator could work
<barni2000[m]> charging seems very slow
<barni2000[m]> it is not working too fine on older devices under 8953
<barni2000[m]> i have limited the charging to 1A but it should be enough
<barni2000[m]> xiaomi-riva:~$ cat /sys/class/power_supply/qcom-battery/current_now
<barni2000[m]> 249632
<barni2000[m]> 250 mAh, it is not charging
<barni2000[m]> it is wrong value i should check the charger
<NekoCWD[m]> Ahh, how good that my agassi uses external smb charger 😁
<barni2000[m]> i think land have 2 charger
<barni2000[m]> no, it is using only pmic charger
<NekoCWD[m]> What i need to do after deviceinfo change? Just reboot or i need to change deviceinfo in aports -> rebuild device package -> sideload it? [Wiki page](https://wiki.postmarketos.org/wiki/Screen_Calibration)
<barni2000[m]> i am testing it from "charging" usb port i should check from real charger
<barni2000[m]> NekoCWD[m]: use the old way, udev
<barni2000[m]> it seems it is charging fine from power bank
<NekoCWD[m]> can we make udev rule device specific?
<barni2000[m]> i think the calibration only needed for the aftermarket display
<barni2000[m]> at dwc3 the charger is used as an extcon
<barni2000[m]> but it is not working
<barni2000[m]> this how i do calibration for daisy
<NekoCWD[m]> barni2000[m]: Thank you 😺❤️
<barni2000[m]> at downstream extcon is the charger
<barni2000[m]> strange extcon is working fine but usb does not use it values correctly
<barni2000[m]> even otg would work
<barni2000[m]> otg is working other direction is not
<barni2000[m]> xiaomi-riva:~$ lsusb
<barni2000[m]> Bus 001 Device 001: ID 1d6b:0002 Linux 6.12.5-msm89x7 ehci_hcd EHCI Host Controller
<barni2000[m]> i can use my mouse with y-cable if id vbus-supply it will work without it
<barni2000[m]> only host mode is working what is an issue
<barni2000[m]> i don't under stand the dummy-extcon driver only do this then why it is not working with the charger... (full message at <https://matrix.org/oftc/media/v1/media/download/AYDrbtzLrTCVAekgUL-5XqTIxqtngD2JEH1XoVrwpiD8c5Zf4BE8IMsNiVIGbId7IAS376Ygww4GMshBGt8p8iNCeUkAYLvQAG1hdHJpeC5vcmcvd2V5TmxFWmNQbk5DcGptaWdXZmFLTGRz>)
<NekoCWD[m]> Fuck. Why only xorg calibrator gives me valid matrix?
<NekoCWD[m]> At least it works
<barni2000[m]> sadly we should use dummy-extcon if we want charger and there will be no otg for a while until someone figuring this out