Peter Wu
aeff596524
Makefile: fix clean and install target
...
clean: do not try to wipe /usr/src/linux-...
load: rmmod and insmod do not have to be in /sbin (for example, /usr/bin
on Arch Linux). Assume that the user has a sane PATH.
12 years ago
Peter Wu
dbf8aaf8e2
Use D3cold instead of D3hot to reflect real device state
12 years ago
Peter
d54dd454b6
Merge pull request #31 from wzzrd/develop
...
Add install and uninstall targets to Makefile
12 years ago
Maxim Burgerhout
5f2db6c26a
Add install and uninstall targets to Makefile
...
For if you do not want to or are unable to use dkms
12 years ago
Peter Wu
8ada8849f2
Compatibility with older DKMS versions (GH-25)
13 years ago
Lekensteyn
d12ce73a0d
Update to version 0.4.2, update NEWS
13 years ago
Lekensteyn
0d1429e8bb
Fix documentation error (Closes GH-16)
13 years ago
Lekensteyn
af91008deb
Fix formatting of arguments on case of ACPI failure (GH-12)
13 years ago
Lekensteyn
e13e6ffc54
Fix null deref when ACPI method call failed (GH-12)
13 years ago
Lekensteyn
f034252a13
Don't share buffer for muid/args, it'll be overwritten
13 years ago
Lekensteyn
647e3dddea
Buffer overflow by one byte
13 years ago
Lekensteyn
804773eb22
Fix misuse of sizeof which trims arguments/muid (GH-12)
13 years ago
Lekensteyn
7c30e38bd1
Revert "Add support for WMMX method"
...
This reverts commit 11ddd3469f
.
13 years ago
Lekensteyn
e321debb5b
Revert "Support Optimus machines through WMMX (GH-2)"
...
This reverts commit 0ec41fa2da
.
13 years ago
Lekensteyn
f4c2fadaf5
Revert "Load module dependency on make load: wmi"
...
This reverts commit fd74ba5bd8
.
13 years ago
Lekensteyn
fd74ba5bd8
Load module dependency on make load: wmi
13 years ago
Lekensteyn
0ec41fa2da
Support Optimus machines through WMMX (GH-2)
...
This should finally support machines like the Lenovo Y570. WMMX methods should
be more reliable than direct DSM probing so let's try that before calling DSM
directly.
13 years ago
Lekensteyn
7fd02221b2
Print version on load
13 years ago
Lekensteyn
11ddd3469f
Add support for WMMX method
...
This should support at least the Lenovo Ideapad Y470 and Y570. It probes the
WMMX method before calling the _DSM method directly since that method should
work for all machines that support the NVIDIA DSM.
13 years ago
Lekensteyn
4f73396ba7
Add easier way to use DKMS
13 years ago
Lekensteyn
8c0c5aa863
Allow everyone to get the status of the card (Closes GH-8)
13 years ago
Lekensteyn
b0712e5185
Update to version 0.4.1, update NEWS
13 years ago
Lekensteyn
2d1effc903
Fix a harmless error message
13 years ago
Lekensteyn
8bd07d14af
Bump to version 0.4, update NEWS
13 years ago
Lekensteyn
ebf86f0617
Detect 3D controllers as gfx device too (GH-3)
13 years ago
Lekensteyn
a904b442af
Add debug message in case no ACPI handle is found
13 years ago
Lekensteyn
c8b303c36c
Add NEWS file, bump version to 0.3
13 years ago
Lekensteyn
9f0ae8f723
Ignore files generated from build
13 years ago
Lekensteyn
031bcfe8a6
Update README with module options
13 years ago
Lekensteyn
5e297c27ad
Add note that a driver must not be loaded if the card is off
13 years ago
Lekensteyn
358ce15bc1
Probe for nvidia DSM on Intel ACPI handle (GH-4)
13 years ago
Lekensteyn
04cdd2d5f9
Update instructions with request for ACPI handle mapping
13 years ago
Lekensteyn
6ed65463c8
Update README with request for machine information
13 years ago
Lekensteyn
12715b4b54
Change PACKAGE_VERSION, set KVERSION, update README
13 years ago
Joaquín Ignacio Aramendía
3bf9cab570
Updated readme
13 years ago
Joaquín Ignacio Aramendía
031ffe0d66
Changed module location and make/clean directives
13 years ago
Joaquín Ignacio Aramendía
4453aa4537
Removed scripts directory and checked out the original Makefile from 'master' branch
13 years ago
mecanix
e8135e1dce
Add dkms support for bbswitch
13 years ago
Lekensteyn
62f9560821
Added module options to turn the card on/off on (un)load
13 years ago
Lekensteyn
7e792ef176
Bump module version to 0.2
13 years ago
Lekensteyn
9c223efc95
Mention acpidump README
13 years ago
Lekensteyn
73966cbddd
Fix logic in Optimus DSM execution
13 years ago
Lekensteyn
a62634d9fe
Fix misleading warning, changed LOG_INFO -> LOG_DEBUG
13 years ago
Lekensteyn
b321482650
Added README
...
Taken from https://github.com/Lekensteyn/acpi-stuff
13 years ago
Lekensteyn
c10907b6b3
bbswitch: silently ignore large writes
13 years ago
Lekensteyn
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
13 years ago
Lekensteyn
96ff2ed501
bbswitch: always pass a Buffer object for empty args
13 years ago
Lekensteyn
46b9032921
bbswitch: fix misleading error message about _DSM when toggling card
13 years ago
Lekensteyn
cce4ffd2f7
bbswitch: fix more return values and document acpi_call_dsm
13 years ago
Lekensteyn
d0c1e29818
bbswitch: Fix return value if a _DSM test failed
13 years ago