can i create a PDO for any USB device in UsbHub…
No.
–
Slava Imameyev, xxxxx@hotmail.com
wrote in message news:xxxxx@ntdev…
> can i create a PDO for any USB device in UsbHub…
>
I want to develop virtual USB devices which is possible. Now driver gets bus enumeration message whenever some USB device gets attached to USB port. Bus enumerates and creates a PDO respetive to that Device. And then AddDevice of FDO gets called in which this PDO gets passed by Plug and Play manager. Then how it is possible to simulate virtaul USB device.
Get the Vista WDK beta, and use the device simulation framework. Trying to
do this yourself is not going to get you anywhere, much of the interface at
the lower levels of the USB stack is undocumented.
–
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply
wrote in message news:xxxxx@ntdev…
>I want to develop virtual USB devices which is possible. Now driver gets
>bus enumeration message whenever some USB device gets attached to USB port.
>Bus enumerates and creates a PDO respetive to that Device. And then
>AddDevice of FDO gets called in which this PDO gets passed by Plug and Play
>manager. Then how it is possible to simulate virtaul USB device.
>
But using Vista WDK beta… is it going to run in 2000 or XP…
DSF will run on those platforms. The KMDF QA team uses portions of it to test KMDF on every platform KMDF runs on.
I highly recommend its use.
Not for device simulation. But you are not going to be successful your way,
check the various forums you will see this one has been asked before.
The real question is why you want to simulate a device on USB bus, rather
than simulate the device ignoring USB? Because trying to simulate the USB
stack is going to give you trouble.
–
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply
wrote in message news:xxxxx@ntdev…
> But using Vista WDK beta… is it going to run in 2000 or XP…
>
For XP, yes, as long as you use the appropriate build environment. I
can’t say I know whether W2K is supported or not.
MM
>> xxxxx@yahoo.co.in 2006-09-07 12:40 >>>
But using Vista WDK beta… is it going to run in 2000 or XP…
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
Basically the idea which i want to do is that I had one Mass Storage USB device… which is connected to Client System, now i captured this device object and IRP’s and sends it to server where there is againg a driver which will pass IRP’s as normally as device is attached to the same device. So that the application running in server should feel that device is attched to the same system not in some otther system.
As in server there isnt any device attached so i want to load all device drivers and passing of IRP, URB’s… So i had devided work first capturing of URB’s, device object, IRPs etc… Second simulatin of USB device…for which i was in need of PDO… so that I should be able to simulate New Hardware Found window should come…
A caveat- I believe I misunderstood your earlier question. I’m fairly certain you can’t redistribute DSF as a part of your solution- it is provided as a driver development aid (so you can simulate missing or limited availability hardware).
Also, while I know the DSF core works on those platforms, I can’t personally vouch for the USB simulator. Hope to change that within the next few months, though…