[Atrix 4G Android Development] Sir_Brizz:
So I've done a bunch of testing now. I'm not sure the attached logs matter at all. I finally decided to reboot with my device with the OTG adapter and USB hub plugged in and magically the kernel started noticing things were being plugged in. Right now, if I detach the USB hub, and plug it back in, nothing works. When I do this, I get the following in dmesg:

<6>[ 1598.433900] cpcap_usb_det: ACCY_NONE
<6>[ 1598.433908] cpcap spi1.0: notify_accy: accy=7
<6>[ 1601.341269] kxtf9_irq_work_func: status=0x8
<6>[ 1602.125005] cpcap_usb_det: irq=CPCAP_IRQ_CHRG_DET
<6>[ 1602.207172] kxtf9_irq_work_func: status=0x8
<6>[ 1602.342407] cpcap_usb_det: state IDENTIFY
<6>[ 1602.343086] cpcap_usb_det: SenseBits = 0x811c
<6>[ 1602.343116] cpcap_usb_det: WHISPER_SMART_DOCK
<6>[ 1602.343152] cpcap spi1.0: notify_accy: accy=6
<7>[ 1602.364622] tegra_otg_set_mode setting OTG_STATE_A_HOST
<6>[ 1602.364673] mdm_ctrl: set_ap_status(5)
<6>[ 1602.364705] mdm_ctrl_set_usb_ipc: usb ipc count is now: 1
<6>[ 1602.392164] cpcap_usb_det: irq=CPCAP_IRQ_VBUSVLD
<6>[ 1602.392262] cpcap_usb_det: state WHISPER_SMART_DOCK
<6>[ 1602.397513] cpcap_usb_det: SenseBits = 0x811c
<6>[ 1602.413232] cpcap_usb_det: BATTP=3967, VBUS=4535, BATTI=295, CHG_ISENSE=2,
ret=0, status=0
<6>[ 1602.452202] cpcap_usb_det: irq=CPCAP_IRQ_CHRG_CURR1
<6>[ 1602.452244] cpcap_usb_det: state WHISPER_SMART_DOCK
<6>[ 1602.466312] cpcap_usb_det: SenseBits = 0x8114
<6>[ 1602.473653] cpcap_usb_det: BATTP=4000, VBUS=4125, BATTI=26, CHG_ISENSE=412
, ret=0, status=0
<4>[ 1602.540131] port connect detection error: err=-110

At this point, no USB devices can be attached and work. Reboot.

Now I have the hub with only the powered port plugged in (to provide power to the hub). At boot I get the contents of the file

[dmesg_grep_usb_boot.txt]

If I try to plug in my 360 controller at this point I get:

<6>[ 251.402486] cpcap_usb_det: irq=CPCAP_IRQ_SE1
<6>[ 251.402622] cpcap_usb_det: irq=49
<6>[ 251.519971] cpcap_usb_det: state IDENTIFY
<6>[ 251.520692] cpcap_usb_det: SenseBits = 0x831d
<6>[ 251.526202] cpcap_usb_det: BATTP=3971, VBUS=4633, BATTI=50, CHG_ISENSE=309

So, again, no USB devices can be attached and work. Reboot.

Now I have the hub with the powered port plugged in, the USB flash drive plugged in, and the 360 controller plugged in. I can't even boot, on a boot loop with a rare chance of the boot animation. Remove the battery. Time to cold boot.

Now I have no OTG attached at all and boot up just fine. dmesg looks exactly the same as the above log. Attach OTG, attach hub.

<6>[ 110.259330] cpcap_usb_det: irq=CPCAP_IRQ_IDFLOAT
<6>[ 110.380682] cpcap_usb_det: state IDENTIFY
<6>[ 110.381755] cpcap_usb_det: SenseBits = 0x8110
<6>[ 110.385098] cpcap_usb_det: BATTP=3931, VBUS=29, BATTI=187, CHG_ISENSE=2, r
et=0, status=0
<6>[ 110.385116] cpcap_usb_det: ACCY_NONE
<6>[ 113.410690] cpcap_usb_det: irq=CPCAP_IRQ_VBUSVLD
<6>[ 113.528294] cpcap_usb_det: state IDENTIFY
<6>[ 113.528663] cpcap_usb_det: SenseBits = 0x831d
<6>[ 113.531524] cpcap_usb_det: BATTP=3935, VBUS=4770, BATTI=192, CHG_ISENSE=6,
ret=0, status=0

USB not working. Reboot.

Now I have the hub with the powered port plugged in and the the USB flash drive plugged in by themselves. Boot animation shows fine, OS boots up. dmesg looks identical to above attached file. Reseat powered port, reseat USB flash drive:

