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)
leezu has quit []
leezu has joined #aarch64-laptops
<leezu> One hypothesis is that the hardware does not properly support mem_sleep=deep and Linux should default to mem_sleep=s2idle on this platform (which works). Can the mem_sleep default be specified via device tree files? Or how are platform specific defaults implemented?
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
<steev> leezu: i don't believe it can be specified in dts files, but that's just a matter of editing the /etc/systemd/system/sleep.conf (or somewhere thereabouts) file typically
<steev> wait, maybe
<steev> ah, nope, i was misreading my grep of the dts files :(
<steev> i haven't actually looked into the pm_test stuff
iivanov has joined #aarch64-laptops
<steev> bamse: looks like i'm re-installing on the flex 5g.... grub update screwed up somehow and now i can't even load grub modules
iivanov__ has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
alexeymin has quit [Ping timeout: 480 seconds]
alexeymin has joined #aarch64-laptops
matthias_bgg has quit []
matthias_bgg has joined #aarch64-laptops
djakov has quit [Remote host closed the connection]
djakov has joined #aarch64-laptops
Evaia63 has quit []
<leezu> steev: systemd doesn't support configuring mem_sleep https://github.com/systemd/systemd/issues/13451 but systemd.tmpfiles can be used to write s2idle to /sys/power/mem_sleep upon every boot. In the coming days I'll take a look at what ChromeOS does on this platform. If they also use s2idle, it would be great to somehow make that the platform default..
Evaia63 has joined #aarch64-laptops
srinik has quit [coherence.oftc.net synthon.oftc.net]
broonie has quit [coherence.oftc.net synthon.oftc.net]
rfs613 has quit [coherence.oftc.net synthon.oftc.net]
leezu has quit [coherence.oftc.net synthon.oftc.net]
samueldr has quit [coherence.oftc.net synthon.oftc.net]
Lucanis has quit [coherence.oftc.net synthon.oftc.net]
shawnguo has quit [coherence.oftc.net synthon.oftc.net]
vkoul has quit [coherence.oftc.net synthon.oftc.net]
CosmicPenguin has quit [coherence.oftc.net synthon.oftc.net]
jhugo_ has quit [coherence.oftc.net synthon.oftc.net]
ndec has quit [coherence.oftc.net synthon.oftc.net]
exit70 has quit [coherence.oftc.net synthon.oftc.net]
falk689 has quit [coherence.oftc.net synthon.oftc.net]
Evaia63 has quit [coherence.oftc.net synthon.oftc.net]
systwi_ has quit [coherence.oftc.net synthon.oftc.net]
gwolf has quit [coherence.oftc.net synthon.oftc.net]
jbowen has quit [coherence.oftc.net synthon.oftc.net]
tomf_ has quit [coherence.oftc.net synthon.oftc.net]
bamse has quit [coherence.oftc.net synthon.oftc.net]
steev has quit [coherence.oftc.net synthon.oftc.net]
arnd_ has quit [coherence.oftc.net synthon.oftc.net]
pundir has quit [coherence.oftc.net synthon.oftc.net]
_alice has quit [coherence.oftc.net synthon.oftc.net]
robher has quit [coherence.oftc.net synthon.oftc.net]
dianders has quit [coherence.oftc.net synthon.oftc.net]
robclark has quit [coherence.oftc.net synthon.oftc.net]
abelvesa has quit [coherence.oftc.net synthon.oftc.net]
qzed has quit [coherence.oftc.net synthon.oftc.net]
travmurav[m] has quit [coherence.oftc.net synthon.oftc.net]
matthias_bgg has quit [coherence.oftc.net synthon.oftc.net]
minecrell has quit [coherence.oftc.net synthon.oftc.net]
alpernebbi has quit [coherence.oftc.net synthon.oftc.net]
Erisa4 has quit [coherence.oftc.net synthon.oftc.net]
calebccff has quit [coherence.oftc.net synthon.oftc.net]
macc24 has quit [coherence.oftc.net synthon.oftc.net]
cmeerw[m] has quit [coherence.oftc.net synthon.oftc.net]
psydroid[m] has quit [coherence.oftc.net synthon.oftc.net]
danielt has quit [coherence.oftc.net synthon.oftc.net]
HdkR has quit [coherence.oftc.net synthon.oftc.net]
suihkulokki has quit [coherence.oftc.net synthon.oftc.net]
tomeu has quit [coherence.oftc.net synthon.oftc.net]
xnox has quit [coherence.oftc.net synthon.oftc.net]
maz has quit [coherence.oftc.net synthon.oftc.net]
alexeymin has quit [coherence.oftc.net synthon.oftc.net]
iivanov__ has quit [coherence.oftc.net synthon.oftc.net]
hexdump0815 has quit [coherence.oftc.net synthon.oftc.net]
kbingham has quit [coherence.oftc.net synthon.oftc.net]
tinybronca[m] has quit [coherence.oftc.net synthon.oftc.net]
jelly has quit [coherence.oftc.net synthon.oftc.net]
shoragan has quit [coherence.oftc.net synthon.oftc.net]
Dylanger has quit [coherence.oftc.net synthon.oftc.net]
arisu has quit [coherence.oftc.net synthon.oftc.net]
jenneron[m] has quit [coherence.oftc.net synthon.oftc.net]
agraf has quit [coherence.oftc.net synthon.oftc.net]
djakov has quit [coherence.oftc.net synthon.oftc.net]
ajhalaney[m] has quit [coherence.oftc.net synthon.oftc.net]
ungeskriptet[m] has quit [coherence.oftc.net synthon.oftc.net]
javierm has quit [coherence.oftc.net synthon.oftc.net]
jonasbits has quit [coherence.oftc.net synthon.oftc.net]
djakov has joined #aarch64-laptops
arnd_ has joined #aarch64-laptops
derzahl has joined #aarch64-laptops
derzahl has quit [Remote host closed the connection]
derzahl has joined #aarch64-laptops
vsp has joined #aarch64-laptops
falk689 has joined #aarch64-laptops
<steev> iirc, cros uses upstart, not systemd
vsp_ has joined #aarch64-laptops
vsp has quit [Ping timeout: 480 seconds]
vsp has joined #aarch64-laptops
vsp has quit [Remote host closed the connection]
vsp_ has quit []
<steev> leezu: fwiw, my c630 already has s2idle in /sys/power/mem_sleep here
<macc24> is it possible to brick a sdm845 machine if i accidentally wipe its emmc?
<leezu> steev: I've installed Debian on the device https://github.com/hexdump0815/imagebuilder/issues/47 For your c630, is it with cros or custom linux? I wonder if the s2idle default on c630 is from the kernel or set by userspace
<steev> it's linux (debian based) installed via https://github.com/aarch64-laptops/debian-cdimage (i think is the repo with the releases)
<steev> according to the kernel documentation, s2idle is always present, shallow and deep only show up if supported
<leezu> So the sc7180-trogdor-lazor-r3 may incorrectly claim deep sleep support, or there's a bug in recent (?) kernels that broke the deep sleep support? I'll take a look what uses when running on sc7180-trogdor-lazor-r3
<leezu> macc24: is it a chromebook?
<leezu> * I'll take a look what CrOS uses when running on sc7180-trogdor-lazor-r3
<steev> leezu: let me rebuild 5.15 for its latest and double check there, i only have 5.18 and 5.19 rc2 installed currently
<steev> bamse: also, the ETA of my x13s is Tuesday, 21/6 so.... get those patches sent ;)
<robclark> leezu: sc7180-trogdor-* are chromebooks.. AFAIU we just use s2idle but that is something sboyd (who doesn't seem to be in this channel) or dianders know more about
<steev> sboyd is in linux-msm (i just pinged him a little bit ago with a question)
<macc24> leezu: nope
<macc24> it's a handheld gaming console running android
<steev> the answer to that is, maybe, but unlikely
<steev> leezu: 5.15 also shows only s2idle on the c630
<leezu> steev: Both 5.15 and 5.18 show deep and default to deep on sc7180-trogdor-*. "AFAIU we just use s2idle" Do you mean aarch64-laptops sets s2idle in userspace for all chromebooks?
<steev> leezu: no, afaik, the aarch64-laptops project doesn't do any configuration of sleep modes in the packages
<steev> also the name is kinda a misgnomer-ish, it was more about running linux on WoA devices, which just happened to be aarch64 laptops
klardotsh has joined #aarch64-laptops
falk689 has quit [Remote host closed the connection]
falk689 has joined #aarch64-laptops
klardotsh has quit [Ping timeout: 480 seconds]
klardotsh has joined #aarch64-laptops
<steev> bamse: so, turns out, the way you get the recovery media is that you have to go to the lenovo site ON the flex 5g... luckily, i'm still able to boot windows by selecting it from the uefi menu, so i'm downloading it now (they also don't let you download it to removable media because.... reasons? - not even sure what that's about considering you can just copy the files across once they're downloaded...) but sheesh
<qzed> steev: is that some Gualcomm-related shenanigans? for pretty much any Surface device you can go to the MS website and download a full driver pack (usually fairly recent drivers)... only for the Pro X you have to enter the serial number and you only get a recovery image with older drivers, not a pack with the latest drivers
<steev> qzed: i think it's lenovo specific - it's also an image of windows (Win10Prox64ARM for 82AK) with the lenovo drivers added
<steev> the problem i was having was, the latest w11 update broke grub, then grub updated and broke it further
<qzed> ouch
<steev> it used to be i could "set prefix=(hd5,gpt5)/boot/grub; insmod normal; normal" and then boot just fine, but now the insmod fails because of missing symbols
<qzed> sounds fun
<steev> so, i think the first thing i'll do when the x13s arrives is... download the recovery media
<steev> i was definitely lucky that i left windows around "just in case"
<qzed> heh yeah, that sounds like a good idea
<steev> because you can't download the recovery media on another pc, apparently
<qzed> kinda sounds like no one at lenovo ever though of "what is a recovery media supposed to do"
<qzed> you could probably spoof that somehow? but yeah... not sure what they're thinking
<steev> actually, now that i've gotten the recovery media "ordered" it does show up on this computer if i run their recovery software
<hexdump0815> macc24: didn't you have deep sleep somehow working on your lazor at some point?
<hexdump0815> leezu: i right now have no access to a trogdor device and thus cannot check
<steev> qzed: i wonder if it's foxconn? i'm doing the restore now, and one of the "minimized" windows is the arm driver install script, and the "author" is listed as Foxconn
<steev> maybe because foxconn did all the actual work, they don't know how to do it "properly"
<qzed> maybe, not sure if MS relies on them though... haven't seen anything foxconn related on the spx yet
<steev> it'd be part of the restore process when it installs the drivers - at least, that's where i saw it, though you'd have to un-minimize the cmd windows as they pop up, to see it
<qzed> I think MS has that pretty streamlined and hidden away behind their windows update screens. never saw any minimized windows
<steev> ah, MS must have a different restore process, this seems to just be WinRE and WIM files
<qzed> I think MS did most (of not all) of the SPX work themselves... as far as I can tell they outsourced the Surface Go line and that does show...
<steev> alas, the few 7z files i can see are all password protected
<steev> the rest are CRI/IMZ files
<qzed> yeah that sounds quite a bit different than what I can see in the SPX recovery image, that more or less looks like someone copied a windows install and zipped it up in swm files with some config files for partitioning (and other stuff I don't know) and then zipped that all up again into a .zip
<qzed> there's a boot.wim but that just looks like a recovery disk or something like that
<steev> probably the usual of, someone did it once, and it works, so don't do anything else
<steev> dang, i had to tell it no to windows 11 like 3 times during setup