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

linux driver's function known/visible to application

In windows we create a function in a driver and we can call it from the application using dll as the middle man. What happens in linux? How can we create a custom function (ioctl) for example and call/ use it from the host application? Any…
amanda
  • 394
  • 1
  • 9
0
votes
1 answer

Does Windows load a driver that is loaded using OsrLoader at the startup?

I start learning Windows drivers development and I wrote my first driver. I use OsrLoader for loading and unloading the drivers. So far everything is fine. However, As we know, if a driver crashes the whole system crashes. The worst thing can happen…
user1129665
0
votes
2 answers

How do I use Xperia Ray through Eclipse for Android programming?

I downloaded the Suite for the phone, the Google USB drivers and the Phone's connection drivers. So far, the phone works perfectly with the PC but Eclipse still refuses to see the phone and Device Manager is convincing me that I have no hardware…
Viktor Zafirovski
  • 449
  • 1
  • 5
  • 15
0
votes
1 answer

Windows drivers - communicate with user process

I have written a application in Qt and what is the best way to communicate with a custom USB device (does not belong to any class - need to write custom drivers for it) under Windows. In Linux I could just share the data with user space from the…
user361697
  • 1,093
  • 2
  • 12
  • 21
0
votes
1 answer

How to install new hardware drivers so when it is plugged in for the first time, windows will know to find the drivers automatically

I want to be able to deploy a project to some of my users the requires a USB-serial adapter. The hard way is to give them the drivers and tell them to plug in the adapter and when prompted, they will have to locate the files manually. I don't want…
1qazxsw2
  • 2,589
  • 4
  • 20
  • 19
0
votes
1 answer

What realy means PHYSICAL_ADDRESS value in WDK drivers?

I have bit of a problem with understanding PHYSICAL_ADDRESS structure in WDK. I thought it's real physical address in physical memory. Now I've tried this - I've got virtual PC with 512 MB RAM and code in my driver PHYSICAL_ADDRESS pa; pa.QuadPart =…
Miroslav
  • 444
  • 1
  • 7
  • 21
-1
votes
1 answer

Cannot Install Android USB Drivers (Windows 7)

I have a Lenovo TAB10, which I'm trying to connect to my Toshiba laptop for Android USB debugging. Obviously, I need drivers for this before moving on to installing the ADB proper. Problem is, I can't install drivers. Every time I try to install ADB…
David Edwards
  • 794
  • 8
  • 13
-1
votes
1 answer

Getting Serial Number using IOCTL_STORAGE_QUERY_PROPERTY

So I am trying to write a minifilter driver which only attaches to specific USB devices, to differentiate said devices I have use the combination of Product ID + Vendor ID + Serial Number. I can successfully send IOCTL_STORAGE_QUERY_PROPERTY to the…
qwn
  • 347
  • 3
  • 15
-1
votes
1 answer

How to learn network Ethernet device driver programming?

I am looking what piece of hardware should i buy (NIC Or FPGA Or ASIC etc) which i could connect to my system, and write device driver to implement and learn Ethernet device driver typical functions like - packet trapping/ receiving and sending…
Abhishek Sagar
  • 1,189
  • 4
  • 20
  • 44
-1
votes
1 answer

Calling NtQuerydirectoryFile from a Kernel Hook Crashes the Kernel

I'm using the latest version of EasyHook to hook some kernel functions. I did setup a debugging important successfully on a Windows 8.1 64-bit based virtual machine, and I tested hooking both of NtQuerydirectoryFile and NtQuerySystemInformation in…
FiFo
  • 41
  • 7
-1
votes
1 answer

where could i find adb driver for motog xt1033 mobile phone?

where could i find ADB driver for (motog xt1033) mobile phone? I just downloaded Samsung ADB drivers. But could anyone suggest where could i find adb drivers for other phone? Any suggestions would be helpful. Thanks
ron99
  • 1
  • 1
  • 1
-1
votes
2 answers

How many kinds of drivers are there?

Like device driver, I don't know whether there are some other drivers ?
user198729
  • 61,774
  • 108
  • 250
  • 348
-1
votes
1 answer

Idle network filter driver performance on windows

I have come across a strange issue regarding network driver filters on Windows. It seems that merely installing a network driver filter will cause a degradation in performance. I am testing different scenarios of 1 Gigabit bandwidth connections and…
Ori Gil
  • 161
  • 2
  • 7
-1
votes
1 answer

Accessing Digital Signature Token on android mobile

I am trying to develop an android app which has a functionality to digitally sign the document. I am using OTG cable to connect the Digital Signature Token (say Moserbaer token) with mobile phone. But android is not recognizing the Token (It is…
-1
votes
1 answer

Samsung Duos S2 is not connecting with Eclipse

My mobile Samsung Galaxy Duos S2 was successfully connecting with Eclipse but suddenly Eclipse cannot detect my device. I have USB drivers and everything installed and my mobile is recognized by my computer, but Eclipse is not connecting to it. All…
Furqan Ali
  • 137
  • 2
  • 13