[coreboot] EHCI debug port finder

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Tue Sep 9 03:31:00 CEST 2008

I wanted to know which physical port of my multiple USB controllers have
the debug capability. There was no way to find that easily, so I created
a tool which will do most of the work for the user.

Example output:
The following PCI devices support a USB debug port (says lspci):
The following PCI devices support a USB debug port (says the kernel):
PCI device 0000:00:1d.7, USB bus 3, USB physical port 1
Currently connected high-speed devices:
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/6p, 480M
    |__ Port 2: Dev 20, If 0, Class=stor., Driver=usb-storage, 480M

The output can be improved, but it's a good start.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: finddebugport.sh
Type: application/x-shellscript
Size: 1879 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080909/dc68da41/attachment.sh>

More information about the coreboot mailing list