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>
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>
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