Browse files

Update README and add adkms for Lenovo hack

  • Loading branch information...
1 parent b47ba4b commit 95712ab77f8497278224575059dfdf264462e8ec @Lekensteyn Lekensteyn committed Feb 3, 2012
Showing with 36 additions and 0 deletions.
  1. +29 −0
  2. +7 −0 dkms/acpi-handle-hack.conf
@@ -49,6 +49,35 @@ To uninstall it, run:
# make -f Makefile.dkms uninstall
+Lenovo IdeaPad Y470/Y570
+Until [this kernel bug]( is
+fixed, you need to apply an ugly hack on these laptops to make bbswitch and the
+driver (both nouveau and nvidia) work. For now I have decided not to put the
+hack in the bbswitch module since it is a very ugly hack that is comparable to
+writing a maximum allowable speed of 130 km/h on a traffic sign for a road
+where 120 km/h is allowed just because the radar gun does not work properly.
+To make use of it, use the `hack-lenovo` branch. An example using DKMS:
+ $ git clone git:// -b hack-lenovo
+ $ cd bbswitch
+ $ mkdir /usr/src/acpi-handle-hack-0.0.1
+ # cp Makefile acpi-handle-hack.c /usr/src/acpi-handle-hack-0.0.1
+ # cp dkms/acpi-handle-hack.conf /usr/src/acpi-handle-hack-0.0.1
+ # dkms add acpi-handle-hack/0.0.1
+ # dkms build acpi-handle-hack/0.0.1
+ # dkms install acpi-handle-hack/0.0.1
+If everything goes well, you now need to get the hack loaded on boot. On
+Ubuntu and Debian, this can be done with:
+ echo acpi-handle-hack | sudo tee -a /etc/modules
+ sudo update-initramfs -u
+For other systems, adopt the instructions from the *Disable card on boot*
+section below. Please do not copy these instructions to blogs/forums/whatever
+without warning that the method is a hack (you can refer to the metaphore above)
+and that it may crash the machine if incorrectly applied.
@@ -0,0 +1,7 @@
+MAKE[0]="make KVERSION=$kernelver modname=acpi-handle-hack"
+CLEAN="make clean"

0 comments on commit 95712ab

Please sign in to comment.