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
2
votes
3 answers

Getting a driver for VMS to connect to SQL Server 2005

I want to connect from a COBOL/VMS system to an SQL Server 2005 instance. Could someone point me to a driver that works well?
hawkeye
  • 34,745
  • 30
  • 150
  • 304
2
votes
2 answers

Updating UMDF drivers during development

I am having some trouble updating UMDF drivers using "devcon" during a standard code-deploy-debug cycle. The problem is that "devcon update" isn't really updating anything unless the version number or the date of the DLL file and the INF file…
Raj
  • 2,557
  • 2
  • 19
  • 17
2
votes
1 answer

C# programmatic install of a filter driver?

I'm currently using setup.dll to install a filter driver in a programmatic way. the following is my code: protected bool INFSetup(string path_to_inf, bool Install) { string exe =…
ehenry7
  • 21
  • 2
2
votes
0 answers

Printk print twice: how to supress the one with prefix information?

I am trying the linux device programming but run into a strange problem. For all of my printk lines, it will always display twice on the console. For example, here is my helloworld driver program: #include #include…
Shawshank
  • 61
  • 3
2
votes
2 answers

Hibernate - MySQL - Connection to DB

I'm trying to connect to a MySQL database using Hibernate 3.6.10 with NetBeans 7.4, but when I try to create a new "Hibernate Mapping Wizard" I reply this error message: Unable to connect: Cannot establish a connection…
user2928795
  • 21
  • 1
  • 2
2
votes
3 answers

Cannot open include file: 'ntddk.h': No such file or directory

I am getting this error when I am trying to build my driver: Driver.cpp(7): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory I am using Visual Studio 2012 with WDK 8.1 installed (I have not cinfigured anything in…
Collage_Guy
  • 21
  • 1
  • 1
  • 3
2
votes
1 answer

Is the driver using the Linux NAPI Interface?

Is there a way to confirm if a Linux Ethernet driver is using the NAPI interface?
simon
  • 5,777
  • 7
  • 30
  • 36
2
votes
1 answer

Programmatic driver install via .inf causing reboot

I'm trying to install a driver via an inf file using this command: rundll32.exe setupapi,InstallHinfSection DefaultInstall 128 .\my_driver.inf According to MSDN (http://msdn.microsoft.com/en-us/library/aa376957%28v=vs.85%29.aspx), by suplying 128…
conectionist
  • 2,694
  • 6
  • 28
  • 50
2
votes
2 answers

'TraceEvents' undefined; assuming extern returning int

I am trying to convert our existing driver code that is using makefile to visual studio 2013 with MSBUILD. I have include all the header files and source code. The project is created asKMDF driver. I have enabledWPP tracing, and inserted 3…
void
  • 345
  • 3
  • 13
2
votes
1 answer

Device Driver DLL Blocking vs NonBlocking?

My company makes a product that connect to the PC via USB. I am writing a DLL driver, using Visual C#, for this product so that anyone who wants to write a program that can control or device can do so. Some of the operations that the driver will…
PICyourBrain
  • 9,976
  • 26
  • 91
  • 136
2
votes
0 answers

Is there any way to load odbc driver manually to my c# application?

The thing is that I am not taking about connection to the ODBC drivers that already installed on my computer with DSN, I am talking about loading the DLL of the odbc driver to the c# program and connect even if the driver is not installed on the…
2
votes
1 answer

Detection of custom keyboard keys

I have a X7 G800V keyboard with 15 custom keys. The problem is they are not detected in anything but the software that comes with the keyboard which is a real cave eat since I can't use them in photoshop, word or any other program. Is there any way…
Phoenix
  • 913
  • 1
  • 8
  • 18
2
votes
1 answer

Wix 3 driver package installation problem

I am trying to create a .msi database using Wix to install a driver package. Now this driver package is made to run on all platforms and can be installed on any platform (any version of windows, 2k and later, x86 or x64) by right clicking on the…
user227908
  • 21
  • 1
2
votes
1 answer

Why ISA doesn't need request_mem_region

I'm reading the source code of LDD3 Chapter 9. And there's an example for ISA driver named silly. The following is initialization for the module. What I don't understand is why there's no call for "request_mem_region()" before invocation for…
Qylin
  • 1,501
  • 1
  • 16
  • 26
2
votes
1 answer

How sending a signal to a thread in c?

1-Sending unix signals is only possible to a processes, or it is also possible to send signals to threads? 2-Is it possible to send the tid of a thread to a kernel module? How? 3-In what way the kernel module can find the tid of a thread, to send a…
eduardosufan
  • 1,441
  • 2
  • 23
  • 51