Drivers Generic



-->

The USBSAMP sample demonstrates how to perform full speed, high speed, and SuperSpeed transfers to and from bulk and isochronous endpoints of a generic USB device. USBSAMP is based on the Kernel Mode Driver Framework (KMDF). Superspeed bulk and isochronous transfers only work when the Microsoft USB 3.0 stack is loaded.

The sample also contains a console test application that initiates bulk (including stream) and isochronous transfers and obtains data from the device's I/O endpoints. The application also demonstrates how to use GUID-based device names and pipe names generated by the operating system using the SetupDiXXX user-mode APIs.

The 'Generic Audio Driver Detected' issue is simply an error message that Windows Troubleshooter will display when your computer is having issues with the sound or audio system. Download new and previously released drivers including support software, bios, utilities, firmware and patches for Intel products. Microsoft® ODBC Driver 13.1 for SQL Server® - Windows, Linux, & macOS. The Microsoft ODBC Driver for SQL Server provides native connectivity from Windows, Linux, & macOS to Microsoft SQL Server and Microsoft Azure SQL Database.

For information about USB, see Universal Serial Bus (USB) Drivers.

Driver Generic Bluetooth Radio

Universal Windows Driver Compliant

This sample builds a Universal Windows Driver. It uses only APIs and DDIs that are included in OneCoreUAP.

Hardware requirements

The sample driver can be loaded as the function driver for any of these devices:

  • OSR FX2 learning kit. You can get the kit from OSR Online. For more information, see the specification for the OSR USB FX-2 Learning Kit
  • MUTT devices. To order those devices, see How to get MUTT devices.
  • Intel 82930 USB test board.

If you have a different USB device, you can still use the driver by adding the device's hardware ID to the INX file. Note that the data transfer scenarios will work only with the endpoints supported by the device.

Set the configuration and platform in Visual Studio

In Visual Studio, in Solution Explorer, right click Solution 'usbsamp' (3 projects), and choose Configuration Manager. Set the configuration and the platform. Make sure that the configuration and platform are the same for both the driver project and the package project. Do not check the Deploy boxes.

Build the sample using Visual Studio

In Visual Studio, on the Build menu, choose Build Solution.

For more information about using Visual Studio to build a driver package, see Building a Driver with Visual Studio and the WDK.

Locate the built driver

In File Explorer, navigate to the folder that contains your built driver package. The location of this folder varies depending on what you set for configuration and platform. For example, if your settings are Debug and x64, the driver is in your solution folder under sysdriverDebugusbsamp.

The driver folder contains these files:

FileDescription
usbsamp.sysThe driver file
usbsamp.infAn information (INF) file that contains information needed to install the driver.
kmdfsamples.catA signed catalog file, which serves as the signature for the entire package.
Drivers Generic

Run the sample

The computer where you install the driver is called the target computer or the test computer. Typically this is a separate computer from where you develop and build the driver package. The computer where you develop and build the driver is called the host computer.

The process of moving the driver package to the target computer and installing the driver is called deploying the driver. You can deploy the USBSAMP sample automatically or manually.

Automatic deployment

Before you automatically deploy a driver, you must provision the target computer. For instructions, see Provision a computer for driver deployment and testing (WDK 10).

  1. On the host computer, in Visual Studio, in Solution Explorer, right click package (lower case), and choose Properties. Navigate to Configuration Properties > Driver Install > Deployment.

  2. Check Enable deployment, and check Remove previous driver versions before deployment. For Target Computer Name, select the name of a target computer that you provisioned previously. Select Install and Verify. Click OK.

  3. On the Build menu, choose Deploy Package or Build Solution.

Manual deployment

Before you manually deploy a driver, you must turn on test signing and install a certificate on the target computer. You also need to copy the DevCon tool to the target computer. For instructions, see Preparing a Computer for Manual Driver Deployment.

  1. Copy all of the files in your driver package to a folder on the target computer (for example, c:Usbsamp).

  2. On the target computer, open a Command Prompt window as Administrator. Navigate to your driver package folder, and enter the following command:

    devcon install usbsamp.inf USBVID_045E&PID_078F

View the device in Device Manager

On the target computer, in a Command Prompt window, enter devmgmt to open Device Manager. In Device Manager, on the View menu, choose Devices by type. In the device tree, locate the device. For example the device name might be WDF Sample for FX2 MUTT device under theSample Device node.

Build the sample using MSBuild

Drivers Generic Bluetooth Radio

As an alternative to building the USBSAMP sample in Visual Studio, you can build it in a Visual Studio Command Prompt window. In Visual Studio, on the Tools menu, choose Visual Studio Command Prompt. In the Visual Studio Command Prompt window, navigate to the folder that has the solution file, Usbsamp.sln. Use the MSBuild command to build the solution. Here are some examples:

For more information about using MSBuild to build a driver package, see Building a Driver with Visual Studio and the WDK.

Testing the sample

The sample includes a test application, usbsamp.exe. This console application enumerates the interface registered by the driver and opens the device to send Read, Write, or DeviceIoControl requests based on the command line options. To test the sample,

  1. In Visual Studio, choose Solution Explorer from the View menu. Locate the application project named usbsamp, under the Exe folder.

  2. Right-click and choose Build. For example, if your settings are Debug and x64, the application executable is in your solution folder under the exeDebugusbsamp.exe.

  3. Run the executable on the target machine.

