Top "Sysfs" questions

Sysfs is a virtual file system provided by Linux.

In Linux, is there a way to find out which PCI card is plugged into which PCI slot?

In Linux, is there a way to find out which PCI card is plugged into which PCI slot? /sys/bus/…

linux pci sysfs
How to create a simple sysfs class attribute in Linux kernel v3.2

I'm learning how to use sysfs in my Linux modules, but I'm having the hardest time finding current documentation on …

c linux linux-kernel linux-device-driver sysfs
Using the Linux sysfs_notify call

I am trying to communicate asynchronously between a kernel driver and a user-space program (I know there are lots of …

linux linux-kernel kernel polling sysfs
Beaglebone gpio input not working

I am using beaglebone to access digital input from specific pin using sysfs interface. And I can change the output …

linux embedded-linux beagleboard gpio sysfs
Linux Userspace GPIO Interrupts using sysfs

I would like to use interrupts with GPIO on userspace using sysfs. I use these commands : [root@at91]:gpio109 > …

linux kernel interrupt gpio sysfs
GPIO/Analog programming for BeagleBone Black on Angstrom Linux, what compiler for cross development on Windows?

I'm working on a BeagleBone Black (BBB from now on) with its stock Angstrom Linux. I'm able to do GPIO/…

c++ c angstrom-linux beagleboneblack sysfs
How to test battery charging speed?

How can I detect battery charging speed in android device? I can detect battery status using below code. but not …

android usb battery sysfs batterymanager
Linux driver access through sysfs

I'm making a small kernel module to provide user-space access to some kernel-mode only features of an ARMv7 chip (specifically, …

linux kernel driver linux-device-driver sysfs
Multiple Battery entries in /sys/class/power_supply on Android

I am trying to read battery information from an NDK app. The only way I know to accomplish this is …

android linux android-ndk sysfs
How to attach file operations to sysfs attribute in platform driver?

I wrote a platform driver for a peripheral we developed and would like to expose some configuration options to the …

linux-kernel linux-device-driver embedded-linux sysfs