What winusb.sys should I distribute?

To all

I am using WinUSB successfully in an application running on 64-bit Vista
Ultimate.

Everything is working, but I have some questions that I have not found
answers to yet. The winusb.sys that I am using is one that I found in
the Vista Windows DriverStore FileRepository. The file size is 36,864
byte, date is 2 Nov 2006, file description is “Windows USB Class Driver
BETA” and file version is 6.0.6000.16386. I have downloaded the DDK 6000
but I can’t find any winusb.sys there.

  1. Is this the latest winusb.sys?
  2. Can I distribute this?
  3. Is this working on both 32-bit and 64-bit Vista?

It would be nice if there is a solution when writing the .inf file that
let the system use it’s own winusb.sys, either from some secret stash or
from the Windows CD.

Best regards

Kurt Nyström

You should not be copying or distributing anything here other than perhaps
the UMDF coinstaller. See the samples in the WDK. If you are NOT installing
on vista you should read this:

http://blogs.msdn.com/peterwie/archive/2007/01/10/fixing-the-umdf-usb-sample
s-to-install-both-on-xp-vista.aspx

Peter clears up this mess fairly well.

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-290814-
xxxxx@lists.osr.com] On Behalf Of Kurt Nystr?m
Sent: Wednesday, June 20, 2007 6:47 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] What winusb.sys should I distribute?

To all

I am using WinUSB successfully in an application running on 64-bit
Vista
Ultimate.

Everything is working, but I have some questions that I have not found
answers to yet. The winusb.sys that I am using is one that I found in
the Vista Windows DriverStore FileRepository. The file size is 36,864
byte, date is 2 Nov 2006, file description is “Windows USB Class Driver
BETA” and file version is 6.0.6000.16386. I have downloaded the DDK
6000
but I can’t find any winusb.sys there.

  1. Is this the latest winusb.sys?
  2. Can I distribute this?
  3. Is this working on both 32-bit and 64-bit Vista?

It would be nice if there is a solution when writing the .inf file that
let the system use it’s own winusb.sys, either from some secret stash
or
from the Windows CD.

Best regards

Kurt Nystr?m


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

Thanks Mark Roddy,

I think this is near what I want. I have read the article by Peter
earlier, but, as you say, this is a mess. I have tried to make a inf
file that includes the winusb.inf and some variations on inf files
starting from what was said earlier in this forum (Brian Hindman et
al). I have only to this point got error message that winusb.sys was
not found when I don’t include it on my installation media. When I
include winusb.sys, everything works.

You refer to the samples in the WDK. Yes, please a sample. I have not
found any decent samples or documentation. I have downloaded something
called Microsoft Windows Driver Kit Build 6000 and installed that. This
will create a folder named WinDDK with a lot of subfolders, but I can’t
find very much relating to WinUSB in this. I would love to have a
simple .inf file that only loads winusb.sys for my device.

Kurt Nyström

Mark Roddy wrote:

You should not be copying or distributing anything here other than perhaps
the UMDF coinstaller. See the samples in the WDK. If you are NOT installing
on vista you should read this:

http://blogs.msdn.com/peterwie/archive/2007/01/10/fixing-the-umdf-usb-sample
s-to-install-both-on-xp-vista.aspx

Peter clears up this mess fairly well.

-----Original Message-----
From:xxxxx@lists.osr.com[mailto:bounce-290814-
xxxxx@lists.osr.com] On Behalf Of Kurt Nyström
Sent: Wednesday, June 20, 2007 6:47 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] What winusb.sys should I distribute?

To all

I am using WinUSB successfully in an application running on 64-bit
Vista
Ultimate.

Everything is working, but I have some questions that I have not found
answers to yet. The winusb.sys that I am using is one that I found in
the Vista Windows DriverStore FileRepository. The file size is 36,864
byte, date is 2 Nov 2006, file description is “Windows USB Class Driver
BETA” and file version is 6.0.6000.16386. I have downloaded the DDK
6000
but I can’t find any winusb.sys there.

  1. Is this the latest winusb.sys?
  2. Can I distribute this?
  3. Is this working on both 32-bit and 64-bit Vista?

