hamishcoleman / thinkpad-ec

Infrastructure for examining and patching Thinkpad embedded controller firmware
GNU General Public License v2.0
1.05k stars 116 forks source link

git clone https://github.com/hamishcoleman/thinkpad-ec doesn't work #240

Open lenovo878 opened 1 year ago

lenovo878 commented 1 year ago

when I paste git clone https://github.com/hamishcoleman/thinkpad-ec in it says Cloning into 'thinkpad-ec'... "fatal: unable to access" https://github.com/hamishcoleman/thinkpad-ec/': server certificate verification failed. CAfile: /etc/ssl/cert/ca-certificates.crt CRLfile: none

Any ideas? Thanks in advance!

hamishcoleman commented 1 year ago

This sounds like your system is out of date. What distribution are you running your clone on?

("server certificate verification failed" is usually due to out of date root certificates on the client end)

lenovo878 commented 1 year ago

Sorry, but are you saying I need an updated version of Linux?

hamishcoleman commented 1 year ago

You might need an updated version of Linux, yes. What version are you using?

lenovo878 commented 1 year ago

Linux mint version 14.04

hamishcoleman commented 1 year ago

That distribution is over ten years old, so the SSL certificates it knows about have all changed (and often expired). I am surprised you have not had the same issues with accessing anything else on the internet

lenovo878 commented 1 year ago

Thanks, upgraded to the latest version now, which is 21.1. However, now stuck on the below. After I do cd thinkpad-ec I try and type in make patch_enable_battery clean and I get the below.

root@mint:/home/mint/thinkpad-ec# make patch_enable_battery clean Generated dependancies from descriptions sed -E 's/CONFIG_BATTERY\s=.//' --in-place .config echo "CONFIG_BATTERY = y" >> .config rm -f .d/generated.deps \ patched..iso patched..img .FL? .FL?.orig .img.enc \ .img.enc.orig .img.orig .bat .report \ .img \ .txt.orig rm -rf .iso.extract *.iso.orig.extract

I've followed the steps by step instructions right to the end before and ran the patch; however, the battery still isn't charging and saying it isn't genuine. Then I googled it and its say I need to add the "make patch_enable_battery clean'' command before I do the make patched.T430.img command.

hamishcoleman commented 1 year ago

I'm not seeing any errors or issues in the output you have there - have you tried simply continuing on to the next step?

lenovo878 commented 1 year ago

Tried it again and it works now. Thanks for all your help!