Click here to Skip to main content
15,896,444 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
I want to know answer for following questions.
How operating system detects the USB devices? How the operating system communicates with USB ports? What is the mechanism behind that?
I am using windows xp.
Thanks in advance.
Posted

There is a device driver in between. The device driver detects (by reading the hardware or with help of the bios) the usb device. The device driver reports this to the OS. Same for reading and writing of the OS. The OS sends commands to the device driver to read or write data from / to the device.

Piet
 
Share this answer
 
v2
USB devices are detected by driver which uses PNP Technology[^] for detection of Plug and PLay devices like USB.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900