Enhance the PD Debug Menu to Include E-Marker Chip Data
Is your feature request related to a problem? Please describe. The current ability for the pinecil to show the negotiated PD voltage and current in the PD debug menu is very useful for verifying capabilities of power supplies and cables, however it can be difficult to tell if a cable is limiting the potential wattage of the power supply, since it only shows what has ultimately been negotiated.
Describe the solution you'd like It would be nice if the pinecil could read the E-Marker chip of the cable (if present) and display its rating data, so that the user can determine if a wattage bottleneck is with the cable or the power supply. Integrating this into the existing PD debug menu would be ideal.
Here's an example of the kind of E-Marker data I'd like to see:
| Tag Name | Example Data |
|---|---|
| Vendor ID | Yichong (0x315c) |
| Type | Passive Thunderbolt 4 Cable |
| Speed | USB 4.0 Gen3 (40Gb) TBT4 40Gbps |
| Length | 0-1m |
| Latency | <10ns |
| Max Voltage | 50v |
| Max Current | 5A |
| Hardware Ver | 0004 |
| Firmware Ver | 0005 |
Describe alternatives you've considered There are dedicated hardware tools to test power supply capabilities that can read E-Marker chip data, such as the ChargerLAB Power-Z KM003C USB tester, however I feel like this is something that the pinecil would be well suited to do in a simpler form.