Develop USB3 stream supported driver on Win8

As
http://msdn.microsoft.com/en-us/library/windows/hardware/hh450846(v=VS.85).aspx
How to Open and Close Static Streams in a USB Bulk Endpoint

Said, win8 support bulk streams in its native usb stack.

Now I want to develop a test driver which could testing bulk stream function of the USB3 device.
I have the following question:

  1. Should I develop the USB3 device driver based on KMDF USB sample or WDM sample?
  2. I have install the Win8 develop preview 64bit with tools, where can I found the WDK for WIN8, does it nest on the system or should I need to download from some website? Does win8 WDK have sample code for usb3 bulk stream driver?
  3. How to build the driver on Win8? Does use visual studio 11?

thank you,

> 1. Should I develop the USB3 device driver based on KMDF USB sample or WDM

sample?
2. I have install the Win8 develop preview 64bit with tools, where can I
found the WDK for WIN8, does it nest on the system or should I need to
download from some website? Does win8 WDK have sample code for usb3 bulk
stream driver?

The Win8 WDK is located at *C:\Program Files (x86)\Windows Kits\8.0*

  1. How to build the driver on Win8? Does use visual studio 11?

You can use Nmake2MsBuild.exe to convert source to VS2011 project. Refer
to *
http://msdn.microsoft.com/en-us/library/windows/hardware/hh454827(v=vs.85).aspx
*

Thank you zhang.

But it seems that I can not find the path

%PROGRAMFILES%\Windows Kits\8.0\tools

there is no dir of tools.

My OS is WDP 64 bit with tools.

Does any trick when install the version os?

Hi ,
Are you sure if you install full version of latest WDK. Can you find the
Nmake2MsBuild.exe in your folder?
Marvin

On Mon, Dec 12, 2011 at 1:52 PM, wrote:

> Thank you zhang.
>
> But it seems that I can not find the path
>
> %PROGRAMFILES%\Windows Kits\8.0\tools
>
> there is no dir of tools.
>
> My OS is WDP 64 bit with tools.
>
> Does any trick when install the version os?
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

In fact, I just install the WDP 64bit with tools version.

Not separately install the WIN8 WDK.

I can not find the path for %PROGRAMFILES%\Windows Kits\8.0\tools

there is no tools dir under %PROGRAMFILES%\Windows Kits\8.0.

Should I reinstall the WIN8 64bit with tools again?

Besides, I can not find the
1.Open Visual Studio 11 Ultimate Developer Preview. From the File menu, click Open and then click Convert Sources/Dirs…

there is no Convert Sources/Dirs… for me to use.

> Besides, I can not find the

1.Open Visual Studio 11 Ultimate Developer Preview. From the File menu,
click Open and then click Convert Sources/Dirs…

there is no Convert Sources/Dirs… for me to use.

The developer preview of Win8 With Tools is not as featureful as you might expect. You still need to install the driver kit:
http://msdn.microsoft.com/en-gb/windows/hardware/br259105

Regards,
Tim Green
Senior Development Engineer
DisplayLink (UK) Limited
Registered in England No. 04811048

you will find the wdk (and sdk and all other win8 kits) under %ProgramFiles(x86)%\windows kits\8.0 on a 64 bit system. You need to install dev11 VS ultimate, not express. You also need to explicitly install the WDK from http://msdn.microsoft.com/en-us/windows/hardware/gg454513/.

to answer your questions

  1. use KMDF, start with usbsamp
  2. see above
  3. the win8 wdk fully integrates with VS dev11. it uses the project and build system

d

thank you Green.

But
There is no subscription associated with your Live ID. Add a subscription to this account.

Which make me confused.

How can I do this?

I have MSN account, but forget the
First Name: Last Name: Email Address: Subscriber ID.

thank you,

On Mon, Dec 12, 2011 at 3:07 PM, wrote:
> But
> There is no subscription associated with your Live ID. Add a subscription to this account.
>
> Which make me confused.
>
> How can I do this?
>
> I have MSN account, but forget the
> First Name: ?Last Name: ?Email Address: ?Subscriber ID.

MSN account will not work. You need MSDN subscription which
you need to pay.
http://msdn.microsoft.com/en-us/subscriptions/hh442902


Xiaofan

So it seems that I can not develop USB3 driver now without WIN8 ddk?

Any other suggestions?

thank you.

I thinks So. You have to install the Win8 SDK and WDK.

On Mon, Dec 12, 2011 at 9:05 PM, wrote:

> So it seems that I can not develop USB3 driver now without WIN8 ddk?
>
> Any other suggestions?
>
> thank you.
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

Well, the USB3 driver you write will be for Win8.

Win8’s not released yet.

The tools are currently available for free as part of the Developer Preview. I don’t THINK you have to have an MSDN subscription:

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27543

As always, Google is your friend.

Peter
OSR

you will find the wdk (and sdk and all other win8 kits) under
%ProgramFiles(x86)%\windows kits\8.0 on a 64 bit system. You need to install
dev11 VS ultimate, not express. You also need to explicitly install the WDK from
http://msdn.microsoft.com/en-us/windows/hardware/gg454513/.

to answer your questions

  1. use KMDF, start with usbsamp
  2. see above
  3. the win8 wdk fully integrates with VS dev11. it uses the project and build
    system

d


It seems that I insta with the express.

I will confirm with re-install the win8 64 bit with tools version.

It is a pity.

When I reinstall the Win8 64 bit with tools version.
WindowsDeveloperPreview-64bit-English-Developer.iso

And I didn’t not choose the express setting.
It still without dir tools under %PROGRAMFILES%\Windows Kits\8.0\

So it seems that the only way I can use WIN8 DDK now is I should spend money buy a subscription for download WIN8 WDK.

Peter Viscarola (OSR):
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27543
is v11, but not WIN8 WDK.

thank you,

On 12/14/2011 1:04 PM, workingmailing@163.com wrote:

So it seems that the only way I can use WIN8 DDK now is I should
spend money buy a subscription for download WIN8 WDK.

Microsoft™ makes the rules for Windows™ development.

And the current rules say “give $$$, then receive WDK8preview”.

…this should make you realize how much MS actually gives away free.
It’s a lot! And they need to make money for their shareholders.

it is a pity!

It seems that only when WIN8 wdk is free to download, we can develop the usb3 bulk stream testing driver.

Doron,
I actually have similar problem.
I installed VS ultimate, and WDK.
But I can’t find a way to open Driver/WDF project either by the wizard or any other way.
I can’t see how can I compile the driver .

What do you suggest to create an empty project, to insert my files and then just regulary compile?
I’ll try it anyway. But If there is more convinient way please inform me.
E.E

In VS 11 with Win 8 WDK add-in installed, just do “File, Import From Sources/Dirs…” and then build like any ordinary VS project.

Peter
OSR

Minor correction, it is Convert, not Import. Also File ->New -> Empty Kmdf driver project gives you a project you can dump files into

d

debt from my phone


From: xxxxx@osr.com
Sent: 12/15/2011 6:25 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Develop USB3 stream supported driver on Win8

In VS 11 with Win 8 WDK add-in installed, just do “File, Import From Sources/Dirs…” and then build like any ordinary VS project.

Peter
OSR


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

workingmailing@163.com wrote:

it is a pity!

It seems that only when WIN8 wdk is free to download, we can develop the usb3 bulk stream testing driver.

That is utter nonsense. It has only been relatively recently that there
was a free path to acquire the WDK at all. Traditionally, it has always
been available only to MSDN subscribers.

If you are serious about developing software or hardware for Microsoft
products, then you must have an MSDN subscription. End of story.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.