FITFLOP
Home

linux-device-driver (6 post)


posts by category not found!

How to populate a sockaddr_in from char* in a Linux kernel module?

How to Populate a sockaddr in from char in a Linux Kernel Module When developing a Linux kernel module that interacts with networking you often need to work wit

2 min read 18-10-2024 39
How to populate a sockaddr_in from char* in a Linux kernel module?
How to populate a sockaddr_in from char* in a Linux kernel module?

The correct way to initialize PCI device manually

The Correct Way to Manually Initialize a PCI Device Initialization of Peripheral Component Interconnect PCI devices is a crucial aspect of system programming pa

3 min read 16-10-2024 25
The correct way to initialize PCI device manually
The correct way to initialize PCI device manually

Getting correct kobject for sysfs_notify()

Navigating the Labyrinth Finding the Right kobject for sysfs notify The sysfs notify function is a powerful tool in the Linux kernel for triggering events and u

2 min read 07-10-2024 36
Getting correct kobject for sysfs_notify()
Getting correct kobject for sysfs_notify()

Linux USB driver - How to set "URB Function" of usb request

Understanding and Setting the URB Function in Linux USB Drivers Working with USB devices in Linux often involves interacting with USB Request Blocks URBs These

2 min read 06-10-2024 24
Linux USB driver - How to set "URB Function" of usb request
Linux USB driver - How to set "URB Function" of usb request

Obtain kernel module version from userspace

Obtaining Kernel Module Version from Userspace Lets say you have a loaded kernel module and need to determine its version from userspace This is a common requir

2 min read 30-09-2024 31
Obtain kernel module version from userspace
Obtain kernel module version from userspace

Understanding disassembly of compiled x86_64 code

Demystifying Disassembly Understanding Compiled x86 64 Code Have you ever wondered what happens to your C code after you compile it Or how the machine actually

3 min read 30-09-2024 31
Understanding disassembly of compiled x86_64 code
Understanding disassembly of compiled x86_64 code