嵌入式Linux上的USB - TI集线器TUSB2046B没有检测到USB设备
问题描述:
我在嵌入式平台上有一个工具链非常有限的问题。我将TI集线器连接到芯片上的USB主机。这个集线器似乎被正确检测到,但我连接到它的sierra无线SL6087设备并未出现在系统中。不幸的是,我不能使用USB设备文件系统 - 我没有/ proc/bus/usb。我能做的是读取/ sys直接。嵌入式Linux上的USB - TI集线器TUSB2046B没有检测到USB设备
我得到下面的系统日志有和没有模块连接。我也没有看到D +和D-线上的任何通信。内核2.6.21。
# dmesg | grep -e hub -e usb
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usbmon: debugfs is not available
rt3xxx-ohci rt3xxx-ohci: roothub.a 02000202 POTPGT=2 NPS NDP=2(2)
rt3xxx-ohci rt3xxx-ohci: roothub.b 00000000 PPCM=0000 DR=0000
rt3xxx-ohci rt3xxx-ohci: roothub.status 00008000 DRWE
rt3xxx-ohci rt3xxx-ohci: roothub.portstatus [0] 0x00000100 PPS
rt3xxx-ohci rt3xxx-ohci: roothub.portstatus [1] 0x00000100 PPS
usb usb1: default language 0x0409
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: RT3xxx OHCI Controller
usb usb1: Manufacturer: Linux 2.6.21 ohci_hcd
usb usb1: SerialNumber: rt3xxx-ohci
usb usb1: uevent
usb usb1: usb_probe_device
usb usb1: configuration #1 chosen from 1 choice
usb usb1: adding 1-0:1.0 (config #1, interface 0)
usb 1-0:1.0: uevent
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: no power switching (usb 1.0)
hub 1-0:1.0: global over-current protection
hub 1-0:1.0: power on to power good time: 4ms
hub 1-0:1.0: local power source is good
hub 1-0:1.0: no over-current condition exists
hub 1-0:1.0: trying to enable port power on non-switchable hub
hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sierra USB modem
usbcore: registered new interface driver sierra
drivers/usb/serial/sierra.c: USB Driver for Sierra Wireless USB modems: v.1.7.40
答
检查你的VBUS。您是否正在将+ 5V传输到您的设备? 当您连接设备时,是否有任何日志文件更改?这些是我会尝试的。有时候,它就像在原理图上遵循启用/重置线并正确设置GPIO一样简单。
注意:如果在插入设备时确实发生了日志文件更改,那么您可能只是缺少进程的另一端;司机。
USB调制解调器(CDC ACM)支持(USB_ACM)缺失。 –