检测USB设备 [英] Detecting USB devices

查看:89
本文介绍了检测USB设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我想知道以下问题的答案.
操作系统如何检测USB设备?操作系统如何与USB端口通信?其背后的机制是什么?
我正在使用Windows XP.
在此先感谢.

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.

推荐答案

之间有一个设备驱动程序.设备驱动程序(通过读取硬件或在BIOS的帮助下)检测到USB设备.设备驱动程序将此报告给操作系统.操作系统的读写也一样.操作系统将命令发送到设备驱动程序,以从设备读取数据或向设备写入数据.

Piet
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


使用 ^ ]用于检测USB等即插即用设备.
USB devices are detected by driver which uses PNP Technology[^] for detection of Plug and PLay devices like USB.


这篇关于检测USB设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