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
1 answer

how to setup cassandra java driver with eclipse

I am new to cassandra and moven. I was trying to write a simple java program in eclipse that uses cassandra java driver to connect to a cassandra node I have setup. I found this repository https://github.com/datastax/java-driver but I have no idea…
Navnav
  • 982
  • 3
  • 11
  • 25
2
votes
0 answers

OpenCV 2 - How to switch webcam flash?

I am just curious if it is possible to control a generic laptop webcam's flash. Is that possible using OpenCV? (I don't think so). Maybe with WinAPI? Any ideas?
poxip
  • 909
  • 8
  • 25
2
votes
1 answer

No Suitable Driver Found Error after deploying a war file on Openshift

Hi all I know that the No Suitable Driver Found Error for openshift thread has been solved before but , after the multiple errors i get when i deploy a project from eclipse( a maven one) i have tried to deploy the war file ( a dynamic web project)…
Andi Domi
  • 731
  • 2
  • 19
  • 48
2
votes
2 answers

Rescan device tree for hardware changes during Driver installation

I'm using InstallShield to install my application, a driver and a service. I need to install the plug-N-play driver only if it's hardware ID was found in the device manager. The driver installation is done using DPInst.exe. My problem, is that a…
Eldad
  • 1,067
  • 16
  • 36
2
votes
0 answers

DeviceIoControl() function is working differently in Windows 7 and Windows 8

I am trying to get the Hard Disk Serial using DeviceIoControl function. And calling it with same parameters it gives different value in output buffer. I am caliing it as if ( DeviceIoControl (hPhysicalDriveIOCTL, IOCTL_STORAGE_QUERY_PROPERTY, …
dmittal
  • 59
  • 1
  • 4
2
votes
1 answer

Understanding Linux Kernel drivers

While building Linux kernel from source, I noticed that it is also building some drivers (e.g. drivers/gpu/drm/i915 or nouveau etc). On the other hand, on my system I also have xserver-xorg-video-intel package installed (Ubuntu). So the question is:…
lviggiani
  • 5,824
  • 12
  • 56
  • 89
2
votes
2 answers

Windows Device Driver

I am trying to write a simple driver. Using this Hello World code: #include NTSTATUS DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath) { UNREFERENCED_PARAMETER(DriverObject); …
Quaxton Hale
  • 2,460
  • 5
  • 40
  • 71
2
votes
2 answers

What are the different areas of Memory & Disk?

I'm neither sure about if this is a right place to ask nor sure about how to put my query. Let me put it this way: Main Memory starting at 0x00000 to 0xFFFFF. Diskspace starting at 0x00000000 to 0xFFFFFFFF. But what we'll be able to…
Asus
  • 21
  • 3
2
votes
2 answers

What causes Audio output to stutter?

There is a very common software bug that causes about 1 second of audio to be played a few times in succession, creating a kind of stutter. I notice this most often when playing video games. I know this is not architecture specific, I have…
rook
  • 66,304
  • 38
  • 162
  • 239
2
votes
0 answers

CDbConnection failed to open the DB connection: could not find driver on install

Hi I m trying to setup limesurvey on xampp on linux . I want the setup to use msssql server on a windows box. I have successfully setup xampp and modified the config.php in application/config folder of lime survey to point to sql server. when i try…
user3064227
  • 96
  • 1
  • 1
  • 8
2
votes
4 answers

What exactly is a character driver ?

I know the definition A character device driver is one that transfers data directly to and from a user process. But can some one explain this in a more intutive way? First of all there should be a device. What is the device in the above…
user25108
  • 383
  • 5
  • 15
2
votes
1 answer

Kernel driver, ioremap necessary in MMU-less system?

So, I am a total newbie when it comes to kernel drivers and have a question regarding ioremap function. I am writing a driver for accessing some registers defined in a custom VHDL-module on a SoC with a ARM Cortex-M3 and FPGA fabric. Looking at…
2
votes
0 answers

How can libusbx drivers be installed automatically along with the application using an installer?

I have written an application for a device and I used the libusbx library. I had to install the WinUSB driver using Zadig to run my application. Now, I am deploying my application using the Inno Setup installer. How can I automatically install the…
adnan kamili
  • 8,967
  • 7
  • 65
  • 125
2
votes
1 answer

Error Starting Windows Driver: The handle is invalid

I am a web developer that decided to venture into kernel mode development. I installed WDK 8.1, Visual Studio Professional 2013 and I set up a Windows 7 VM to debug and test my drivers. I started with this tutorial I download the solution and build…
Felipe
  • 21
  • 1
  • 2
2
votes
1 answer

How to intercept data sent to a USB flash drive in the Linux kernel?

Where in the Linux kernel source code can I find the function(s) that deal with sending data to a USB flash drive? By "data", I mean the actual file contents. For example, when I drag and drop "Report.docx" to the USB thumb drive, I need to be able…
Sefu
  • 2,404
  • 8
  • 42
  • 59