bbswitch: Add usage instructions to header
This commit is contained in:
parent
8c0ea9bc34
commit
10ad4041f1
10
bbswitch.c
10
bbswitch.c
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user