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
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<robclark>
maybe linux needs some battery related throttling.. but AFAIK that doesn't exist
<robclark>
I've not noticed problems but maybe even a full kernel build is fast enough to not run into problems (or at least I tend to reboot btwn kernel builds to test whatever change prompted the recompile so maybe that gives battery enough time to recover)
<robclark>
the whole gig for the oryon core seems to be ability to scale from low on the power/perf curve to high (ie. whey they don't think they need in-order small cores to hit the lower points on the curve)
<robclark>
so maybe this is more of a linux problem than an x1e problem ;-)
<robclark>
x2e maybe gets more efficient from process shrink/etc, but that probably isn't addressing the root issue that linux cpufreq needs to understand more than just thermal limits
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
tobhe_ has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
tobhe has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
hexdump02 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
mbuhl has quit [Remote host closed the connection]
chrisl has joined #aarch64-laptops
mbuhl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
eluks has quit [Remote host closed the connection]
<deathmist>
robclark: maybe since X2E is apparently going to support dGPU we'll have unholy laptops with NVIDIA GPUs and large power bricks if nothing else.. just need the 100W+ PSU (with passthrough charging please, but unfortunately we're at the mercy of OEMs in the end) and it'd be able to fully unleash the CPU performance too
rmsilva- has joined #aarch64-laptops
alexeymin_ is now known as alexeymin
rmsilva has quit [Ping timeout: 480 seconds]
<icecream95>
DeepGaurav[m]: I know, it is annoying. Especially since the fans run during suspend and suck up battery...
<icecream95>
I did spend some time trying to work out what was happening in Windows, but never managed to get anywhere. The fans still work in safe mode and WinPE, so it's something relatively low-level, and kernel-debugging is annoying compared to userspace (and the EC resets the system if it you pause the kernel for too long)
<icecream95>
The keyboard (which is still handled by the EC...) was easier to work out, since HID is a more standardised protocol.
<travmurav[m]>
icecream95: the ec is 0x5b right?
<icecream95>
travmurav[m]: Both 0x5b and 0x76 seem to respond to commands... oh hey that's funny the keyboard backlight is on again, did it reboot (or just reset the keyboard)?
<travmurav[m]>
icecream95: I'm wondering if this is 0x76
<alexVinarskis[m]>
On Zenbook i suspect EC is on 0x5b. When attempting to dump it, keyboard backlight went on (instead of flashing) and keyboard stop working. So seems to be the one.
<travmurav[m]>
datasheet for that adc says the address is in the 0x70 to 0x7e range depending on the strapping resistor
<travmurav[m]>
which allows it to be 0x76
<travmurav[m]>
there is a chip id register 0xb2 -- 0x1a
<icecream95>
Oh yup, I think it was poking 0x5b that made the EC reset
<travmurav[m]>
reading 0xb2 should give 0x1a that is
<travmurav[m]>
I guess i could just try measuring the mainboard...
<icecream95>
`sudo i2cget -y 2 0x5b 23` causes the EC reset for me
<travmurav[m]>
sad can't seem to measure it in-board but it's hard to probe tiny chip/passives
<alexVinarskis[m]>
reading 0x5b 23 on zenbook also freaks it out.
<travmurav[m]>
meh no I think I was wrong
<travmurav[m]>
the ads on my board is supposed to be 0x7e so I guess it's not connected to the SoC but to something else (i.e. to the ec?)
<alexVinarskis[m]>
hmm on Zenbook that doesn't work. could you share exact command you used? potential use case is the Fn keys, on Zenbook F11 disables/enabled touchpad (for whatever reason)
<DeepGaurav[m]>
alexVinarskis: sure, you can run this in chrome devtools on windows., can do similar thing on Linux with hid-bpf plugin that icecream95 wrote.
<alexVinarskis[m]>
ahhh got it, thanks! i was trying to write to EC on 0x5B :D
<alexVinarskis[m]>
will try adding it into icecream95's solution, already adapting for zenbook.
icecream95 has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
etehtsea has joined #aarch64-laptops
<alexVinarskis[m]>
@_oftc_icecream95: tried your plugin, with minor changes [1] got backlight control working on Asus Zenbook A14! Fn lock, brightness does not work, will need to catch magic numbers under windows like you suggested. Deep Gauravunforunately seems touchpad enable/disable also does not work..
weirdtreething has quit [Ping timeout: 480 seconds]
weirdtreething_ is now known as weirdtreething
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
erebion has quit [Quit: Gateway shutdown]
erebion has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
Caterpillar has quit [Quit: Konversation terminated!]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
gmetal has joined #aarch64-laptops
gmetal has quit []
Mary has quit [Quit: .]
Mary has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<erebion>
Recently had trouble with backspace not working on the X13s. Is that a known issue? I'm not wure
<erebion>
sure whether that is ckrnerle - uhm - kernel or nt arggggggg not
<erebion>
Sorry
<erebion>
Cannot fix the typos rifght now
chrisl has joined #aarch64-laptops
<erebion>
And now it randomly it works again
chrisl has quit [Ping timeout: 480 seconds]
<erebion>
And in a couple minutes I know I'll have issues again 🤔
<JensGlathe[m]>
too strong a psu?
<erebion>
Why would a strong PSU cause issues with the backspace key?
<erebion>
A lot of current draw leading to the key having no effect..?
<JensGlathe[m]>
No idea why, I've seen reports here that not using 65W might give issues
<gwolf>
JensGlathe[m]: that would be beyond odd IMO.
<albsen[m]>
Jens Glathe: so far your build 6.15.0-rc2-jg-0-qcom-x1 is working for me (after I switch to the oled dtb) currently even wifi 5g is working which was previously broken. nice. I only get one clear firmware error msg: qcom-apm gprsvc:service:2:1: tplg firmware loading qcom/x1e80100/X1E80100-LENOVO-Thinkpad-T14s-tplg.bin failed -2 which makes sense since its not there. could be that it was removed on purpose to not blow out the speakers
<albsen[m]>
by accident if I recall the conversation here.
<albsen[m]>
forgot to mention t14s-64gb-oled :)
<JensGlathe[m]>
sound on T14s is actually working, I hear
<albsen[m]>
I guess in that case your deb's are missing the firmware ;)
<JensGlathe[m]>
it is. There is no firmware (I know of) in my debs
alpernebbi has quit [Ping timeout: 480 seconds]
<erebion>
JensGlathe: I use a 120 W PSU, there should be no issue with low wattage. Also, it happens regardless whether I'm on battery or not
<steev>
erebion: not with the backspace key here, i have it with the ' and up arrow though
<erebion>
Btw, ctrl + logo + right arrow has never worked for me
<erebion>
Need that a lot for my window manager, only work with an external keyboard
<albsen[m]>
where do I get qcom/x1e80100/X1E80100-LENOVO-Thinkpad-T14s-tplg.bin from?
<JensGlathe[m]>
steev: no idea, but I don't have a T14s. I did my tests with the repo, and it works 🤷♂️
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<albsen[m]>
Jens Glathe: it wasn't installed on my machine oddly. anyway, copying it over from the repo worked. no sound yet, but I'll play with the instructions in the wiki and see. thx - also in other news I had another crash/freeze. so, unfortunately, not yet ready for use. :/ and that without any trace in journal
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<steev>
albsen[m]: that should probably be a symlink to the qcom/x1e80100/LENOVO/21N1/X1E80100-LENOVO-Thinkpad... file
<steev>
we have a symlink on sc8280xp to a similar file on the x13s, likely to not break older dts?
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
erebion has left #aarch64-laptops [#aarch64-laptops]