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

Android USB host mode "soft-mode" drivers for standard class-compliant USB devices

Now that the Android APIs support working directly with USB devices (since 3.1), I am curious if there has been any work to create "soft-mode" drivers for some of the more popular class-compliant devices (such as audio or HID). In other words, are…
Brad
  • 159,648
  • 54
  • 349
  • 530
32
votes
5 answers

Writing drivers in C#

I have written earlier in C/C++ but currently, I need it to convert into C#. Can anyone tell me the code/way How to write drivers in C#? Actually currently I have some problems with my old application written in C++ and we have to write the drivers…
Gaurav Arora
  • 2,243
  • 6
  • 40
  • 57
31
votes
2 answers

PCIe driver for Windows CE and Windows Desktop

I need a little advice for development of a custom PCIe driver. The driver must support both Windows CE 6.0 and Windows Desktop (xp, 7, and 8 when ready). We have a lot of experience developing drivers for Windows CE but none for Windows Desktop. I…
Allan Larsen
  • 476
  • 4
  • 10
30
votes
3 answers

Can I install self-signed drivers on 64-bit Windows without test mode if the self-signed CA root certificate is imported to the machine store?

Here is a great SO answer which covers the creation of self-signed CA and then signing executables with the obtained certificates: How do I create a self-signed certificate for code signing on Windows?. I have read a lot of discussions online on how…
user130496
  • 349
  • 1
  • 3
  • 7
29
votes
2 answers

How to find the list of processes using a particular kernel module?

When I try to rmmod a module I get the error message "Error: Module in use" , lsmod | grep shows the count. Is there a way that would tell me which processes are using this particular kernel module/driver?
Raj
  • 379
  • 2
  • 5
  • 14
29
votes
4 answers

Samsung Galaxy Phone is not recognized on Android Studio

My Samsung phone was not recognized by Android Studio on windows 7. I repaired it by installing the Samung Driver here: http://developer.samsung.com/technical-doc/view.do?v=T000000117 I tested with my Galaxy S2 and the Samsung S7560 and it works…
jony
  • 277
  • 1
  • 3
  • 7
28
votes
3 answers

ADB is not recognizing my device

This is not like other questions: I already have installed: ADT Samsung Kies 3 (because I have a Samsung Galaxy S5) Google USB Driver I already have configured: Developer options in my device enabled USB Debugging enabled My computer and Kies…
Antonio
  • 11,413
  • 6
  • 34
  • 48
28
votes
4 answers

How to interface with the Linux tun driver

I'm having a hard time figuring this problem out - I am trying to write a program that will interact with the Linux tunnel driver. At a very basic level, I simply want to create an application that is able to transfer data over a network tunnel. …
rmrobins
  • 435
  • 2
  • 5
  • 6
27
votes
6 answers

enable linux kernel driver dev_dbg debug messages

is there a simplest possible way to enable linux kernel driver dev_dbg debug messages (actually it's a trace style messages) hopefully without messing up with the kernel patching/recompiling or the driver implementing something extra like debugfs?…
Oleg Kokorin
  • 2,288
  • 2
  • 16
  • 28
26
votes
11 answers

Android: ADB Driver for HTC Smartphones

I have been debugging on an HTC Desire for which I had the ADB drivers. Now I have been forced to debugging on an HTC Smartphones, but I can't find the driver anywhere. The standard HTC driver that used with my desire (Running Android 2.2) does not…
Heshan Perera
  • 4,592
  • 8
  • 44
  • 57
25
votes
2 answers

How to write drivers for Android?

I have been trying to know about android driver development. I know driver development is not an easy job but I'd like to learn. Is there any tutorials for that or any simple examples??
Ashok Jeev
  • 727
  • 3
  • 11
  • 14
24
votes
1 answer

Writing a keyboard device driver

I was wondering if anybody out there has had experience writing keyboard device drivers. I know the basics of how keyboard interrupts work however don't really know the details of everything. Is it difficult? Too difficult for one person? I ask this…
Albinoswordfish
  • 1,949
  • 7
  • 34
  • 50
24
votes
2 answers

cache - flush and invalidate operation

I have some questions on cache synchronization operations. Invalidate: Before cpu tries to read a portion of memory updated by a device, the corresponding memory needs to be invalidated. Flush: Before the device read a portion of memory updated by…
kumar
  • 2,530
  • 6
  • 33
  • 57
24
votes
2 answers

List of well-known GUIDs

Probably, many thousands of new GUIDs are generated every second worldwide. Some of them might be in use only for a second and then sink into oblivion forever. Others could be more lucky and last for a longer time but are confined to a single…
Oksana Gimmel
  • 937
  • 8
  • 13
23
votes
1 answer

Creating a virtual monitor/virtual display device

I'm trying to create a "virtual monitor" in Windows (XP & newer). For example, let's say my desktop looks like this: I want to add a monitor virtually so it looks like this without any change in hardware: How do I do this? Do I add a virtual…
Jason
  • 13,563
  • 15
  • 74
  • 125