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

how to find the number of COM ports and their resources?

I am writing a serial driver for UART in windows just for learning purpose. More specifically in WDM. I will write both the bus driver and function driver. Currently i am writing the bus driver. So my question is from where i can come to know in my…
Amit Bhaira
  • 1,687
  • 6
  • 18
  • 31
0
votes
1 answer

I am unable to use echo and cat in this simple device driver module.

static ssize_t device_read (struct file* filp, char *bufStoreData, size_t bufCount, loff_t* curOffset) { printk(KERN_INFO"reading from the device"); ret = copy_to_user(bufStoreData,virtual_device.data,bufCount); return…
mrigendra
  • 1,472
  • 3
  • 19
  • 33
0
votes
1 answer

Android: How to know the driver loaded for my device

I am trying to find out what driver has been loaded for the light sensor on my nexus 7 device. I found out that lsmod and modinfo do not work on android. Is there a way I can list all the loaded drivers and descriptions so that I know the exact…
user876090
  • 41
  • 1
  • 3
0
votes
1 answer

Windows drivers - shared memory from user mode->kernel mode

I'm messing around with some driver development and I'm having an issue getting some of my code to work. I'm not sure if it's a quirk with the API that I'm unaware of or what. I have a user app that has created a named shared object under…
Fewmitz
  • 487
  • 1
  • 5
  • 21
0
votes
1 answer

How to get the property of a device if I have wdfdevice and wdftarget in kmdf based filter driver?

I have three disk: disk0, disk1, disk2. Evtdeviceadd routine will be called 3 times for each of device. Now I want to catch read IRP and when it is from disk1 then I want to change the target from disk1 to disk2. So how Would I differentiate that…
ankit
  • 11
  • 2
0
votes
1 answer

Microsoft ODBC driver for Oracle Syntax error or access violation (-2147217900)

I have a large VB program that connects to Oracle database. strCn = "Driver={Microsoft ODBC for Oracle};" & _ "SERVER=PSPROD;" Set Cn = New ADODB.Connection Cn.ConnectionString = strCn Cn.CursorLocation = adUseNone Cn.Open There are many…
Jan
  • 1
  • 1
  • 1
0
votes
1 answer

How to extract an Ethernet Drivers Install content and use in a WEC7 image?

Building the Windows Embedded Compact 7 image in Visual Studio 2008. Tired building the image and using the general nc200 Ethernet drivers but did not appear to work. Would like to support Ethernet connectivity on the Intel NUC DCCP847DYE. It uses,…
P.S.
  • 384
  • 3
  • 18
0
votes
1 answer

Where do I find following uid (WPD)?

Are following uid generated randomly or I need to find it from somewhere and if so from where? From header stdafx.h // This method submits a ReadMeasurement request. // {0b6b15e1-1ec4-4dde-881a-cfc3e0a7a5c7}…
0
votes
2 answers

Preinstalling Driver on Windows 8.1 Fails

We have a few driver packages that we pre-install in the driver store on Windows with SetupCopyOEMInf, following Microsoft's suggested procedures. This process has worked properly for years; no problems on XP, Vista, 7, and even 8. While evaulating…
Brown
  • 1,132
  • 1
  • 13
  • 33
0
votes
2 answers

c++ Modify drivers, got "cannot convert from overloaded function" error

Im modifiy my display drivers to get update notifcation sent from the USB port. So far so good, but i got stock on follow: GPEFlat::GPEFlat() { PBOOT_ARGS args; ULONG fbSize; ULONG fbOffset; ULONG offsetX; …
0
votes
4 answers

How can I install FTDI Drivers at the same time as my software in InstallShield 2012?

I have created a basic MSI in InstallShield 2012. Currently, the MSI only installs the actual software itself. I would like to be able to install the drivers for the Hardware as well. I have seen other install packages do this, I just do not know…
0
votes
0 answers

GLSL shaders does not work using 327.24 drivers version with a GeForce GTX 670M

I develop a 3D engine using GLSL shaders. I downloaded the last NVIDIA driver for the GeForce GTX 670M. The problem is at the execution. I have the following error message : Unhandled exception at 0x000007F9B4F96E82 (ig7icd64.dll) in…
user1364743
  • 5,283
  • 6
  • 51
  • 90
0
votes
1 answer

I cant find usb driver for GigaByte gsmart tuku t2

I searched everywhere and didn't find anything. I want to use the device (gsmart tuku t2) for Android development.But the Eclipse cant't find it. I checked the USB Debugging option ,so it's fine. The Device Manager of the Windows shows that the…
0
votes
1 answer

Is it possible to access the Host Protected Area within Windows?

I am looking at creating an application that can access the HPA of hard drives in Windows. I can see code to do this in Linux, but nothing in Windows.
chris
  • 581
  • 10
  • 25
0
votes
2 answers

Unload a device

I made a device driver. But my system crashed at the moment when it was deleting the device object. I think the symbolic link was deleted and it crashed after it was trying to delete the device as I can't see the symbolic link in the Global. How do…
WIN_SOM_LIV
  • 160
  • 2
  • 9