[Galaxy Tab 8.9 Android Development] DemonGloom:
Logitech Chillstream (XBOX360 gamepad from Logitech with cooler inside. Works with xbox 360 driver)

It receives power, led blinks, but buttons don't work.

After insertion logcat says

01-23 17:59:33.111 W/ApplicationContext( 415): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1063 com.android.server.usb.UsbSettingsManager.deviceAttached:619 com.android.server.usb.UsbHostManager.usbDeviceAdded:154

Dmesg:

<6>[ 1293.650625] [ CONNECTOR_DRIVER (acc_ID_interrupt,496) ]
<6>[ 1293.850806] [ CONNECTOR_DRIVER (acc_dwork_accessory_detect,461) ]
<6>[ 1293.850974] [ CONNECTOR_DRIVER (acc_dwork_accessory_detect,464) ] IRQ_DOCK_GPIO is 0
<6>[ 1294.280822] [ CONNECTOR_DRIVER (acc_dwork_accessory_detect,478) ] Accessory attached
<4>[ 1294.282733] stmpe811_adc_get_value: Confirmed new data in channel(7)
<4>[ 1294.301532] stmpe811_adc_get_value: ADC_DATA_CH(7) = 0xaa9, 2729.
<4>[ 1294.331856] stmpe811_adc_get_value: Confirmed new data in channel(7)
<4>[ 1294.351524] stmpe811_adc_get_value: ADC_DATA_CH(7) = 0xaa9, 2729.
<4>[ 1294.381850] stmpe811_adc_get_value: Confirmed new data in channel(7)
<4>[ 1294.401515] stmpe811_adc_get_value: ADC_DATA_CH(7) = 0xaa9, 2729.
<4>[ 1294.431855] stmpe811_adc_get_value: Confirmed new data in channel(7)
<4>[ 1294.451517] stmpe811_adc_get_value: ADC_DATA_CH(7) = 0xaa9, 2729.
<4>[ 1294.481852] stmpe811_adc_get_value: Confirmed new data in channel(7)
<4>[ 1294.501520] stmpe811_adc_get_value: ADC_DATA_CH(7) = 0xaa9, 2729.
<6>[ 1294.531130] [ CONNECTOR_DRIVER (connector_detect_change,118) ] ACCESSORY_ID : ADC value = 2729
<6>[ 1294.531163]
<4>[ 1294.532492] setclr gpio 3 at reg add 13
<7>[ 1294.533184] stmpe1801_write_reg wr:0x13 0x8(c:4)
<4>[ 1294.534731] set gpio 3 to 1 at reg add 19
<7>[ 1294.536074] stmpe1801_write_reg wr:0x19 0xf8(c:4)
<6>[ 1294.537613] Board P4 : tegra_acc_power token : (0,0) off
<6>[ 1294.538580] Board P4 : tegra_usb_ldo_en=1 instance=0 present regulator=0
<4>[ 1294.560803] setclr gpio 8 at reg add 10
<7>[ 1294.560967] stmpe1801_write_reg wr:0x10 0x0(c:4)
<4>[ 1294.561418] set gpio 8 to 1 at reg add 19
<7>[ 1294.561992] stmpe1801_write_reg wr:0x19 0xf8(c:4)
<6>[ 1294.562437] Board P4 : tegra_otg_en = 1
<6>[ 1294.571387] tegra-otg tegra-otg: SUSPEND --> HOST
<6>[ 1294.571620] tegra-otg tegra-otg: tegra_start_host+
<4>[ 1294.572257] setclr gpio 3 at reg add 10
<7>[ 1294.572493] stmpe1801_write_reg wr:0x10 0x8(c:4)
<4>[ 1294.572897] set gpio 3 to 1 at reg add 19
<7>[ 1294.573325] stmpe1801_write_reg wr:0x19 0xf8(c:4)
<6>[ 1294.573742] tegra-otg tegra-otg: Acc power on detect
<6>[ 1294.590924] Board P4 : tegra_acc_power token : (1,1) on
<6>[ 1294.592175] Board P4 : tegra_usb_ldo_en=1 instance=0 present regulator=1
<6>[ 1294.595556] tegra-otg tegra-otg: tegra_recover_register reg_val=1073742145
<6>[ 1294.596508] tegra-ehci tegra-ehci.0: Tegra EHCI Host Controller
<6>[ 1294.597770] tegra-ehci tegra-ehci.0: new USB bus registered, assigned busnumber 1
<6>[ 1294.602743] [ CONNECTOR_DRIVER (acc_notified,425) ] ACCESSORY=OTG : STATE=online
<6>[ 1294.630916] tegra-ehci tegra-ehci.0: irq 52, io mem 0xc5000000
<6>[ 1294.650876] tegra-ehci tegra-ehci.0: USB 2.0 started, EHCI 1.00
<6>[ 1294.651583] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
<6>[ 1294.651912] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[ 1294.652369] usb usb1: Product: Tegra EHCI Host Controller
<6>[ 1294.652685] usb usb1: Manufacturer: Linux 3.1.10-cyanogenmod+ ehci_hcd
<6>[ 1294.653142] usb usb1: SerialNumber: tegra-ehci.0
<6>[ 1294.656287] hub 1-0:1.0: USB hub found
<6>[ 1294.656810] hub 1-0:1.0: 1 port detected
<6>[ 1294.658377] tegra-otg tegra-otg: tegra_start_host-
<6>[ 1294.658873] host_notify:dev name=usb_otg: from state=2 -> to state=1 force=0
<6>[ 1295.030875] usb 1-1: new full speed USB device number 2 using tegra-ehci
<6>[ 1295.076482] usb 1-1: New USB device found, idVendor=046d, idProduct=c242
<6>[ 1295.077196] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
<6>[ 1295.078141] usb 1-1: Product: XUSB Gamepad
<6>[ 1295.078798] usb 1-1: Manufacturer: Logitech
<6>[ 1295.079727] usb 1-1: SerialNumber: 9128D0B2

shell@android:/ # cat /d/usb/devices

cat /d/usb/devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 3.01
S: Manufacturer=Linux 3.1.10-cyanogenmod+ ehci_hcd
S: Product=Tegra EHCI Host Controller
S: SerialNumber=tegra-ehci.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=c242 Rev=10.01
S: Manufacturer=Logitech
S: Product=XUSB Gamepad
S: SerialNumber=9128D0B2
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=5d Prot=01 Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 32 Ivl=4ms
E: Ad=02(O) Atr=03(Int.) MxPS= 32 Ivl=8ms