Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to know where I could get some material to study USB hot plug-in mechanism in Android Stack. I tried googling many a times, but din't find anything useful.

share|improve this question
are you trying to understand when you dock it on a computer or when you connect a usb device to the phone/tablet? – RobotHumans Jan 24 '11 at 17:14
@aking1012: Connecting USB into a tablet with Android stack – aTJ Jan 25 '11 at 9:19
I can't put my finger on it at the moment but on: android.git.kernel.org I think it should be in platform/hardware or platform/external - probably external – RobotHumans Jan 25 '11 at 14:48
@aking1012 is right, android uses a GNU/Linux kernel – tmow Jan 27 '11 at 15:27
@tmow Thanks - I was thinking they wanted everything in modules, but USB support is built into the android kernel itself. Added the location of the relevant code in an answer. – RobotHumans Jan 27 '11 at 19:13

Okay found it...on http://android.git.kernel.org it is located in kernel/linux-2.6.git/drivers/usb/

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.