Top "Linux-device-driver" questions

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

How to write device drivers in Javascript?

Is it possible to write hardware drivers in Javascript? What would be the steps required for such a task? Also, …

javascript driver linux-device-driver ecmascript-5
What is MODULE_ALIAS in Linux device driver code?

Explanation for MODULE_ALIAS in the code says /* work with hotplug and coldplug */ MODULE_ALIAS("platform:omap2_mcspi"); But, what …

c linux linux-kernel linux-device-driver spi
How does MSI interrupt work in linux driver?

Currently working on a PCI device driver. And the device is programmed like this: When a DMA transmission is done, …

linux linux-device-driver interrupt dma pci
Mapping device tree interrupt flags to devm_request_irq

I am currently writing a device driver for Linux for use of PowerPC. The device tree entry is as follows: // …

linux-kernel linux-device-driver device-tree
How to connect an ethernet device directly to a switch in linux?

We have an embedded board where the ethernet device is directly connected to a switch without a phy in between. …

linux linux-kernel linux-device-driver embedded-linux ethernet
Android: pcm_open failed cannot open device '/dev/snd/pcmC0D1p'

A custom piece of hardware is running Android with the audio drivers installed. An simple Android app is created to …

android linux-kernel linux-device-driver embedded-linux tinyalsa
Hello Word Device Tree Based device driver

I have read and almost gone through all the linux kernel documentation on the device tree and device tree overlays.…

linux-kernel linux-device-driver embedded-linux device-tree
/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
How to filter and intercept Linux packets by using net_dev_add() API?

I'm writing ethernet network driver for linux. I want to receive packets, edit and resend them. I know how to …

c network-programming linux-device-driver kernel-module netfilter
fsync, sync: does it really do what its supposed to?

I would like to have more clarification on the functionality of sync(8) and fsync functions in Linux (2.6.31). Does it make …

linux filesystems linux-device-driver embedded-linux