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

How can I programmatically set all rendering to use specific graphics card?

I am trying to figure out how to use specific drivers for specific users on my pc. I want to do this programatically. So basically what I am trying to figure out is how can I set a session or user to use specific drivers? Is their registry values…
user1632018
  • 2,485
  • 10
  • 52
  • 87
0
votes
1 answer

WinDbg lmv command not working

I'm using WinDbg with an administrator account on a VMWare virtual machine of Windows Server 2003 x64 machine. I'm debugging the local kernel with lkd (Kernel Debug -> Local Kernel). I'm trying to view all the modules loaded in the kernel, but lmv…
johnye2e
  • 111
  • 9
0
votes
1 answer

What usb device is connected to a usb port

I'll try to keep this simple. I have a hub connected to my PC. This hub has several USB interfaces. I'm listening to WM_DEVICECHANGE event and I get the USB interface path. How can I know what port it was connected to? Looking for a non-WMI solution…
Tsef
  • 1,018
  • 9
  • 22
0
votes
1 answer

how can I hide a device driver from the service controller?

I am writing a game hack and want to run cheat engine while the game is running, the anti hack currently detects both the user mode and kernel mode components and terminates the game. I wrote a device driver to hook ZwQuerySystemInformation to hide…
0
votes
2 answers

DPInst. Specify .sys file location

I am using DPInst-tool to install a driver (I have .inf and .sys files). In dpinst.xml I specified search-element as follows: * But during the installation the "Files needed" popup-window appears…
max_hassen
  • 387
  • 1
  • 5
  • 16
0
votes
3 answers

does Wifi direct require 802.11n supported device?

My laptop has a wireless pci (Atheros AR242x / AR252x) that doesn't seem to support 802.11n. By default it uses the ath5k kernel drivers.From 'iw list' command I can see that it doesn't support P2P-GO/CLIENT interfaces.I know that ath9k drivers…
cgv
  • 61
  • 6
0
votes
1 answer

Create Software Distribution Packages From Visual Studio

I would like to setup an automatic software distribution process, preferably from Microsoft Visual Studio, which builds my projects in all the different configurations and platforms, and packages all the created objects in a predefined folder tree…
Zion
  • 185
  • 2
  • 3
  • 9
0
votes
1 answer

Sony xperia sola's compat wireless drivers location

Where are the compat wireless drivers located at my phone? (xperia sola ICS - 6.1.1.B.1.54). When I search for .ko files, all I find are some drivers for other modules of the phone, I can't find nowhere compat wireless drivers (eg cfg80211.ko,…
michaelg9
  • 85
  • 2
  • 10
0
votes
1 answer

Agilent 66332A DC Source RS232 Ubuntu 12.04 SCPI

I have an Agilent 66332A DC Source, and I want to program it so that I can set the current, voltage, and output on/off. I'm using Ubuntu 12.04 64bit so the drivers don't work. I've contacted Agilent support, and they gave me nothing. I know that the…
m126531
  • 265
  • 1
  • 3
  • 11
0
votes
1 answer

linker error undefined reference calling PsGetProcess

this is a code that hides a specific process given the Pid, but i can not get PsGetCurrentProcess() working, it keeps throwing undefined reference error and i dont know what to do here is the code #include #include #include…
0
votes
2 answers

Is there a way to drive a today's computer NIC with no underlying OS?

I would like to write an IO intensive application with no underlying OS, running on x86 architecture and driving any modern network interface controller. By having a look to Linux's drivers source code, I know that thousands lines of codes are…
user202162
0
votes
2 answers

nvidia drivers on backtrack 5 gnome 32 bit (X session failed to start)

i've got 2 graphic cards on my laptop : 1- intel integrated HD 3000 2-Nvidia GT540m just disabled nouveau drivers and installed nvidia drivers (official drivers from nvidia.com) now when trying to start X, i get the error msg: X failed to start,…
V1R4N64R
  • 23
  • 1
  • 8
0
votes
1 answer

VxWorks PCI driver - compilation error

I am trying to write a PCI device driver in VXworks. Even though the source file is in place for the pciConfigLib, after compilation, it throws error stating " undefined function reference". Any help is appreciated. Thanks VxNewbee
VxNewbee
  • 1
  • 2
0
votes
1 answer

How and how hard would it be to create DirectX vendor drivers for Linux?

As seen on this thread, it seems that the missing part to be able to run DirectX on Linux natively are vendor drivers. What exactly are vendor driver? Are they drivers interfacing a specific model of a component, or a family, or even any of them?…
Tristan Bourvon
  • 368
  • 2
  • 7
0
votes
1 answer

Is is necessary to map the memory allocated to the device by the OS to a virtual memory space?

example while writing a driver we do the following res = platform_get_resource(pdev, IORESOURCE_MEM, 0); We get the info about the memory allocated to the device. So is it necessary that I use this memory using virtual address virt_base =…