Samsung laptop bug is not Linux specific
mjg59.dreamwidth.org
mjg59.dreamwidth.org
And this is the unfortunate truth. Yes, I have worked for manufacturers, talking to the 'Bios developers' is useless (and see, this was for something much simpler)
Intel (and AMD, and others) should simply cut the middle man. Instead, they're coming with overengineered solutions and too wide specifications that only cause trouble (UEFI, Acpi, etc)
You can't have the manufacturer do this, the time of 'PC compatible' is over.
They can keep UEFI, etc, but here's the thing:
Intel should provide the main code for UEFI
Intel should spec "to change screen brightness, write a value from 0 to 0xFF to this register"
Much simpler and less error prone (I said less, not 100% error prone unfortunately)
Edited: small mistakes
i am not sure what "main code" is supposed to mean (i am no native speaker). but there is a reference implementation by intel and according to matthew garret most real-world implementations are only slightly changed.
"We've seen similar bugs in Intel's reference code in the past, but they were all fixed early last year"
So, this might actually be a bug written by Intel.
Problem is these 'slight changes' sometimes are what is wrong.
And this is not only about secure boot, but the whole UEFI infrastructure, which, as far as I know, is very complex.
From Garrets linuxconf.au talk, year ago. As it is reference implementation, it is pretty much untested in the wild. So you can expect those "slight changes" to be mostly bugfixes.
Punchline is that Intel DOES provide pretty much all code for UEFI. And it is still bad.
[1] http://www.phoronix.com/scan.php?page=news_item&px=MTI4O...
[2] http://www.phoronix.com/scan.php?page=news_item&px=MTI4O...
There is already (mostly Intel made) spec for this kind of things. It's called ACPI. Which by the way Samsung started (partially) using not so long time a ago. Reason for that was that Microsoft was going to stop selling them Windows 7 OEM licenses unless Samsung starts using ACPI.
"Hmmm... what if a malware author ported the 'linux driver' to windows and embedded it in a drive-by download?"
Hopefully this will push vendors to fix bugs like this instead of unfairly causing a PR disaster for Linux.
Sure. Someone could be doing this for fun, but getting wide enough distribution of your malware is expensive (especially when you can't use your victims machines to spread out further).
This wouldn't even work for ransomware because that too would require the machine to run well enough to display the ransom note.
As such I personally find the scenario you described quite unlikely. Still possible of course, but also unlikely.
I'm just trying to highlight the many problems that appear when computers can be maliciously (or even accidentally) bricked by regular software.
Manufacturers should pay developers and support the features if they want them in Linux - especially since I Manufacturers actually benefit more than end-users. IE, it's useless except for the rare few who like the features and gain BRAND LOYALTY, the most valuable commodity of the modern era.
Linux just happened to be first to hit the problem because on a kernel panic, it writes diagnostic information to UEFI variables (only 10kb - well within the spec). The panic happened to be caused by Samsung driver written to Samsung's specs, but that is coincidental.
Microsoft panics can be minidump format which are up to 64kb in size (also within the spec) so if they did the same thing then they'd hit the same issue. Or if Microsoft decided to throw some other stuff in there (eg information during upgrades, recovery information) they could cause exactly the same problem.
Also, as mentioned by others, there are all those special buttons for volume and screen brightness, for stamina/power mode and what not that are actually useful!
I just got mine this week, it was the very first thing i did. NONE of the arguments people had for it were implemented as they were hopping they would. That user password to disable? every time you disable it in the bios, bios ask you "type those 4 random digits i just generated to confirm"... how is this even called a password?!
anyway, honest question. Do you disable it or do you actually use it? (not asking for opinion unless you actually have one, we had plenty of those before)
Are all UEFI PC-compatible systems required by some specification to support BIOS/legacy booting?