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
19
votes
5 answers

Difference between JDBC Driver type numbers

I noticed that JDBC has different Drivers like: Type 1 Driver Type 2 Driver etc.. to Type 4 Why did they get the name like Type 1, Type 2 etc.? Is there any logic?
gmhk
  • 15,598
  • 27
  • 89
  • 112
18
votes
8 answers

C# driver development?

Before I jump headlong into C#... I've always felt that C, or maybe C++, was best for developing drivers on Windows. I'm not keen on the idea of developing a driver on a .NET machine. But .NET seems to be the way MS is heading for applications…
Adam Davis
  • 91,931
  • 60
  • 264
  • 330
16
votes
1 answer

What the difference between virtualbox-guest-dkms and virtualbox-guest-dkms-hwe?

I'm using Ubuntu 18.04 in VirtualBox, after installing guest additions I have a choise between virtualbox-guest-dkms and virtualbox-guest-dkms-hwe. What is the difference between them?
megapro17
  • 394
  • 1
  • 4
  • 12
14
votes
2 answers

Where is the Windows ADB Driver for the Pixel C?

I cannot find the proper drivers for ADB for my Google Pixel C tablet. I'm developing on Windows 8.1. I have the latest USB drivers from Google, but they aren't recognized as compatible when I select them for this device. I'm guessing if I manually…
BioeJD
  • 243
  • 2
  • 4
  • 10
14
votes
2 answers

Virtual USB device for Windows?

I'm investigating options available for creating a virtual USB device (say, a keyboard or a mass storage device), so to emulate its function as needed and to allow a userspace app to emulate its insertion/removal at will. What I am not clear about…
Angstrom
  • 352
  • 1
  • 2
  • 16
13
votes
7 answers

Can Windows drivers be written in Python?

Can Windows drivers be written in Python?
Armageddon
  • 163
  • 1
  • 1
  • 6
13
votes
3 answers

Uninstall a Windows driver when the hardware is not connected

I am developing a Windows C++ application that drives a motor controller that is plugged on USB. This controller relies on Ftdibus drivers and it works fine on my PC. However, on a test computer it used to work but since I messed up with the Ftdi…
Julien M
  • 657
  • 3
  • 10
  • 40
13
votes
1 answer

What is the difference between Display Controller and VGA Compatible Controller?

Following is the output of lscpci command on my Arch linux terminal. I am using Lenovo G 50-70 Laptop. [code_master5@BitBox ~]$ lspci 00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b) 00:02.0 VGA compatible controller:…
code_master5
  • 701
  • 1
  • 8
  • 18
12
votes
3 answers

Visual FoxPro driver for 64 bit Windows 7

I've installed Visual FoxPro driver from this link on my 64 Bit Windows 7 Home Premium OS and tried to register vfpoledb.dll using REGSVR32. I could able to register this dll but when run my application which accesses VFP database is throwing the…
Nagesh
  • 1,288
  • 3
  • 22
  • 46
12
votes
1 answer

NVIDIA CUDA: What is the developer driver?

To develop NVIDIA CUDA programs, the tools needed are: Developer drivers CUDA Toolkit GPU Computing SDK What is this developer driver? Installing it silently overrides any NVIDIA graphics driver that is already installed. So, how is the developer…
Ashwin Nanjappa
  • 76,204
  • 83
  • 211
  • 292
10
votes
4 answers

Command-line tool to dump all Device Properties displayed in Device Manager

In Device Manager, clicking on a specific device takes you to a dialog box, whose Details tab shows all sorts of properties of the device. Is there a command line tool to dump this out? I need to diff all the properties of two devices.
user15071
  • 3,391
  • 8
  • 31
  • 31
10
votes
3 answers

Maximum number of drives in windows?

I'm trying to figure out the available disk space programmatically in windows. For this, I need to first get a list of the available drives, then check which of those are local drives and then query the available bytes on each local drive. I'm a bit…
laura
  • 7,280
  • 4
  • 35
  • 43
9
votes
2 answers

Known bugs in OpenGL 3, OpenGL 4 implementations

As we all get to know eventually, the specification is one thing and the implementation is another. Most of bugs we cause ourselves, but sometimes that's not the case. I believe it'd be useful to make a small list of: What are the currently known…
Kos
  • 70,399
  • 25
  • 169
  • 233
9
votes
2 answers

Unit testing kernel drivers

I'm looking for a testing framework for the Windows kernel environment. So far, I've found cfix. Has any one tried it? Are there alternatives?
On Freund
  • 4,376
  • 2
  • 23
  • 30
9
votes
2 answers

Keyboard device in Unix

How to capture all the user input, reading one byte at a time? I did this coding, but it's not working if ((fd = open("/dev/char", O_RDONLY) != 1) { tty = open("/dev/tty", O_RDONLY); tcsetattr(0, TCSANOW, &orig_info); read (fd, &buf,…
Bunny Bunny
  • 745
  • 2
  • 6
  • 9
1
2
3
43 44