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
<barni2000[m]> riva, rolex also have audio
<ValPackett[m]> hm the speaker amp is wsa881x on this so we need the soundwire thing
<ValPackett[m]> * soundwire thing (edit: or not soundwire on this generation)
<ValPackett[m]> ayy spmi-haptics (from 8996 tree) works
<barni2000[m]> Better to use it from 8953 tree because erm is supported there
<barni2000[m]> 8996 and sdm845 variant only supports lra
<ValPackett[m]> ooh you've already done that of course :D and here i was thinking i was trying something new lol
<ValPackett[m]> i'm sure glad i decided to test the headphone jack WITHOUT putting the headphones on.. oof that was LOUD
<barni2000[m]> Set the volume lower in the ucm config
<barni2000[m]> Volumes are adjustable per device
<ValPackett[m]> mm what is the deal with speakers on the motos? i'm actually only hearing the earpiece when speakers are selected.. is there a missing amplifier?
<barni2000[m]> Motos only have 1 speaker for 2 amps
<barni2000[m]> With speaker amp it will be louder
<barni2000[m]> coded=amp
<barni2000[m]> * coded=amp in this case
<barni2000[m]> * codec=amp in this case
<barni2000[m]> There is 2 codec lines and both connected to same speaker
<ValPackett[m]> this phone literally does not have a normal speaker that's not the earpiece? oop i should've tested audio on android. lmaoo
<barni2000[m]> s/is/are/
<barni2000[m]> It is only have 1 speaker what is equal with earpiece
<barni2000[m]> I mean hw speaker
<ValPackett[m]> amazing. i'm way too used to higher end phones lol
<barni2000[m]> Btw I does not even understand why vendors are messing with additional amps for msm89x7 devices because pm8937 codec powerful enough phones are not JBL flip, never will be good for listening music without 🎧
<ValPackett[m]> the htc one m7 back in the day with its stereo speakers was so good..
<barni2000[m]> Still not good enough
<ValPackett[m]> yeah i think this pm8397 amp must be able to drive high impedance audio nerd headphones or something because it made my sony xm5's as loud as literal speakers
<ValPackett[m]> louder than my thinkpad speakers' max volume for sure
<barni2000[m]> They increased the production cost uselessly
<ValPackett[m]> where do i look for to fix headphone jack insert detection? how do the wcd_codec properties correspond to downstream again?
<barni2000[m]> msm8952.c
<barni2000[m]> But jack detection is buggy
<barni2000[m]> Something was changed between 6.5 and 6.6
<barni2000[m]> And I think in the API because I have reverted the wcd changes on 6.6 and it was not fixed the jack detection
<ValPackett[m]> hmm well if it's not device specific i guess there isn't much to fix in the dts
<ValPackett[m]> anyway i have submitted the panels as https://github.com/msm89x7-mainline/linux-panel-drivers/pull/5
<ValPackett[m]> this panel sometimes gets a bit flickery though (or wait is that wled backlight's fault?) and doesn't want to power off..
Danct12 has quit [Quit: ZNC 1.9.1 - https://znc.in]
Danct12 has joined #msm8937-mainline
asriel has quit [Ping timeout: 480 seconds]
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #msm8937-mainline
<barni2000[m]> Backlight is not powering or the panel did your removed this? `ctx->panel.prepare_prev_first = true;`
<barni2000[m]> This flag only needed trees what have not picked vldly's dsi changes
<ValPackett[m]> no, it's always powering on, it's mostly fine
<ValPackett[m]> the panel doesn't power off to save power, with like 4 lines in the log
<barni2000[m]> <barni2000[m]> "Backlight is not powering or the..." <- Remove this in the panel driver
<NekoCWD[m]> I bought it, the seller told me it has 8937 inside. I think external gpios is a good feature for a phone :D
<NekoCWD[m]> There are big chances that it has no secure boot
<semf[m]> NekoCWD[m]: ~~finally we can have kvm on 89x7~~
<NekoCWD[m]> <NekoCWD[m]> "image.png" <- 8937 with type-c and nfc
<Danct12[m]> <semf[m]> "~~finally we can have kvm on 89x..." <- i have sm6115 without secure boot
<Danct12[m]> still trying to get kvm working on that
<Danct12[m]> i also have sdm835 too, without secure boot as well
<Danct12[m]> both devices looks exactly the same from the outside
<ValPackett[m]> loooks like `qcom,switching-freq = <800>;` resolved the sometimes somewhat flickery backlight on nora
<ValPackett[m]> <barni2000[m]> "Remove this in the panel driver" <- aand yea that helped thanks
<ValPackett[m]> looks like i might've fried the vibration motor or something?? when i switched it to ERM it was like really good feeling but it eventually got weaker and weaker and now isn't really doing anything at all 0.o
<barni2000[m]> you should check the correct params for it
<barni2000[m]> do you changed the driver from msm8953 tree?
<barni2000[m]> s/do/did/, s/changed/change/
<ValPackett[m]> <barni2000[m]> "you should check the correct..." <- rate, actuator, wave match downstream
<barni2000[m]> does downstream uses erm
<barni2000[m]> s/uses/use/
<ValPackett[m]> yep
<ValPackett[m]> oop the wip driver doesn't support customizing vmax
<barni2000[m]> msm8953 variant is supporting
<ValPackett[m]> oopsss i thought applying "input: misc: qcom-spmi-haptics: add support for ERM haptics" was the only difference in the msm8953 tree
<NekoCWD[m]> Lol, we can burn vibrators via wrong values in dt?
<barni2000[m]> why not?
<barni2000[m]> you can burn your phone with wrong values in dt
<NekoCWD[m]> Ah, hmmm... I think pmic mainlining is kinda dangerous
<barni2000[m]> Mainline the device (like what postmarketOS guys did) WARNING: There's always a risk of getting the magic smoke out of the device (by set the regulator settings wrong, we already have a case of fried device with the xiaomi-tissot), so this isn't going to happen anytime soon (if you're someone with a brave SOUL and determination, feel free to help out!)
<barni2000[m]> * "
<barni2000[m]> Mainline the device (like what postmarketOS guys did) WARNING: There's always a risk of getting the magic smoke out of the device (by set the regulator settings wrong, we already have a case of fried device with the xiaomi-tissot), so this isn't going to happen anytime soon (if you're someone with a brave SOUL and determination, feel free to help out!)
<barni2000[m]> "
<barni2000[m]> ig now we cannot do big mistakes because regulators are limited to a voltage range but couple of hardware parts could be broken like my oxygen's display :(
<NekoCWD[m]> barni2000[m]: Hope that my agassi panel driver doesn't permanently corrupting my panel πŸ˜ΊπŸ™
<barni2000[m]> you already have aftermarket display
<barni2000[m]> in that case not an issue but if i can save orignal panel i would save it
<barni2000[m]> aftermarket panels are meh, sometimes
<NekoCWD[m]> That wasn't my case. Original panel was really broken, it has no video output, only touch
<barni2000[m]> in that case i am also replacing the panels but aftermarket displays are never like original
<barni2000[m]> they are always missing something
<barni2000[m]> quality
<NekoCWD[m]> barni2000[m]: It's true I returned 3 screens for poco f1 because it registers touches while it is not touched
<M0xCAFEBABE[m]> <barni2000[m]> "ig now we cannot do big mistakes..." <- it's broke again? hope it's fine...
<barni2000[m]> just partially broken on white colors i have couple of stripes what are fading slowly on color switch
<barni2000[m]> it was much worse at the beggining
<M0xCAFEBABE[m]> * it broke harder? hope it's fine...
<barni2000[m]> i think i have corrupted the registers a bit and restore them partiaily or idk
<barni2000[m]> why? 😿 `qcom-apq8016-sbc c051000.sound-card: ASoC: driver name too long 'motorola-montana' -> 'motorola-montan'`
<M0xCAFEBABE[m]> moto-montana
<barni2000[m]> ig
<NekoCWD[m]> <NekoCWD[m]> "image.png" <- Found review and it's fused and pads on the bottom is a decorative pads
<ValPackett[m]> ooh i think the motor has kinda resurrected a bit, just started typing a toot and it started giving feedback, not super strong but more than nothing. better update the kernel to have the fixed voltage now heh