Questions tagged [driver]

Device driver or software driver is a computer program allowing higher-level computer programs to interact with a hardware device. This tag should only be used for questions related to driver development, as questions about finding or installing drivers are off-topic for Stack Overflow.

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.

A device driver simplifies programming by acting as translator between a hardware device and the applications or operating systems that use it. Programmers can write the higher-level application code independently of whatever specific hardware device.

https://en.wikipedia.org/wiki/Device_driver

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.

5942 questions
518
votes
19 answers

Nvidia NVML Driver/library version mismatch

When I run nvidia-smi, I get the following message: Failed to initialize NVML: Driver/library version mismatch An hour ago I received the same message and uninstalled my CUDA library and I was able to run nvidia-smi, getting the following…
etal
  • 12,914
  • 4
  • 13
  • 16
150
votes
2 answers

IOCTL Linux device driver

Can anyone explain me, What is IOCTL? What is it used for? How can I use it? Why can't I define new function that does the same work as IOCTL?
flashdisk
  • 3,652
  • 3
  • 16
  • 22
112
votes
11 answers

How to get the nvidia driver version from the command line?

For debugging CUDA code and checking compatibilities I need to find out what nvidia driver version for the GPU I have installed. I found How to get the cuda version? but that does not help me here.
Framester
  • 33,341
  • 51
  • 130
  • 192
68
votes
2 answers

What are Ring 0 and Ring 3 in the context of operating systems?

I've been learning basics about driver development in Windows I keep finding the terms Ring 0 and Ring 3. What do these refer to? Are they the same thing as kernel mode and user mode?
just.another.programmer
  • 8,579
  • 8
  • 51
  • 90
64
votes
6 answers

java.sql.SQLException: No suitable driver found for jdbc:microsoft:sqlserver

I'm getting this exception when I try to run this program. It's one of the Microsoft examples. I've added the sqljdbc4.jar to the classpath in netbeans for both compile and Run, via the project properties. I also tested that the class could be found…
Larry Watanabe
  • 10,126
  • 9
  • 43
  • 46
61
votes
27 answers

php artisan migrate throwing [PDO Exception] Could not find driver - Using Laravel

I have a bad experience while installing laravel. However, I was able to do so and move to the next level. I used generators and created my migrations. But when I type the last command php artisan migrate It's throwing a PDOException - could not…
Vamshi Vangapally
  • 1,972
  • 6
  • 21
  • 25
56
votes
8 answers

ADB Driver and Windows 8.1

I waste a lot of time trying to successfully install the ADB driver for my tablet in Windows 8.1. So here I will post what I did, in case anyone has the same problem.
IvanRF
  • 7,115
  • 5
  • 47
  • 71
51
votes
1 answer

What is spark.driver.maxResultSize?

The ref says: Limit of total size of serialized results of all partitions for each Spark action (e.g. collect). Should be at least 1M, or 0 for unlimited. Jobs will be aborted if the total size is above this limit. Having a high limit may…
gsamaras
  • 71,951
  • 46
  • 188
  • 305
50
votes
11 answers

Downloading a file at a specified location through python and selenium using Chrome driver

I am trying to automatically download some links through selenium's click functionality and I am using a chrome webdriver and python as the programming language. How can I select the download directory through the python program so that it does not…
Shubham Goyal
  • 617
  • 1
  • 7
  • 18
43
votes
17 answers

Failed to load driver class com.mysql.jdbc.Driver

I am trying to run my Spring Boot backend with two profiles, one using H2 in memory database and the second one using MySQL. H2 database works just fine, but when I switch to MySQL I get APPLICATION FAILED TO…
Tomas Lukac
  • 1,923
  • 2
  • 19
  • 37
42
votes
2 answers

iOS / Too frequent rssi event from driver..?

So my question came up looking an the console output of some iOS 7.0.x devices via iPhone Configuration Utility the other day. I was puzzled to see several indications that the WiFi daemon registers WiFi rssi activity out of the blue for no apparent…
RTouris
  • 421
  • 4
  • 3
41
votes
3 answers

Mac OS X virtual audio driver

I want to create a virtual audio device that gets audio data from the default output (which is an output IOAudioStream) and converts it to an input IOAudioStream. I went through most of the examples I could find, however they only implement a…
UpL1nK
  • 559
  • 1
  • 6
  • 14
40
votes
2 answers

Difference between ANSI and Unicode drivers of MySQL

On choosing Data Source under ODBC (64-Bit) on Windows, i get two available options of MySQL Database: MySQL ODBC 5.3 ANSI Driver MySQL ODBC 5.3 Unicode Driver What are the difference between these two?
Malwinder Singh
  • 6,644
  • 14
  • 65
  • 103
39
votes
4 answers

Setting up PostgreSQL ODBC on Windows

I have the latest 64 bit version of PostgreSQL. I am running Win 7 64 bit. I had installed the ODBC driver (via the initial installer) when I installed PG, and upgraded it to the latest version from…
IamIC
  • 17,747
  • 20
  • 91
  • 154
39
votes
8 answers

Nexus 7 (2013) and Win 7 64 - cannot install USB driver despite checking many forums and online resources

I'm trying to set up my Nexus 7 (2013) for debugging, but I am getting stuck at the step where you install the USB driver. Here's what I've tried so far: Steps taken: Turned on debugging mode on Nexus 7 (2013) Connected device to PC Downloaded…
Jason
  • 391
  • 1
  • 3
  • 3
1
2 3
99 100