Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
Installing classic keyboard into X230 with EC firmware mod
Re: Installing classic keyboard into X230 with EC firmware mod
Perfect, all is OK now, many thanks.
One question: For flashing another X230t, can be used the same flashdisk, or need create a new one, on next machine?
One question: For flashing another X230t, can be used the same flashdisk, or need create a new one, on next machine?
in use: T520, T431s, X230T, x61s (pinmod), x200s, x300 (pinmod), X220T
Past: 380x 600e, 240x, A22m, T20, x30, T30, T40, x41, x41T, T60, T61, T400, T500, R500, x60s, x61, x200T, x201T, T420, T430, X230i, X220i
Past: 380x 600e, 240x, A22m, T20, x30, T30, T40, x41, x41T, T60, T61, T400, T500, R500, x60s, x61, x200T, x201T, T420, T430, X230i, X220i
Re: Installing classic keyboard into X230 with EC firmware mod
You can just keep using the same flashdiskderick wrote:Perfect, all is OK now, many thanks.
One question: For flashing another X230t, can be used the same flashdisk, or need create a new one, on next machine?
-
- Moderator
- Posts: 2156
- Joined: Mon Aug 17, 2009 8:38 am
- Location: Zurich, Switzerland
Re: Installing classic keyboard into X230 with EC firmware mod
Me again with issues
I'm trying a patch in a T430, following the instructions from here: https://github.com/hamishcoleman/thinkp ... ter/README (adapting the steps to my T430)
Everything apparently works fine, when booting via USB drive the message pops up, it boots and patch the BIOS, but after that the 7 row keyboard doesn't work (the same one working fine in my X230). What I noticed is if I test the image using:I get (among a lot of extra text) the following: However, if I boot again from my USB drive and press Ctrl+C before flashing, I only find the directory G1ETB0WW. Does this make any sense...?
I repeated the process at least three times with no success (furthermore, the USB drive cannot be mounted or formatted anymore, neither in Linux nor in Win10)
My T430 has 8GB RAM, a Quad CPU and a modded FHD Panel, can be any of those components the culprit?
Thanks guys in advance for the help!
I'm trying a patch in a T430, following the instructions from here: https://github.com/hamishcoleman/thinkp ... ter/README (adapting the steps to my T430)
Everything apparently works fine, when booting via USB drive the message pops up, it boots and patch the BIOS, but after that the 7 row keyboard doesn't work (the same one working fine in my X230). What I noticed is if I test the image using:
Code: Select all
make patched.t430.img test
Code: Select all
echo Built: 2f49d711d520575ff9079d74c64ef495850a9818 t430.G1HT35WW.s01D2000.FL2
I repeated the process at least three times with no success (furthermore, the USB drive cannot be mounted or formatted anymore, neither in Linux nor in Win10)
My T430 has 8GB RAM, a Quad CPU and a modded FHD Panel, can be any of those components the culprit?
Thanks guys in advance for the help!
IBM Convertible 5140/L40SX/220/240/240X/2*340CSE/360PE/365XD/380D/380E/380XD/380Z/390/560E/560X/2*570/2*600/600E/750Cs/755C/760CD/760EL/760XD/770E
A20p/A22p/A31/i1600/G40/R50p/R61i/S30/SL510/2*T22/4*T4x/11*T6x/6*T40x/6*T5x0/3*W5x0/W700/3*X2x/4*X3x/3*X4x/5*X6x/3*X6xT/12*X2xx/4*X30x/Z60m/3*Z61x
A20p/A22p/A31/i1600/G40/R50p/R61i/S30/SL510/2*T22/4*T4x/11*T6x/6*T40x/6*T5x0/3*W5x0/W700/3*X2x/4*X3x/3*X4x/5*X6x/3*X6xT/12*X2xx/4*X30x/Z60m/3*Z61x
Re: Installing classic keyboard into X230 with EC firmware mod
Your "Built" string looks fine to me - the filename in that string is constructed from the Lenovo EC version number. The directory you are seeing is the Lenovo BIOS version number - and it should contain the $01D2000.FL2 file which is patched by this build. Also important is that the sha1sum you got matches what I got here - so the file was patched OK.Tasurinchi wrote: What I noticed is if I test the image using:I get (among a lot of extra text) the following:Code: Select all
make patched.t430.img test
However, if I boot again from my USB drive and press Ctrl+C before flashing, I only find the directory G1ETB0WW. Does this make any sense...?Code: Select all
echo Built: 2f49d711d520575ff9079d74c64ef495850a9818 t430.G1HT35WW.s01D2000.FL2
From the steps you describe, It sounds like what we would expect if the firmware is being flashed to the EC, so I dont really know why that would not be actually happening.
The only thing that occurs to me is that your BIOS version might be out of date - there is a lot of leeway in which BIOS and EC versions will match with each other, but if they do not match then strange things can happen (and Lenovo doesnt document which versions match) - So, if your BIOS version is significantly older than the G1ETB0WW version then perhaps try upgrading it (that version is simply the one that this EC firmware version was originally bundled with, before we patched it)
Could the USB drive have been corrupting its storage before it got to this point? - Though, I would have expected an error message from something. There are checksums that both the BIOS and EC check before allowing the flashing to complete.Tasurinchi wrote: I repeated the process at least three times with no success (furthermore, the USB drive cannot be mounted or formatted anymore, neither in Linux nor in Win10)
None of that should affect the embedded controller, so you should be fine there.Tasurinchi wrote: My T430 has 8GB RAM, a Quad CPU and a modded FHD Panel, can be any of those components the culprit?
-
- Moderator
- Posts: 2156
- Joined: Mon Aug 17, 2009 8:38 am
- Location: Zurich, Switzerland
Re: Installing classic keyboard into X230 with EC firmware mod
Thanks for looking into this!
Any restriction regarding which BIOS version to upgrade?
I recall that the command "make list_iso" also shows one extra T430 patch, I think it was for v2.65 with no KB patch or something similar ... A pity I don't have my T430 here at work
I will check again tonight, but from memory I think my BIOS is v2.62.hamish wrote:The only thing that occurs to me is that your BIOS version might be out of date
Any restriction regarding which BIOS version to upgrade?
I recall that the command "make list_iso" also shows one extra T430 patch, I think it was for v2.65 with no KB patch or something similar ... A pity I don't have my T430 here at work
IBM Convertible 5140/L40SX/220/240/240X/2*340CSE/360PE/365XD/380D/380E/380XD/380Z/390/560E/560X/2*570/2*600/600E/750Cs/755C/760CD/760EL/760XD/770E
A20p/A22p/A31/i1600/G40/R50p/R61i/S30/SL510/2*T22/4*T4x/11*T6x/6*T40x/6*T5x0/3*W5x0/W700/3*X2x/4*X3x/3*X4x/5*X6x/3*X6xT/12*X2xx/4*X30x/Z60m/3*Z61x
A20p/A22p/A31/i1600/G40/R50p/R61i/S30/SL510/2*T22/4*T4x/11*T6x/6*T40x/6*T5x0/3*W5x0/W700/3*X2x/4*X3x/3*X4x/5*X6x/3*X6xT/12*X2xx/4*X30x/Z60m/3*Z61x
-
- Moderator
- Posts: 2156
- Joined: Mon Aug 17, 2009 8:38 am
- Location: Zurich, Switzerland
Re: Installing classic keyboard into X230 with EC firmware mod
What a dumb moment I had
I'm building this T430, so I don't have all parts, no LCD bezel, no palmrest, no LED card...
... and no battery ...
Now I got one to do the BIOS update and even before the update even started I see the EC flashing the last bits and bytes of code. Of course now everything works... Geez, some days I should just stay in bed...
I'm building this T430, so I don't have all parts, no LCD bezel, no palmrest, no LED card...
... and no battery ...
Now I got one to do the BIOS update and even before the update even started I see the EC flashing the last bits and bytes of code. Of course now everything works... Geez, some days I should just stay in bed...
IBM Convertible 5140/L40SX/220/240/240X/2*340CSE/360PE/365XD/380D/380E/380XD/380Z/390/560E/560X/2*570/2*600/600E/750Cs/755C/760CD/760EL/760XD/770E
A20p/A22p/A31/i1600/G40/R50p/R61i/S30/SL510/2*T22/4*T4x/11*T6x/6*T40x/6*T5x0/3*W5x0/W700/3*X2x/4*X3x/3*X4x/5*X6x/3*X6xT/12*X2xx/4*X30x/Z60m/3*Z61x
A20p/A22p/A31/i1600/G40/R50p/R61i/S30/SL510/2*T22/4*T4x/11*T6x/6*T40x/6*T5x0/3*W5x0/W700/3*X2x/4*X3x/3*X4x/5*X6x/3*X6xT/12*X2xx/4*X30x/Z60m/3*Z61x
Re: Installing classic keyboard into X230 with EC firmware mod
Hey, thats good news!Tasurinchi wrote:
I'm building this T430, so I don't have all parts, no LCD bezel, no palmrest, no LED card...
... and no battery ...
Now I got one to do the BIOS update and even before the update even started I see the EC flashing the last bits and bytes of code. Of course now everything works... Geez, some days I should just stay in bed...
I dont think it is that dumb either - its not like we have a detailed list of steps from Lenovo that are guaranteed to work - I'll add a note about batteries to the readme though..
-
- Admin Emeritus
- Posts: 23812
- Joined: Mon Sep 18, 2006 5:17 am
- Location: Loch Garman, Éire
Re: Installing classic keyboard into X230 with EC firmware mod
For those of you who like to have W7 on their X230, I found this Slic patch:
TRANSLATED (by Google) FROM CHINESE:
TRANSLATED (by Google) FROM CHINESE:
Thinkpad x230 slic 2.1 problem
Leave a reply
Thinkpad x230 front of me is a parallel, bios slic 2.1 there is no information, means you can not use the oem windows 7 system. Do 5,6 hours of research, and finally successfully activated.
1. Install lenovo oem version of windows 7 ultimate. Since no slic 2.1 bios and other relevant information, suggesting the need to activate within 3 days.
About 1.1 windows 7 ultimate production oem version in front of me have the relevant technology to record the message. For reference.
1.2 See bios slic slic toolkit can use the information and other tools. Attachment with slic toolkit v3.2.
2. We need to use some tool to modify the marker x230 bios, but before the marker can not be used. I use the success of the TP-G2 this.
G2 is designed for x230, if it is another model, the need for other bin file. TP-G2.rar compression bag has fl2.exe g2.bin and other documents.
3. fl2.exe not run on x64. So we need to make a 32 boot disk. I used HPDOS_Format this gadget.
This is a tool to format my flash disk, in the above made a dos boot disk. The tp-g2 unzip this on the disc.
4. restart the machine, so as to modify the boot from the flash disk into dos interface. Switch to tp-g2 directory, type
fl2.exe /w:g2.bin
Soon the modification is completed.
5. Go back to windows 7 interface, open the computer properties, see has been successfully activated.
With slic toolkit you can also see the related information slic.
http://nanzt.info/wp-content/uploads/2013/08/TP-G2.rar
http://nanzt.info/wp-content/uploads/20 ... t_V3.2.rar
http://nanzt.info/wp-content/uploads/20 ... Format.rar
Lovely day for a Guinness! (The Real Black Stuff)
Lenovo: X240, X250, T440p, T480, M900 Tiny.
PS: the old Boardroom website is still available on the Wayback Machine.
Lenovo: X240, X250, T440p, T480, M900 Tiny.
PS: the old Boardroom website is still available on the Wayback Machine.
Re: Installing classic keyboard into X230 with EC firmware mod
Is there a similar conceivable mod for the T460?
240, 380ED, 760C, 760CD, 760E, 760EL, 760LD, 760LD, 760XD, 760XD, A30, E520, G40, I1300, P53, R31, R40, R51, R52, R61, T20, T30, T40, T41, T42, T43, T43P, T60, T61, T400, T410, T420, T430, T460, X1C2, X30, X40, X220, X301 and on, and on, and on...
-
- Posts: 11
- Joined: Sun Jan 17, 2016 12:17 pm
- Location: Haifa, Israel
Re: Installing classic keyboard into X230 with EC firmware mod
How do I undo this and flash the original BIOS?
Re: Installing classic keyboard into X230 with EC firmware mod
it is certainly conceivable - however, there are a number of hurdles that would need to be crossed - eg, the plastic top of the case would need to be hacked to fit the classic keyboard, a shim board would need to be built that adapts the classic connector to the new flexible printed circuit board and - probablly the most difficult - the EC firmware uses a different authentication method that would need to be reverse engineered.Radioguy wrote:Is there a similar conceivable mod for the T460?
I would love to work on this, but I cannot justify the price of a brand new laptop, just to have it in parts and cut up straight away....
Re: Installing classic keyboard into X230 with EC firmware mod
Its pretty straight forward:Botticelli wrote:How do I undo this and flash the original BIOS?
* To make an installer that reverts any EC changes, rename all the "*.patch" files in the subdirectory for your laptop so that they have "*.OFF" appended to them. Ensure you start with a clean build ("make clean") Then build with the normal instructions.
-
- Posts: 11
- Joined: Sun Jan 17, 2016 12:17 pm
- Location: Haifa, Israel
Re: Installing classic keyboard into X230 with EC firmware mod
Thanks hamish. Was going to try just that, just wanted to make sure.
-
- Posts: 11
- Joined: Sun Jan 17, 2016 12:17 pm
- Location: Haifa, Israel
Re: Installing classic keyboard into X230 with EC firmware mod
How could I tell if the battery mod was flashed correctly on the T430s?
I have changed the "battery_validate.patch.OFF" to battery_validate.patch, did a "make" and tried flashing the BIOS again.
I have got a battery that probably is not genuine or faulty. After flashing the BIOS, the battery still will not charge and makes these error code blinks when connected to a charger. Is there a way to know if this is the battery or I need to do something else to flash the battery mod (The keyboard mod did work)? Thanks!
https://imgur.com/a/KUDxY
I have changed the "battery_validate.patch.OFF" to battery_validate.patch, did a "make" and tried flashing the BIOS again.
I have got a battery that probably is not genuine or faulty. After flashing the BIOS, the battery still will not charge and makes these error code blinks when connected to a charger. Is there a way to know if this is the battery or I need to do something else to flash the battery mod (The keyboard mod did work)? Thanks!
https://imgur.com/a/KUDxY
Re: Installing classic keyboard into X230 with EC firmware mod
Ok, so I just tried this with my t430s and I've got a little problem. Hardware-wise, everything has gone well, but I've applied the patch and it doesn't seem to have taken. Still have to hit FN + Space for the ThinkLight, dim and brighten are FN+F8 & F9, etc.
I've double-checked the BIOS and EC version numbers and they look fine, and it seems as though the build went ok.
I ran it twice with no change.
I ran make clean patched.t430s.img and got this result:
I did encounter an encryption error the first time around - it turns out that I did not have libssl-dev installed (running Korora 24) at first, and there is apparently not a libssl-dev package for Fedora, so I installed openssl-devel instead, and the build completed without errors.
It's great to type on a classic keyboard again, but I want it to be perfect! Any ideas on what I may have done wrong?
I've double-checked the BIOS and EC version numbers and they look fine, and it seems as though the build went ok.
I ran it twice with no change.
I ran make clean patched.t430s.img and got this result:
Code: Select all
rm -f patched.*.iso patched.*.img *.FL2 *.FL2.orig *.img.enc \
*.img.enc.orig *.img.orig *.bat \
*.img
./slice.extract t430s.G7HT39WW.s01D8000.FL2.slice t430s.G7HT39WW.s01D8000.FL2.orig
+ dd status=none iflag=count_bytes,skip_bytes if=g7uj19us.iso.orig skip=3628544 count=16912384 of=t430s.G7HT39WW.s01D8000.FL2.orig
./slice.extract t430s.G7HT39WW.img.enc.slice t430s.G7HT39WW.img.enc.orig
+ dd status=none iflag=count_bytes,skip_bytes if=t430s.G7HT39WW.s01D8000.FL2.orig skip=5242880 count=196608 of=t430s.G7HT39WW.img.enc.orig
mec-tools/mec_encrypt -d t430s.G7HT39WW.img.enc.orig t430s.G7HT39WW.img.orig
sha1sum -c t430s.G7HT39WW.img.orig.sha1
t430s.G7HT39WW.img.orig: OK
cp --reflink=auto t430s.G7HT39WW.img.orig t430s.G7HT39WW.img
./hexpatch.pl t430s.G7HT39WW.img t430s.G7HT39WW.img.d/*.patch
Attempting to patch t430s.G7HT39WW.img
Applying t430s.G7HT39WW.img.d/001_keysym.patch -8529,11 +8529,11
Applying t430s.G7HT39WW.img.d/002_dead_keys.patch -8538,7 +8538,7
Applying t430s.G7HT39WW.img.d/003_keysym_replacements.patch -8516,8 +8516,8
Applying t430s.G7HT39WW.img.d/004_fn_keys.patch -8481,9 +8481,9
Applying t430s.G7HT39WW.img.d/005_fn_key_swap.patch -8481,7 +8481,7
./xx30.encrypt t430s.G7HT39WW.img t430s.G7HT39WW.img.enc
+ cd mec-tools
+ ./mec_repack ../t430s.G7HT39WW.img ../t430s.G7HT39WW.img.enc
building ../t430s.G7HT39WW.img.enc from ../t430s.G7HT39WW.img
6f164a14 6f164a14 OK
608fa3ee 608fa3ee OK
9c586114 9c586114 OK
daba6245 0719f62f FIXED
dde8 f6b7 FIXED
c324 b257 FIXED
reverifying
b257 b257 OK
f6b7 f6b7 OK
6f164a14 6f164a14 OK
608fa3ee 608fa3ee OK
9c586114 9c586114 OK
0719f62f 0719f62f OK
./slice.insert t430s.G7HT39WW.img.enc.slice t430s.G7HT39WW.img.enc t430s.G7HT39WW.s01D8000.FL2
+ cp --reflink=auto t430s.G7HT39WW.s01D8000.FL2.orig t430s.G7HT39WW.s01D8000.FL2
+ dd status=none conv=notrunc bs=5242880 seek=1 of=t430s.G7HT39WW.s01D8000.FL2
+ dd status=none if=t430s.G7HT39WW.img.enc bs=196608 count=1
sed -e "s%__DIR%`mdir -/ -b -i g7uj19us.iso.orig@@71680 |grep FL2 |cut -d/ -f3`%; s%__FL2%`mdir -/ -b -i g7uj19us.iso.orig@@71680 |grep FL2 |cut -d/ -f4`%; s%__DESC%`cat g7uj19us.iso.orig.desc`%; s/__BUILDINFO/v1-25-gdd39cb (20161102) clean patched.t430s.img/" autoexec.bat.template >g7uj19us.iso.bat.tmp
mv g7uj19us.iso.bat.tmp g7uj19us.iso.bat
touch -d @1 g7uj19us.iso.bat
./slice.insert t430s.G7HT39WW.s01D8000.FL2.slice t430s.G7HT39WW.s01D8000.FL2 g7uj19us.iso && sed -i "s/__BUILT/`sha1sum t430s.G7HT39WW.s01D8000.FL2`/" g7uj19us.iso.bat && mcopy -m -o -i g7uj19us.iso@@71680 g7uj19us.iso.bat ::AUTOEXEC.BAT && mdel -i g7uj19us.iso@@71680 ::EFI/Boot/BootX64.efi
+ cp --reflink=auto g7uj19us.iso.orig g7uj19us.iso
+ dd status=none if=t430s.G7HT39WW.s01D8000.FL2 bs=16912384 count=1
+ dd status=none conv=notrunc bs=3628544 seek=1 of=g7uj19us.iso
mv g7uj19us.iso patched.t430s.iso
mv g7uj19us.iso.bat patched.t430s.iso.bat
Your build has completed with the following details:
echo Buildinfo: v1-25-gdd39cb (20161102) clean patched.t430s.img
echo Built: 5547647606551ed2fd40ebb45bc9982458574af5 t430s.G7HT39WW.s01D8000.FL2
./geteltorito -o patched.t430s.img patched.t430s.iso
Booting catalog starts at sector: 20
Manufacturer of CD: NERO BURNING ROM
Image architecture: x86
Boot media type is: harddisk
El Torito image starts at sector 27 and has 65536 sector(s) of 512 Bytes
Image has been written to file "patched.t430s.img".
./hexpatch.pl patched.t430s.img fix-hdd-image-`stat -c %s patched.t430s.img`.patch
Attempting to patch patched.t430s.img
Applying fix-hdd-image-33554432.patch fix partition table
Your build has completed with the following details:
echo Buildinfo: v1-25-gdd39cb (20161102) clean patched.t430s.img
echo Built: 5547647606551ed2fd40ebb45bc9982458574af5 t430s.G7HT39WW.s01D8000.FL2
It's great to type on a classic keyboard again, but I want it to be perfect! Any ideas on what I may have done wrong?
New Beast: T430s, NVIDIA, FHD mod, 16GB, 1TB SSD
My Frankenpad: T40 Case, added BT, WiFi, T42 mainboard, fingerprint scanner from T43, 60GB SSD, 14" SXGA+, 2.0 GHz Dothan SL7EM, 2GB RAM, running LMDE 13 OS
Also running a T43 as a 24/7/365 PFSense firewall server
My Frankenpad: T40 Case, added BT, WiFi, T42 mainboard, fingerprint scanner from T43, 60GB SSD, 14" SXGA+, 2.0 GHz Dothan SL7EM, 2GB RAM, running LMDE 13 OS
Also running a T43 as a 24/7/365 PFSense firewall server
Re: Installing classic keyboard into X230 with EC firmware mod
I can confirm that your buildinfo/built strings all look good - so you ended up with the same results I did.redbat wrote: It's great to type on a classic keyboard again, but I want it to be perfect! Any ideas on what I may have done wrong?
A number of people have had wierd issues where the boot disk didnt actually reflash the EC until some other setting was configured correctly - a charged battery and power plugged in and BIOS set to boot in non-UEFI mode. Sometimes a couple of reboots were needed too.
If after booting from the installer, you have never seen the BIOS bootup screen show you a percentage complete bar with words to the effect that it was reprogramming the embedded controller, then the patch never got applied.
Re: Installing classic keyboard into X230 with EC firmware mod
Thanks for the response, Hamish. I did actually see the percentage complete bar, and a message to the effect that all was well, then a reboot in 5 seconds, etc.hamish wrote:I can confirm that your buildinfo/built strings all look good - so you ended up with the same results I did.redbat wrote: It's great to type on a classic keyboard again, but I want it to be perfect! Any ideas on what I may have done wrong?
A number of people have had wierd issues where the boot disk didnt actually reflash the EC until some other setting was configured correctly - a charged battery and power plugged in and BIOS set to boot in non-UEFI mode. Sometimes a couple of reboots were needed too.
If after booting from the installer, you have never seen the BIOS bootup screen show you a percentage complete bar with words to the effect that it was reprogramming the embedded controller, then the patch never got applied.
I also made sure that BIOS was set to Legacy first prior to the flash. I'll maybe try different media, and try plugging it into AC - it was running on either the UltraBay or main battery when I tried the flash the first few times.
EDIT: And now it works! I plugged AC, plugged in the USB Drive, restarted the system, saw "FLASHING EMBEDDED CONTROLLER" (or something similar) for about 2 seconds, and then the regular boot screen. Thanks, Hamish! This is a wonderful upgrade.
New Beast: T430s, NVIDIA, FHD mod, 16GB, 1TB SSD
My Frankenpad: T40 Case, added BT, WiFi, T42 mainboard, fingerprint scanner from T43, 60GB SSD, 14" SXGA+, 2.0 GHz Dothan SL7EM, 2GB RAM, running LMDE 13 OS
Also running a T43 as a 24/7/365 PFSense firewall server
My Frankenpad: T40 Case, added BT, WiFi, T42 mainboard, fingerprint scanner from T43, 60GB SSD, 14" SXGA+, 2.0 GHz Dothan SL7EM, 2GB RAM, running LMDE 13 OS
Also running a T43 as a 24/7/365 PFSense firewall server
-
- Posts: 3
- Joined: Mon Nov 07, 2016 5:21 pm
- Location: Wash DC
Re: Installing classic keyboard into X230 with EC firmware mod
This is very interesting. I would also like to have all F1 to F12 keys giving keycodes with FN.nitrocaster wrote:Fn+F2 and Fn+F3 can be swapped (so that Fn+F2 will do screenlock) with this patch:Code: Select all
00021668 B4 8E 01 00 -0002166C C0 70 C0 71 -00021670 C0 72 C7 73 +0002166C C0 70 C0 72 +00021670 C0 71 C7 73 00021674 E4 50 E5 51
I would also like to add a FN table for all the other keys, for remapping. For example, with the appropriate keycodes, FN+Q, FN+W, FN+E, etc. could all be used to start a shortcut.
There is no complete documentation of the FN table format. I have read https://github.com/hamishcoleman/thinkp ... fnkeys.txt but it is still unclear. Can I please ask for some help, if only to get started by doing FN+F1 to FN+F12?
Also, would it be possible to alter the EC power checks using a similar method? A W520 or W530 will not charge without the 135W adapter, while the 90W adapter is lighter to carry. There are hardware mods to do that: http://www.thinkwiki.org/wiki/Power_Con ... Signal_Pin
A software patch doing the same thing would be nice!
W520/32G ram upgraded with coreboot to a i7 3940XM
Re: Installing classic keyboard into X230 with EC firmware mod
While it is probably possible to do a little bit of this, the current size of the table in the firmware limits the number of keys you could do this with - there is only one clearly spare slot, with three more possibly spare slots.charlotteplusplus wrote: This is very interesting. I would also like to have all F1 to F12 keys giving keycodes with FN.
I would also like to add a FN table for all the other keys, for remapping. For example, with the appropriate keycodes, FN+Q, FN+W, FN+E, etc. could all be used to start a shortcut.
I have added a little bit more information to that file, but there really isn’t much documentation available. Much of the documentation is going to be low-level and speculative. Was there some specific feedback on what is missing or unclear in that file? If it is my phrasing, or I have forgotten a vital remark, then we might be able to improve it.charlotteplusplus wrote: There is no complete documentation of the FN table format. I have read https://github.com/hamishcoleman/thinkp ... fnkeys.txt but it is still unclear. Can I please ask for some help, if only to get started by doing FN+F1 to FN+F12?
While the charging is undoubtedly controlled by the EC, finding the code and making a patch would require a little more information than we currently have. We only have hints on how the EC might talk to its Analog-Digital convertor or set the GPIO lines - which are where you would probably start looking for the charging control.charlotteplusplus wrote: Also, would it be possible to alter the EC power checks using a similar method? A W520 or W530 will not charge without the 135W adapter, while the 90W adapter is lighter to carry. There are hardware mods to do that: http://www.thinkwiki.org/wiki/Power_Con ... Signal_Pin
A software patch doing the same thing would be nice!
Re: Installing classic keyboard into X230 with EC firmware mod
Simple exploits such as this:
http://www.techspot.com/news/61596-bios ... g-you.html
(Boot system, write-protect bit set, send system to sleep mode, write-protect bit is reset and not set upon system wake)
Doesn't work? I would be so happy if it did. But... go ahead and disappoint me.
http://www.techspot.com/news/61596-bios ... g-you.html
(Boot system, write-protect bit set, send system to sleep mode, write-protect bit is reset and not set upon system wake)
Doesn't work? I would be so happy if it did. But... go ahead and disappoint me.
-
- Posts: 3
- Joined: Mon Nov 07, 2016 5:21 pm
- Location: Wash DC
Re: Installing classic keyboard into X230 with EC firmware mod
Thanks for the updated documentation - now I see the size problem. 17 slots would be sufficient to cover all the F1-F12 number +4 arrows + space. But maybe the size of the table changed with EC releases.hamish wrote:While it is probably possible to do a little bit of this, the current size of the table in the firmware limits the number of keys you could do this with - there is only one clearly spare slot, with three more possibly spare slots.charlotteplusplus wrote: This is very interesting. I would also like to have all F1 to F12 keys giving keycodes with FN.
I would also like to add a FN table for all the other keys, for remapping. For example, with the appropriate keycodes, FN+Q, FN+W, FN+E, etc. could all be used to start a shortcut.
I wonder if there are also 17 slots on the W520 EC. (I have a W520; I want to add the shortcuts to its native keyboard)
How do you locate the table and check its size?
Can I please ask you to look at the W520 native table? On version 8AHT38WW-3.20 I don't get Fn events for 4 F keys. I do get Fn key events for PrintScreen, Scroll Lock and Pause, which I could do without to keep more useful shortcuts like Home/End/PageUp for the brightness and thinklight.
W520/32G ram upgraded with coreboot to a i7 3940XM
Re: Installing classic keyboard into X230 with EC firmware mod
[deleted]
Last edited by seasonshu on Sat Nov 19, 2016 1:20 pm, edited 1 time in total.
Re: Installing classic keyboard into X230 with EC firmware mod
Dear users of ThinkPad,
Please suggest which is the best classic keyboard for X230 known to work without any problems?
I have found two keyboards:
1) for IBM X200 X200S X200T X201 X201T X201I:
https://gd3.alicdn.com/bao/uploaded/i3/ ... 00x600.jpg
Price about $11 USD
2) for X220 X220T T400S T410 T420 T510 T520 X200 X201:
https://gd2.alicdn.com/bao/uploaded/i2/ ... 00x600.jpg
Price about $15 USD
Second keyboard seems to be a more modern one and therefore I guess it is worse?
The older the better? Right?
Please suggest which is the best classic keyboard for X230 known to work without any problems?
I have found two keyboards:
1) for IBM X200 X200S X200T X201 X201T X201I:
https://gd3.alicdn.com/bao/uploaded/i3/ ... 00x600.jpg
Price about $11 USD
2) for X220 X220T T400S T410 T420 T510 T520 X200 X201:
https://gd2.alicdn.com/bao/uploaded/i2/ ... 00x600.jpg
Price about $15 USD
Second keyboard seems to be a more modern one and therefore I guess it is worse?
The older the better? Right?
-
- Senior ThinkPadder
- Posts: 3810
- Joined: Mon May 28, 2012 5:49 am
- Location: Metro Manila, Philippines
Re: Installing classic keyboard into X230 with EC firmware mod
sanyo,
Only the second keyboard is usable on the X230 after the firmware mod.
The X200/X201 keyboard probably won't fit correctly.
Only the second keyboard is usable on the X230 after the firmware mod.
The X200/X201 keyboard probably won't fit correctly.
Planned Purchase: T480s i5-8350 FHD Touch
Impulse Buy: Thinkpad not named for safety reasons
RIP: X220 4291-C91 X61 7676-A24 760XD-U9E
Impulse Buy: Thinkpad not named for safety reasons
RIP: X220 4291-C91 X61 7676-A24 760XD-U9E
Re: Installing classic keyboard into X230 with EC firmware mod
Are these two keyboards the same:
https://world.taobao.com/item/523408944 ... 963924b380
and
https://world.taobao.com/item/523408944 ... .64.ZA7fyu
Are they both suitable?
I am confused they are marketed for X220 X220T T400S T410 T420 T510 T520 X200 X201
so X201 too ...
https://world.taobao.com/item/523408944 ... 963924b380
and
https://world.taobao.com/item/523408944 ... .64.ZA7fyu
Are they both suitable?
I am confused they are marketed for X220 X220T T400S T410 T420 T510 T520 X200 X201
so X201 too ...
Re: Installing classic keyboard into X230 with EC firmware mod
You'll need one of these FRUs (in order of preference):
45N2211 - NMB
45N2141 - CHICONY
45N2071 - ALPS (mushy, not recommended)
45N2211 - NMB
45N2141 - CHICONY
45N2071 - ALPS (mushy, not recommended)
Yes, they are both Chicony.sanyo wrote:Are these two keyboards the same:
Are they both suitable?
They are not good for X201.. that's an error in the advertisement.sanyo wrote:I am confused they are marketed for X220 X220T T400S T410 T420 T510 T520 X200 X201 so X201 too ...
Re: Installing classic keyboard into X230 with EC firmware mod
Can you please explain why 45N2211 - NMB is better?
Re: Installing classic keyboard into X230 with EC firmware mod
See http://forum.thinkpads.com/viewtopic.php?f=45&t=122003sanyo wrote:Can you please explain why 45N2211 - NMB is better?
-
- Posts: 26
- Joined: Tue Nov 25, 2014 9:44 pm
- Location: Papua New Guinea
Re: Installing classic keyboard into X230 with EC firmware mod
Did anyone make the opposite mod (x30 keyboard in x20 machines) eventually? I'd like to get an x30 keyboard because I like it better, especially the layout, but since I have fully functional machine I'm somewhat lazy to experiment myself, while would adopt tried&tested solution if there is one.
TPY 260 WiGiG & WWAN Upgrade
Re: Installing classic keyboard into X230 with EC firmware mod
I modded two keyboards, flashed the X230. One of the is working fine.
However, the other one is dead in the middle section, everything included:
4-8
r-i
f-k
v-,
space,=,bkspace,\,enter
does not work. I tried putting the wrong one into the X220, then removed the mod, nothing.
Did I probably tear the cable while modding? Any chance of comeback from this? I ordered the keyboards from the US (to UK) for mainly their layout; the shipping price + Royal Mail "handling fee" was really eye watering...
Thanks.
However, the other one is dead in the middle section, everything included:
4-8
r-i
f-k
v-,
space,=,bkspace,\,enter
does not work. I tried putting the wrong one into the X220, then removed the mod, nothing.
Did I probably tear the cable while modding? Any chance of comeback from this? I ordered the keyboards from the US (to UK) for mainly their layout; the shipping price + Royal Mail "handling fee" was really eye watering...
Thanks.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Classic ThinkPads installed in IBM System/390 and zSeries mainframes
by ThinkDan » Mon Nov 27, 2023 4:39 pm » in ThinkPad Legacy Hardware - 13 Replies
- 3942 Views
-
Last post by ThinkDan
Fri Feb 02, 2024 4:18 am
-
-
-
T580 Compared to Classic Thinkpads and Macbook Pro
by MisterB » Fri Mar 15, 2024 12:51 pm » in ThinkPad T430-T490 / T530-T590 Series - 0 Replies
- 102 Views
-
Last post by MisterB
Fri Mar 15, 2024 12:51 pm
-
-
-
PM Device Version For Critical Thunderbolt Firmware Patch
by TPFanatic » Wed Oct 25, 2023 8:49 am » in Thinkpad - General HARDWARE/SOFTWARE questions - 0 Replies
- 2827 Views
-
Last post by TPFanatic
Wed Oct 25, 2023 8:49 am
-
-
-
How bad was the Thunderbolt Firmware Problem
by euless » Wed Feb 07, 2024 4:19 am » in ThinkPad T430-T490 / T530-T590 Series - 3 Replies
- 626 Views
-
Last post by TPFanatic
Sun Feb 11, 2024 6:20 am
-
Who is online
Users browsing this forum: No registered users and 48 guests