Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Specifically, I'd love to know what the valid values of

  • /sys/devices/virtual/backlight/acpi_video0/power/runtime_enabled
  • /sys/devices/virtual/backlight/acpi_video0/power/wakeup

And, where I can find this information? I've always wondered if it was documented somewhere, or if there was an interface into the kernel to query for it.

share|improve this question
up vote 2 down vote accepted

The best (readable by mere mortals) document I found on sysfs is this tutorial by Greg Kroah-Hartman. The tutorial shows how to implement a driver using the sysfs interface. I did not find any references to standards or conventions about documenting valid values.

It seems to be so that any driver developer can implement things the way he or she likes. Finding the valid values for a sysfs entry is then dependend on the documentation given. Unfortunately there also seems to be no standard place to find the documentation.

You could search the linux source code (here for example). Unfortunately the linux kernel, being programmed in c, is riddled with macros and pointers, so one can not do a simple grep through the source.

share|improve this answer
If true, how disappointing, that these interfaces in the kernel aren't documented for the end user is mighty annoying. – Evan Carroll May 13 '11 at 1:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.