On Fri, Dec 08, 2023 at 01:36:02AM -0500, Douglas Gilbert wrote: > lsucpd is a command line utility for listing USB Type-C ports, partners > and any associated PD objects. It is essentially data-mining the > /sys/class/typec and /sys/class/usb_power_delivery directories. So > lsucpd performs no magic and root permissions are not required. > > lsucpd was originally announced in this post on 28 August 2023: > https://marc.info/?l=linux-usb&m=169325926403279&w=2 > That code has been tagged as 'r0.89'. There is also a 'r0.90' tag > but it was not announced. This release is tagged as 'r0.91'. The > code is available at this git mirror at: > https://github.com/doug-gilbert/lsucpd > > Changelog since 0.89 [20230827] [svn: r9] > - add the first stage of JSON support > - add --pdo-snk= and --pdo-src= options to decode PDOs > - add --rdo= option to decode RDOs > - make preparations for PD revision 3.2 Nice! Any thoughts about adding this functionality to the usbutils package to make it all in one place? thanks, greg k-h