?

Log in

No account? Create an account

adq


Andrew de Quincey's livejournal


Previous Entry Share Next Entry
Android USB progress
adq
I finally made some progress on the Android USB code last night; I've got the codeaurora USB host/function code pretty much integrated into the Hero source tree: it builds cleanly.

Right now it only switches based on the USB OTG ID pin (much like the Droid's usb host support does). I don't want to force people to use that if they don't want to, so I just need to add a software override switch into /sys.

That won't take long, so after that, its test/debug time!


As for the joggler, the final piece I need to get going is the IEGD driver; I've downloaded it, but not had time to patch/build the kernel module yet.

  • 1

Re: This switching code would work on Milestones?

Hmm, the Motorola ones are based on the TI OMAP system on a chip, so the host/gadget drivers are in the kernel; I think I did have a quick look into whether they had a software switch a while back, but couldn't any one in the kernel source. I don't own either device, so I didn't look for more then half an hour or so though.

I do know that the Nokia N770, which was based on a much older generation of TI OMAP could switch between host and gadget mode in software. Definitely sounds like it would be feasible for someone to code something up; after all, all its really doing is disabling one driver and enabling another.

Re: This switching code would work on Milestones?

Purely hypothetically right now, but would this be something you could help with if we lent you a Milestone device?

Re: This switching code would work on Milestones?

Yeah, definitely; I can't imagine it would be very hard to add...

Re: This switching code would work on Milestones?

Tried to move the loan idea to an email discussion - maybe I used null email address or maybe email got spam tagged...

  • 1