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)
FizzBuzz has joined #aarch64-laptops
<shawnguo> steev: if you are testing directly using laptops-5.14 branch, it's expected that qcrypto warning is gone, because I disabled crypto self tests by setting CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y
<steev> Oh weird I swore I grepped and didn’t see that
<shawnguo> it might not be in distro_defconfig, but definitely in .config.
<steev> oh, yeah, it is
<steev> sorry for the fluff
<shawnguo> steev: are you able to play LTE on c630 now?
<shawnguo> I'm wondering if we have everything ready for enable LTE on c630.
<steev> # CONFIG_QCOM_IPA is not set
<steev> it should be ready but that isn't enabled
<steev> i didn't bring my kernel config stuff forward
<shawnguo> user space, firmware all are available now?
<steev> should be yes
<steev> you need to install modemmanager to use it iirc
<steev> but with modemmanager installed, i get the rmnet_blah0 device, i just haven't slapped a sim in to test
<shawnguo> thanks for the info! any details on user space libraries and firmware blob?
<steev> i do have details, one moment
<steev> you want the ipa_fws.elf which is roughly 33K, it is the b0X files already concated, just rename it to /lib/firmware/ipa_fws.mdt
<steev> however, if you want, you can do the split firmware (both work)
<steev> just that you *need* the firmware in the initramfs if you have the module in there
<steev> and if you put the firmware in the initramfs and you're using split, you need to use all of them (obviously)
<steev> the module doesn't attempt to reload the firmware at all, so if the module loads in the initrd and firmware isn't available, it will just error
<shawnguo> steev: thanks!
<steev> it needs a newer modemmanager but sid should have it, i'm not sure the version exactly that has it, but kali is based on testing and its modemmanager works
<steev> so i'd say at least 1.14.12
<steev> oh, also need RMNET enabled in the kernel, not just QCOM_IPA
<steev> enabled/module, either work, i do module here
<bamse> steev: lmh does apply, i haven't looked at to what extent though
<bamse> steev: on sdm845 the bootloader sets up the lmh rather conservatively, so we need to reconfigure it and then we're getting throttling notifications from it
<bamse> steev: but on later platforms the bootloader is configuring it and all we get are the throttling notifications
<steev> bamse: oh, btw, maybe there is some weirdness with thermal because using the laptops 5.14 branch, when the wifi goes out (but doesn't crash the entire system), it's spamming https://github.com/aarch64-laptops/linux/blob/laptops-5.14/drivers/net/wireless/ath/ath10k/thermal.c#L92
<steev> also, couldn't you have brought some of that nice cali weather with you? getting really sick of this heat
<bamse> steev: i suppose you have some userspace trying to read the temperatur from the hwmon?
<bamse> steev: you would get that error message if userspace tries to read the ath10k hwmon node and the ath10k firmware has locked up
<steev> the machinue should be sitting idle doing nothing really
<steev> i mean it is sitting idle to my left, it's just running the normal gnome interface
<bamse> and there's no pretty thing showing you the temperature of wifi?
<bamse> well, afaict the only code path there is for userspace to read /sys/class/hwmon/xyz/temp1_input
<steev> not as far as i know
<steev> oh wait, btm was running, maybe it was trying and failing? i just assumed that since it said no sensors, it wasn't
<steev> also stopped avahi, just in case
<steev> shawnguo: https://bpa.st/Q6FA
<steev> that's enabling rmnet and qcom_ipa and having the firmware in place
<shawnguo> steev: cool! I will see if I can get it here too
<steev> i've had the firmware in place for a while now, if memory serves, the windows partition has the .elf (combined firmware) and the split firmware in the same directory
FizzBuzz has quit []
<shawnguo> steev: yeah, got rmnet_ipa0 interface!
<shawnguo> I insert a sim card, and am trying to bring it up with mmcli, but is told `No modems were found`, after a `mmcli --scan-modems` and `mmcli --list-modems` command sequence.
<shawnguo> bamse: any hints on how to actually enable wwan network over the interface?
<steev> shawnguo: ah, maybe i'm wrong and it's not quite there - it may be
<steev> lert me find
<steev> i think modemmanager requires to be built against libqrtr-glib
<steev> which requires bleeding edge
<steev> shawnguo: bamse: so with the laptops 5.14, it is roughly an hour and a half (i had htop running in a ssh session) before it disconnects
<steev> orrrr, i'm an idiot who let the battery die....
wwilly has joined #aarch64-laptops
alpernebbi has joined #aarch64-laptops
<shawnguo> steev: yeah, I spent time to build libqrtr, libqmi and ModemManager from source repository, but when rmnet_ipa0 interface is brought up, it's UNKNOWN in `ip addr` and unknown in`nmcli dev` TYPE - https://pastebin.com/raw/WKhazXgd
<shawnguo> I have been able to retrieve sim card status with `$ qmicli -d qrtr://0 --uim-get-card-status`
<bamse> shawnguo: it's been a little while since i tested that on the c630...and it's different on the flex
<bamse> shawnguo: the main difference is that the last pieces have landed in libqmi now
<bamse> shawnguo: back then i had my own tool for doing some of the steps that libqmi would do today
<bamse> shawnguo: and now i clicked your link there...so the rmnet_ipa0 is the ipa hardware block, it transports qmap packets...ontop of that you need to create rmnet_dataN (might be called something else by modemmanager) interfaces, and that will have ip addresses
alpernebbi has quit [Quit: alpernebbi]
tomeu has quit [Quit: Ping timeout (120 seconds)]
tomeu has joined #aarch64-laptops
FizzBuzz has joined #aarch64-laptops