I have a USB 2.0 hub with 7 ports and an external power supply. I wanted to replace the USB 2.0 connector with a USB type-C connector.
That connector has the following documentation:
I found the following wiring:
https://en.wikipedia.org/wiki/USB_Type-C#Cable_wiring
I cut off the old connector and soldered the USB connector on. I hooked up A6 with the green wire, A7 with the white wire, GND with the black wire and Vbus with the red wire. Then I connected the hub with my laptop (15" Late 2016 MacBook Pro).
The laptop didn't see the hub. Why not?
Best Answer
Your computer does not see your device/hub because the CC1 (communication channel) pin A5 is not wired (or wired incorrectly). For the cable to be recognized as a device/hub, the CC1 pin must be pulled down with 5.1k resistor. Your connector even might have a placeholder for this resistor. Just make sure the CC1 is not pulled high to VCC, this will make the plug as "host", and your computer will switch into device mode (if it supports it).
This is the standard and fully legal captive cable configuration, see Section 3.4.3 and Table 3-11 of USB Type-C specifications.