[usbip-devel] soft device enumeration using windows USBIP driver
Status: Alpha
Brought to you by:
hirofuchi
|
From: B.Vinai K. <vin...@gm...> - 2013-03-15 01:06:50
|
Hello,
Sorry for my incomplete last mail, It was sent accidentally.
I have downloaded the USBIP windows sources from SVN trunk and
extended the USBIP windows application "usbip.exe" to enumerate it as
a soft device using the USBIP bus enumerator driver(no modifications
in bus driver).
The following soft device enumeration is successful by giving the
proper descriptors and after handling the class specific control
requests.
1) HID "soft" device
2) USB Audio "soft" device
When I make it composite device, I'm seeing the crash on(Blue screen)
windows 7 PC.
Windows Minidump is pointing to this line of code,
file: busenum.c
function: proc_select_config()
on One PC it is pointing to this line of code
---> if(NULL==pdodata->dev_config){
KdPrint(("Warning, select config when have no get config\n"));
return STATUS_INVALID_DEVICE_REQUEST;
}
and on other PC the crash dump is pointing to different line
------> if(!RtlEqualMemory(pdodata->dev_config,
req->ConfigurationDescriptor,
sizeof(*req->ConfigurationDescriptor))){
KdPrint(("Warning, not the same config desc\n"));
return STATUS_INVALID_DEVICE_REQUEST;
}
and the error thrown on Blue screen is
"Page Fault on non Paged Area"
Please help me in debugging this issue? I'm familiar to Linux drivers
but Windows development is new to me.
Thank You,
Vinai
|