yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] liiochen:
Need help.........

<3>[ 2.150146] msm_hsusb_rpc_connect: connect compatible failed vers = 10001

<3>[ 2.150177] msm_hsusb_rpc_connect: connect compatible failed vers = 10002

<6>[ 2.150207] msm_otg_probe: rpc_connect(-11)

<3>[ 2.150238] msm_otg_probe: rpc connect failed

<6>[ 2.150421] msm72k_udc: msm72k_probe

<3>[ 2.150451] msm_chg_rpc_connect: connect compatible failed

<6>[ 2.150512] msm72k_udc: usb_free(-19)

<3>[ 2.150543] msm_chg_rpc_close: rpc_close failed before call, rc = -113

Where is the RPC server initialized??
[HD2 Android NAND Development] Rick_1995:
/arch/arm/mach-msm/

LEO's AMSS version is not same as that in xperia, so all RPC won't be same in both devices..
[HD2 Android NAND Development] liiochen:
I know this , I'll try to creating a rpc service first.

---------- Post added at 11:48 AM ---------- Previous post was at 11:47 AM ----------

I think , I need some x10 dmesg logs.:crying:

---------- Post added at 11:51 AM ---------- Previous post was at 11:48 AM ----------

I'll checking this part of the sources:

<6>[ 0.363189] smd_init()
<6>[ 0.363220] smd_core_init()
<6>[ 0.363281] smd_core_init() done
<3>[ 0.363311] msm_init_last_radio_log: could not retrieve SMEM_CLKREGIM_BSP
<6>[ 0.363433] smd_alloc_channel() cid=00 size=08192 'SMD_DS'
<6>[ 0.363586] smd_alloc_channel() cid=01 size=32768 'SMD_DIAG'
<6>[ 0.363677] smd_alloc_channel() cid=02 size=08192 'SMD_RPCCALL'
<6>[ 0.363769] smd_alloc_channel() cid=05 size=08192 'SMD_CONTROL'
<6>[ 0.363861] smd_alloc_channel() cid=07 size=32768 'SMD_DATA1'
<6>[ 0.363952] smd_alloc_channel() cid=08 size=32768 'SMD_DATA2'
<6>[ 0.364044] smd_alloc_channel() cid=09 size=32768 'SMD_DATA3'
<6>[ 0.364166] smd_alloc_channel() cid=11 size=32768 'SMD_DATA5'
<6>[ 0.364227] smd_alloc_channel() cid=12 size=32768 'SMD_DATA6'
<6>[ 0.364349] smd_alloc_channel() cid=13 size=32768 'SMD_DATA7'
<6>[ 0.364440] smd_alloc_channel() cid=15 size=08192 'SMD_DATA9'
<6>[ 0.364532] smd_alloc_channel() cid=27 size=08192 'SMD_GPSNMEA'
<6>[ 0.364624] smd_alloc_channel() cid=40 size=08192 'DSP_DIAG'
<3>[ 0.364685] smd_alloc_v2: cid 41 does not exist
<3>[ 0.364715] smd_alloc_v1: cid 41 does not exist
<6>[ 0.364746] smd_alloc_channel() cid=42 size=08192 'DSP_DAL_AQ_VID'
<6>[ 0.364837] smd_alloc_channel() cid=43 size=08192 'DSP_DAL_AQ_AUD'
<6>[ 0.364929] smd_alloc_channel() cid=46 size=08192 'DSP_DAL00'
<3>[ 0.365020] smd_alloc_v2: cid 47 does not exist
<3>[ 0.365051] smd_alloc_v1: cid 47 does not exist
<6>[ 0.365081] smd_alloc_channel() cid=48 size=08192 'SMD_DAL00'
<3>[ 0.365539] _smem_log_init: no power log or log_idx allocated, smem_log disabled
<6>[ 0.365936] RPC Probe
<6>[ 0.366210] RPC Init done
<6>[ 0.366241] SMD: ch 2 0 -> 1
<6>[ 0.366363] Init amss parameters, found AMSS: 1550
<6>[ 0.366394] SMD: ch 2 1 -> 2
<6>[ 0.367034] msm_pm: 0x00000000: e3a00546
<6>[ 0.367065] msm_pm: 0x00000004: e590f004
<6>[ 0.367126] Acquire 'boot-time' halt_lock
<6>[ 0.367492] Registered led device: button-backlight
<3>[ 0.996520] msm_i2c msm_i2c.0: error, status 43c8 (5C)
<3>[ 0.996582] msm_i2c msm_i2c.0: Error during data xfer (-5) (5C)
<3>[ 0.996643] msm_i2c msm_i2c.0: error, status 43c8 (34)
<3>[ 0.996673] msm_i2c msm_i2c.0: Error during data xfer (-5) (34)
<6>[ 0.997253] input: htcleo-touchscreen as /devices/virtual/input/input0
<6>[ 0.997375] leo_touch_name 0-0000: Start touchscreen htcleo-touchscreen
<4>[ 0.997833] htcleo_wifi_init: start
[HD2 Android NAND Development] Rick_1995:
I'm unsure of how the xperia dmesg might help, since the amss are different, the remote call parameters and the function id itself may be different. However I do know of something that might help you.
[HD2 Android NAND Development] liiochen:
irq failed....

<7>[ 2041.771514] hub 1-0:1.0: hub port CC.
<7>[ 2041.771575] hub 1-0:1.0: port 1, status 0101, change 0000, 12 Mb/s
<7>[ 2041.771667] hub 1-0:1.0: Disconnect any existing devices under this port.
<7>[ 2041.771789] hub 1-0:1.0: for SET_CONFIG_TRIES.
<7>[ 2041.771911] msm_hsusb_host msm_hsusb_host.0: port 1 reset
<6>[ 2041.827026] [USB] portchange USB_SPEED_HIGH
<7>[ 2041.831054] msm_hsusb_host msm_hsusb_host.0: GetStatus port 1 status 88001205 POWER sig=se0 PE CONNECT
<6>[ 2041.891021] usb 1-1: new high speed USB device using msm_hsusb_host and address 2
<4>[ 2046.890991] msm_hsusb_host msm_hsusb_host.0: Unlink after no-IRQ? Controller is probably using the wrong IRQ.

...

<7>[ 2094.061187] usb 1-1: khubd timed out on ep0out len=0/0
<3>[ 2094.271148] usb 1-1: device not accepting address 5, error -110
<3>[ 2094.271240] hub 1-0:1.0: unable to enumerate USB device on port 1
<7>[ 2094.271270] hub 1-0:1.0: hub port nothing todo.

---------- Post added at 06:31 AM ---------- Previous post was at 06:31 AM ----------

localhost / # cat /proc/interrupts
CPU0
0: 11564 msm smd_dev
4: 2 msm dex_cb
5: 4 msm smsm_dev
7: 135709 msm gp_timer
8: 0 msm dg_timer
19: 1 msm msm_mdp
20: 0 msm kgsl-3d0
21: 58610 msm msmdatamover
22: 0 msm smd_dev
24: 5785 msm msm-sdcc (cmd)
25: 2259 msm msm-sdcc (pio)
26: 54 msm msm-sdcc (cmd)
27: 1 msm msm-sdcc (pio)
34: 26629 msm msm_i2c
58: 27 msm msm_hsusb, ehci_hcd:usb1
[HD2 Android NAND Development] Rick_1995:
but are you able to read ID pin ?
[HD2 Android NAND Development] liiochen:
I not sure now, ID pin is look like success to read in otg or Udc device .at the next I will port the EHCI module
[HD2 Android NAND Development] liiochen:
In Tytung r3.5 kernel, did not find the “charger class” RPC service (0x3000001a:0x10001) registration, but related definitions in htc-linux.org

ref: http://htc-linux.org/wiki/index.php?title=Leo_RPC

here is my log:

<4>[ 0.366546] SMD: Created server 3000005d:00010002 with cid=cf882ac0
<4>[ 0.368347] SMD: Created server 30000015:00010001 with cid=cf882ac0
<4>[ 0.370269] SMD: Created server 30000025:00000000 with cid=00000001
<4>[ 0.370574] SMD: Created server 30000043:00000000 with cid=00000001
<4>[ 0.370849] SMD: Created server 30000005:00000000 with cid=00000001
<4>[ 0.371124] SMD: Created server 30000024:00000000 with cid=00000001
<4>[ 0.371368] SMD: Created server 30000061:00010001 with cid=00000001
<4>[ 0.371643] SMD: Created server 30000003:00000000 with cid=00000001
<4>[ 0.371917] SMD: Created server 30000060:00010001 with cid=00000001
<4>[ 0.372222] SMD: Created server 3000005f:00010002 with cid=00000001
<4>[ 0.372497] SMD: Created server 3000005e:00000000 with cid=00000001
<4>[ 0.372741] SMD: Created server 3000001f:00000000 with cid=00000001
<4>[ 0.373016] SMD: Created server 30000000:dfe0120c with cid=00000001
<4>[ 0.373321] SMD: Created server 3000fffd:0000ffff with cid=00000001
<4>[ 0.373596] SMD: Created server 3000001d:00010001 with cid=00000001
<4>[ 0.373901] SMD: Created server 3000005b:00010001 with cid=00000001
<4>[ 0.374176] SMD: Created server 3000003c:c08639a9 with cid=00000001
<4>[ 0.374481] SMD: Created server 3000003b:00000000 with cid=00000001
<4>[ 0.374786] SMD: Created server 3000005a:00000000 with cid=00000001
<4>[ 0.375091] SMD: Created server 30000059:00000000 with cid=00000001
<4>[ 0.375366] SMD: Created server 3000001b:408f49d3 with cid=00000001
<4>[ 0.375671] SMD: Created server 30000039:00000000 with cid=00000001
<4>[ 0.376068] SMD: Created server 30000019:78b4b8a1 with cid=00000001
<4>[ 0.376373] SMD: Created server 30000016:b3a63524 with cid=00000001
<4>[ 0.376678] SMD: Created server 30000053:cacb9f48 with cid=00000001
<4>[ 0.376983] SMD: Created server 30000014:cf2ba98e with cid=00000001
<4>[ 0.377288] SMD: Created server 30000051:00000000 with cid=00000001
<4>[ 0.377563] SMD: Created server 30000012:00000000 with cid=00000001
<4>[ 0.377868] SMD: Created server 3000fe00:a82d4624 with cid=00000001
<4>[ 0.378173] SMD: Created server 30000010:00000000 with cid=00000001
<4>[ 0.378479] SMD: Created server 3000006c:00000000 with cid=00000001
<4>[ 0.378753] SMD: Created server 3000000f:00000000 with cid=00000001
<4>[ 0.379058] SMD: Created server 3000000e:110e8786 with cid=00000001
<4>[ 0.379364] SMD: Created server 30000089:00010002 with cid=00000001
<4>[ 0.379669] SMD: Created server 3000006a:00000000 with cid=00000001
<4>[ 0.379974] SMD: Created server 3000000c:00000000 with cid=00000001
<4>[ 0.380279] SMD: Created server 30000048:00010002 with cid=00000001
<4>[ 0.380584] SMD: Created server 31000038:00000000 with cid=00000001
<4>[ 0.380920] SMD: Created server 30000066:00000000 with cid=00000001
[HD2 Android NAND Development] Rick_1995:
Might not help you much, but here are all the USB registers in 8x50, pm me if you need anything more :)
[HD2 Android NAND Development] Spaqin:
Hey guys,

Unrelated to development question, but still I want to ask: how can you check if the OTG cable's working at all? I got a powered hub but it doesn't seem to work. I'd like to know if this could be an issue with the hub (and I should make myself a Y-cable) or the cable itself. Unfortunately, I don't have any other devices I could test it on. I can see the pins on microUSB side are a bit backed off but I don't think this could be a problem since it's less than one milimeter than in my normal cable.
[HD2 Android NAND Development] Robbie P:
Try the diagnostics tool http://xdaforums.com/showthread.php?t=1493325 but i still think you need to plug something in.
[HD2 Android NAND Development] Spaqin:
I'll have to try it, I hope it will work even without power coming from the phone since I don't have a Y-cable.

I just wanted to have an ICS rom for games only :<

[edit]

Oh.

EvoICS NativeSD, doesn't find the device. Still dunno if it's OTG cable problem or lack of Y-cable.
[HD2 Android NAND Development] ogonzuhnina:
definetively you are missing Y-cable.

Leo (as for now...hopefully) is not able to push any power from the phone to the USB device,

I also believe, the chip inside the phone needs an external power source to use of the USB-host capabilities (but I may be wrong to the second one)

cheers
[HD2 Android NAND Development] minDark:
You don't need a Y cable if your USB hub if functioning (you provide power to it).I also have an USB hub with external power adapter and it's working. I use micro USB cable that came with my phone and an USB female-female adapter to fit with hub cable.
[HD2 Android NAND Development] Spaqin:
I'm going to test the cable with friend's Xperia S which should have OTG, not just USB Host out-of-the-box. If it won't work on it, I'll be sure I got a bad cable and I have to get another one.
[HD2 Android NAND Development] Rick_1995:
News about when you search before posting ??
[HD2 Android NAND Development] liiochen:
I came back. OTG IRQL has some problems. The hardware maybe really not support 3v3 OTG

---------- Post added at 01:55 PM ---------- Previous post was at 01:45 PM ----------

Thanks.. Can you send the NEW LK(lk-htc-wince) to me?
[HD2 Android NAND Development] liiochen:
now:

localhost / # cat /proc/interrupts
CPU0
0: 794 msm smd_dev
4: 0 msm dex_cb
5: 3 msm smsm_dev
7: 9302 msm gp_timer
8: 0 msm dg_timer
19: 880 msm msm_mdp
20: 0 msm kgsl-3d0
21: 56198 msm msmdatamover
22: 0 msm smd_dev
24: 0 msm msm-sdcc (cmd)
25: 0 msm msm-sdcc (pio)
26: 145 msm msm-sdcc (cmd)
27: 1 msm msm-sdcc (pio)
34: 3648 msm msm_i2c
58: 919 msm msm_otg, msm_hsusb
122: 0 msmgpio mic_headset
124: 0 msmgpio bt host_wake
126: 0 msmgpio akm8973
127: 0 msmgpio gpio_kp
128: 0 msmgpio gpio_kp
129: 0 msmgpio gpio_kp
147: 0 msmgpio over_voltage_interrupt
177: 0 msmgpio microp_interrupt
179: 0 msmgpio leo_touch_name
181: 1 msmgpio gpio_keys
232: 0 msmgpio 35mm_headset
240: 1 msmgpio msm-sdcc (slot)
Err: 0

HD2 is support JTAG Debug?
[HD2 Android NAND Development] gazzacbr:
Sent from my HD2 using the power of Jelly Bean
[HD2 Android NAND Development] liiochen:
I need a RPC service list very much

I need description of 0x30000064 prog
[HD2 Android NAND Development] liiochen:
the OTG driver and UDC controller is supported RPC notify now.

I has tested it

but the adb and host is not work.

current's problem is IRQ and clocks

I connected it to PC. the IRQ shared for udc,otg and ehci

When I disconnect it. the IRQ shared for otg and ehci, the udc controller's IRQ is not available

UK sourcecode: https://github.com/ultrasystem/UltraKernel-X

localhost / # cat /proc/interrupts
CPU0
0: 1852 msm smd_dev
4: 6 msm dex_cb
5: 4 msm smsm_dev
7: 26592 msm gp_timer
8: 0 msm dg_timer
19: 2018 msm msm_mdp
20: 0 msm kgsl-3d0
21: 59912 msm msmdatamover
22: 0 msm smd_dev
24: 7532 msm msm-sdcc (cmd)
25: 2953 msm msm-sdcc (pio)
26: 170 msm msm-sdcc (cmd)
27: 1 msm msm-sdcc (pio)
34: 8727 msm msm_i2c
58: 0 msm msm_otg, ehci_hcd:usb1, msm_hsusb
122: 0 msmgpio mic_headset
124: 1 msmgpio bt host_wake
126: 0 msmgpio akm8973
127: 0 msmgpio gpio_kp
128: 0 msmgpio gpio_kp
129: 0 msmgpio gpio_kp
147: 0 msmgpio over_voltage_interrupt
177: 0 msmgpio microp_interrupt
179: 181 msmgpio leo_touch_name
181: 1 msmgpio gpio_keys
232: 0 msmgpio 35mm_headset
239: 1240 msmgpio bcmsdh_sdmmc
240: 1 msmgpio msm-sdcc (slot)
Err: 0

---------- Post added at 10:15 PM ---------- Previous post was at 10:14 PM ----------

git branch: JB-OTG
[HD2 Android NAND Development] Rick_1995:
you probably know this already, but here you go. Also check your inbox.
[HD2 Android NAND Development] liiochen:
<7>[ 33.582397] otg_reset: handle missing BSV event
<7>[ 33.644866] OTG state: b_idle
<7>[ 33.707275] b_sess_vld
<7>[ 33.770690] Charging with 0mA current
<4>[ 33.834106] msmfb_start_dma 63.385 ms after vsync request
<6>[ 33.897827] msm_hsusb msm_hsusb: msm72k_udc: OFFLINE -> ONLINE
<7>[ 33.961334] msm_hsusb msm_hsusb: reset controller
<6>[ 34.024841] otg_reset: phy_reset = 1
<4>[ 34.087280] msmfb_start_dma 62.469 ms after vsync request
<6>[ 34.150756] msm_hsusb_phy_reset
<6>[ 34.236267] IRQ state: b_peripheral
<6>[ 34.298675] otgsc = 83c3000
<7>[ 34.361083] BSV clear
<4>[ 34.424499] msmfb_start_dma 202.087 ms after vsync request
<6>[ 34.489227] IRQ state: b_peripheral
<6>[ 34.552612] otgsc = 82c0c00
<7>[ 34.615997] BSV set

success reset ...
[HD2 Android NAND Development] liiochen:
localhost d # cat /proc/interrupts
CPU0
0: 1288 msm smd_dev
4: 0 msm dex_cb
5: 3 msm smsm_dev
7: 19614 msm gp_timer
8: 0 msm dg_timer
19: 1544 msm msm_mdp
20: 0 msm kgsl-3d0
21: 57509 msm msmdatamover
22: 0 msm smd_dev
24: 3779 msm msm-sdcc (cmd)
25: 1606 msm msm-sdcc (pio)
26: 136 msm msm-sdcc (cmd)
27: 0 msm msm-sdcc (pio)
34: 5849 msm msm_i2c
58: 663 msm msm_otg, msm_hsusb
122: 0 msmgpio mic_headset
124: 1 msmgpio bt host_wake
126: 0 msmgpio akm8973
127: 0 msmgpio gpio_kp
128: 0 msmgpio gpio_kp
129: 0 msmgpio gpio_kp
147: 0 msmgpio over_voltage_interrupt
177: 0 msmgpio microp_interrupt
179: 0 msmgpio leo_touch_name
181: 1 msmgpio gpio_keys
232: 0 msmgpio 35mm_headset
239: 654 msmgpio bcmsdh_sdmmc
240: 1 msmgpio msm-sdcc (slot)
Err: 0

The OTG + UDC mode has been completed. Tomorrow will join the EHCI controller

View attachment dmesg-0050.txt
[HD2 Android NAND Development] liiochen:
Download:

coming soon....

debug info for HOST:

localhost / # cat /proc/interrupts
CPU0
0: 3214 msm smd_dev
4: 1 msm dex_cb
5: 3 msm smsm_dev
7: 46882 msm gp_timer
8: 0 msm dg_timer
19: 3201 msm msm_mdp
20: 0 msm kgsl-3d0
21: 60415 msm msmdatamover
22: 0 msm smd_dev
24: 8191 msm msm-sdcc (cmd)
25: 3262 msm msm-sdcc (pio)
26: 145 msm msm-sdcc (cmd)
27: 1 msm msm-sdcc (pio)
34: 9790 msm msm_i2c
58: 97 msm msm_otg, ehci_hcd:usb1
122: 0 msmgpio mic_headset
124: 1 msmgpio bt host_wake
126: 0 msmgpio akm8973
127: 0 msmgpio gpio_kp
128: 0 msmgpio gpio_kp
129: 0 msmgpio gpio_kp
147: 0 msmgpio over_voltage_interrupt
177: 0 msmgpio microp_interrupt
179: 0 msmgpio leo_touch_name
181: 1 msmgpio gpio_keys
232: 0 msmgpio 35mm_headset
239: 1415 msmgpio bcmsdh_sdmmc
240: 1 msmgpio msm-sdcc (slot)
Err: 0

debug info for UDC:

localhost / # cat /proc/interrupts
CPU0
0: 5650 msm smd_dev
4: 3 msm dex_cb
5: 3 msm smsm_dev
7: 77843 msm gp_timer
8: 0 msm dg_timer
19: 3201 msm msm_mdp
20: 0 msm kgsl-3d0
21: 60849 msm msmdatamover
22: 0 msm smd_dev
24: 8903 msm msm-sdcc (cmd)
25: 3537 msm msm-sdcc (pio)
26: 145 msm msm-sdcc (cmd)
27: 1 msm msm-sdcc (pio)
34: 14929 msm msm_i2c
58: 99 msm msm_otg, ehci_hcd:usb1, msm_hsusb
122: 0 msmgpio mic_headset
124: 1 msmgpio bt host_wake
126: 0 msmgpio akm8973
127: 0 msmgpio gpio_kp
128: 0 msmgpio gpio_kp
129: 0 msmgpio gpio_kp
147: 0 msmgpio over_voltage_interrupt
177: 0 msmgpio microp_interrupt
179: 0 msmgpio leo_touch_name
181: 1 msmgpio gpio_keys
232: 0 msmgpio 35mm_headset
239: 1544 msmgpio bcmsdh_sdmmc
240: 1 msmgpio msm-sdcc (slot)
Err: 0
[HD2 Android NAND Development] XeX_DuBwoofer_x:
Wow i'm glad you guys didn't give up on this! i had tried it out back when it was first released and boy did i like it apart from the lack of charging etc anyhow you guys have continued to plough on through and by the looks of it are nearly done correct? just in time too as my HD2 broke at the start of the year and i have just payed out for repairs :D you guys rock!