Generic
  • To view all descriptors and endpoint information, use the following command.

    usbsamp.exe -u

    You can use the preceding command to view pipe numbers for read and write requests.

  • To send a Read-Write request, use the following command.

    usbsamp.exe -r 1024 -w 1024 -c 100 -v

    The preceding command first writes 1024 bytes of data to bulk out endpoint (pipe 1), then reads 1024 bytes from bulk in endpoint (pipe 0), and compares the read buffer with write buffer to see if they match. If the buffer contents match, it performs this operation 100 times.

  • To send Read-Write requests to bulk endpoints, use any of the following commands, simultaneously. If Read-Write requests are sent to a SuperSpeed bulk endpoint with streams, the sample driver always uses the first underlying stream associated with that endpoint. The driver is multi-thread safe so it can handle multiple requests at a time.

    usbsamp.exe -r 65536

    The preceding command reads 65536 bytes from pipe 0.

    usbsamp.exe -w 65536

    The preceding command writes 65536 bytes to pipe 1.

    usbsamp.exe -r 65536 -i pipe02

    The preceding command reads 65536 bytes from pipe 2.

    usbsamp.exe -w 65536 -o pipe03

    The preceding command writes 65536 bytes to pipe 3.

  • To send Read and Write requests to isochronous endpoints you can use one or more of these commands simultaneously.

    usbsamp.exe -r 512 -i pipe04

    The preceding command reads 512 bytes from pipe 4.

    usbsamp.exe -w 512 -o pipe05

    The preceding command writes 512 bytes to pipe 5.

    usbsamp.exe -w 1024 -o pipe05 -r 1024 -i pipe04 -c 100 -v

    The preceding command writes 1024 bytes to pipe 5, then reads 1024 bytes from pipe 4, and compares the buffers to see if they match. If the buffer contents match, it performs this operation 100 times.

  • To skip validation of the data to be read or written in a particular request, use the command with -x option as follows:

    usbsamp.exe -r 1024 -w 1024 -c 100 -x

Do you want to know how to download and update the generic PnP monitordriver on your Windows computer? You have arrived at the right article because in this blog we will look at the ways in which you can do so.

Knowing how to download, install and update generic PnP monitor drivers will help you to fix any kind of monitor issues, especially after upgrading your computer’s OS to Windows 10. So, let us look at what is the generic PnP monitor and how can you install and update generic PnP monitor drivers.

What is a Generic PnP Monitor?

PnP is the acronym for Plug and Play. So, the generic PnP monitor drivers acts as a translator between the operating system of the Windows and the Plug and Play monitors.

Usually, the generic PnP monitors are pre-installed in the system that gets actively installed in the computer when it is used for the first time. However, sometimes after an upgrade, after installing some Windows updates, or due to some other reasons, the monitor may stop working properly.

What would you do if you suddenly experience issues with your monitor? The most prudent approach would be to download and update the generic PnP monitor drivers to solve the issues.

Topmost Methods to Install and Update Generic PnP Monitor Driver

If you wish to know which is the easiest and most effective solution to download and install the generic PnP monitor driver, then we would recommend you to use the Bit Driver Updater software in your quest to get the generic PnP monitor driver.

Bit Driver Updater is a splendid program that can thoroughly take care of your systm’s drivers everyday and install the most recent updates of different kinds of system drivers. Thus, ensuring that the device drivers are functioning well and your Windows PC is healthy and stable.

Click on the Download button below to get the Bit Driver Updater quickly on your computer.

Download and Install Generic PnP Monitor Driver

Drivers Generic Usb Joystick

In the below segment of the blog, we have described manual ways and an automatic way to help you install and update the generic PnP monitor driver.

Method 1. Manual Way Using Device Manager

The generic PnP monitor driver can be downloaded, installed, and updated with the help of the Windows tool – Device Manager. The steps have been outlined below:

  • Step 1. Launch the Device Manager from the Start menu.
  • Step 2. In the Device Manager window, expand the Monitors section by double-clicking it.
  • Step 3. Then, right click on the generic PnP monitor and choose the Update driver option from the context menu.
  • Step 4. You will receive a prompt next asking if you want to “update the drivers automatically” or by “browsing the computer for driver software.”
  • Step 5. You need to click the former option and the latest version of the PnP monitor driver will be searched for and downloaded by Windows.
  • Step 6. You need to wait for sometime and restart the computer to finish the installation of the driver.

Read Also: How to Reinstall Audio Drivers in Windows 10

Method 2. Manual Way Using Manufacturer’s Site

You can also head to the PC manufacturer’s site to download and install the latest PnP monitor driver. You can search for the drivers of generic PnP monitors and download the driver package on your computer. Then, you can double-click the downloaded.exe file to install in on your computer.

Read Also: Best Free Driver Updater Software in 2020

Method 3. Automatic Way Using Bit Driver Updater

We have mentioned before that the quickest, simplest, and easiest way to download the latest driver updates of the generic PnP monitor by using the Bit Driver Updater software.

You need to first install the Bit Driver Updater on your computer. Then, use the tool to scan the computer to find out the faulty drivers.

After this, you can utilize the one-click update feature of this tool to update the PnP monitor driver instantly. The tool would download and install the driver automatically on your Windows PC.

Successfully Downloaded Generic PnP Monitor Driver

So, did you manage to download generic PnP monitor drivers with the above-described methods of this article? I do hope that you were able to do so and resolve the issue with the generic PnP monitor.

Do let us know in the comments box below if you had any troubles while following and executing the steps of the aforementioned methods to get the drivers of the generic PnP monitor.