ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Chrome OS Trogdor Devices - Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630 - Lenovo ThinkPad X13s - and various other snapdragon laptops) - https://oftc.irclog.whitequark.org/aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
axt has quit [Quit: Leaving.]
chrisl has joined #aarch64-laptops
davidinux has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
xyzabc has joined #aarch64-laptops
<xyzabc>
This might be a stupid question, but for ubuntu concept, where can I find the changelog for the new 6.14.0-17.17 release package?
<Guest10485>
Greetings! I'm debuging my Honor on Snapdragon which I use under OpenBSD and I have a question regarding USB and qcpas. The last one exists under Linux as qcom_q6v5_pas.c. The long story short: USB 3.0 not always allow to attach devices after boot. If I keep device attached on the boot, it may work, or may not. I had noticed that when it may not, a system can't load firmware to qcpas device. It loads, but give up on time
<Guest10485>
Right now system waits 5 seconds before timeout occure. I feel that it is long enough and issue somewhere else. Frankly, it is quite often. Like 1 or out 2 or out of 3 boots.
<Guest10485>
So, here the question: does it ring any bell?
<Jasper[m]>
Yes it will reset the controller and the uuid of the usb device (iirc) will not be the same as when boot was initiated
<Guest10485>
I see that all USB devices is reattached after boot the controller.
<Jasper[m]>
If you don't let qcom_q6v5_pas load on boot, when booting from usb, it will not reset the controller
<Guest10485>
Yep, but question is different: does it need some quirkcs?
<Jasper[m]>
on fedora this is fixed by adding the modprobe.blacklist=qcom_q6v5_pas cmdline parameter
<Guest10485>
Right now it loads firmware to the controler each boot. I see that devices is deattached, but never reattached if it timedout
<Jasper[m]>
From what I remember they are reattached
<Jasper[m]>
The partition uuid's will not be the same as before though, leading to the timeout
<Jasper[m]>
(assuming that's how OpenBSD boots)
<Guest10485>
but why it is happens not each boot when?
<Jasper[m]>
From my (limited) experience it does
<Jasper[m]>
But the issue is that the init system cannot find the rootfs it's trying to mount because it tries to find the partition it has detected before
<Guest10485>
Ok, on my machine it timedout 1 boot out of 2 or 3. And it doesn't cold or hot boot.
<Jasper[m]>
Guest10485: It will not work unless you blacklist the `qcom_q6v5_pas` driver when booting from usb
<Guest10485>
It loads firmware from root partition, but the controler / device timedout and when it happens, here no USB-C devices
<Guest10485>
Jasper[m], I boot the system from the internal drive, not USB.
<Jasper[m]>
Guest10485: Yes, it will reset the controller, as I said
<Guest10485>
but why it boots sometimes?
<Jasper[m]>
Guest10485: Then I'm not sure what the problem is? Are you saying USB breaks entirely after reloading the firmware?
<Jasper[m]>
Guest10485: It hasn't for many of us
<Jasper[m]>
If you don't want the controller to reset during boot you need to blacklist qcom_q6v5_pas
<Guest10485>
1 out of 2/3 boot firmware not loaded, and when it is happens no USB-C ports on the left side of machine. The right side with USB-A works as expected.
<Guest10485>
If firmware is loaded, USB-C ports on the left side is back. If it timed out -- no USB-C ports
<Guest10485>
Before I thought that it is related to cold or hot boot, but after seires of test I don't see any corelation.
<Guest10485>
nor machine on wall power or battery
<Guest10485>
BTW, when it timed out, usually it stop charching as well
<Guest10485>
but if I reattach the USB-C connection, it starts to charge again
<Jasper[m]>
Not really running into this issue on my X13s, I'm only running into the known issue of it not detecting very well what the capabilities of a usb device is
<Guest10485>
unfourtently Linux doesn't boot on this machine at all, so I can't be sure that it isn't OpenBSD specified things
<Guest10485>
but by comparing logic of both drivers I don't see anything that may explains it
xyzabc has quit [Read error: Connection reset by peer]
chrisl has joined #aarch64-laptops
weirdtreething has quit [Read error: Connection reset by peer]
chrisl has quit [Ping timeout: 480 seconds]
weirdtreething has joined #aarch64-laptops
weirdtreething has quit [Ping timeout: 480 seconds]
weirdtreething has joined #aarch64-laptops
<Guest10485>
well, seems that the controler in some wired state and waiting for long time (I've tried a minute) doesn't help. Nor re-mount and re-init everything.
Guest10485 has quit [Remote host closed the connection]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<JensGlathe[m]>
sudo systemctl reboot
<JensGlathe[m]>
The problem is timing, and if you mounted rootfs from type-c before loading the adsp firmware. The adp firmware boot disrupts VBUS for the type-c ports shortly, leading to the re-enumeration - but your rootfs is inaccessible then. The only "safe" way to avoid this is not to boot from type-c, or not load adsp firmware at all.