- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi!
1) If Edison installed to MiniBreakout board and I insert pure OTG converter (which only pulls ID pin to GND) I see in dmesg:
[ 35.312141] pmic_ccsm pmic_ccsm: USB ID Detected. Notifying OTG driver
[ 36.180142] dwc3-host dwc3-host.2: xHCI Host Controller
[ 36.190280] dwc3-host dwc3-host.2: new USB bus registered, assigned bus number 1
[ 36.190586] dwc3-host dwc3-host.2: irq 34, io mem 0xf9100000
[ 36.190734] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 36.190759] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 36.190778] usb usb1: Product: xHCI Host Controller
[ 36.190798] usb usb1: Manufacturer: Linux 3.10.17-poky-edison+ dwc-xhci
[ 36.190817] usb usb1: SerialNumber: dwc3-host.2
[ 36.191692] xHCI xhci_add_endpoint called for root hub
[ 36.191712] xHCI xhci_check_bandwidth called for root hub
[ 36.191996] hub 1-0:1.0: USB hub found
[ 36.192042] hub 1-0:1.0: 1 port detected
[ 36.200406] dwc3-host dwc3-host.2: xHCI Host Controller
[ 36.200862] dwc3-host dwc3-host.2: new USB bus registered, assigned bus number 2
[ 36.201036] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[ 36.201061] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 36.201080] usb usb2: Product: xHCI Host Controller
[ 36.201100] usb usb2: Manufacturer: Linux 3.10.17-poky-edison+ dwc-xhci
[ 36.201119] usb usb2: SerialNumber: dwc3-host.2
[ 36.201811] xHCI xhci_add_endpoint called for root hub
[ 36.201831] xHCI xhci_check_bandwidth called for root hub
[ 36.202263] hub 2-0:1.0: USB hub found
[ 36.202309] hub 2-0:1.0: 1 port detected
[ 36.247677] pmic_ccsm pmic_ccsm: USB VBUS Detected. Notifying OTG driver
root@edison:~#
This is ok, lsusb now shows hub
2) If I install Edison to my custom board (which have same USB header), when I insert OTG converter dmesg only shows:
[ 36.794481] pmic_ccsm pmic_ccsm: USB ID Detected. Notifying OTG driver
And nothing else. lsusb shows "unable to initialize libusb: -99" When unplug:
[ 175.135369] pmic_ccsm pmic_ccsm: USB ID Removed. Notifying OTG driver
So can I find some detailed information about why USB Driver stopped detecting hub? Some errors etc? PSW pin on board stays in '0' before and after ID connect, FAULT
is '3.3' . Thanks!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi nsrb,
I would suggest you to check if the connections of your custom board are correct. Given the message that you're getting (just one line) and the fact that the PSW pin stays in '0' after connection, this seems to be a HW issue. If you're using the same image and the same pin arrange as the Mini Breakout board a SW issue can be discard.
Regards,
Pablo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Thanks for response. Yes, obviously it is only HW issue because I swap same module with same FW withing my board and Mini Breakout, and on Mini Breakout it always works. But I try to understand how driver makes decision about some HW error to figure out what problem is. I plug only pure hub without any USB endpoints so it can make a decision only according to IO lines state not involving USB protocol at all. At first step it only detects pulling ID to GND. But what it do next? Should the next step be applying 1 to PSW pin? Or first it checks power on VBUS, or FAULT pin? Maybe there are some document?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
There is a schematic of the Mini Breakout you can use:
http://www.intel.com/content/dam/support/us/en/documents/edison/sb/mini_edison_breakout_hvm_8_26.pdf http://www.intel.com/content/dam/support/us/en/documents/edison/sb/mini_edison_breakout_hvm_8_26.pdf
Just use it as a reference and your design should work
Some further aspects:
-FAULT should be High, for Intel Edison it is 1,8 V (if an error occured it is low)
-The messages you get are refered to the state of the the USB-ID Pin level
-PSW should be high when the Intel Edison is used in host mode
good luck
Flo1991

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page