108 Commits

Author SHA1 Message Date
Peter Wu
bac9a9ac27 Merge branch 'develop' into hack-lenovo 2013-01-22 16:44:42 +01:00
Peter Wu
cdb79257f2 .gitignore: ignore tar.gz and vim 2013-01-22 16:43:36 +01:00
Peter Wu
a516f95781 README.md: bump version, simplify instructions 2012-12-04 19:53:28 +01:00
Peter Wu
d349fc3547 dkms/acpi-handle-hack.conf: Bump version to 0.0.2 2012-11-28 22:05:54 +01:00
Peter Wu
ac2969eea2 Bump to 0.0.2 because of bugfixes 2012-11-10 12:18:14 +01:00
Peter Wu
94765f1952 Improve error checking, do not leak memory
A reference to pci_dev was always kept on failure (which is rare, but it could
happen if the bug is fixed or BIOS is updated). The handle name was also always
leaked, this is now corrected too.
2012-11-10 12:17:46 +01:00
Peter Wu
5d170444eb acpi-handle-hack: convert printk to pr_*; fix error message 2012-10-28 15:08:57 +01:00
Peter Wu
2d00d70ec7 Merge branch 'master' into hack-lenovo 2012-10-28 15:05:04 +01:00
Peter Wu
b12b017f3a Update to version 0.5, update NEWS v0.5 2012-10-22 17:03:33 +02:00
Peter Wu
2adcb24207 Merge branch 'master' into develop 2012-10-22 17:03:19 +02:00
Peter Wu
8beb9e3f88 Add missing 'static' keyword 2012-10-22 16:43:40 +02:00
Peter Wu
da55a70331 Add modeline for vim 2012-10-19 17:32:16 +02:00
Peter Wu
7f9fb7adf9 Power on the PCIe port before accessing PCI config space (#35)
Fixes regression in Linux 3.6 when run-time power management is enabled. See
https://bugzilla.kernel.org/show_bug.cgi?id=48981 for a discussion.
2012-10-19 17:28:59 +02:00
Peter Wu
b8a6029692 Convert printk to pr_... macros
For pr_debug outputs on _DSM results, use "make DEBUG=1"
2012-10-19 16:58:43 +02:00
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.
2012-10-14 11:34:52 +02:00
Peter Wu
dbf8aaf8e2 Use D3cold instead of D3hot to reflect real device state 2012-10-14 11:31:47 +02:00
Peter Wu
f5a4f5f364 Merge pull request #34 from dauxer/hack-lenovo
Add Lenovo G780
2012-09-22 12:34:26 -07:00
dauxer
aaa0bd3be8 Add Lenovo G780 2012-09-22 20:04:27 +02:00
Peter
d54dd454b6 Merge pull request #31 from wzzrd/develop
Add install and uninstall targets to Makefile
2012-08-26 06:52:27 -07:00
Maxim Burgerhout
5f2db6c26a Add install and uninstall targets to Makefile
For if you do not want to or are unable to use dkms
2012-08-26 15:40:05 +02:00
Peter Wu
232ee2dc11 acpi-handle-hack: Add Lenovo UdeaPad Y570 "PIQY0" (Closes GH-26) 2012-08-15 15:22:25 +02:00
Peter Wu
82648190aa Detect 3D controllers as gfx device too
Necessary for Lenovo G580 for example.
2012-08-15 14:35:40 +02:00
Peter Wu
f4128e5b40 acpi-handle-hack: Add Lenovo G580
Reported at Bumblebee-Project/Bumblebee#230, it seems to be the same
issue.
2012-08-15 12:54:31 +02:00
Peter Wu
13392b5125 Merge branch 'develop' into hack-lenovo 2012-08-15 12:51:20 +02:00
Peter Wu
8ada8849f2 Compatibility with older DKMS versions (GH-25) 2012-07-07 20:01:33 +02:00
Peter
6a1de878c3 Merge pull request #24 from TheSiege/hack-lenovo
Support hack for Lenovo IdeaPad Y480
2012-06-24 00:48:25 -07:00
anagromataf
e5456d1e0e hack for Y480 2012-06-23 14:49:30 -07:00
Peter
1e54d10115 Merge pull request #22 from koniiiik/hack-lenovo
Support hack for Lenovo IdeaPad Y580
2012-06-19 01:33:56 -07:00
Michal Petrucha
6864cf40a4 Added Ideapad Y580 to the list of devices requiring the hack. 2012-06-19 01:19:11 +02:00
Lekensteyn
411db223bb Update README.md with Toshiba SATELLITE P870 2012-06-03 16:19:03 +02:00
Lekensteyn
50970d8cf1 Add Toshiba SATELLITE P870 (PSPLBE-01V00HFR)
This machine is also affected as reported on
https://github.com/Bumblebee-Project/Bumblebee/issues/173
2012-06-03 15:42:26 +02:00
Lekensteyn
979fbcf552 Merge branch 'develop' v0.4.2 2012-04-26 12:59:41 +02:00
Lekensteyn
d12ce73a0d Update to version 0.4.2, update NEWS 2012-04-26 12:56:47 +02:00
Lekensteyn
0d1429e8bb Fix documentation error (Closes GH-16) 2012-04-26 12:49:14 +02:00
Lekensteyn
ec42e5b7ad Add LENOVO IDEAPAD Y570 "PIQY0" 2012-03-01 23:41:56 +01:00
Lekensteyn
af91008deb Fix formatting of arguments on case of ACPI failure (GH-12) 2012-03-01 21:53:52 +01:00
Lekensteyn
e13e6ffc54 Fix null deref when ACPI method call failed (GH-12) 2012-03-01 13:18:24 +01:00
Lekensteyn
f034252a13 Don't share buffer for muid/args, it'll be overwritten 2012-02-29 00:49:34 +01:00
Lekensteyn
647e3dddea Buffer overflow by one byte 2012-02-29 00:30:14 +01:00
Lekensteyn
804773eb22 Fix misuse of sizeof which trims arguments/muid (GH-12) 2012-02-29 00:10:32 +01:00
Lekensteyn
a0fdcedf27 README.md: copy to dkms.conf instead of acpi-handle-hack.conf 2012-02-03 23:37:39 +01:00
Lekensteyn
205c7ccddc Update README with test machine and post-install instructions 2012-02-03 16:08:55 +01:00
Lekensteyn
95712ab77f Update README and add adkms for Lenovo hack 2012-02-03 15:38:56 +01:00
Lekensteyn
b47ba4b087 Fix detection of machine by appending spaces 2012-02-02 23:22:16 +01:00
Lekensteyn
3668be9736 Add Lenovo IdeaPad Y470/Y570 hack
Warning: this is a very ugly hack, I do not know whether it works or not. It may
be unstable and does very unusual things.
2012-02-02 22:23:13 +01:00
Lekensteyn
7c30e38bd1 Revert "Add support for WMMX method"
This reverts commit 11ddd3469fc9b20ce8fffec4e4062d2d831496ae.
2012-01-28 10:57:04 +01:00
Lekensteyn
e321debb5b Revert "Support Optimus machines through WMMX (GH-2)"
This reverts commit 0ec41fa2da2a56b11d7049ae48ddc355e3a6fceb.
2012-01-28 10:57:03 +01:00
Lekensteyn
f4c2fadaf5 Revert "Load module dependency on make load: wmi"
This reverts commit fd74ba5bd8e12761543b360619ceb3b9d8cb4adf.
2012-01-28 10:56:58 +01:00
Lekensteyn
fd74ba5bd8 Load module dependency on make load: wmi 2012-01-24 14:33:21 +01:00
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.
2012-01-24 14:30:53 +01:00