From 10ad4041f1e389bd2a023407178d891d9628b9af Mon Sep 17 00:00:00 2001 From: Lekensteyn Date: Tue, 13 Dec 2011 21:18:16 +0100 Subject: [PATCH] bbswitch: Add usage instructions to header --- bbswitch.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/bbswitch.c b/bbswitch.c index f7fc264..a4cd3f6 100644 --- a/bbswitch.c +++ b/bbswitch.c @@ -1,9 +1,13 @@ /** * Disable discrete graphics (currently nvidia only) * - * Based on: - * byo-switcheroo Alex Williamson - * 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 #include