Top "Linux-device-driver" questions

Device drivers take on a special role in the Linux kernel.

"FATAL: Module not found error" using modprobe

I have a problem with modprobe command... I compiled the hello world module and loaded it with insmod, it works …

c linux linux-kernel kernel linux-device-driver
IOCTL Linux device driver

Can anyone explain me, What is IOCTL? What is it used for? How can I use it? Why can't I …

linux linux-kernel driver linux-device-driver ioctl
why is u8 u16 u32 u64 used instead of unsigned int in kernel programming

I see u8 u16 u32 u64 data types being used in kernel code. And I am wondering why is there …

c linux kernel linux-device-driver
How to write a simple Linux device driver?

I need to write an SPI Linux character device driver for omap4 from scratch. I know some basics of writing …

c linux linux-kernel linux-device-driver embedded-linux
Finding original MAC address from Hardware itself

Os:REDHAT LINUX Linux manage: 2.6.18.8-1 # Is this possible to read MAC address form NIC directly ? I have below code …

linux sockets linux-kernel linux-device-driver mac-address
Linux keyboard event capturing /dev/inputX

I was trying to capture keyboard events. e.g. I want to drill down a keylogger from the scratch. After 2 …

linux linux-kernel linux-device-driver
How does Linux Kernel know where to look for driver firmware?

I'm compiling a custom kernel under Ubuntu and I'm running into the problem that my kernel doesn't seem to know …

linux-kernel linux-device-driver firmware
Module not found when I do a modprobe

I am trying to install this module: https://github.com/mkottman/acpi_call I did a make, make install. I …

linux linux-device-driver
How to use netlink socket to communicate with a kernel module?

I am trying to write a linux kernel module that communicates with user process using netlink. I am using netlink …

c linux-kernel linux-device-driver netlink
How to do a TRUE rescan of PCIe bus

I have an FPGA (Like most of the people asking this question) that gets configured after my Linux kernel does …

linux-kernel linux-device-driver pci-e hotplugging