bbswitch: Add usage instructions to header

This commit is contained in:
Lekensteyn 2011-12-13 21:18:16 +01:00
parent 8c0ea9bc34
commit 10ad4041f1

View File

@ -1,9 +1,13 @@
/**
* Disable discrete graphics (currently nvidia only)
*
* Based on:
* byo-switcheroo Alex Williamson <alex.williamson@redhat.com>
* acpi_call Michal Kottman
* Usage:
* Disable discrete card
* # echo OFF > /proc/acpi/bbswitch
* Enable discrete card
* # echo ON > /proc/acpi/bbswitch
* Get status
* # cat /proc/acpi/bbswitch
*/
#include <linux/pci.h>
#include <linux/acpi.h>