Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lenovo878 opened this issue Jun 17, 2023 · 8 comments
Open

Comments

@lenovo878
Copy link

lenovo878 commented Jun 17, 2023

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
Copy link
Owner

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
Copy link
Author

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

@hamishcoleman
Copy link
Owner

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

@lenovo878
Copy link
Author

Linux mint version 14.04

@hamishcoleman
Copy link
Owner

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
Copy link
Author

lenovo878 commented Jun 21, 2023

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
Copy link
Owner

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants