USB patch v23 – very close to working

Hi, I’ve deicded to release the current version (v23) of the patch for people to play with. You can find it in my adqmisc repository here. My kernel config file is also there.

If you build it, you’ll end up with two modules:

  1. f_msm_hsusb.ko is the gadget/function mode driver
  2. ehci-hcd.ko is the host mode driver.

Only one may be loaded at a time. Both of them should be load/unloadable, but you’ll likely have to un/replug the USB cable to get android to trigger properly (I don’t see this as a big problem). You’ll also have to toggle android debug support (if you want that) before and after a reload.

f_msm_hsusb.ko works in usb storage mode the first time it is loaded. However, after an unload/reload cycle it seems to stop; will have to investigate. Also, for some reason pressing the "enable usb storage" button on the phone disconnects the wifi; it doesn’t do this on the normal build, so that must be some annoying bug to track down.

Enjoy!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: