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)
<pierro78> wow kernel deb packages built for galaxy book s jenneron :) ... it s passed 2 AM but maybe I am going to see what I can do ...
<steev> szclsya[m]: not sure, i just applied them as they are posted to the list
pierro78_ has quit [Remote host closed the connection]
<steev> could be i'm missing some bits that were sent to the alsa devel list only as well
<steev> but i'll be honest, sound is always black box to me, i have no idea how it works and there are so many moving parts
<szclsya[m]> steev: just peeked at the alsa mailing list, seems that you got everything
<steev> yeah, same , although patchwork, someone else sent stuff for the codecs
<pierro78> oh no my esp partition used to boot grub seems to have been "cleaned" (grub is no longer called) ... probably because I installed windows insider and it installed a quite big update and rebooted ... I am going to try to fix my grub tomorrow (using the debiancd as a liveusb) as I am kind of tired now ...
<szclsya[m]> just tried to enable all the tx/rx macros, no luck
<szclsya[m]> there's nothing in the dmesg either. wonder if alsa has a debug flag somewhere
<steev> hm, actually, i think we do still need the dts bits
<szclsya[m]> which one? I didn't see a related patch with modification to the dts
pierro78_ has joined #aarch64-laptops
pierro78_ has quit [Remote host closed the connection]
<steev> correct
<steev> that's why we still need them
<steev> i did try poking at linaro and his github, but afaict, not posted publicly yet
<pierro78> btw jenneron when you say that UFS is not in your kernel does it mean I should install on an USB drive ?? (maybe the galaxy book s can also boot from microsd ... that could be interesting ... may be I ll reinstall on a microsd even if I need an USB adapter so that I can try to boot from the internal microsd port ...) (If I install on another drive I won't be bothered by windows "cleaning" the ESP again)
pierro78 has quit [Remote host closed the connection]
<szclsya[m]> steev: ah... let's wait then
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
<steev> it's all we can do :) unless we try to beg srinik for them ;)
<steev> i'm sure he's working a few more kinks out and they'll be posted soon enough
<szclsya[m]> I thought it involves some hardware details that we don't access to?
<szclsya[m]> (or can we just take a guess?
<steev> i could not begin to tell you how that black magic works
<szclsya[m]> I heard that someone freezes their phone to dump the memory :D
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
<jenneron[m]> pierro78: yes, on USB
<jenneron[m]> I can enable UFS
<jenneron[m]> done
<travmurav[m]> leezu: After trying to quickly run mutter standalone, it seems to not crash for me but just exit with "A connection to the bus can't be made" and no core dump as soon as the usb-c adapter is present
<travmurav[m]> tho not sure if maybe it's my setup that is different for it to behave another way
derzahl has quit [Remote host closed the connection]
derzahl has joined #aarch64-laptops
SallyAhaj has quit [Quit: Leaving]
falk689 has joined #aarch64-laptops
derzahl has quit [Remote host closed the connection]
pierro78 has joined #aarch64-laptops
<pierro78> jenneron I will try on an usb drive first ... maybe I ll have time tonight ... then if its working I ll probably try on the internal ssd after recompiling the kernel ... thanks btw !
<jenneron[m]> pierro78: do you install it using windows?
<jenneron[m]> idk how to do that, since windows doesn't work with ext4
<pierro78> jenneron : no I ll use the debian-cdimage ... a bit tricky though : https://github.com/aarch64-laptops/debian-cdimage/issues/16 ... needs 2 usb sticks to install ...
<jenneron[m]> i see
<jenneron[m]> unfortunately, i have only 1 usb otg adapter
<pierro78> I think it might work with one usb 2 memory stick and some kind of usb c hub in the other usb ...
<jenneron[m]> do you install from usb to usb?
<pierro78> yeah I ll try usb to usb ... I only did usb to internal ssd following debian-cdimage instructions though ...
<jenneron[m]> i pushed a patch to enable ufs
<jenneron[m]> to the same branch
<leezu> travmurav[m]: What device are you using? Lazor? Which kernel version do you use?
<travmurav[m]> leezu: I use a WoA "Acer Aspire 1" with 7c gen1 and I'm running 5.19 with just dts and ec driver on top
<leezu> Interesting. I believe it used to work for me too (ie. I could run Wayland session with external screen). At that point, I still had issues with screen rotation due to the inverted sensor information (https://github.com/systemd/systemd/pull/24276) and manually trying to fix the rotation would cause a crash. But I wasn't able to get things working again by reverting the
<leezu> rotation quirks. Somehow reverting the quirk does not restore the old behavior however. Maybe I need to reset the crosec. Not sure
<travmurav[m]> FYI I can run wlroots based sessions fine, but have trouble with mutter, I think kde also didn't want to behave
<travmurav[m]> (with external display that is, I think I had zero problems so far with internal display only)
<travmurav[m]> though I think x11 was broken even there in some cases
<leezu> travmurav[m]: If you have a 4K screen, you can apply https://gitlab.freedesktop.org/drm/msm/-/issues/17#note_1510816 to avoid kernel panic. What problems do you face with external screens?
<travmurav[m]> oh, this looks like at least one of the issues I had
<travmurav[m]> well, mostly mutter immediately exiting when the display is present (regardless of the external display resolution I think)
<leezu> Ok, so the only difference is crash vs exit
<travmurav[m]> leezu: yeah afaict this patch fixes the panic on unplug for me as well
broonie has joined #aarch64-laptops
Evaia63 has quit [Quit: Hack the Gibson]
Evaia631 has joined #aarch64-laptops
<steev> hm, maybe i should look at that patch
<clover[m]> i was able to get a debian x86_64 rootfs on my alarm install but i wasnt able to figure out how to emulate my vpn client.
<clover[m]> i think my next step is just to get a used intel nuc or something and use it as a NAT gateway or something sigh
<szclsya[m]> huh I wonder if x13s can do charge limit
<szclsya[m]> doesn't seem to provide interface like other thinkpads in power_supply class
<bamse> szclsya[m]: it's not using the same charger implementation as other thinkpads...
<bamse> szclsya[m]: are you looking for a way to cap the charge current?
<szclsya[m]> bamse: I'm trying to stop the battery to be charged after reaching certain level
<szclsya[m]> to preserve the battery, since I'm mostly on main recently
<szclsya[m]> if there's a way to set the charge current to 0 I think I can write a userspace daemon to do that
<pierro78> jenneron I am trying to boot your kernel from usb but I have 'Invalid filename "sc8180x-samsung-galaxy-book-s.dtb"' (I modified my boot entry accordingly and put the dtb in /boot , /boot/efi , /boot/efi/dtb ... any idea ?? thanks
<jenneron[m]> add / before filename
<jenneron[m]> pierro78: ^
<pierro78> thanks jenneron ... I am using grub-customizer and it s very slow ... I think its "grub-probe" or sthing which is very slow ... so next test in maybe 10 minutes ...
<steev> szclsya[m]: you could probably unbind the usb port? maybe?
<steev> pierro78: it's probably the os-prober portion yeah, you can turn off os-prober, i can't remember the exact option though
<steev> szclsya[m]: maybe check if battery is >=80%, if so, echo suspend > /sys/bus/usb/devices/usbX/power/level, if battery <=79% echo auto > /sys/bus/usb/devices/usbX/power/level ?
<steev> i dunno which usb port would be appropriate
<steev> ah wait, level is deprecated
<steev> maybe you need to echo suspend into control, and auto to undo?
<steev> there used to be something like that, but it wasn't spectacular... https://github.com/codazoda/hub-ctrl.c
<pierro78> mmm ... "File /sc8180x-samsung-galaxy-book-s.dtb" not found ... need to check why ...
<szclsya[m]> steev: I believe we need to disengage ac rather than usb ports tho?
<steev> i would have thought that disabling the usb port would disconnect the ac
<pierro78> I put sc8180x-samsung-galaxy-book-s.dtb file in /boot , /boot/efi and /boot/efi/dtb though ... any idea maybe jenneron ?
<szclsya[m]> hmm lemme try
<szclsya[m]> nope
<szclsya[m]> from what I understand it would only disable power output on that port, while we want to control the power input
<pierro78> OK here is my grub entry : https://dpaste.com/6AZT2ZFQG (as seen from grub-customizer) (I ve just added jenneron stuff from https://dpaste.com/C9AWZJTFA to the entry automatically generated by the debian kernel installation ...)
<steev> pierro78: it should be /boot/sc8180x.... like the others
<steev> since you installed via deb, it should also be available as /usr/lib/linux-image-5.19.0-next-20220810-custom-204893-g7ba365c2ecce/qcom/sc8180x-samsung-galaxy-book-s.dtb
<pierro78> steev yes you are right it's there :)
<steev> i usually just use that full path, rather than copy them in to random places :) but in this case, since you copied it into /boot, you should be able to use that as it's much faster to type
<jenneron[m]> pierro78: try /boot/sc8180x-samsung-galaxy-book-s.dtb
<pierro78> ok it s booting but no touchpad or keyboard in lightdm ... maybe I forgot sthg jenneron ?? ... noticed same behaviour with original 5.11 kernel ... but touchpad and keyboard were working when booting from internal ssd ...
<pierro78> (network working though ...)
<steev> usb might not be installed
<steev> s/installed/loaded
<pierro78> lsmod here if that can help : https://dpaste.com/B89AF3PT8