EDIT: Did you really pull apart some of the Xperia X10i software (kernel drivers etc) to get this working?
[HD2 Android NAND Development] liiochen:
I have tried the the USB OTG drives from x10i kernel . However, I am currently using OTG kernel is from DELL MINI :p

---------- Post added at 09:46 PM ---------- Previous post was at 08:56 PM ----------

Please help me..

Why read ULPI _DEBUG is timeout ? But I can read the other.

turn_off_phy_pll() success called. but ulpi_read_with_reset(dev, ULPI_DEBUG); failed

static inline int turn_off_phy_pll(struct msm_otg *dev)
{
unsigned res;

res = ulpi_read_with_reset(dev, ULPI_CONFIG_REG1);
if (res == 0xffffffff) {

pr_err("read ulpi config register failed.\n");
return -ETIMEDOUT;
}

res = ulpi_write_with_reset(dev,
res & ~(ULPI_ONCLOCK), ULPI_CONFIG_REG1);
if (res)
return -ETIMEDOUT;

res = ulpi_write_with_reset(dev,
ULPI_CLOCK_SUSPENDM, ULPI_IFC_CTRL_CLR);
if (res)
return -ETIMEDOUT;

/*Clear SuspendM bit to initiate suspend mode */
res = ulpi_write_with_reset(dev,
ULPI_SUSPENDM, ULPI_FUNC_CTRL_CLR);
if (res)
return -ETIMEDOUT;

return res;
}

static inline int check_phy_caliberation(struct msm_otg *dev)
{
unsigned res;

res = ulpi_read_with_reset(dev, ULPI_DEBUG);

if (res == 0xffffffff) {
pr_err("check & read ulpi debug register failed.\n");
return -ETIMEDOUT;
}

if (!(res & ULPI_CALIB_STS) && ULPI_CALIB_VAL(res))
return 0;

pr_err("ulpi calib status not set.\n");
return -1;
}

.
[HD2 Android NAND Development] liiochen:
HOST or UDC driver is working now.

But OTG have last problem ---------------->

ID PIN Interrupt is OK

But no OTGSC_IDIS status

and can not read OTGSC_ID

So, Could not switch to B_IDLE !!

How to read IDPIN in linux 2.6.35 kernel?
[HD2 Android NAND Development] Robbie P:
Hi liiochen, thank you for your work. I know nothing about kernels but found this about adding a delay. http://lists.infradead.org/pipermail/linux-arm-kernel/2012-July/109027.html hope it helps. (Billy Idol?;))
[HD2 Android NAND Development] umar.techboy:
Host works awsum, Is there any ETA for OTG?
[HD2 Android NAND Development] max414:
I am sorry for being a noob , but i Read the whole thread but couldn't understand much , Our beloved Hd2 can Usb on the go..But can we charge it simultaneously?

Like That on xperia S and nexus 7 and xperia mini and many more ?
[HD2 Android NAND Development] FunFrog:
We all hope that liiochen will give us that amazing possibility.
[HD2 Android NAND Development] maddoc1007:
usb otg

came across this rick liiochen dont know if it will help with usb otg for our hd2,s

http://xdaforums.com/showthread.php?t=2153897
[HD2 Android NAND Development] derschnelle:
AW: [26 MAY] USB Host mode for HD2

I'm on vacation at the moment, trying to use my hd2 as an imagetank with a 500Gb harddisk. But I always have problems copying a greater amount of data. It stopps after a few files. I tried different file managers already. My Rom is nexus 4.0.4...

Do you have any suggestions for me?
[HD2 Android NAND Development] Szczepanik:
File Explorer FX

http://xdaforums.com/showthread.php?t=1253399

Cheers

Tom

