Top "Device-driver" questions

A device driver is a specialized software component (usually considered "system software") which allows a system to interact with a particular type or class of hardware device, such as a keyboard, serial port, disk drive, video display, memory controller, or other peripheral.

using persistant storage in linux kernel

I am trying to use persistent store(Pstore) available in linux kernel but somehow i am not getting the logs …

linux linux-kernel linux-device-driver embedded-linux device-driver
Linux Kernel: copy_from_user - struct with pointers

I've implemented some kind of character device and I need help with copy_ from_user function. I've a structure: struct …

linux device-driver kernel
How to set errno in Linux device driver?

I am designing a Linux character device driver. I want to set errno when error occurs in ioctl() system call. …

linux driver device-driver ioctl errno
Emulating joystick programmatically

I want to emulate a joystick using keypresses and/or mouse input. So other programs/games will think that user …

windows device-driver wdk
Linux USB device driver not getting probed

I'm working on a device driver for Linux. It's a USB pen tablet. The problem is that the driver's probe …

linux usb device-driver probe
/dev/video0 : invalid argument

Why I am not able to read this file. I tried reading this file with cat as : cat /dev/video0 …

kernel device webcam linux-device-driver device-driver