[Nexus S Android Development] hedpe:
Not having much luck here :\

So I tried an unpowered hub, and it's definitely getting power upstream because the light on it went on:

Untitled by gnychis, on Flickr

Here is the dmesg log with OTG mode:

<4>[ 117.700156] Setting OTG host mode
<6>[ 117.701681] otg_dbg: in s5pc110_otg_drv_probe()::00076
<6>[ 117.702309] => s3c_otg_drv_probe
<4>[ 117.703580] drivermode = 0
<6>[ 117.704810] android_work: did not send uevent (0 0 (null))
<4>[ 117.730318] otg_host_phy_int : USBPHYCTL=0x1,PHYPWR=0x1e0,PHYCLK=0x7,USBCFG=0x570f
<6>[ 117.830024] s3c_otghcd s3c_otghcd: S3C OTGHCD
<6>[ 117.830115] s3c_otghcd s3c_otghcd: new USB bus registered, assigned bus number 1
<6>[ 117.830266] s3c_otghcd s3c_otghcd: irq 88, io mem 0xec000000
<7>[ 118.080750] usb usb1: default language 0x0409
<7>[ 118.080886] usb usb1: udev 1, busnum 1, minor = 0
<6>[ 118.080953] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
<6>[ 118.081073] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[ 118.081140] usb usb1: Product: S3C OTGHCD
<6>[ 118.081258] usb usb1: Manufacturer: Linux 3.0.8-g537eeb7-dirty EMSP_OTGHCD
<6>[ 118.081325] usb usb1: SerialNumber: s3cotg
<7>[ 118.081688] usb usb1: usb_probe_device
<7>[ 118.081760] usb usb1: configuration #1 chosen from 1 choice
<7>[ 118.081845] usb usb1: adding 1-0:1.0 (config #1, interface 0)
<7>[ 118.082058] hub 1-0:1.0: usb_probe_interface
<7>[ 118.082151] hub 1-0:1.0: usb_probe_interface - got id
<6>[ 118.082282] hub 1-0:1.0: USB hub found
<6>[ 118.082358] hub 1-0:1.0: 1 port detected
<7>[ 118.082424] hub 1-0:1.0: standalone hub
<7>[ 118.082541] hub 1-0:1.0: ganged power switching
<7>[ 118.082606] hub 1-0:1.0: global over-current protection
<7>[ 118.082725] hub 1-0:1.0: Single TT
<7>[ 118.082791] hub 1-0:1.0: TT requires at most 32 FS bit times (2664 ns)
<7>[ 118.082858] hub 1-0:1.0: power on to power good time: 0ms
<7>[ 118.082933] hub 1-0:1.0: local power source is good
<7>[ 118.082999] hub 1-0:1.0: no over-current condition exists
<7>[ 118.083118] hub 1-0:1.0: enabling power on all ports
<6>[ 118.083187] otg_dbg: in root_hub_feature()::00477
<6>[ 118.083304] => case SetPortFeature -USB_PORT_FEAT_POWER
<6>[ 118.083433] otg_dbg: in otg_handle_interrupt()::00087
<6>[ 118.083548] => Port Interrupt
<6>[ 118.083670] otg_dbg: in process_port_intr()::00259
<6>[ 118.083734] => detect connection
<6>[ 118.084069] otg_dbg: in s5pc110_otg_drv_probe()::00182
<6>[ 118.084194] => OTG HCD Initialized HCD, bus=C110 OTG Controller, usbbus=1
<4>[ 118.084428] platform_driver_registered
<6>[ 118.183522] otg_dbg: in otg_handle_interrupt()::00062
<6>[ 118.184153] => Disconnect Interrupt
<6>[ 118.185689] otg_dbg: in otg_handle_interrupt()::00087
<6>[ 118.186255] => Port Interrupt
<6>[ 118.187330] otg_dbg: in process_port_intr()::00276
<6>[ 118.188344] => over current condition is changed
<3>[ 118.189777] otg_err: in otg_power_work()::00065
<3>[ 118.190793] => invalid otghost data
<7>[ 118.293532] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000

If I plug the flash drive in directly, still no luck. Here is the dmesg output of that in OTG mode:

<4>[ 87.141064] OTG: no changes needed
<6>[ 97.955591] fsa9480 7-0025: dev1: 0x80, dev2: 0x0
<4>[ 97.960113] Setting OTG host mode
<6>[ 97.960327] otg_dbg: in s5pc110_otg_drv_probe()::00076
<6>[ 97.960393] => s3c_otg_drv_probe
<4>[ 97.960555] drivermode = 0
<6>[ 97.960719] android_work: did not send uevent (0 0 (null))
<4>[ 97.981926] otg_host_phy_int : USBPHYCTL=0x1,PHYPWR=0x1e0,PHYCLK=0x7,USBCFG=0x570f
<6>[ 98.081661] s3c_otghcd s3c_otghcd: S3C OTGHCD
<6>[ 98.081777] s3c_otghcd s3c_otghcd: new USB bus registered, assigned bus number 1
<6>[ 98.081944] s3c_otghcd s3c_otghcd: irq 88, io mem 0xec000000
<7>[ 98.332423] usb usb1: default language 0x0409
<7>[ 98.332556] usb usb1: udev 1, busnum 1, minor = 0
<6>[ 98.332624] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
<6>[ 98.332746] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[ 98.332812] usb usb1: Product: S3C OTGHCD
<6>[ 98.332929] usb usb1: Manufacturer: Linux 3.0.8-g537eeb7-dirty EMSP_OTGHCD
<6>[ 98.332998] usb usb1: SerialNumber: s3cotg
<7>[ 98.333375] usb usb1: usb_probe_device
<7>[ 98.333447] usb usb1: configuration #1 chosen from 1 choice
<7>[ 98.333585] usb usb1: adding 1-0:1.0 (config #1, interface 0)
<7>[ 98.333738] hub 1-0:1.0: usb_probe_interface
<7>[ 98.333806] hub 1-0:1.0: usb_probe_interface - got id
<6>[ 98.333924] hub 1-0:1.0: USB hub found
<6>[ 98.334000] hub 1-0:1.0: 1 port detected
<7>[ 98.334118] hub 1-0:1.0: standalone hub
<7>[ 98.334182] hub 1-0:1.0: ganged power switching
<7>[ 98.334248] hub 1-0:1.0: global over-current protection
<7>[ 98.334366] hub 1-0:1.0: Single TT
<7>[ 98.334433] hub 1-0:1.0: TT requires at most 32 FS bit times (2664 ns)
<7>[ 98.334553] hub 1-0:1.0: power on to power good time: 0ms
<7>[ 98.334626] hub 1-0:1.0: local power source is good
<7>[ 98.334692] hub 1-0:1.0: no over-current condition exists
<7>[ 98.334811] hub 1-0:1.0: enabling power on all ports
<6>[ 98.334880] otg_dbg: in root_hub_feature()::00477
<6>[ 98.334996] => case SetPortFeature -USB_PORT_FEAT_POWER
<6>[ 98.335127] otg_dbg: in otg_handle_interrupt()::00087
<6>[ 98.335244] => Port Interrupt
<6>[ 98.335365] otg_dbg: in process_port_intr()::00259
<6>[ 98.335429] => detect connection
<6>[ 98.335787] otg_dbg: in s5pc110_otg_drv_probe()::00182
<6>[ 98.335912] => OTG HCD Initialized HCD, bus=C110 OTG Controller, usbbus=1
<4>[ 98.336149] platform_driver_registered
<6>[ 98.435143] otg_dbg: in otg_handle_interrupt()::00062
<6>[ 98.435276] => Disconnect Interrupt
<6>[ 98.435400] otg_dbg: in otg_handle_interrupt()::00087
<6>[ 98.435463] => Port Interrupt
<6>[ 98.435636] otg_dbg: in process_port_intr()::00276
<6>[ 98.435700] => over current condition is changed
<3>[ 98.435854] otg_err: in otg_power_work()::00065
<3>[ 98.435971] => invalid otghost data
<7>[ 98.538757] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000

Any other thoughts?

EDIT: A couple things below...

I have verified power is going to both ends of the Y-Cable. Male end:

IMG_0715 by gnychis, on Flickr

Female end:

IMG_0716 by gnychis, on Flickr

I have spent a lot of time reading through the thread, and people are saying that the Nexus S is picky about the power source. I have tried my MacBook Air, iPad USB charger, Motorola Droid USB charger, and an iPhone USB charger.

EDIT: I would appreciate it if someone who has a working setup with off-the-shelf cables would post links to the cables they purchased. basically, links to everything in their entire setup.