My Note II to you
[HD2 Android NAND Development] derschnelle:
AW: [26 MAY] USB Host mode for HD2

Thanks, but my problem stays. After 20-30 files it stops and won't continue. No one else has problems like this?
[HD2 Android NAND Development] retsam88:
No progress so far? Or is it dead?
[HD2 Android NAND Development] fusion90:
Jellybean not work???

Inviato dal mio NexusHD2 con Tapatalk 2
[HD2 Android NAND Development] Spaqin:
Yes my friend, jellybean not work.

Yet.

Make your own kernel and include this code to make it work.
[HD2 Android NAND Development] bamit99:
Now jump over to Firefox OS on HD2 Forum. May the fun never ends! Lol
[HD2 Android NAND Development] ivooec:
DSLR Controller!

Hi!

DSLR Controller 0.98.3 confirmed WORKING on paranoidandroid_hd2_v1.5b!!!

Regards,

Ivan
[HD2 Android NAND Development] Rick_1995:
What parts did you use for making the voltage converter ? (Also that digital voltmeter, which looks EPIC)
[HD2 Android NAND Development] ivooec:
Hi!

All the parts are from ebay:

LM2596-DC-DC-Step-down-Adjustable-CC-CV-Power-Supply-Module-Converter-LED-driver

Mini-Digital-Voltmeter-LCD-Panel-Meter-Display-Voltage-Meter-Display-DC9-54V-Red

there is a lot of different types and sizes, i had them from the other little projects.....

Regards,

Ivan

P.S. Confirmed working HTC Desire DSLR Controller :) Working 100%! Cyanogen 7.2.0.1 (patched kernel) no Wifi, for the rest do not know, primary use of the phone is DSLR Controller ;)
[HD2 Android NAND Development] gilbert32:
i just pulled out my hd2 from my pocket to find out the digitizer is dead! :(

so using this kernel, would using a mouse need touching the screen for configuration?

Edit: Works after removing SetupWizard. Thanks for this kernel!
[HD2 Android NAND Development] Spaqin:
A bit of digging up, but...

Guys, did the wired Xbox360 controller work for any of you? I recently got a USB coupler, so I installed tytung's ICS ROM with the OTG kernel and while the mouse, the keyboard and pendrives work, I can't get the controller to work. It's visible in USB Host Controller app, but neither FPSe nor USB/BT Joystick Center 8 can see it.

even if it doesn't that's not actually that bad... though I'd emulate lots of things that are hardly playable with broken multitouch, or even touch controls at all.
[HD2 Android NAND Development] Rick_1995:
iirc, gamepad API and profiles for certain wired controllers were added in 4.1.2. You could look around xda if those profiles can be installed onto a ics rom since they were just a bunch of key layout files.
[HD2 Android NAND Development] Spaqin:
Unfortunately, the key layout for xbox controller was already included in tytung's ICS ROM (checked the vendor/product ID, they're good) and I think it might be the kernel lacking some modules.

Though generic Logitech Precision controller does work, with FPSe at least (not natively, but I could map gamepad buttons through settings).
[HD2 Android NAND Development] Rick_1995:
I can assure you there is nothing lacking in the kernel module. kernel module only enables ehci mode in the usbhs controller and has nothing to do with one specific device not working.

You're welcome to try this patch on a 4.2 rom. Although I don't have source with me right now so I can't compile the kernel for you.
[HD2 Android NAND Development] Spaqin:
I found that xpad.ko module might be required and I guess if I copy that from another device it won't work, will it?
[HD2 Android NAND Development] vigneshjack3:
Hai.......

i have used usb host kernel in NexusHD2-ICS-CM9-HWA_V3.0b rom.......................

i have managed to get mouse,keyboard(logitech),pendrive(toshiba,sandisk) properly working........

but when i tried to plug my usb joystick it didnt work ............

but in usb host controller app(it detects) ... detect it as dragonrise inc. generic usb joystick

i tried using joystick center app,gamepad ime app,...etc.........

please help me to get joystick working.........(i think in kernel some module)

i have attached screenshots of usb host controller app,dmesg log....

anyone got usb joystick working,.....tell me the name of usb gamepad(wired)
[HD2 Android NAND Development] Spaqin:
Logitech Precision.

Only has digital buttons, no analog input. Had to manually set hardware buttons in FPSe to make it work, no app would find it either. You could argue that it doesn't count.

Xbox 360 gamepad didn't work at all.