Questions tagged [winusb]

Windows USB (WinUSB) is a generic driver for USB devices that was developed concurrently with the Windows Driver Frameworks (WDF) for Windows XP with SP2.

The WinUSB architecture consists of a kernel-mode driver (Winusb.sys) and a user-mode dynamic link library (Winusb.dll) that exposes WinUSB functions. By using these functions, you can manage USB devices with user-mode software.

Winusb.sys is also a key part of the link between a UMDF function driver and the associated device, and is installed in the device's kernel-mode stack as an upper filter driver. An application communicates with the device's UMDF function driver to issue read, write, or device I/O control requests.

The driver interacts with the framework, which passes the request to Winusb.sys, which then processes the request and passes it to the protocol drivers and ultimately to the device. Any response returns by the reverse path. Winusb.sys also serves as the device stack's Plug and Play and power owner.

More details: MSDN

132 questions
1
vote
0 answers

How to filter usb devices to be used for certain vendor or device id in windows?

I want to limit usb ports on a windows 7 machine by only allowing specific usb vendor or device id. I am not managing a group of computers so I do not want to use group policy or sth. like that.. I just want to deny all usb devices to be used for…
1
vote
0 answers

winUSB Application DbgengRemoteCommand missing

I'm starting to program an access to a USB device, just like arduino. I'm using winUSB for this and I just finished the installation following every step. So I wanted to launch a USB application template but an error occured saying…
Yann
  • 67
  • 9
1
vote
0 answers

WinUsb_ReadPipe Return False and Timeout

I have to convert an application from C++(a working one) to C#. However, in the newly C# codes, I fail to read the data using WinUsb_ReadPipe, despite successfully in other operation such WinUsb_GetDescriptor, WinUsb_QueryDeviceInformation,…
1
vote
1 answer

How to implement multiple concurrent application access with WinUsb

We're porting our USB device dll's to use the generic WinUsb. However, WinUsb doesn't support multiple concurrent application accss to the same device (Same VID & PID). I wanted to know if there is a way to implement this concurrent access using…
Eldad
  • 1,067
  • 16
  • 36
1
vote
0 answers

Install WinUSB without coinstaller

I have an application which uses a WinUSB driver to communicate with a device. The application installer preinstalls the device driver, which has a standard WinUSB inf file which includes the WinUSB coinstaller for Windows XP (which doesn't come…
ymett
  • 2,425
  • 14
  • 22
1
vote
2 answers

Install winusb driver from user application

Please can anyone give me direct for realization next functional for Windows. I have USB device which connects to the PC (it is JTAG programmer.) I know VID and PID of this hardware. I need: 1 Check what type of driver this hardware use (detecting…
Lyrri
  • 11
  • 2
1
vote
1 answer

WinUSB failing on non-development computers

Good afternoon, WinUSB is working well on the development computer that I am using (Win XP SP3). I am able to download new firmware to the Cypress FX2, and then connect to the new USB device once it 'renumerates'. However, if I've tried the same…
Giawa
  • 1,281
  • 1
  • 10
  • 21
1
vote
0 answers

C# handling two USB input data streams

I'm trying write a console application that could display and log two data streams incoming from two USB devices using WinUSB drivers. Each data stream is made of 30 character long text messages that are sent at random intervals between 1ms and…
becker3
  • 11
  • 1
1
vote
1 answer

WinUSB template is missing

I want to experiment with usb drivers on c++. I'm using visual studio express 2013 and I could not find WinUSB template. I have seen this guide. However it is for visual studio ultimate/pro 2012. Can anyone help me? Thanks in advance!
Karlen
  • 1,294
  • 13
  • 20
1
vote
1 answer

Windows form application for USB port

Previously I have work with Windows Form application to establish some RS232 connection. I used the already provided serial port component (SerialPort), and I was able to establish RS232 communication relatively easy. Now, I was wondering if there…
Rudy01
  • 1,027
  • 5
  • 18
  • 32
1
vote
0 answers

Can WinUSB be used to communicate with any USB device?

Is there a way to determine whether or not I can use WinUSB with any given device? I am attempting to see if I can use libusb with USB3 Vision devices. This is the first time I have ever tried to communicate with a USB device so I am having some…
CoderDake
  • 1,497
  • 2
  • 15
  • 30
1
vote
1 answer

winusb device driver application not being executed

I am developing WinUSB application which does basic reads through Interrupt endpoint with a generic USB device. The device driver has installed fine. But the applications t_main function is not being triggered at all when the device connects. It…
device_exec
  • 1,686
  • 1
  • 9
  • 7
1
vote
1 answer

USB device design for an embedded MCU

I am working on a product with an LPC1788 which needs the following USB features: Firmware download (from host PC to device, not through a USB key). File upload (from device to host). Ideally we'd also be able to get some information from the…
djbuijs
  • 266
  • 1
  • 2
  • 10
1
vote
1 answer

Find List Of USB ports available on my Windows PC

I have searched a lot and was unable to find the Answer for the Query. I wanted to find out how many USB ports are available in PC, i.e like for serial port we have "COM1" and "COM2". My PC (windows7) contains 8 USB ports I need to find the list of…
user2038673
  • 11
  • 1
  • 2
1
vote
2 answers

WDK8 - Where is winusb.h?

I am trying to use WinUSB in my project. The guide I am following is http://msdn.microsoft.com/en-us/library/ff540174.aspx. This article tells me to include the following files: // Include Windows headers #include #include…
Daniel
  • 8,655
  • 5
  • 60
  • 87
1 2 3
8 9