Rendered at 16:20:26 GMT+0000 (Coordinated Universal Time) with Netlify.
amiga-workbench 4 days ago [-]
I wonder if this can help with the extremely irritating bug (intentional?) on the X270 where if you give it a third party 9-cell battery, it will raise CPU_PROCHOT all the damn time, and my processor would drop to below 1Ghz clock speeds.
Back when I used to have an X270 I had a shell script that ran on boot which poked a register to disable thermal throttling handling. Not at all ideal, but it made the machine usable in the absence of official Lenovo batteries which they stopped manufacturing pretty damn quickly.
lstolcman 3 days ago [-]
You can use ThrottleStop[1] to disable PROCHOT on non-standard battery. I encountered similar issue with throttling on my Dell Precision laptop when I was charging it via 60 W USB-C charger instead of proprietary barrel-type 130 W plug. The system triggered a warning about low power charger and initiated aggressive cpu frequency scaling. By using ThrottleStop, I was able to use type-c 60W charger on lightweight tasks (such as web browsing, older games) just fine.
Dell likes to pull this stunt on other devices too. Like their 1L desktops in the OptiPlex line that I managed for many years. Even though we were using genuine Dell power adapters, if they became slightly unplugged but remained powered, they would enable PROCHOT.
This was fine until the machines randomly started setting PROCHOT on genuine power adapters that were fully plugged in. Eventually I just deployed a configuration with PDQ to all the machines that ran ThrottleStop in the background with a configuration that disabled PROCHOT on login.
Unfortunately, I couldn't get it to consistently disable PROCHOT pre-login, so students and teachers in my labs would consistently wait 3-4 minutes while the machines chugged along at 700 MHz as they prepared their accounts.
joe_mamba 3 days ago [-]
>You can use ThrottleStop[1] to disable PROCHOT
Dell disables that tinkering on some models of XPS in BIOS/EC so ThrottleStop won't to jack.
TiredOfLife 3 days ago [-]
On my non Thinkpad lenovo yoga (Whiskey Lake) disabling bd_prochot leads to crash.
rasz 2 days ago [-]
>ThrottleStop[1] to disable PROCHOT
can confirm, works great to bypass throttling when 60W supply on X230
muniter 4 days ago [-]
Nice to finally know what was happening to my x270 after so many years. Well good thing it doesn't happen when connected to power nowadays is my home server
gritzko 3 days ago [-]
I was the happy owner of ThinkPad X1 Extreme g1. It had that bug out of the box, new original battery. Once it thermal throttles, it never goes back to full GHz. It throttled pretty soon, cause big CPU small chassis. Yes, I had a script like that.
It is still somewhere on a shelf, so maybe its day will come again.
rasz 3 days ago [-]
Thinkpads do same thing when detecting 65W supply instead of 90W despite you only need 90W if running full tilt while charging.
inamberclad 3 days ago [-]
Oh almost certainly. PROCHOT is programmable.
hypercube33 3 days ago [-]
I wonder now if a similar problem is present in the A285 which is a cousin of the x270
65a 4 days ago [-]
Possibly. Usually this is handled by the embedded controller, and not sure if that was reversed or not. You may be able to tristate the GPIO line that tells the CPU that a pin means PROCHOT, which would allow you to ignore the ECs attempts to do this.
Kiboneu 3 days ago [-]
Yeah, I wrote a similar script. Run it once I see the clock going to 400, but wait for eternity for the sudo prompt emerge before running it.
nxobject 4 days ago [-]
Do you think it could also be due to an ACPI table?
amiga-workbench 4 days ago [-]
Its possible. I know from the BIOS revision changelogs that the T470 did get a patch to fix this, but the X270 never did.
p_l 3 days ago [-]
Not sure if battery issue is fully related but...
As a former owner of a T470, Lenovo included a pretty beefy component from intel that was supposed to be feature complete by itself for dynamically managing thermals, including funky ideas like detecting if you were potentially using the laptop on your legs etc. and reducing thermals then, but giving full power when running plugged on the desk.
Time comes for delivery, Lenovo finds out that intel did a half-assed job (not the first time, compare Rapid Start "hibernation" driver earlier) and the result is kabylake T470 (and X270 which share most of the design) having broken thermals when running anything other than windows without special intel driver, thus leading to funny tools that run in a loop picking at an MSR in the CPU in a constant whack-a-mole with piece of code deep in firmware.
merpkz 3 days ago [-]
> I can’t recommend libreboot enough, or even heads if libreboot isn’t your speed.
Why though? Not a single reason mentioned in post about why would it be better than whatever stock BIOS the laptop is shipped with.
adrian_b 3 days ago [-]
Some people prefer to know exactly what their computer does, either to enable debugging in obscure cases or due to security concerns.
Thanks to Intel, who has invented the completely unnecessary System Management Mode, to compensate for the laziness of Microsoft, who could not be bothered to update MS-DOS and Windows with some features required in modern computers, now the BIOS has the ability to do whatever it wants on your computer, without this being detectable by the owner.
Hopefully the BIOS writers do not abuse this, and the many problems caused by BIOSes are due to unintentional bugs and not due to malice, but it would still better to be certain that your firmware does not do anything nefarious.
When debugging hardware problems, it is also much simpler when you are certain about what the computer really does, instead of not knowing whether the BIOS takes control when certain hardware events happen, overriding any policies that you may try to implement in your operating system.
Replacing the proprietary BIOS still does not provide complete control over what you own, as there are auxiliary CPUs with their own agenda, but it is still much closer to full control than when you do not know what the BIOS does.
nhubbard 3 days ago [-]
> Hopefully the BIOS writers do not abuse this
Unfortunately, they have. Multiple examples from the excellent Cathode Ray Dude:
Damn that's scary. I like that guy. He said everything necessary to that topic.
Never rely on something you've found working for your case but not designed to be used like that.
hypfer 3 days ago [-]
The goal of that blog post is not to sell you something.
This can be confusing on HN, I know.
normie3000 3 days ago [-]
A recommendation without context is pointless. A recommendation with context could be very helpful!
maxerickson 3 days ago [-]
Burma Shave.
miscellanemone 3 days ago [-]
You've unlocked a hilarious memory of driving through southern California and seeing all these signs as a kind of one-word-at-a-time advertisement back in the 90s. Someone had to have recreated them as some kind of joke because all the original signs had been gone for decades.
hypfer 3 days ago [-]
[flagged]
cromka 3 days ago [-]
[flagged]
alias_neo 3 days ago [-]
It replaces a proprietary component of your system with an open source one.
This answer is "do it out of principle". OP is looking for the practical considerations.
alias_neo 3 days ago [-]
As far as I can tell, this is the only reason, you'll likely lose a bunch of functionality (that's been my experience); so "principle" is the only reason I'm aware of (or minimalism, but that's a principle too is it not?).
I suppose if nothing else, you can run a more up to date firmware if the vendor stopped supporting yours, but I have no idea what that means in a practical sense.
katdork 3 days ago [-]
I don't really feel like I've lost any functionality, personally?
If I weren't using binary blobs in the firmware, I think I would have more trouble, but that is Canoeboot to my knowledge, not Libreboot. ^^
ktm5j 3 days ago [-]
That still doesn't answer the question of why it's better. Unless you're paranoid about an OEM backdoor, I think this is cool but not worth the effort.
joe_mamba 3 days ago [-]
I think firstly is the FOSS obsession and backdoor paranoia from evangelists, and secondly and the more practical one is that the proprietary IBM BIOS is full of bugs and anti-consumer blacklists and whitelists designed to limit repairability and upgradeability, which stil boggle my mind on how those laptops got such a good image on that front.
ktm5j 3 days ago [-]
I mean, maybe paranoia is the wrong word.. it's not something that I'm personally worried about, but stuff like that has actually happened.
joe_mamba 3 days ago [-]
>but stuff like that has actually happened
Yes, if you live and organize your life around things that are unlikely to happen to you, but only because they've happened ONCE to someone else, typically a high value target by state actors, that's called paranoia.
Most people are not gonna be targeted via BIOS hacks. From state actors to online scammers they all have easier ways to getting your data remotely.
fsflover 3 days ago [-]
> Most people are not gonna be targeted via BIOS hacks.
That was once in 2014. How often did that happen? What damages did the users incur from that attack?
Normal people don't live in constant fear daily over something that happened once and caused no losses.
yjftsjthsd-h 3 days ago [-]
I'm not sure that's paranoia (as others have pointed out, OEM firmwares have had security problems before), but sure, let's ignore security problems for a moment.
1. Firmware contains bugs. Old proprietary firmware tends to not get fixes. If you switch to an open source version, you can get the bugs fixed.
(Edit) 1.a. Old proprietary firmware also doesn't tend to get new features, and open source replacements can cover that. (eg. booting over HTTP(S) or security features to help against Evil Maid attacks)
2. Libreboot claims to be faster to boot than the vendor firmware. Depending on the particular device/firmware, that wouldn't surprise me at all.
ktm5j 3 days ago [-]
Yes, I said in another comment that I might have used the wrong word. It's still not something I have a lot of motivation to do something about. At least not until the process is easy.
nix0n 3 days ago [-]
> Unless you're paranoid about an OEM backdoor
Lenovo does have a history with installing a very obvious spyware rootkit on their consumer PCs[0].
As far as I'm aware, it has less functionality than the OEM, so you use it to _remove_ features (good and/or bad).
Aside from that, I suppose it means you can run a more up to date firmware if yours is no longer maintained, but I'm not sure what that means in practical terms.
There's also the "hyper paranoid" fork "canoeboot" which has no proprietary blobs, and presumably _even less_ functionality.
The short answer is; if you don't know why you want it or need it, you probably don't.
BobbyTables2 4 days ago [-]
How did OP debug this without a serial port?
I’ve messed around with porting coreboot on two desktop platforms but always had the benefit of a HW serial port…
katdork 3 days ago [-]
because the x280 and x270 are similar enough I didn't need to try very hard to get it to post or boot a live USB to further investigate (effectively acting as a decent template for me to work off of)
The console viewing itself was provided by `cbmem -1`, which I could run via a NixOS live USB with nixpkgs#coreboot-utils
65a 4 days ago [-]
You can sometimes find the serial lines if you are careful. Otherwise you can use the flashrom to store the output, and read it back out after each failure. It is much easier to just poke around and find the serial if you can, either from schematics (it seems the author has these) or by hand with a lot of patience or board scrying.
nticompass 1 days ago [-]
I installed Coreboot/Tianocore on my T430 and it was awesome! Mostly, it got rid of Lenovo's stupid WiFi whitelist.
A few years ago, I got an X270 since my T430 was feeling sluggish. I'd be curious to try this!
My X270 has a 7th-gen core i5, is that Kaby Lake? Does coreboot/libreboot on the X270 need SeaBIOS or will it work with Tianocore?
lpcvoid 3 days ago [-]
Really cool! I wish that Coreboot was available for more recent Thinkpads. I have a Z13 Gen2 which I plan to use until it falls apart, and would love to liberate it with Coreboot. But alas, I can't.
hypercube33 3 days ago [-]
How's your experience with that? It's on the top of my dream laptop list but it's expensive and the second gen is more so....looks like they killed off the line right before it got to the sweet spot (ryzen ai max line) just like the surface laptop which makes me sad.
There were a lot of reports about those things having power or heat firmware problems?
lpcvoid 2 days ago [-]
It's the best laptop I have ever used. I have it since it newly came out in 2023 and it never let me down, is quick (I have the 7840u), quiet (passive in power-saver platform profile, unless pushed, but even then it's manageable), can do USB4 so I can use it with a EGPU, which works fantastically. Sleep (S0) works as expected with updated EC FW under Debian stable.
It's incredibly portable, when you take it out of the box you wonder if it's not too small (it's not, it's a perfect size :)).
Battery endurance is good, at least for me. You won't make 10h flights while compiling Chromium though. Get the LCD instead of the OLED if you can, the OLED looks good but uses way more battery I hear.
If you can find it in the max config (64GB, 7840u, 2TB) it's going to make you happy for a long, long time I think.
I don't know what I will use after it dies. There's nothing comparable in portability, power and build quality (which is really, really amazing).
I agree with you: this thing, a few mm thicker and heavier due to beefier heatsink, with a Ryzen 395+ and 128GB would be so incredible. I'd dump so much money into that...
paulhart 3 days ago [-]
I have one for work; I was excited to receive it, I’ve never been more disappointed with a laptop bearing the ThinkPad brand. Lots of intermittent issues with graphics, BT audio, and performance.
warangal 3 days ago [-]
pretty cool work!
Though it leaves me wondering if coreboot/bios code can directly interface with thermal-management and battery controller , shouldn't it be feasible to improve upon battery life by exposing some interface to OS, like apple laptops ?
znpy 3 days ago [-]
I always wondered, what is the practical advantage of running coreboot on my laptop?
octoclaw 3 days ago [-]
The PROCHOT discussion in this thread is a good example. Lenovo stops making batteries, third party ones trigger artificial throttling, and the only fix is poking registers with a boot script. With coreboot you can just... fix it properly.
More broadly: faster boot times (sub-second POST is common), no vendor bloat or hidden phone-home behavior in the firmware, and you can actually audit what runs before your OS loads. That last one matters more than people think. Your BIOS has full access to everything on the machine before any OS-level security even starts.
reductum 4 days ago [-]
Atom feed is malformed :(
katdork 3 days ago [-]
sorry, I'll look into it
katdork 2 days ago [-]
atom feed is no longer malformed, appears compliant.
added summaries to each post
3 days ago [-]
periodjet 4 days ago [-]
This is absurdly trans-coded.
Ah, todsacerdoti. ;)
katdork 3 days ago [-]
I am a trans woman, yes :o
(the user who posted my blog post is not me :p)
umairnadeem123 3 days ago [-]
[dead]
mattv8 4 days ago [-]
[flagged]
notpushkin 4 days ago [-]
Seek and thou shalt find. Just don’t be too pushy on the romantic side of things.
mattv8 4 days ago [-]
Too late for me then I suppose, I'm married with two kids.
esseph 3 days ago [-]
This gave me a good chuckle :)
mattv8 3 days ago [-]
I'm glad you saw it as humor- thats how it was intended. I love my wife dearly but we spend our free time very differently. I'm an engineer, she's an epidemiologist. I'm more creative and like to build things, she's more interested in watching the news. We do have great conversations about cosmology and physics though.
brcmthrowaway 4 days ago [-]
Was AI Used?
katdork 3 days ago [-]
Hi! As the author, no! I take a hard line stance against AI use myself. It's just not for me.
kotaKat 3 days ago [-]
Good thing is even if you did use AI, the AI can't do the SMD rework on the laptop ;)
vips7L 3 days ago [-]
Respect.
wetpaws 4 days ago [-]
Does it matter?
uhfraid 3 days ago [-]
on HN in 2026, I’d say it’s never mattered more lol
Back when I used to have an X270 I had a shell script that ran on boot which poked a register to disable thermal throttling handling. Not at all ideal, but it made the machine usable in the absence of official Lenovo batteries which they stopped manufacturing pretty damn quickly.
[1]: https://www.techpowerup.com/download/techpowerup-throttlesto...
This was fine until the machines randomly started setting PROCHOT on genuine power adapters that were fully plugged in. Eventually I just deployed a configuration with PDQ to all the machines that ran ThrottleStop in the background with a configuration that disabled PROCHOT on login.
Unfortunately, I couldn't get it to consistently disable PROCHOT pre-login, so students and teachers in my labs would consistently wait 3-4 minutes while the machines chugged along at 700 MHz as they prepared their accounts.
Dell disables that tinkering on some models of XPS in BIOS/EC so ThrottleStop won't to jack.
can confirm, works great to bypass throttling when 60W supply on X230
It is still somewhere on a shelf, so maybe its day will come again.
As a former owner of a T470, Lenovo included a pretty beefy component from intel that was supposed to be feature complete by itself for dynamically managing thermals, including funky ideas like detecting if you were potentially using the laptop on your legs etc. and reducing thermals then, but giving full power when running plugged on the desk.
Time comes for delivery, Lenovo finds out that intel did a half-assed job (not the first time, compare Rapid Start "hibernation" driver earlier) and the result is kabylake T470 (and X270 which share most of the design) having broken thermals when running anything other than windows without special intel driver, thus leading to funny tools that run in a loop picking at an MSR in the CPU in a constant whack-a-mole with piece of code deep in firmware.
Why though? Not a single reason mentioned in post about why would it be better than whatever stock BIOS the laptop is shipped with.
Thanks to Intel, who has invented the completely unnecessary System Management Mode, to compensate for the laziness of Microsoft, who could not be bothered to update MS-DOS and Windows with some features required in modern computers, now the BIOS has the ability to do whatever it wants on your computer, without this being detectable by the owner.
Hopefully the BIOS writers do not abuse this, and the many problems caused by BIOSes are due to unintentional bugs and not due to malice, but it would still better to be certain that your firmware does not do anything nefarious.
When debugging hardware problems, it is also much simpler when you are certain about what the computer really does, instead of not knowing whether the BIOS takes control when certain hardware events happen, overriding any policies that you may try to implement in your operating system.
Replacing the proprietary BIOS still does not provide complete control over what you own, as there are auxiliary CPUs with their own agenda, but it is still much closer to full control than when you do not know what the BIOS does.
Unfortunately, they have. Multiple examples from the excellent Cathode Ray Dude:
https://www.youtube.com/watch?v=q5M0TwnkWUM https://www.youtube.com/watch?v=ssob-7sGVWs
This can be confusing on HN, I know.
Reading https://libreboot.org/#why-use-libreboot might provide further enlightenment.
I suppose if nothing else, you can run a more up to date firmware if the vendor stopped supporting yours, but I have no idea what that means in a practical sense.
If I weren't using binary blobs in the firmware, I think I would have more trouble, but that is Canoeboot to my knowledge, not Libreboot. ^^
Yes, if you live and organize your life around things that are unlikely to happen to you, but only because they've happened ONCE to someone else, typically a high value target by state actors, that's called paranoia.
Most people are not gonna be targeted via BIOS hacks. From state actors to online scammers they all have easier ways to getting your data remotely.
This is not really true:
https://www.techdirt.com/articles/20150812/11395231925/lenov...
Normal people don't live in constant fear daily over something that happened once and caused no losses.
1. Firmware contains bugs. Old proprietary firmware tends to not get fixes. If you switch to an open source version, you can get the bugs fixed.
(Edit) 1.a. Old proprietary firmware also doesn't tend to get new features, and open source replacements can cover that. (eg. booting over HTTP(S) or security features to help against Evil Maid attacks)
2. Libreboot claims to be faster to boot than the vendor firmware. Depending on the particular device/firmware, that wouldn't surprise me at all.
Lenovo does have a history with installing a very obvious spyware rootkit on their consumer PCs[0].
[0]https://support.lenovo.com/us/en/product_security/ps500035-s...
As far as I'm aware, it has less functionality than the OEM, so you use it to _remove_ features (good and/or bad).
Aside from that, I suppose it means you can run a more up to date firmware if yours is no longer maintained, but I'm not sure what that means in practical terms.
There's also the "hyper paranoid" fork "canoeboot" which has no proprietary blobs, and presumably _even less_ functionality.
The short answer is; if you don't know why you want it or need it, you probably don't.
I’ve messed around with porting coreboot on two desktop platforms but always had the benefit of a HW serial port…
The console viewing itself was provided by `cbmem -1`, which I could run via a NixOS live USB with nixpkgs#coreboot-utils
A few years ago, I got an X270 since my T430 was feeling sluggish. I'd be curious to try this!
My X270 has a 7th-gen core i5, is that Kaby Lake? Does coreboot/libreboot on the X270 need SeaBIOS or will it work with Tianocore?
There were a lot of reports about those things having power or heat firmware problems?
It's incredibly portable, when you take it out of the box you wonder if it's not too small (it's not, it's a perfect size :)).
Battery endurance is good, at least for me. You won't make 10h flights while compiling Chromium though. Get the LCD instead of the OLED if you can, the OLED looks good but uses way more battery I hear.
If you can find it in the max config (64GB, 7840u, 2TB) it's going to make you happy for a long, long time I think.
I don't know what I will use after it dies. There's nothing comparable in portability, power and build quality (which is really, really amazing).
I agree with you: this thing, a few mm thicker and heavier due to beefier heatsink, with a Ryzen 395+ and 128GB would be so incredible. I'd dump so much money into that...
More broadly: faster boot times (sub-second POST is common), no vendor bloat or hidden phone-home behavior in the firmware, and you can actually audit what runs before your OS loads. That last one matters more than people think. Your BIOS has full access to everything on the machine before any OS-level security even starts.
Ah, todsacerdoti. ;)
(the user who posted my blog post is not me :p)