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

SetupDiEnumDriverInfo always return with Error 259 (No more Data available)

I am trying to access information about drivers associated with devices in C# utilizing the win32 APIs. I have managed to enable/disable devices (so the handles I am retrieving seem OK), however I have no luck when trying to call…
Janis F
  • 2,637
  • 1
  • 25
  • 36
2
votes
1 answer

Windows Driver Listing Files to WinDbg Console

i'v already posted a question [question] : Directory relative ZwCreateFile but i am unable to build the driver. I have posted the error as well. So i was wondering is there any other way to list files in a directory(kernel space) without using…
Ansh David
  • 654
  • 1
  • 10
  • 26
2
votes
1 answer

Is it possible to Mock an FTDI USB device?

I need to write an FTDI application in C# to interact with a specialised piece of hardware located at another site. When using the FTD2XX_NET.dllwrapper for the C# application, I receive: Failed to load FTD2XX.DLL. Are the FTDI drivers…
BlackBox
  • 2,223
  • 1
  • 21
  • 37
2
votes
1 answer

SetupDi API: Control Device Manager functionality programmatically

Problem: I have a PC with a bunch of network cards of the same type and two drivers that can service them. When I let Windows 7 decide which driver to load, each of them is loaded with the manufacturer's drivers, and for 3 out of 4 cards, that is…
Janis F
  • 2,637
  • 1
  • 25
  • 36
2
votes
1 answer

Directory relative ZwCreateFile

I have to implement cross view file integrity checker for my University project. For that how do I list the files of a Directory in Kernel Mode??
Ansh David
  • 654
  • 1
  • 10
  • 26
2
votes
0 answers

When I load my filedisk driver, I got the ERROR_PROC_NOT_FOUND(127) error code

I want to develop an encrypt-virtual-disk based on the FileDisk-17 opensource project. Here is my solution: In IPR_MJ_READ, when the ZwReadFile returns, I use function 'DecryptData' to decrypt the data read by ZwReadFile. In IPR_MJ_WRITE, before…
Kecise
  • 61
  • 6
2
votes
1 answer

How to send system events from driver to application layer?

I'm writing a driver for a device with Windows Embedded Compact 7 OS, in which applications written in .NET 3.5 will be running. My requirement is that, I need to send some custom defined system events (for some conditions that occurred in the…
raj raj
  • 1,932
  • 1
  • 14
  • 15
2
votes
0 answers

Using WDK. How do I list the loaded user mode modules in the current process?

My driver runs in some process context I want to list the loaded user mode modules and their information (address, disk path etc..) thanks
user972014
  • 3,296
  • 6
  • 49
  • 89
2
votes
2 answers

Linux Device Driver

I have problem concerning about my module it it installed/initialized correctly but the other parts of the driver is not installed or showing up in the output. static struct i2c_driver qt2120_dev { .probe = qt2120_probe, .remove =…
Franz Mationg
  • 61
  • 2
  • 9
2
votes
1 answer

Symfony PDOException could not find driver

I have a problem with symfony2.3, today I have this error message : "PDoException could not find driver" while yesterday everything worked perfectly. When I run this command line : php app/check.php All is ok : OK PDO should be installed OK …
Bostak
  • 93
  • 2
  • 9
2
votes
0 answers

Mirror Drivers not working on Windows 7 64 bit computer

I am trying to develop an application that uses a mirror driver, although I am having an issue getting any mirror driver to work properly on my computer. I always seem to get the same issue no matter which driver I user. I have tried the Mirror…
user1632018
  • 2,485
  • 10
  • 52
  • 87
2
votes
0 answers

Signing driver for x64 Windows, making my CA known to Windows - without test-signing

How can I sign a driver for Windows Vista (and newer) using a certificate rooted in my own CA and make Windows aware that the particular certificate or the CA in which it is rooted is okay to load without enabling test-signing mode (bcdedit -set…
0xC0000022L
  • 20,597
  • 9
  • 86
  • 152
2
votes
1 answer

disabling "treat warning as errors" in WDK

I'm building a printer driver using the Build utility of the WDK. I need to turn off "Treat warnings as errors". It is turned off in the Visual Studio project file but that apparently doesn't affect Build. Does anyone know how to do this?
user884248
  • 2,134
  • 3
  • 32
  • 57
2
votes
1 answer

How to determine the IRQ number for a USB device?

I am new to driver development. However, I purchased an OSR USB FX2 Learning Kit, which comes with sample codes for Windows kernel/user mode driver. However, I am writing the driver in Linux (Ubuntu 12). I have successfully been able to send control…
Haleeq Usman
  • 811
  • 9
  • 11
2
votes
2 answers

Am I right thinking that modern consumer graphics cards use exactly the same GPU structures for actual graphics rendering and bare computations?

Am I right thinking that modern consumer graphics cards (say those conventional nVidia and ATi models) use exactly the same GPU structures and operations for actual graphics rendering (through DirectX, OpenGL, etc.) and bare computations (through…
Ivan
  • 63,011
  • 101
  • 250
  • 382
1 2 3
99
100