Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

Upcoming OSR Seminars:
Developing File Systems for Windows, Seattle, WA 4-7 November, 2014
Kernel Debugging & Crash Analysis Lab, Boston/Waltham, MA 10-14 November, 2014
Writing WDF Drivers: Core Concepts Lab, Palo Alto, CA 12-16 January, 2015
Windows Internals & Software Drivers Lab, Seattle, WA, 16-20 February, 2015
Writing WDF Drivers: Advanced Lab, Palo Alto, CA 10-13 March, 2015


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 7  
07 Mar 08 08:49
ntdev member 35716
xxxxxx@gmail.com
Join Date:
Posts To This List: 216
usbser.sys and WinUSB.sys

Dear Team, I am aware of the fact that WinUSB is native to Vista but not XP. When I install XP with SP2 on the new system, I even did not found usbser.sys So if I want to distribute the package for above two drivers to the custom devices, do I need to include all the required files like WinUSB.sys, WinUSB CoInstaller, WDFCoinstaller and usbser.sys. WDK Docs states that Coinstallers will generate the required files in XP. When I include just WinUSB and WDFCoinstallers, XP reports that it does not find WinUSB.sys file. Regards.
  Message 2 of 7  
07 Mar 08 10:44
Chris Aseltine
xxxxxx@gmail.com
Join Date: 23 Sep 2006
Posts To This List: 1122
usbser.sys and WinUSB.sys

Uday Bhaskar wrote: > So if I want to distribute the package for above two drivers to the > custom devices, do I need to include all the required files like > WinUSB.sys, WinUSB CoInstaller, WDFCoinstaller and usbser.sys. No, you don't. The WinUSB coinstaller, if invoked properly (which it seems you are not doing), will unpack all the necessary files. usbser.sys isn't present on a fresh system either, but it lives in Driver.cab. This page shows how to reference it, even on a system where it hasn't been unpacked yet: http://msdn2.microsoft.com/en-us/library/bb332198.aspx
  Message 3 of 7  
07 Mar 08 12:31
ntdev member 32323
xxxxxx@hotmail.com
Join Date:
Posts To This List: 843
usbser.sys and WinUSB.sys

> WDK Docs states that Coinstallers will generate the required files in XP. And if you use the WDK6000RTM, please DO read the release notes. There's a section about co-installers that's not in the WDK6000RTM documentation.
  Message 4 of 7  
08 Mar 08 09:06
ntdev member 35716
xxxxxx@gmail.com
Join Date:
Posts To This List: 216
usbser.sys and WinUSB.sys

Thanks for the responses. Regarding WinUSB.sys, I understood that we need not give WinUSB.sys if I use the coinstaller correctly. I tried with the below INF and getting the following error: #E151 Coinstaller 1 of 2 failed. Error 267: The directory name is invalid. Somebody kindly suggest what is pointing wrongly in the INF. ========================================================== ;=================== Version section ==================== [Version] Signature = "$Windows NT$" Class = MyDeviceClass ClassGuid = {11111111-2222-3333-4444-555555555555} Provider = %ProviderName% DriverVer=03/25/2005,0.0.0.1 ;CatalogFile = MyWinUSBInstall.cat ; ========== Manufacturer/Models sections =========== [Manufacturer] %ProviderName% = MyDevice_WinUSB.NTx86 [MyDevice_WinUSB.NTx86] %USB\MyDevice.DeviceDesc% =USB_Install, USB\VID_1111&PID_2222 [ClassInstall32] AddReg=SampleClass_RegistryAdd [SampleClass_RegistryAdd] HKR,,,,%ClassName% HKR,,Icon,,"-10" ; =================== Installation =================== [USB_Install] Include=winusb.inf Needs=WINUSB.NT [USB_Install.Services] Include=winusb.inf AddService=WinUSB,0x00000002,WinUSB_ServiceInstall [WinUSB_ServiceInstall] DisplayName = %WinUSB_SvcDesc% ServiceType = 1 StartType = 3 ErrorControl = 1 ServiceBinary = %12%\WinUSB.sys [USB_Install.Wdf] KmdfService=WINUSB, WinUsb_Install [WinUSB_Install] KmdfLibraryVersion=1.5 [USB_Install.HW] AddReg=Dev_AddReg [Dev_AddReg] HKR,,DeviceInterfaceGUIDs,0x00010000,"{55555555-4444-3333-2222-111111111111}" [USB_Install.CoInstallers] AddReg=CoInstallers_AddReg CopyFiles=CoInstallers_CopyFiles.NTx86 [CoInstallers_AddReg] HKR,,CoInstallers32,0x00010000,"WinUSBCoInstaller.dll","WdfCoInstaller01005.dll,W dfCoInstaller" [CoInstallers_CopyFiles.NTx86] WinUSBCoInstaller.dll WdfCoInstaller01005.dll [DestinationDirs] CoInstallers_CopyFiles=11 ; =================== Strings =================== [Strings] ProviderName="MyCompany" USB\MyDevice.DeviceDesc="My Device using WinUSB only" WinUSB_SvcDesc="WinUSB driver" ClassName="MyClass" =============================================================== Regards.
  Message 5 of 7  
08 Mar 08 17:22
ntdev member 32323
xxxxxx@hotmail.com
Join Date:
Posts To This List: 843
usbser.sys and WinUSB.sys

xxxxx@gmail.com wrote: > Somebody kindly suggest what is pointing wrongly in the INF. Which WDK are you using? If it's the WDK6000RTM, read the release notes. They contain an INF sample bug fix for the XP coinstaller.
  Message 6 of 7  
14 Mar 08 06:46
ntdev member 35716
xxxxxx@gmail.com
Join Date:
Posts To This List: 216
usbser.sys and WinUSB.sys

Yes. I need not distribute winusb.sys awith the distribution. There was a problem in inf file and when used properly the coinstaller is creating winusb on the system. Its really helpful to read the release notes which clearly mentions the point of installing umdf drivers on XP. The same thing is mentioned at the below link also: http://blogs.msdn.com/peterwie/archive/2007/01/10/fixing-the-umdf-usb-samples-to- install-both-on-xp-vista.aspx My original posting included usbser.sys along with winusb.sys. I will update the status regarding usbser.sys after doing my homework. Thanks for the responses. Regards. On Sun, Mar 9, 2008 at 3:52 AM, Hagen Patzke <xxxxx@hotmail.com> wrote: > xxxxx@gmail.com wrote: > > Somebody kindly suggest what is pointing wrongly in the INF. > > Which WDK are you using? > > If it's the WDK6000RTM, read the release notes. They contain an INF > sample bug fix for the XP coinstaller. > > --- > NTDEV is sponsored by OSR <...excess quoted lines suppressed...> --
  Message 7 of 7  
16 Mar 08 11:54
ntdev member 35716
xxxxxx@gmail.com
Join Date:
Posts To This List: 216
usbser.sys and WinUSB.sys

USBSer.sys also when invoked properly as suggested is loading correctly even on the freshly OS installed system. Thanks for the guidance. Regards. On Fri, Mar 14, 2008 at 4:15 PM, Bhaskar <xxxxx@gmail.com> wrote: > Yes. I need not distribute winusb.sys awith the distribution. There was > a problem in inf file and when used properly the coinstaller is creating > winusb on the system. > > Its really helpful to read the release notes which clearly mentions the > point of installing umdf drivers on XP. The same thing is mentioned at the > below link also: > > > http://blogs.msdn.com/peterwie/archive/2007/01/10/fixing-the-umdf-usb-samples-to- install-both-on-xp-vista.aspx <...excess quoted lines suppressed...> --
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 08:41.


Copyright ©2014, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license