ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Chrome OS Trogdor Devices - Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630 - Lenovo ThinkPad X13s - and various other snapdragon laptops) - https://oftc.irclog.whitequark.org/aarch64-laptops
mcbridematt has quit [Quit: Leaving]
mcbridematt has joined #aarch64-laptops
tobhe_ has joined #aarch64-laptops
tobhe has quit [Ping timeout: 480 seconds]
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
alfredo has joined #aarch64-laptops
<gwolf> steev: As usual, you got it right ☺ Just rebuilt tqftpserv omitting the patch, and it works correctly. And, of course, my battery reporting is fine again. Yay! 😃
<gwolf> So I can finally use my laptop with a 100% upstream kernel! (as long, of course, as I don't expect working audio or external HDMI... but well, modified 5.19 and a USB audio dongle are still there for my eventual needs)
<steev> gwolf: mind filing a bug about it? :D
<gwolf> did so already :-)
<steev> oh nice
alfredo has quit [Quit: alfredo]
<steev> thanks :) chimed in as well
mcbridematt has quit [Quit: Leaving]
chrisl has quit [Remote host closed the connection]
chrisl has joined #aarch64-laptops
<sibis> anonymix007[m]: yeah I was told like it would operate like any other external devices that qualcomm sells
macc24 has joined #aarch64-laptops
<sibis> anonymix007[m]: i.e. the debug features are disabled, so in a sense it is a secure device
sskras has quit [Read error: Connection timed out]
<macc24> kuruczgy: there might be an EC somewhere that has to have the lid switch stuff enabled first :/
<anonymix007[m]> sibis: Thanks! Well, that's unfortunate.
sskras has joined #aarch64-laptops
martiert_work has joined #aarch64-laptops
<macc24> wait
<macc24> is lenovo forcing high performance on cinebench?
<macc24> i was looking through oem142.inf
<macc24> and found /that/
<HdkR> Better than phone manufacturers pushing clocks higher than advertised clocks only in benchmarks
<HdkR> At least this is likely to give numbers that are consistent :P
<HdkR> Only so much performance can be pulled out of these Oryon cores when they are limited to 3.4Ghz
<macc24> arm overclocking >:3
<HdkR> Would be cool, but not common in ARM space
srinik has joined #aarch64-laptops
buggy123[m] has joined #aarch64-laptops
SpieringsAE has joined #aarch64-laptops
Simonsilie[m] has joined #aarch64-laptops
srinik has quit [Ping timeout: 480 seconds]
srinik has joined #aarch64-laptops
<macc24> how do acpi interrupts even work? why do i see GpioInt referencing gpios that don't even exist??
<JensGlathe[m]> I'm not the only one with this question
<Jasper[m]> <macc24> "how do acpi interrupts even work..." <- They are mapped in the windows driver
<Jasper[m]> pre xelite they can be calculated back, on xelite you need to do some different magic that Konrad wrote a script for
<macc24> do you have a link to that script?/
<macc24> thanks
alfredo has joined #aarch64-laptops
<lumag> steev, gwolf thanks for tracking the tqftpserv story!
alfredo1 has joined #aarch64-laptops
<konradybcio> kuruczgy: do you have `pinctrl: qcom: x1e80100: Bypass PDC wakeup parent for now`?
<konradybcio> Jasper: macc24 fwiw this script is for building wakeup gpio maps in the pinctrl driver
<Jasper[m]> Ah yeah
alfredo has quit [Ping timeout: 480 seconds]
alfredo1 is now known as alfredo
<macc24> konradybcio: :|
<macc24> konradybcio: i have that commit and the power button doesn't work
<konradybcio> yoga?
<konradybcio> does it work without the commit?
<macc24> yes, yoga
<macc24> and lemme check
<macc24> wait s/power button/lid switch/
<macc24> konradybcio: without 'pinctrl: qcom: x1e80100: Bypass PDC wakeup parent for now' i see no difference in either /sys/kernel/debug/gpio output when comparing open/closed configurations and evtest doesn't see any events from the gpio-keys device :/
<konradybcio> did you configure the gpio properly with a pinctrl-0/pinctrl-names entry?
<macc24> i think so, this is the diff https://bpa.st/7LN2C
<konradybcio> ok you didn't configure it as output, that's good
<macc24> it's mostly stolen from x13s dts file, with gpio number changed to reflect what i saw in dsdt
<konradybcio> and the dsdt suggests no pull-up is disabled as well
<konradybcio> so.. it may be that there's some wild regulator required, or as someone mentioned, ec interaction..
<konradybcio> yeah, look up Debug = "RCVD EC INT" in your dsdt, there's a "ping lid0 object" line near it
<konradybcio> or hm no, that's unrelated
<macc24> there's also some code that talks to ec and in there i see a Debug = "EC enable/disable sent", can that be related?
<konradybcio> i wouldn't rule that out
alfredo1 has joined #aarch64-laptops
hexa- has joined #aarch64-laptops
alfredo1 has quit []
alfredo has quit [Ping timeout: 480 seconds]
srinik has quit [Remote host closed the connection]
srinik has joined #aarch64-laptops
SpieringsAE has quit [Remote host closed the connection]
srinik has quit [Ping timeout: 480 seconds]
alfredo has joined #aarch64-laptops
craftyguy has quit [Remote host closed the connection]
craftyguy has joined #aarch64-laptops
craftyguy has quit [Remote host closed the connection]
craftyguy has joined #aarch64-laptops
craftyguy has quit [Remote host closed the connection]
craftyguy has joined #aarch64-laptops
<macc24> riiiight, the ec has an interrupt pin "0x0140" in acpi, which would be 320 and i don't see any mention of that gpio :/
srinik has joined #aarch64-laptops
<macc24> ^ in yoga slim 7x
paddymahoney has quit [Ping timeout: 480 seconds]
<travmurav[m]> sounds like it's not at all gpio 320
<travmurav[m]> macc24: gpio66 I believe
<macc24> how did you-
paddymahoney has joined #aarch64-laptops
<travmurav[m]> just need to translate the value 5 times through a bunch of lookup tables scattered across the world
<travmurav[m]> virtual gpio number -> raw interrupt number -> GIC SPI interrupt number -> PDC line number -> TLMM gpio number
<macc24> o_o thanks
srinik has quit [Remote host closed the connection]
alfredo1 has joined #aarch64-laptops
alfredo has quit [Remote host closed the connection]
alfredo1 is now known as alfredo
alfredo has quit [Ping timeout: 480 seconds]
chrisl has quit [Remote host closed the connection]
chrisl has joined #aarch64-laptops
<macc24> konradybcio: it probably wasn't it
alfredo has joined #aarch64-laptops
<macc24> talked to ec the 'enable stuff' stuff and it didn't make any differernce :/
<abelvesa> somebody asked me not long ago about the USB MP on t14s. I don't remember who it was exactly, but if you are still around, checkout this branch:
<JensGlathe[m]> I guess that was me, thanks
<abelvesa> and if you see the following error by any chance, ignore it as it is unrelated to MP (it's the USB2 controller):
<abelvesa> [ 182.205989] usb usb5-port1: couldn't allocate usb_device
<JensGlathe[m]> Is it this EUSB2 odd thing I don't understand
<abelvesa> I enabled the usb_2 and it's phy as I thought there would be some device on it, but it doesn't work properly yet
<abelvesa> no, the eUSB2 is basically just the controller and PHY working at 1.2V and then needing a level shifter to interface with the connector
<abelvesa> that's where the repeater (smb2360) or the redriver (ptn2333) come into place
<abelvesa> starting with SM8550, eUSB2 is the only option, therefore the repeaters/redrivers are needed
alfredo has quit [Read error: Connection reset by peer]
<tobhe_> abelvesa: thx! will check it out
tobhe_ is now known as tobhe
<tobhe> abelvesa: not sure if you had seen that, I had to revert the external DP dtb commits to get the 120hz OLED working with the last branch
<abelvesa> depending on your x1e device, it might have 3 or 4 smb2360 repeaters and then 2 or 3 ptn3222 redrivers
<abelvesa> tobhe: hm, would be interesting to find out why that is
<anonymix007[m]> abelvesa: should picking 1fbd18e7..7262a908 to jhovold's 6.11 branch be enough?
<abelvesa> anonymix007[m]: I think so
<JensGlathe[m]> In my case it was mdss_dp2 being activated but not physically wired up (?) The HP X14 has 2 type-c ports and 1 type-a (on the usb3-mp controller). Removing mdss_dp2 from the dts fixed the USB4 retimer issue (as in having no display at all). It now boots up with display again. Need to test dp altmode, but didn't have the time yet.
<tobhe> abelvesa: I will try to do a little more research, just thought I'd bring it up :)
<abelvesa> tobhe: might be. Once I have that usb_2 working properly we should be able to detect it.
macc24 has quit [Quit: WeeChat 4.4.2]
cyrinux has quit []
cyrinux has joined #aarch64-laptops
<MrCatfood[m]> i changed the dtb enabled gpu, and added zap shader to /lib/firmware/qcom/gen70500_zap.mbn but i getting this error: https://pastebin.com/ikjLUia9
<MrCatfood[m]> I'm not sure if i missed some step
<JensGlathe[m]> does the zap firmware match your device? Usually it is signed by device, and should be obtained from Windows. On windows the name is usually qcdxkmsuc8380.mbn.
<MrCatfood[m]> ah thats what i missed
<MrCatfood[m]> i have one in sys32 and one in driverstore, does it matter which one?
<JensGlathe[m]> driverstore
<kuruczgy[m]> konradybcio: Yes, `pinctrl: qcom: x1e80100: Bypass PDC wakeup parent for now` has beeen merged by Linus in 6.11-rc7
<kuruczgy> macc24: What do you mean by "talked to ec the 'enable stuff' stuff"? Is there a driver that can be used to talk to the EC?
<robclark> jfwiw you probably want to have mesa 24.2.x or ToT.. and then you can drop the hack kernel patch to hard-code the gpu-id as a740
todi_away has joined #aarch64-laptops
todi has quit [Ping timeout: 480 seconds]
<steev> does anyone else have a weird issue where the keyboard stops up arrowing randomly?
<steev> specifically the up arrow though
svarbanov has joined #aarch64-laptops
svarbanov__ has quit [Read error: No route to host]
svarbanov_ has joined #aarch64-laptops
svarbanov has quit [Ping timeout: 480 seconds]