See the following link to a similar question recently: Detect USB Signal