ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630)
<AlexMarty[m]> that would be good
<steev> indeed
<steev> i wanna see just how far off i was
<steev> bamse: speaking of wifi... have we heard anything from kalle? i know there's a bug https://bugzilla.kernel.org/show_bug.cgi?id=216036 but seems like absolutely no traction on it at all
<bamse> steev: he's been on vacation, i did ping him yesterday...
<steev> ahhh
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
<steev> qzed: you drop the ucsi glink stuff for 5.19?
<steev> oh, nevermind, you apply them earlier :)
<steev> wait no, i'm an idiot, i was looking at mine
<qzed> I think I didn't see any difference with those on the SPX (I don't think that uses glink)
<steev> yeah, i'm trying to merge all 3 of the lenovo devices into one, and wanted to make sure i'm using the latest of the stuff you have, and was just noticing you didn't have it :)
<qzed> AFAICT the UCSI stuff is quite a bit different on the SPX because charging goes through the EC and not the Qualcomm firmware stuff, so the UCSI events are provided by the EC
<steev> makes sense
<steev> hm
<steev> somehow i broked it
<steev> [ 33.546253] panel-simple-dp-aux aux-aea0000.displayport-controller: Couldn't identify panel via EDID
<steev> no deferred devices, so i must have screwed up a patch
<steev> hm
<steev> okay i fully expect this to break, but if it doesn't, great
<steev> also, the rcu stalls have to be a config option i have, because i saw them on the thinkpad too when i moved to the "distro_defconfig"
suihkulo1ki is now known as suihkulokki
jhovold has quit [Quit: WeeChat 3.4.1]
FizzBuzz has joined #aarch64-laptops
leezu has joined #aarch64-laptops
<leezu> It turns out that the screen flipping issue on lazor is due to flipped readings from iio-sensor-proxy / sensor mounted in "non-standard" way. According to iio-sensor-proxy this can be fixed by setting ACCEL_MOUNT_MATRIX udev property or, for device tree based devices via the mount-matrix property. But for the aarch64 qcom devices, I only see a few msm8916 devices use
<leezu> mount-matrix in dts. Is that something that should be adopted for the lazor dts? https://www.kernel.org/doc/Documentation/devicetree/bindings/iio/mount-matrix.txt
<amstan> leezu: macc24_ was looking at this a while ago
<amstan> the tldr is that every chromebook should have that matrix the same way, it's not just a lazor problem
<amstan> someone should stop adding those one by one for every chromebook and just match all of them in one rule
<leezu> Would one rule work for all? I see that Lazor has two sensors, iio:device1 and iio:device2. I'm not yet sure which one (or both) are used for determining the rotation and if both are equally flipped. Do you know that?
<amstan> there should be a way to tell which one's the lid and which is the base
<amstan> you could tell by moving the lid and seeing which one moves more
<amstan> but i'm sure there's metadata for it too
<amstan> one rule should work for all, as that's our standard for whatever chromeos userspace uses too
<amstan> i suspect nocturne (the only one different) in that list is wrong
<amstan> there was a w3c page about this too, cannot find it right now
<amstan> those should match the lid accelerometers, forgot how the base ones worked
<amstan> maybe they match the lid if the laptop is wide open at 180deg
<leezu> So you suggest something like: sensor:modalias:platform:cros-ec-accel:dmi:*:*:*
<leezu> ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, -1
<leezu> I tried adding that rule to /etc/udev/hwdb.d/61-sensor-local.hwdb and rebooted. The sensor is still inverted
<leezu> (Probably the syntax is wrong)
<leezu> Ok, so looking at in_accel_z_raw, the device1 sensor is the one in the lid and the device3 the one in the base
<macc24_> amstan: i've been procrastinating looking at that
<macc24_> got a tiny bit sidetracked and now i'm making custom builds of steamos 3
<leezu> macc24_: Do you know why above cros-ec-accel rule does not work?
<macc24_> leezu: do you have dmi ids on your arm chromebook
<leezu> No, how can I find them? It seems CONFIG_DMIID is not for aarch64
<macc24_> then why did you put `:dmi:*:*:*`
<macc24_> it'll match any device's dmi strings
<amstan> Yeah, this is x86 syntax leaking in. I wouldn't be surprised if a bunch of users place in this area just assumes it
<leezu> I also tried: sensor:modalias:platform:cros-ec-accel
<leezu> ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, -1
<macc24_> leezu: just put https://github.com/Maccraft123/Cadmium/blob/master/board/krane/accel-matrix.hwdb into /etc/udev/hwdb.d and run udevadm hwdb -u
<macc24_> and reboot
<macc24_> or udevadm trigger and restart iio-sensor-proxy
<leezu> That matches. But now my default state is left-up :D
<macc24_> oh yeah just make it -1, 0, 0; 0, -1, 0; 0, 0, -1
<leezu> Yes, that works
<leezu> Thank you
* macc24_ proceeds to disappear for another couple days
<leezu> amstan: So sensor:modalias:platform:* matches but sensor:modalias:platform:cros-ec-accel doesn't despite the sensor's modalias is platform:cros-ec-accel. That sounds like a bug, but do you have a guess where?
<amstan> nope, sorry
<amstan> sboyd might know, he touched some related area to that for fingerprint recently
<harvestz[m]> Is Peter Robinson in here? Looks like they got the x13s to support it for Fedora!
Erisa46 has joined #aarch64-laptops
<steev> doesn't look like it in the irc list, iirc he goes by pbrobinson
HdkR_ has joined #aarch64-laptops
HdkR has quit [reticulum.oftc.net kinetic.oftc.net]
xnox has quit [reticulum.oftc.net kinetic.oftc.net]
davidebeatrici[m] has quit [reticulum.oftc.net kinetic.oftc.net]
alexeymin has quit [reticulum.oftc.net kinetic.oftc.net]
neobrain has quit [reticulum.oftc.net kinetic.oftc.net]
Lucy[m] has quit [reticulum.oftc.net kinetic.oftc.net]
shoragan has quit [reticulum.oftc.net kinetic.oftc.net]
steevdave[m] has quit [charon.oftc.net helix.oftc.net]
janrinze has quit [charon.oftc.net helix.oftc.net]
minecrell has quit [charon.oftc.net helix.oftc.net]
Erisa4 has quit [charon.oftc.net helix.oftc.net]
kbingham has quit [charon.oftc.net helix.oftc.net]
cmeerw[m] has quit [charon.oftc.net helix.oftc.net]
danielt has quit [charon.oftc.net helix.oftc.net]
clover[m] has quit [charon.oftc.net helix.oftc.net]
harvestz[m] has quit [charon.oftc.net helix.oftc.net]
suihkulokki has quit [charon.oftc.net helix.oftc.net]
calebccff_ has quit [charon.oftc.net helix.oftc.net]
maz has quit [charon.oftc.net helix.oftc.net]
amstan has quit [charon.oftc.net helix.oftc.net]
krzk has quit [charon.oftc.net helix.oftc.net]
Sobek[m] has quit [charon.oftc.net helix.oftc.net]
psydroid[m] has quit [Max SendQ exceeded]
Penguinpee has quit [Remote host closed the connection]
Erisa46 is now known as Erisa4
xnox has joined #aarch64-laptops
jonasbits has quit [Read error: Connection reset by peer]
jonasbits has joined #aarch64-laptops