wtt
wtt
驱动牛犊
驱动牛犊
  • 注册日期2001-07-23
  • 最后登录2006-10-09
  • 粉丝0
  • 关注0
  • 积分60分
  • 威望7点
  • 贡献值0点
  • 好评度5点
  • 原创分0分
  • 专家分0分
阅读:739回复:0

一个USB的问题请大家指点?

楼主#
更多 发布于:2004-12-06 15:49
我用cy63001做了一个USB接口设备,USB设备插在联想开天系列的Pc上开机或重启时在win2k系统下(COMS设置中USB2.0支持打开时),报USB设备连接失败,拔下USB重插入连接成功。将CMOS中USB2.0支持关闭后连接USB设备重启PC可以连接成功。在别的计算机上没有这样的问题,下边是用debugprint看到的驱动连接失败的调试指令,请大家指点命令错在哪里?
Monitor 09:06:25, 02 Dec 2004 Version 1.03 starting to listen under Windows 2000 (5.0 build 2195) Service Pack 4
DebugPrint 09:05:30 Version 1.03 started
xxusb_reader driver checked 09:05:31 DebugPrint logging started
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 entering xxusb Driver 1.0
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 entering (xxusb) DriverEntry (Build: Dec  1 2004/17:08:07
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 exiting (xxusb) DriverEntry (00000000)
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 enter xxusb_PnPAddDevice
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 enter xxusb_CreateDeviceObject instance = 0
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 Create Device name (\Device\xxusbreader-0)
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 Create Device Name (\Device\xxusbreader-0)
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 Create DosDevice name (\DosDevices\xxUsbReader-0)
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 exit xxusb_CreateDeviceObject (00000000)
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 exit xxusb_PnPAddDevice (00000000)
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 Enter xxusb_DispatchPnp
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 Passing down unhandled PnP IOCTL 0x00000018
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 Exit xxusb_DispatchPnp C00000BB
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 Enter xxusb_DispatchPnp
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 Passing down unhandled PnP IOCTL 0x00000007
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 Exit xxusb_DispatchPnp C00000BB
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 Enter xxusb_DispatchPnp
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 IRP_MN_REMOVE_DEVICE
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 enter xxusb_RemoveDevice
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 exit xxusb_RemoveDevice (00000000)
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 Exit xxusb_DispatchPnp 00000000
xxusb_reader driver checked 09:05:31 xxusb.SYS:
xxusb_reader driver checked 09:05:31 exit xxusb_Unload
xxusb_reader driver checked 09:05:31 DebugPrint logging ended

社备描述符:
device_desc_table:  
    db  12h      
    db  01h      
    db  00h,01h
    db  FFh      
    db  00h      
    db  FFh    
    db  08h      
    db  48h,81h
    db  88h, 88h    
    db  00h, 00h      
    db  01h        
    db  02h    
    db  00h      
    db  01h
配置描述符:
 db  09h    
    db  02h      
    db  12h, 00h      
    db  01h      
    db  01h      
    db  04h    
    db  80h      
    db  32h  
接口描述符:
    db  09h      
    db  04h      
    db  00h      
    db  00h      
    db  00h      
    db  FFh      
    db  00h    
    db  FFh    
    db  05h
端点描述符无。
游客

返回顶部