hid鼠标winxp加载log

=============获取设备描述符
bRequestType:80
bRequest    :06
wValue      :0100
wIndex      :0000
wLength     :0040 期望长度64字节

usb bus Reset总线复位我的usb设备
=============发出为我的usb设备设置地址指令,我的usb地址被设置为0x04
bRequestType:00
bRequest    :05
wValue      :0004
wIndex      :0000
wLength     :0000

=============获取配置描述符
bRequestType:80
bRequest    :06
wValue      :0200
wIndex      :0000
wLength     :0009 期望长度9字节

=============尝试读取配置描述符0xff长度
bRequestType:80
bRequest    :06
wValue      :0200
wIndex      :0000
wLength     :00ff

=============尝试读取配置描述符0x12长度,不会超时
bRequestType:80
bRequest    :06
wValue      :0200
wIndex      :0000
wLength     :0012

=============尝试读取配置描述符0x09长度,正好
bRequestType:80
bRequest    :06
wValue      :0200
wIndex      :0000
wLength     :0009

=============读取配置描述符总长度0x22
bRequestType:80
bRequest    :06
wValue      :0200
wIndex      :0000
wLength     :0022

=============设置配置,将配置生效,使能cpu上的endpoint端点
bRequestType:00
bRequest    :09
wValue      :0001 将配置数值设置为1
wIndex      :0000
wLength     :0000

=============
bRequestType:00
bRequest    :09
wValue      :0001
wIndex      :0000
wLength     :0000

=============
bRequestType:81 读取接口
bRequest    :06 读取接口描述符
wValue      :2200 读取报告描述符
wIndex      :0000
wLength     :0072

=============
bRequestType:81
bRequest    :06
wValue      :2200
wIndex      :0000
wLength     :0072

============= 读取配置描述符
bRequestType:80
bRequest    :06
wValue      :0200
wIndex      :0000
wLength     :0022

posted on 2010-11-26 13:29 wrh 阅读(239) 评论(0)  编辑 收藏 引用


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理


导航

<2010年11月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

统计

常用链接

留言簿(19)

随笔档案

文章档案

收藏夹

搜索

最新评论

阅读排行榜

评论排行榜