CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - D12isoDriver
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - D12isoDriver - List
[
Embeded-SCM Develop
]
D12isoDriver
DL : 0
周立功D12开发板中带的WINDOWS XP驱动程序,在编译后会出现USB设备不能正常工作. 以下是修改的代码,修改后可以正常工作. 在d12.c和Ioctl.c中, 将+256去掉,这个会引去枚举设备时,设备描述符的长度不对,修改后: siz = sizeof(USB_CONFIGURATION_DESCRIPTOR) 在d12.c中的D12_SelectInterface函数中, 设备查询完接口后有一段代码,也会引起驱动返回不对,需要屏蔽下面的代码 // Retrieve the selected Configuration and Interface 修改上面两处后,USB可以正常使用了. -weeks D12 development board, who were brought to the Windows XP drivers, the compiler will happen after the USB device not working properly. Following is the revised code, revised after normal work. In d12.c and Ioctl.c, 256 will be removed, this will generate to Enumerate equipment located descriptors up the length wrong, the revised : not = sizeof (USB_CONFIGURATION_DESCRIPTOR) in the D12_SelectInterface d12.c function, equipment End interface for a period after the code can also lead to wrong drivers need to shield the following code / / Retrieve the selected Configuration Interface and the above two changes, USB can use the normal.
Update
: 2008-10-13
Size
: 25.41kb
Publisher
:
haha
[
Embeded-SCM Develop
]
D12isoDriver
DL : 0
周立功D12开发板中带的WINDOWS XP驱动程序,在编译后会出现USB设备不能正常工作. 以下是修改的代码,修改后可以正常工作. 在d12.c和Ioctl.c中, 将+256去掉,这个会引去枚举设备时,设备描述符的长度不对,修改后: siz = sizeof(USB_CONFIGURATION_DESCRIPTOR) 在d12.c中的D12_SelectInterface函数中, 设备查询完接口后有一段代码,也会引起驱动返回不对,需要屏蔽下面的代码 // Retrieve the selected Configuration and Interface 修改上面两处后,USB可以正常使用了. -weeks D12 development board, who were brought to the Windows XP drivers, the compiler will happen after the USB device not working properly. Following is the revised code, revised after normal work. In d12.c and Ioctl.c, 256 will be removed, this will generate to Enumerate equipment located descriptors up the length wrong, the revised : not = sizeof (USB_CONFIGURATION_DESCRIPTOR) in the D12_SelectInterface d12.c function, equipment End interface for a period after the code can also lead to wrong drivers need to shield the following code// Retrieve the selected Configuration Interface and the above two changes, USB can use the normal.
Update
: 2025-02-17
Size
: 25kb
Publisher
:
haha
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.