Make sure all other programs that can use the device are closed, for example Skype tends to "grab" devices and use them even while being inactive and just loaded in the background. A bit more info could be useful though, what kind of device are you using? what manufacturer? etc.