It would be nice if there is a solution when writing the .inf file that
let the system use it’s own winusb.sys, either from some secret stash
or
from the Windows CD.

Best regards

Kurt Nyström


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


Questions? First check the Kernel Driver FAQ athttp://www.osronline.com/article.cfm?id=256

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

There are several usb samples in \src\umdf\usb that include inf files that should work on vista but that you should be able to apply Peter’s remedy to work on XP. Note the *.inf files are actually *.inx files until they are run through build to output the inf file. Not that I have actually ever done this, so it is all speculation on my part.

________________________________

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Kurt Nystr?m
Sent: Wednesday, June 20, 2007 9:58 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] What winusb.sys should I distribute?

Thanks Mark Roddy,

I think this is near what I want. I have read the article by Peter earlier, but, as you say, this is a mess. I have tried to make a inf file that includes the winusb.inf and some variations on inf files starting from what was said earlier in this forum (Brian Hindman et al). I have only to this point got error message that winusb.sys was not found when I don’t include it on my installation media. When I include winusb.sys, everything works.

You refer to the samples in the WDK. Yes, please a sample. I have not found any decent samples or documentation. I have downloaded something called Microsoft Windows Driver Kit Build 6000 and installed that. This will create a folder named WinDDK with a lot of subfolders, but I can’t find very much relating to WinUSB in this. I would love to have a simple .inf file that only loads winusb.sys for my device.

Kurt Nystr?m

Mark Roddy wrote:

You should not be copying or distributing anything here other than perhaps
the UMDF coinstaller. See the samples in the WDK. If you are NOT installing
on vista you should read this:

http://blogs.msdn.com/peterwie/archive/2007/01/10/fixing-the-umdf-usb-sample
s-to-install-both-on-xp-vista.aspx

Peter clears up this mess fairly well.

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-290814-
xxxxx@lists.osr.com] On Behalf Of Kurt Nystr?m
Sent: Wednesday, June 20, 2007 6:47 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] What winusb.sys should I distribute?

To all

I am using WinUSB successfully in an application running on 64-bit
Vista
Ultimate.

Everything is working, but I have some questions that I have not found
answers to yet. The winusb.sys that I am using is one that I found in
the Vista Windows DriverStore FileRepository. The file size is 36,864
byte, date is 2 Nov 2006, file description is “Windows USB Class Driver
BETA” and file version is 6.0.6000.16386. I have downloaded the DDK
6000
but I can’t find any winusb.sys there.

1) Is this the latest winusb.sys?
2) Can I distribute this?
3) Is this working on both 32-bit and 64-bit Vista?

It would be nice if there is a solution when writing the .inf file that
let the system use it’s own winusb.sys, either from some secret stash
or
from the Windows CD.

Best regards

Kurt Nystr?m


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


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


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

Kurt Nyström wrote:

I think this is near what I want. I have read the article by Peter
earlier, but, as you say, this is a mess. I have tried to make a inf
file that includes the winusb.inf and some variations on inf files
starting from what was said earlier in this forum (Brian Hindman et
al). I have only to this point got error message that winusb.sys was
not found when I don’t include it on my installation media. When I
include winusb.sys, everything works.

This tells me that you did NOT ready Peter’s article. Winusb.sys is
embedded in WinUsbCoinstaller.dll, and is installed by that DLL. If you
add a [CoInstallers] section to your INF, refer to
WinUsbCoinstaller.dll, and add the registry key he mentions to run the
coinstaller, then winusb.sys will be installed.

You refer to the samples in the WDK. Yes, please a sample. I have not
found any decent samples or documentation. I have downloaded something
called Microsoft Windows Driver Kit Build 6000 and installed that.
This will create a folder named WinDDK with a lot of subfolders, but I
can’t find very much relating to WinUSB in this. I would love to have
a simple .inf file that only loads winusb.sys for my device.

That’s what Peter’s article describes. The coinstaller is located in
redist\winusb in the WDK.


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