Winusb, where to find Winusb.sys and Winusb.dll

Hi all

I am trying to install the Winusb on Windows 7 32 bit, i followed the steps
mentioned in “How to install Winusb.sys as the device’s function driver” i am
ignoring the step 6 , which is “Create a signed catalog file for the package.
This file is required to install WinUSB on x64 versions of Windows.”
as the platform that i am targetting is 32 bit.

since my requirement is to display all the configuration(interface,pipetype,
pipe name,bandwidth and its direction) of the USB device.

i connected a usb drive, and the driver for it was automatically installed. then
i opened the Device Manager and under USB section, i found the following device.

Universal Serial Bus controllers
-Generic USB hub
-Standard Enhanced PCI to USB Host Controller
-Standard Universal PCI to USB Host Controller
-USB Composite Device
-USB Mass Storage Device
-USB Root Hub
-USB Root Hub

which device should i select from the above to upgrade to WinUSB.sys as the
function driver.
also from where do i get the winusb.sys and Winusb.dll

Note: I dont have the OSR-USB Fx2 tool kit, instead iam using a simple pen drive

regards
pradish

Change the view to by connection and pick the device that is the child of the hub

d


From: xxxxx@gmail.commailto:xxxxx
Sent: ?1/?16/?2013 7:19 AM
To: Windows System Software Devs Interest Listmailto:xxxxx
Subject: [ntdev] Winusb, where to find Winusb.sys and Winusb.dll

Hi all

I am trying to install the Winusb on Windows 7 32 bit, i followed the steps
mentioned in “How to install Winusb.sys as the device’s function driver” i am
ignoring the step 6 , which is “Create a signed catalog file for the package.
This file is required to install WinUSB on x64 versions of Windows.”
as the platform that i am targetting is 32 bit.

since my requirement is to display all the configuration(interface,pipetype,
pipe name,bandwidth and its direction) of the USB device.

i connected a usb drive, and the driver for it was automatically installed. then
i opened the Device Manager and under USB section, i found the following device.

Universal Serial Bus controllers
-Generic USB hub
-Standard Enhanced PCI to USB Host Controller
-Standard Universal PCI to USB Host Controller
-USB Composite Device
-USB Mass Storage Device
-USB Root Hub
-USB Root Hub

which device should i select from the above to upgrade to WinUSB.sys as the
function driver.
also from where do i get the winusb.sys and Winusb.dll

Note: I dont have the OSR-USB Fx2 tool kit, instead iam using a simple pen drive

regards
pradish


NTDEV is sponsored by OSR

OSR is HIRING!! See http://www.osr.com/careers

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</mailto:xxxxx></mailto:xxxxx>

I switched the view to “Device by connection” and under
UMBus Root Bus Enumerator
-UMBus Enumerator
-UMBus Enumerator

so i selected one of them and did an update driver, it failed as i did not the binaries for 32 bit system
but i am sure the WDK version was for a 32 bit.

i think the error is for WinUsb.sys and Winusb.dll as i dont have this in my install folder.
from where do i get these binaries.

regards
pradish

Umbus is not USB, you need to find the USB host controller and then go down the tree. The winusb files get on the machine when you install your inf on the device and properly reference the winusb coinstaller dll

d


From: xxxxx@gmail.commailto:xxxxx
Sent: ?1/?16/?2013 8:49 AM
To: Windows System Software Devs Interest Listmailto:xxxxx
Subject: RE:[ntdev] Winusb, where to find Winusb.sys and Winusb.dll

I switched the view to “Device by connection” and under
UMBus Root Bus Enumerator
-UMBus Enumerator
-UMBus Enumerator

so i selected one of them and did an update driver, it failed as i did not the binaries for 32 bit system
but i am sure the WDK version was for a 32 bit.

i think the error is for WinUsb.sys and Winusb.dll as i dont have this in my install folder.
from where do i get these binaries.

regards
pradish


NTDEV is sponsored by OSR

