Commit Graph

106 Commits

Author SHA1 Message Date
4f73396ba7 Add easier way to use DKMS 2012-01-21 15:02:11 +01:00
8c0c5aa863 Allow everyone to get the status of the card (Closes GH-8) 2012-01-21 12:30:41 +01:00
d5ff9a1fb9 Merge branch 'develop' 2012-01-16 17:24:47 +01:00
b0712e5185 Update to version 0.4.1, update NEWS v0.4.1 2012-01-16 17:23:20 +01:00
2d1effc903 Fix a harmless error message 2012-01-16 12:19:36 +01:00
c1dd7140df Merge branch 'develop' v0.4 2012-01-15 17:18:45 +01:00
8bd07d14af Bump to version 0.4, update NEWS 2012-01-15 17:18:14 +01:00
ebf86f0617 Detect 3D controllers as gfx device too (GH-3) 2012-01-15 16:35:07 +01:00
a904b442af Add debug message in case no ACPI handle is found 2012-01-15 10:43:44 +01:00
fd4dabf37e Merge branch 'develop' v0.3 2012-01-14 23:18:54 +01:00
c8b303c36c Add NEWS file, bump version to 0.3 2012-01-14 23:16:45 +01:00
9f0ae8f723 Ignore files generated from build 2012-01-14 22:54:33 +01:00
031bcfe8a6 Update README with module options 2012-01-14 22:49:46 +01:00
5e297c27ad Add note that a driver must not be loaded if the card is off 2012-01-14 22:13:55 +01:00
358ce15bc1 Probe for nvidia DSM on Intel ACPI handle (GH-4) 2012-01-14 19:58:56 +01:00
04cdd2d5f9 Update instructions with request for ACPI handle mapping 2012-01-14 17:15:23 +01:00
6ed65463c8 Update README with request for machine information 2012-01-14 11:14:43 +01:00
12715b4b54 Change PACKAGE_VERSION, set KVERSION, update README v0.2 2012-01-02 00:13:39 +01:00
3bf9cab570 Updated readme 2012-01-01 18:12:30 -03:00
031ffe0d66 Changed module location and make/clean directives 2012-01-01 17:50:43 -03:00
4453aa4537 Removed scripts directory and checked out the original Makefile from 'master' branch 2012-01-01 17:46:53 -03:00
e8135e1dce Add dkms support for bbswitch 2011-12-31 18:55:04 +01:00
62f9560821 Added module options to turn the card on/off on (un)load 2011-12-30 18:43:46 +01:00
7e792ef176 Bump module version to 0.2 2011-12-30 15:49:01 +01:00
9c223efc95 Mention acpidump README 2011-12-30 15:48:47 +01:00
73966cbddd Fix logic in Optimus DSM execution 2011-12-30 15:48:34 +01:00
a62634d9fe Fix misleading warning, changed LOG_INFO -> LOG_DEBUG 2011-12-29 20:55:21 +01:00
b321482650 Added README
Taken from https://github.com/Lekensteyn/acpi-stuff
2011-12-27 19:46:22 +01:00
c10907b6b3 bbswitch: silently ignore large writes 2011-12-27 19:32:04 +01:00
c6e50c9a37 bbswitch: Use seq_file instead of deprecated proc_read/proc_write
Now works with dd if=/proc/acpi/bbswitch bs=1 seek=N and if the size passed to
fread is larger than 1
2011-12-27 19:32:04 +01:00
96ff2ed501 bbswitch: always pass a Buffer object for empty args 2011-12-17 19:14:47 +01:00
46b9032921 bbswitch: fix misleading error message about _DSM when toggling card 2011-12-15 22:38:43 +01:00
cce4ffd2f7 bbswitch: fix more return values and document acpi_call_dsm 2011-12-14 19:20:58 +01:00
d0c1e29818 bbswitch: Fix return value if a _DSM test failed 2011-12-14 19:14:27 +01:00
5c51e06ab8 bbswitch: Add more debugging messages 2011-12-14 18:21:43 +01:00
93f07b9570 bbswitch: Warn when result type is unknown 2011-12-13 23:15:18 +01:00
41e0b9fca0 bbswitch: make the uuid array of size 16, remove check 2011-12-13 22:46:52 +01:00
1997dba661 bbswitch: Do not pass a null pointer, but zero instead 2011-12-13 22:46:16 +01:00
b2191e5160 bbswitch: add comment on other possible UUID 2011-12-13 22:27:34 +01:00
10ad4041f1 bbswitch: Add usage instructions to header 2011-12-13 21:18:16 +01:00
8c0ea9bc34 bbswitch: add DSM_TYPE_UNSUPPORTED macro
This was added for clarity and matches other DSM_TYPE_* macros
2011-12-13 21:14:39 +01:00
e16cdf561b bbswitch: Support for legacy _DSM function
Newer Optimus laptops seems to use a _DSM method which is quite standard. This
is referred to as "Optimus DSM" in some DSDT files and must be called before the
discrete nVidia graphics card is turned off. Other (older?) laptops use a
different UUID, revision ID and arguments which actually enables or disables a
device. The right _DSM arguments is detected during the module initialization.
2011-12-13 21:08:43 +01:00
6af35bd55b bbswitch: Check for result before deref it 2011-12-13 00:07:30 +01:00
398c8d2a7b bbswitch: Set the result value if result type is an integer 2011-12-12 21:26:09 +01:00
619d95e7d7 bbswitch/Makefile: don't fail on paths with special chars
Don't expand the current directory in the Makefile, let the shell expand
it. Furthermore, replace all occurences of the modulename by a variable
2011-12-12 21:15:00 +01:00
1e59a3f54e bbswitch: Add version and author macros 2011-12-12 18:26:05 +01:00
f85fc2789e bbswitch: Don't continue on disabling the device on a failing ACPI call 2011-12-12 18:21:56 +01:00
644cb5ee73 bbswitch: Note why PM_RESTORE_PREPARE is unused 2011-12-12 17:36:11 +01:00
b50902797a bbswitch: don't disable card if a driver is loaded 2011-12-12 17:00:06 +01:00
f7e6dd9741 bbswitch: If necessary, enable card before suspend and disable after 2011-12-11 23:41:02 +01:00