(02-15-2023, 02:13 PM)vimacs 提到:(02-15-2023, 10:00 AM)维格纳朋友 提到: FT4232H咋样?
不清楚,你可以看一下它的datasheet. 用EHCI debug的话主要是看有没有EHCI支持。
代码:
sudo ./attachment.sh
pcilib: sysfs_read_vpd: read failed: No such device
The following PCI devices support a USB debug port (says lspci): 0000:00:1a.0 0000:00:1d.0
The following PCI devices support a USB debug port (says the kernel): 0000:00:1a.0 0000:00:1d.0
PCI device 0000:00:1a.0 0000:00:1d.0, USB bus , USB physical port
Currently connected high-speed devices:
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
|__ Port 5: Dev 3, If 0, Class=Vendor Specific Class, Driver=ftdi_sio, 480M
|__ Port 5: Dev 3, If 1, Class=Vendor Specific Class, Driver=ftdi_sio, 480M
|__ Port 5: Dev 3, If 2, Class=Vendor Specific Class, Driver=ftdi_sio, 480M
|__ Port 5: Dev 3, If 3, Class=Vendor Specific Class, Driver=ftdi_sio, 480M
for usb_ctrl in **/sys/bus/pci/devices/\*/usb\***; do pci_path=$**{**usb_ctrl%/\***}**; iommu_group=$**(**readlink $pci_path/iommu_group**)**; echo "Bus $(cat $usb_ctrl/busnum) --> ${pci_path##\*/} (IOMMU group ${iommu_group##\*/})"; lsusb -s **${usb_ctrl#\*/usb}:**; echo; done
Bus 1 --> 0000:00:1a.0 (IOMMU group )
Bus 001 Device 003: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 2 --> 0000:00:1d.0 (IOMMU group )
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 3 --> 0000:00:14.0 (IOMMU group )
Bus 003 Device 002: ID 1bcf:0002 Sunplus Innovation Technology Inc. USB Optical Wheel Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 4 --> 0000:00:14.0 (IOMMU group )
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
CONFIG_USBDEBUG_HCD_INDEX=2
CONFIG_CONSOLE_USB=y
CONFIG_USBDEBUG=y
CONFIG_USBDEBUG_DONGLE_FTDI_FT232H=y
CONFIG_USBDEBUG_DONGLE_FTDI_FT232H_BAUD=115200
https://www.ftdichip.cn/Support/Document...T4232H.pdf
https://raw.githubusercontent.com/arm868...%20sch.pdf
https://ch1p.io/coreboot-ft2232h/
咋回事啊?
按理说接上UART应该就能用来着。
但接上没日志。
UART接在AD0,AD1上。
应该没错,然后就是接地。
在JUSB2上,怪不得找不到。