OSR is HIRING!! See http://www.osr.com/careers

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</mailto:xxxxx></mailto:xxxxx>

i figured out that winusb.sys and winusb.dll is installed by the co-installer.
now when i try to update the driver, I get a popup “select device” with message " The folder you specified doesn’t contain a compatible software driver for your device. if the folder contains a driver, make sure it is designed to work with windows for 32-bit systems."

what does that mean, i have installed a 32 bit version on OS and WDK is also for the 32 bit, the co-installers are also from the x86 folder.

what am i doing incorrectly ?

The hardware ID in your INF must be one of the hw or compat IDs that is reported for the device. Are you still trying to install your INF on a umbus device node?

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Wednesday, January 16, 2013 9:26 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Winusb, where to find Winusb.sys and Winusb.dll

i figured out that winusb.sys and winusb.dll is installed by the co-installer.
now when i try to update the driver, I get a popup “select device” with message " The folder you specified doesn’t contain a compatible software driver for your device. if the folder contains a driver, make sure it is designed to work with windows for 32-bit systems."

what does that mean, i have installed a 32 bit version on OS and WDK is also for the 32 bit, the co-installers are also from the x86 folder.

what am i doing incorrectly ?


NTDEV is sponsored by OSR

OSR is HIRING!! See http://www.osr.com/careers

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

xxxxx@gmail.com wrote:

i figured out that winusb.sys and winusb.dll is installed by the co-installer.
now when i try to update the driver, I get a popup “select device” with message " The folder you specified doesn’t contain a compatible software driver for your device. if the folder contains a driver, make sure it is designed to work with windows for 32-bit systems."

what does that mean, i have installed a 32 bit version on OS and WDK is also for the 32 bit, the co-installers are also from the x86 folder.

what am i doing incorrectly ?

What is it that you think you ARE doing? What’s your goal?

WinUSB is still a driver. Because it is a driver, it has to be
installed as part of a driver package. That means you have to create an
INF that identifies exactly which device you want to drive. The INF
also specifies the GUID you will use to access the device from user mode.

So, you can’t just point at a device and say “I want to use WinUSB with
this device”.


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

xxxxx@gmail.com wrote:

Note: I dont have the OSR-USB Fx2 tool kit, instead iam using a simple pen drive

“A simple pen drive”? Pen drives follow the USB Mass Storage Class
specification. It is a derivative of the SCSI disk drive command set.
It’s not particularly simple. If you have not done USB before, this is
NOT a good place to start.

Remember, the Mass Storage Class spec just gets you access to sectors.
It doesn’t know anything about volumes and partitions and file systems.
That’s all handled by drivers farther up the stack. If you’re doing
this hoping that you can go read and write a couple of files, you have
months of work ahead of you.

As a learning project, there are an infinite number of better choices.


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

I don’t think he wants to use winusb to access the disk as a disk. Rather, he wants to use winusb as a way to get usb generic information from the device. For the most part you can easily do this by talking to the parent hub and querying for all of the descriptors, etc. see the usbview sample for how to do this. Going through the parent does not allow you to send io to the device though.

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Wednesday, January 16, 2013 9:49 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Winusb, where to find Winusb.sys and Winusb.dll

xxxxx@gmail.com wrote:

Note: I dont have the OSR-USB Fx2 tool kit, instead iam using a simple
pen drive

“A simple pen drive”? Pen drives follow the USB Mass Storage Class specification. It is a derivative of the SCSI disk drive command set.
It’s not particularly simple. If you have not done USB before, this is NOT a good place to start.

Remember, the Mass Storage Class spec just gets you access to sectors.
It doesn’t know anything about volumes and partitions and file systems.
That’s all handled by drivers farther up the stack. If you’re doing this hoping that you can go read and write a couple of files, you have months of work ahead of you.

As a learning project, there are an infinite number of better choices.


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


NTDEV is sponsored by OSR

OSR is HIRING!! See http://www.osr.com/careers

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