<6>[ 207.078846] cpcap_usb_det: irq=48
<6>[ 207.078903] cpcap_usb_det: irq=49
<6>[ 207.081945] cpcap_usb_det: irq=CPCAP_IRQ_SE1
<6>[ 207.189775] cpcap_usb_det: state IDENTIFY
<6>[ 207.190469] cpcap_usb_det: SenseBits = 0x8010
<6>[ 207.212654] cpcap_usb_det: BATTP=3931, VBUS=1251, BATTI=168, CHG_ISENSE=2,
ret=0, status=0
<6>[ 207.212692] cpcap_usb_det: ACCY_NONE
<6>[ 208.880492] cpcap_usb_det: irq=CPCAP_IRQ_VBUSVLD
<6>[ 208.889627] cpcap_usb_det: irq=CPCAP_IRQ_CHRG_DET
<6>[ 208.998698] cpcap_usb_det: state IDENTIFY
<6>[ 208.999342] cpcap_usb_det: SenseBits = 0x811c
<6>[ 208.999373] cpcap_usb_det: WHISPER_SMART_DOCK
<6>[ 209.037941] mdm_ctrl_set_usb_ipc: usb ipc count is now: 1
<6>[ 209.104473] cpcap_usb_det: irq=CPCAP_IRQ_VBUSVLD
<6>[ 209.104488] cpcap_usb_det: irq=CPCAP_IRQ_CHRG_CURR1
<6>[ 209.104504] cpcap_usb_det: state WHISPER_SMART_DOCK
<6>[ 209.104728] cpcap_usb_det: SenseBits = 0x8114
<6>[ 209.110548] cpcap_usb_det: BATTP=3991, VBUS=4213, BATTI=-369, CHG_ISENSE=6
32, ret=0, status=0
<6>[ 209.347850] usb 1-1: new high speed USB device using tegra-ehci and addres
s 2
<6>[ 209.388732] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
<6>[ 209.388744] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumbe
r=0
<6>[ 209.388753] usb 1-1: Product: USB 2.0 Hub
<6>[ 209.393633] usb 1-1: configuration #1 chosen from 1 choice
<6>[ 209.708773] usb 1-1.4: new high speed USB device using tegra-ehci and addr
ess 3
<6>[ 209.743657] usb 1-1.4: New USB device found, idVendor=0951, idProduct=1653

<6>[ 209.743670] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNum
ber=3
<6>[ 209.743679] usb 1-1.4: Product: DT 100 G2
<6>[ 209.743685] usb 1-1.4: Manufacturer: Kingston
<6>[ 209.743692] usb 1-1.4: SerialNumber: 001CC0EC346CBBA1B71B015D
<6>[ 209.745865] usb 1-1.4: configuration #1 chosen from 1 choice
<7>[ 209.757019] usb-storage: device found at 3
<7>[ 209.757028] usb-storage: waiting for device to settle before scanning
<6>[ 211.610952] usb 1-1.4: USB disconnect, address 3
<6>[ 222.088386] usb 1-1.4: new high speed USB device using tegra-ehci and addr
ess 4
<6>[ 222.124505] usb 1-1.4: New USB device found, idVendor=0951, idProduct=1653

<6>[ 222.124552] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNum
ber=3
<6>[ 222.124590] usb 1-1.4: Product: DT 100 G2
<6>[ 222.124617] usb 1-1.4: Manufacturer: Kingston
<6>[ 222.124645] usb 1-1.4: SerialNumber: 001CC0EC346CBBA1B71B015D
<6>[ 222.138803] usb 1-1.4: configuration #1 chosen from 1 choice
<7>[ 222.170232] usb-storage: device found at 4
<7>[ 222.170248] usb-storage: waiting for device to settle before scanning
<7>[ 228.112597] usb-storage: device scan complete

On my device, it now says "Blank SD card" in the notification area. Tap it, tap "Format".

[logcat_format_sdcard.txt]

Now my /mnt/sdcard has been wiped out. Weee :) If you need a more complete logcat, let me know. Also, at this point, if I plug in my 360 controller, I get:

<6>[ 615.558699] usb 1-1.2: new full speed USB device using tegra-ehci and addr
ess 5
<6>[ 615.624515] usb 1-1.2: New USB device found, idVendor=045e, idProduct=028e

<6>[ 615.624574] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNum
ber=3
<6>[ 615.624616] usb 1-1.2: Product: Controller
<6>[ 615.624645] usb 1-1.2: Manufacturer: ┬⌐Microsoft Corporation
<6>[ 615.624678] usb 1-1.2: SerialNumber: 14BC6F1
<6>[ 615.642101] usb 1-1.2: configuration #1 chosen from 1 choice

The lights on my 360 controller flash and the device does not work. logcat shows nothing useful on plug/unplug of the device.

If further information is needed to debug, do let me know. I'm willing to try anything :) I didn't lose anything important here as I backed up prior to going to ICS. Also, just FYI, the above are from dmesg unless I specified logcat.