Conversation

it is incredibly ironic that after i went through a lot of effort to get a working USB PD debugger, the first USB power related issue i try to debug in anger seems to be completely unrelated to USB PD, and also somehow fixed itself when i inserted the debugger
4
78
Replying to and
USB-C has the nice feature of making an effectively random choice about which side is supposed to be charged. A phone will happily start charging a power bank. The devices are supposed to negotiate and automatically swap if it doesn't make sense. It doesn't seem to work well.
1
7
Replying to and
For the Pixel 2 XL, the issue we had is that the LG battery kernel module was broken when built into the kernel instead of loaded as a dynamic kernel module. I'd guess that you're using an OS build with it built into the kernel and maybe it's missing appropriate workarounds.
2
13
It was really annoying before we resolved it because the phone would run out of battery trying to run the Compatibility Test Suite since it takes hours and hours. The GPU tests are really demanding and would drain all the battery. I think it's just a kernel module init issue.
1
1
Show replies
Replying to and
I don't think we had a commit fixing it for the non-XL variant but I remember it being an issue. It's probably a similar issue. In my experience, both in-tree and out-of-tree Linux kernel driver modules are often broken when built into the kernel instead of dynamically loaded.
1
2
Show replies