2016-04-27 01:43:31 +00:00
|
|
|
The main purpose of this software is to patch the EC on xx30 series thinkpads
|
|
|
|
to make the classic 7-row keyboards work.
|
2016-04-19 08:26:49 +00:00
|
|
|
|
2016-04-27 01:43:31 +00:00
|
|
|
With the patches included here, you can install the classic keyboard
|
|
|
|
hardware on many xx30 series laptops and make almost every key work properly.
|
|
|
|
The only keys that are not working are Fn+F3 (Battery) and Fn+F12 (Hibernate)
|
|
|
|
|
|
|
|
A full writeup of the hardware modifications needed can be found at:
|
|
|
|
http://www.thinkwiki.org/wiki/Install_Classic_Keyboard_on_xx30_Series_ThinkPads
|
2016-04-23 04:21:12 +00:00
|
|
|
|
|
|
|
|
2016-05-20 01:05:22 +00:00
|
|
|
Step-by-step instructions:
|
|
|
|
--------------------------
|
2016-04-23 04:21:12 +00:00
|
|
|
|
2016-06-06 12:50:54 +00:00
|
|
|
This software expects to be run under Linux. For best results, ensure you
|
|
|
|
have updated your BIOS to a recent version before starting. If there is too
|
|
|
|
large a difference between the BIOS and EC versions then the flash process
|
|
|
|
will not complete.
|
2016-04-23 04:21:12 +00:00
|
|
|
|
2016-05-20 01:05:22 +00:00
|
|
|
1. Ensure you have the normal packages needed for development work.
|
|
|
|
On debian, this can be done with:
|
2016-04-26 14:43:48 +00:00
|
|
|
|
2016-05-20 01:05:22 +00:00
|
|
|
apt-get install build-essential git
|
2016-04-27 01:43:31 +00:00
|
|
|
|
2016-05-26 00:35:18 +00:00
|
|
|
2. Ensure that a couple of tools and libraries needed by this system are
|
|
|
|
also installed:
|
2016-04-27 01:43:31 +00:00
|
|
|
|
2016-05-26 00:35:18 +00:00
|
|
|
apt-get install mtools libssl-dev
|
2016-04-27 01:43:31 +00:00
|
|
|
|
2016-05-20 01:05:22 +00:00
|
|
|
3. Clone a copy of this repo on to your computer:
|
2016-04-26 14:43:48 +00:00
|
|
|
|
2016-05-20 01:05:22 +00:00
|
|
|
git clone https://github.com/hamishcoleman/thinkpad-ec
|
2016-04-26 14:43:48 +00:00
|
|
|
|
2016-05-20 01:05:22 +00:00
|
|
|
4. Change to the directory created by the clone:
|
2016-04-26 14:43:48 +00:00
|
|
|
|
2016-05-20 01:05:22 +00:00
|
|
|
cd thinkpad-ec
|
2016-04-27 01:43:31 +00:00
|
|
|
|
2016-05-20 03:15:18 +00:00
|
|
|
5. Show the list of laptops and USB image file names:
|
2016-04-27 01:43:31 +00:00
|
|
|
|
2016-05-20 01:24:23 +00:00
|
|
|
make list_laptops
|
2016-04-23 04:21:12 +00:00
|
|
|
|
2016-05-20 03:15:18 +00:00
|
|
|
6. Select the correct IMG name for your laptop. E.G. "patched.x230.img" for
|
2016-05-20 01:05:22 +00:00
|
|
|
the x230 laptop.
|
2016-04-23 04:21:12 +00:00
|
|
|
|
2016-05-20 03:15:18 +00:00
|
|
|
7. Make the fully patched iimage for this laptop (this will download
|
|
|
|
the original file from Lenovo and patch it):
|
2016-04-23 04:21:12 +00:00
|
|
|
|
2016-05-20 03:15:18 +00:00
|
|
|
make patched.x230.img
|
2016-04-23 04:21:12 +00:00
|
|
|
|
2016-05-20 03:15:18 +00:00
|
|
|
8. Insert your USB stick and determine what device name it has.
|
|
|
|
This command should help you find the right device:
|
2016-04-23 04:21:12 +00:00
|
|
|
|
2016-05-20 03:15:18 +00:00
|
|
|
lsblk -d -p -o NAME,SIZE,LABEL
|
2016-05-20 01:05:22 +00:00
|
|
|
|
2016-05-20 03:15:18 +00:00
|
|
|
9. Write the bootable patched image onto the USB stick device
|
|
|
|
|
|
|
|
WARNING: if you do not have the right device name, you might overwrite
|
|
|
|
your hard drive!
|
|
|
|
|
|
|
|
sudo dd if=patched.x230.img of=/dev/sdb
|
2016-05-20 01:05:22 +00:00
|
|
|
|
2016-05-20 03:15:18 +00:00
|
|
|
Your USB stick is now ready to boot and install the patched firmware.
|
|
|
|
|
|
|
|
When you boot this, you will be prompted with information about the patch
|
|
|
|
and asked to confirm your laptop type. It will then automatically flash
|
|
|
|
the patched firmware.
|
|
|
|
|
|
|
|
|
|
|
|
Notes:
|
2016-05-20 01:05:22 +00:00
|
|
|
|
2016-05-20 03:15:18 +00:00
|
|
|
* You can also create a bootable CDROM image for burning to a disk
|
|
|
|
by asking for a ".iso" file in step 7 above. Then you can use your
|
|
|
|
normal CDROM burning tools to put this image on a blank cd and boot
|
|
|
|
it up, skipping steps 8 and 9.
|
2016-05-20 01:05:22 +00:00
|
|
|
|
|
|
|
* More information for hacking on this can be found in the docs/HACKING.txt
|
|
|
|
file.
|
2016-04-19 08:26:49 +00:00
|
|
|
|