Questions tagged [drivers]

THIS TAG IS FOR WRITING DRIVERS. Questions about finding/using drivers can be asked on https://superuser.com Drivers allow higher-level programs to communicate with the specific hardware device and operating system that they were programmed for.

In computing, a device driver or software driver is a computer program allowing higher-level computer programs to interact with a hardware device. A driver typically communicates with the device through the computer bus or communications subsystem to which the hardware connects. When a calling program invokes a routine in the driver, the driver issues commands to the device. Once the device sends data back to the driver, the driver may invoke routines in the original calling program. Drivers are hardware-dependent and operating-system-specific. They usually provide the interrupt handling required for any necessary asynchronous time-dependent hardware interface.

This tag should only be used for questions related to driver development, as questions about finding or installing drivers are off-topic for StackOverflow. Assistance with identifying, locating, and installing drivers may be obtained at SuperUser, Unix & Linux Exchange or in the case of server-related and enterprise-level hardware, ServerFault.

As Microsoft states, Without drivers, the hardware you connect to your computer—for example, a video card or a webcam—will not work properly.

In most cases, drivers come with Windows or can be obtained through Windows Update; other times, the driver is found on the disc that came with the hardware or device you want to use, or is on the manufacturer's website.

People also often cite drivers as a common cause of operating system crashes. The reason a poorly written driver can crash an operating system is if it overwrites memory that is shared in the operating system's address space. This is less common in micro-kernel operating systems than [monolithic kernel] operating systems, where all OS services run along with the main kernel thread, thus also residing in the same memory area.

646 questions
4
votes
0 answers

Linux kernel driver

I'm learning how to develop a simple driver for a card connected to the USB1 serial. I wanted to know how the kernel understand that my device needs to be mapped as /dev/ebbchar. How to change to /dev/ebbGV? and if i connect another device why i…
user3589887
  • 139
  • 2
  • 13
4
votes
0 answers

Difference between the printer drivers

My question is pretty simple but I am not able to find clean and simple to understand answer for a long time. There are these printer drivers: Unidrv XPSdrv PostScript What are the differences between them? If Unidrv ( the universal printer driver…
Shameel Mohamed
  • 607
  • 5
  • 23
4
votes
0 answers

Getting a single signed Windows driver which passes HLK and HCK tests

We have a driver which passes the HLK and HCK tests. When we're ready to submit it to Microsoft we take the HCK results and merge them with the HLK results, sign it, and submit it to Microsoft. When we get the drivers back from Microsoft we get two…
Muricula
  • 1,174
  • 3
  • 9
  • 16
4
votes
1 answer

Windows driver kernel: How enumerate all subdirectories and files?

I'm working in a small antirootkit and i need add a functionality that is: Delete all files on directory of rootkit and in yours possible subdiretories. So, firstly is necessary know all these directories and files, right? To this, i have code…
user6828073
4
votes
0 answers

Sending USB vendor specific commands to USB HUB?

I have USB 2.0 HUB which I can program, when I connect the HUB to my PC, WINDOWS recognize it as standart USB 2.0 HUB ,and I see in the device manager that "iusb3hub.sys" is the driver. is there any simple way to send "vendor specific" commands to…
Itai Ofir
  • 41
  • 2
4
votes
3 answers

Can I install a Vulkan driver on my 3rd gen Intel Ivy Bridge integrated GPU on Ubuntu 16.04?

Here's a look at my driver from my terminal: sudo lshw -c video *-display description: VGA compatible controller product: 3rd Gen Core processor Graphics Controller vendor: Intel Corporation physical id:…
Frank
  • 2,050
  • 6
  • 22
  • 40
4
votes
0 answers

Understanding high system CPU usage on web server on Windows

NOTE We have a couple of close votes for this post. I am not sure exactly why since no one has commented but this question is about how our custom written Java server and its calls into socket reads can interact with the Windows OS and produce this…
AntonyM
  • 1,602
  • 12
  • 12
4
votes
2 answers

How do drivers become a part of the kernel?

Someone told me that for most operating systems, the drivers become a part of the kernel. How does this happen? Does the kernel decompile itself, add the driver, and recompile itself? Or are the drivers plug ins for the kernel? Are drivers even…
noah
  • 183
  • 2
  • 8
4
votes
1 answer

install custom odbc driver on asp.net web app

I have an issue whereby I would like a user who is accessing a web application hosted in Azure to directly request what ID's are currently available from a remote database and then make a request based on that info. Locally, how I do this is install…
Danrex
  • 1,657
  • 4
  • 31
  • 44
4
votes
1 answer

Starting to learn OpenGL. On modern Linux, how are all these concepts related?

I'm starting to learn OpenGL since that's a part of my chosen master's degree program. In class, accelerated 3D graphics is practiced on MS Windows (maybe DX3d is actually used instead of OpenGL, not sure). However, I've been using Linux for years…
iksemyonov
  • 4,106
  • 1
  • 22
  • 42
4
votes
0 answers

Windows Kernel Driver Code Signing and SHA256

I am trying to sign a windows kernel driver with a SHA-256 certificate. I've been back and forth with MS support with no change in status. I've tried SignTool.exe from both the 32- and 64- bit directories of 3 different WDKs (7600, 8.0, 8.1). My…
Mike B.
  • 81
  • 1
  • 6
4
votes
1 answer

Controlling COM port names from Windows driver

I'm writing a driver stack for Windows (7/8) for a multiport serial card. The card has two ports so the driver stack comprises a bus driver that creates two PDOs, one for each port and then INVALIDATEs bus relations to initiate a PNP sequence…
StanBell
  • 51
  • 2
4
votes
4 answers

Virtual drivers with Windows Driver Model - where to begin?

I've never written drivers before but I'm starting an open-source project that involves creating virtual MIDI ports that will send the MIDI data over a network. For this, I presume I would be creating some sort of virtual driver using WDM (unless…
bcoughlan
  • 25,987
  • 18
  • 90
  • 141
4
votes
1 answer

How to detect FTDI driver in system

I have an app that requires FTDI D2XX Direct Drivers drivers to be installed in system. Now I am creating an installation script using Inno Setup. How can I get an information whether FTDI drivers are installed in system (Windows). Is there any path…
DamurDamuros
  • 63
  • 1
  • 5
4
votes
1 answer

Debug UMDF driver without two machines

Is it possible to debug UMDF drivers on the windows machine that I am developing them on?
adrianwadey
  • 1,719
  • 2
  • 11
  • 17