This expose USB port physical information (_UPC, _PLD) by sysctl.
This adds per port sysctl node tree with 3 children: upc, pldraw, info
upc is integer value that expose _UPC.
pldraw is buffer that raw PLD value.
info is interpreted version of above two.
example output follows.
sysctl -x dev.uhub.0.port1
dev.uhub.0.port1.info: Handle \_SB_.PCI0.XHC_.RHUB.HS01
Connectable TypeA port Width 0 mm Height 0 mm Visible PanelPosition: Right VertPosition: Center HorizPosition: Lower Shape: HRect Group Orientation Horizontal GroupToken 0 GroupPosition 1 Eject OSPM
dev.uhub.0.port1.pldraw: Format:A Length:16 Dump:0x81000000000000005912800003000
000
dev.uhub.0.port1.upc: 0x80000000