It happens on all PD psu’s … if you monitor the PD negotiation, VIM4 gets a list of all supported Voltage/Current from PSU and then selects 12V/0A. PSU’s that have the Texas Instruments (TI) USB-PD controllers default to 2.5A in that case - which is not enough for a fully loaded A311D2 (USB hard drives, graphics high res and NPU running)
I have another generic PD PSU that ignores the 0A and always delivers maximum current.
The end result is that VIM4 is telling the PSU to supply 12V/0A - it should be 12V/3A
Additional:
Newer uboot bootloaders have the ‘tcpm’ command to help debug PD issues. Are there plans to update uboot from the 2019.01 version? (6 years old!)
It does work after the change. There are many other quirks, but this works. I can get to full 2.5A load with the change. Preiously I could only get 0.5A Max
Hello. Did this patch ever go into production? I’ve tried multiple power supplies here that nominally offer 12V/3A and none work. I can reliably power the VIM4 from a USBC port on my desktop computer’s hub (an OWC Thunderbolt Dock) or from a a battery pack, but my collection of 90+W Apple PSUs don’t work. Thanks
Welcome to Fenix 1.7.5 Ubuntu 24.04.4 LTS Linux 5.15.137
TIL Docker supports cross-compilation of stuff using Rosetta and that I should read documentation. I’d always assumed I was locked into ARM! Thanks.
EDIT: Helpful pointers to compile Ubuntu on Apple Silicon:
Ensure latest Docker Desktop installed
In Settings, General, ensure Apple Virtualization framework enabled
Enable “Use Rosetta for x86_64/amd64 emulation on Apple Silicon
In Settings, Resources, bump the RAM as high as you can bear - I was getting “aarch64-elf-gcc: internal compiler error: Killed (program cc1)” errors by the bucketload with 8GB - these have gone with 32GB
Remember to include the --platform linux/amd64 when invoking Docker
Edit the `config/functions/common-functions` file to use rosetta instead of `qemu-arm` or `qemu-arm64`
I’ll finish (or delete) these instructions when the build completes or goes down in flames. That might take a few hours.
A few hours later (imagine a cod French accent): well case sensitivity sucks. It seems there’s a file called ipt_ECN.h and another that’s supposed to be called ipt_ecn.h in the same directory. Since my Docker was installed on an APFS volume with standard options the second file to be downloaded by git overwrites the first and pain and suffering ensue.
I’ll create a case-sensitive fake volume now and start again.