Skip to main content

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.

Filter by
Sorted by
Tagged with
Advice
0 votes
2 replies
40 views

Greetings all you Win32 kernel devs, I would like to receive some recommendations as to how my driver can simply keep a "flag" that I can set/retrieve persistent after my driver is unloaded. ...
WayOfTheWright's user avatar
0 votes
1 answer
99 views

I'm taking my first steps in kernel driver dev. So to make the install I followed the process given here: https://learn.microsoft.com/fr-fr/windows-hardware/drivers/download-the-wdk . However when ...
Ismaël Gaye's user avatar
Best practices
1 vote
1 replies
55 views

How should I test a Linux kernel driver, without a real device. It is not a device that QEMU supports(in my case, it's drivers/tty/serial/digicolor-usart.c). Gemini told me I can modify the source ...
summ2r's user avatar
  • 1
1 vote
0 answers
77 views

Using Visual Studio 2022's Print Driver v4 template, I'm attempting to write a virtual print driver. Its only job is to pass the XPS document to a background service for further processing. It has no ...
Tim's user avatar
  • 47
Best practices
0 votes
0 replies
27 views

Whats the best way to manage power up when you have complicated power requirements. Ex shared power supplies IC's with complicated bring up sequences multiple devices of the same type In zephyr ...
used_up_user's user avatar
1 vote
1 answer
70 views

I am really trying to understand the ADC2.0 spec to create a really simple USB UAC2.0 8 bit microphone. My device enumerates fine, but the driver doesn't like it (it says it cannot start). Q1. How do ...
Eman's user avatar
  • 303
3 votes
1 answer
175 views

I am homebuilding a USB driver on STM32. I have managed to get the device to enumerate which is awesome, but only when I disable all the strings (set all ID's to 0). Right now, when I set ...
Eman's user avatar
  • 303
0 votes
0 answers
64 views

I’m new to developing NDIS Light-weight Filter (LWF) drivers. My goal is to intercept UDP packets for a specific IP+port and copy the payload into a user-mode application buffer that was registered ...
Rabbit_Drivers's user avatar
0 votes
0 answers
133 views

I am writing a C program that periodically loads/unloads a dynamic library. The dynamic library performs network operations using DPDK, and in my setup, it relies on the VFIO framework. This is a ...
ellerre's user avatar
  • 41
3 votes
1 answer
100 views

As a project to learn libusb, I am writing a driver for my old Logitech QuickCam Chat from 2006. To clarify, the camera quality is awful and I have no intention of using this for anything other than ...
Charlie's user avatar
  • 76
0 votes
0 answers
70 views

When I was writing a USB driver, I used the usb_bulk_msg function to send data. When I used an array created with stack space, I could only send data under 8 bytes. If I sent more than 8 bytes, the ...
Jiawei liu's user avatar
0 votes
0 answers
50 views

I'm doing a Linux kernel module which every time a keyboard is plugged in it prints a message like "Keyboard connected!" ...
rcortes-'s user avatar
1 vote
0 answers
62 views

I'm writing a Linux kernel module that prints the routing tables using dmesg. To do this, I'm trying to use the fib_get_table ...
Alessandro Torrisi's user avatar
0 votes
1 answer
32 views

While I was trying to install a custom made driver using a self-written .inf file, I decided to use the Microsoft infverif ...
Thema Guishard's user avatar
1 vote
0 answers
150 views

I am developing a remote desktop application, and when the Windows screen is locked (WIN+L), the user mode API (SendInput) fails, ...
CaiGiBear's user avatar
2 votes
1 answer
172 views

I'm trying to understand how platform_devicesare instantiated from the Device Tree during early kernel boot. I noticed that the function ...
void_brain's user avatar
2 votes
0 answers
120 views

I'm developing a PS/2 mouse driver in 16-bit assembly (NASM) for a custom operating system running in VGA mode 0x12 (640x480, 16 colors). The driver initializes the mouse, handles mouse events, and ...
PRoX's user avatar
  • 23
0 votes
1 answer
177 views

I am upgrading My java version from 11 to 17 and Ignite version 2.15 to 2.17. I am using multitenant connection with postgresql database. But, while I start my service with the upgraded versions, I am ...
user25384512's user avatar
0 votes
0 answers
106 views

On my Buildroot Linux for Rockchip 3328 (NanoPi R2S Plus) I try to activate the WLAN chip Realtek RTL8822CS connected via SDIO. The Hardware works when using another Distro.But when compiling on my ...
mrh1997's user avatar
  • 1,222
6 votes
2 answers
346 views

I want to create a UWP Printer application to set up a virtual printer that I then can select from windows print dialog following the Print Support App design guide as good as I can. I expect that at ...
CrazyEight's user avatar
0 votes
0 answers
69 views

I use NDIS_WDI_RX_INORDER_DATA_IND_HANDLER and MINIPORT_WDI_RX_GET_MPDUS to indicate NBL to WDI, the format is MacHeader(24B)+LLC(8B)+Payload. When I connect to an open AP, my driver works normally, I ...
Louis's user avatar
  • 11
1 vote
0 answers
146 views

I am trying to use this DMA driver to transfer memory from a streaming device to SDRAM. This is my design in Qsys/Platform designer: The design streams a predictable pattern of ...
K606's user avatar
  • 23
0 votes
1 answer
87 views

I can't connect to my SQL database using QSqlDatabase. My system is: Windows 11 Qt 6.9.0 llvm-mingw1706_64 MySql 8.0.41 running on a CentOs virtual machine. I extract libmysql.dll, libmysql.lib and ...
Riccardo Carassale's user avatar
1 vote
1 answer
93 views

Currently I've been working and stuck on the job of upgrading Linux Kernel from 4.19 to 5.15. There's source code that in kernel/arch/.../our_pci.c, my former ...
Inu1997's user avatar
  • 39
0 votes
0 answers
276 views

I've spent close to 2 days trying to resolve this pesky error. I have a VS 2022 project for a kernel driver, written with KMDF. I developed it using VS 2022. I wanted to transfer it to another PC ...
c00000fd's user avatar
  • 22.8k
2 votes
1 answer
476 views

I downloaded Chromium version 136 and I'm using it on macOS 64 ARM. I opened it manually and added a Chrome web extension and it works. When I close Chrome, quit, and open it the extension is always ...
Ahmed Zaidan's user avatar
1 vote
0 answers
52 views

I am trying to understand the invalidating DMA buffers example from page D7-2450 in the Architecture Reference Manual ARMv7-A and ARMv7-R edition. What is the memory barrier before the second ...
93Iq2Gg2cZtLMO's user avatar
0 votes
0 answers
35 views

Three devices created using a character driver (/dev/device1, /dev/device2 and /dev/device3) is not listing in Android(AOSP 15). The same character driver works fine under Linux (via udev). It is ...
user1092408's user avatar
0 votes
0 answers
41 views

I'm writing a basic keyboard filter driver using WDM. I load the .sys using sc create and sc start, and attach it to \Device\KeyboardClass0. The driver seems to load, but as soon as I press any key, ...
Seraj AlHorani's user avatar
0 votes
0 answers
105 views

I am trying to write an INF file for a usb audio 2.0 device and so far I managed to test and install my INF file on a Test Mode PC, however the device shows up as both a Playback and Recording device ...
NetLava's user avatar
  • 31
0 votes
0 answers
44 views

I have a Windows kernel mode driver (compiled with MSVC + /kernel). I am writing the test suite for it and have come across an snag: The testing suite is obvious ...
Derek C.'s user avatar
  • 1,026
0 votes
0 answers
73 views

I had problem with driver. Callback func BeforeIO doesn't call in any case. Here is the code of nullfilter (minifilter-driver). However driver is working and DebugView shows that config was read. ...
Artiomik's user avatar
1 vote
0 answers
129 views

I am trying to write a driver for Nvidia. At a certain address I have read it is the correct return value, though unfortunately the MAC address is correct only once, otherwise all values are set to, ...
Orang Keren's user avatar
0 votes
0 answers
71 views

I am trying to install custom drivers for enhanced AirPods 4 ANC / Pro 2 / max functionality on Windows 11. These drivers are incredibly useful to unlock all Airpods feature on Windows, but I keep ...
Francesco Vagli's user avatar
1 vote
1 answer
161 views

When running the !pcr command in Windbg, the NT_TIB structure shows zeros for StackBase and <...
Labmem_015's user avatar
1 vote
1 answer
45 views

I am having trouble figuring out how to debug a Windows NDIS driver. I can't find a way to look at logs or traces from NDIS. I have tried a kernel debug session with WinDbg on the host and target in a ...
Ziffusion's user avatar
  • 8,973
1 vote
1 answer
64 views

Issue We have a custom serializer for an enum (MeasurementValueType), which stores the enum as a string in MongoDB and deserializes it from a string back into the enum when querying. The enum ...
SJFJ's user avatar
  • 687
0 votes
0 answers
101 views

I'm currently working with windows kernel driver that allocate memory which should be shared with a program. Afaik an application can ask the driver to create a memory buffer of max 4G size for ...
FrancescoBLT's user avatar
0 votes
0 answers
57 views

I can communicate with the 5G module from a Raspberry Pi running the latest Raspberry Pi OS via the serial interface without any issues. However, when I attempted the same on my Windows 11 laptop, I ...
pauk's user avatar
  • 408
1 vote
1 answer
64 views

I use winbond W25Q02JV nor flash with Xilinx Zynq7000 SoC. This W25Q02JV has four dies (memoy banks) of 64Mb on chip - totally 256MB. I split the flash memory into mtd partitions: mtd0 for uboot ...
Dementev Ivan's user avatar
0 votes
1 answer
35 views

I am writing a program where one of the features is controlling the DaqPad 6508 using python 3.8. According to the documentation, I have to use the traditional NI-DAQ package. However, my computer is ...
user347553's user avatar
1 vote
2 answers
225 views

I have Go code that opens a Fyne window. I run this on my MacBook and it works. I am trying to get it to run on a KVM Windows server. This issue isn't related to this specific KVM server as I've tried ...
Ahmed Zaidan's user avatar
3 votes
1 answer
69 views

When using a devm_* function, I'm aware that it allocates and manages memory for the resource of a device. I imagine ...
Victor Terme's user avatar
0 votes
0 answers
100 views

I am creating a project with an AD7124-8 PMDZ eval board with an STM32H755ZI nucleo board. Communicating through : SPI Mode - 3 ( CPOL - 1, CPHA - 1 ), MSB first, 8 bit data length, No CRC. I have ...
Madhav Bhatnagar's user avatar
0 votes
0 answers
243 views

We have the following driver installed which is I guess OS (RedHat) provided if I am not wrong. $ ethtool -i interface driver: sfc version: 4.18.0-553.6.1.el8.x86_64 And these are the solareflare nics:...
user1658476's user avatar
1 vote
0 answers
135 views

I encountered an issue where paths couldn't be resolved properly in my vanilla PHP projects using Laravel Herd. The system would only recognize index.php files. For ...
jbrogan99's user avatar
1 vote
0 answers
91 views

Is it possible to detect if stuff like the EPROCESS struct and PsLoadedModuleList has been tampered with from Kernel? I guess what I'm looking for is a "PatchGuard" like solution do detect ...
OssieFromDK's user avatar
0 votes
0 answers
28 views

I have a relative, who is wanting to use his scanner again for records. It's a PlusTek OpticPro A3I scanner. I've searched a lot for drivers and foud sites that purport to have drivers, but once I ...
FreakShow's user avatar
1 vote
0 answers
70 views

I'm developing an OS and encountering an issue with my PS/2 keyboard driver: despite attempting to set the keyboard to scancode set 2, it continues to send scancode set 1 codes. Below is the function ...
Viliam Holly's user avatar

1
2 3 4 5
133