Matthew Garrett

mjg59.livejournal.com · Personal blog · on HN since 2008

Matthew Garrett, a Linux kernel and firmware developer, wrote about PC firmware, ACPI, reboot quirks, and mobile Linux.

What HN saysHN links it for low-level PC hardware details, such as A20 bugs and why laptop keys send certain combinations; commenters find it clarifying.
25HN people shared it
15linked it in comments
16stories submitted
232story points
7 months agolast shared
2008people per year2026

Most-shared posts

  1. 1
    5 ways to reboot a PC. None of them reliable.
    4 people · 125 points · first shared 2011 · 33 comments on HN
  2. 2
    Legacy PC design misery (2009)
    3 people · 46 points · first shared 2014 · 25 comments on HN
  3. 3
  4. 4
    Linux Plumbing on the Palm Pre
    2 people · 16 points · first shared 2009 · 1 comments on HN
  5. 5
    On Android
    2 people · 6 points · first shared 2008 · discussion on HN
  6. 6
  7. 7
    108257
    2 people · first shared 2009
  8. 8
    85923
    2 people · first shared 2021
  9. 9
    138973
    2 people · first shared 2011
  10. 10
    139232
    2 people · first shared 2011
  11. 11
  12. 12
    EFI implementation bugs (Matthew Garrett, from January)
    1 people · 2 points · first shared 2011 · discussion on HN
  13. 13
  14. 14
    Showers and UI design
    1 people · 1 points · first shared 2008 · discussion on HN
  15. 15
    Rebooting (2011)
    1 people · 1 points · first shared 2024 · discussion on HN

What HN people wrote when they linked it

mjg59 · 2025-07-17
A20 bugs were still with us until at least 2009, when I tripped over one: https://mjg59.livejournal.com/118098.html . I love the visualisations in this post, it makes it much clearer what's actually going on.
jonathankoren · 2019-09-24
The contemporary misinterpretation of the mattress aside, RMS already had already earned his reputation in the 90s, as had at least one other OSS luminary of the time. Case in point: RMS's incredibly uncomfortable St iGNUcius routine was already legendary.[0] Does he intend for it to be awkward at best, and offensive at worst? I doubt it. Has people told him that it is not received as he intends? Definitely. Does he change his behavior to better reflect his purported views of inclusiveness? Nope. Ultimately, it doesn't matter what you intend your actions to be interpreted, it only matters how they actually are interpreted. That failure to adapt to clear feedback, is problem. [0] From 2009 https://mjg59.livejournal.com/113408.html
keyist · 2009-08-26
Sites I like from my feeds, aiming for variety: * Joseph Miklojcik (emacs, lisp, languages) http://jfm3-repl.blogspot.com/ * Mauricio Fernández (functional, with ocaml focus) http://eigenclass.org/R2/ * Colin Percival (tarsnap, freebsd security) http://www.daemonology.net/blog/ * Matthew Garrett (mobile linux, power management) http://mjg59.livejournal.com * Brad Fitzpatrick (memcached, pubhubsubbub) http://advogato.org/person/bradfitz/diary.html * Chris Neukirchen's Trivium (all links, great jumping point) http://chneukirchen.org/trivium/
cesarb · 2024-01-04
> but the screenshot and presentation mode changing ones are just Super+Shift+S and Super+P For the presentation mode key, it used to be its own independent key, but Microsoft changed its mind and told manufacturers to make it send Win+P instead. Some laptop manufacturers made it depend on the Windows version (through the ACPI _OSI method), so if you pretend to be an older Windows version, it'll have the former behavior instead of Win+P (though doing so could have other negative consequences, see https://mjg59.livejournal.com/85923.html). Unfortunately, this was long ago enough (or the search engines got bad enough at searching old stuff) that I'm not finding the place where I originally read about that; the most I could find was a StackOverflow answer (https://askubuntu.com/questions/62319/is-there-an-equivalent-to-win-p-…
saagarjha · 2021-10-17
I am not a hardware engineer, so I don't have actual stats on me, unfortunately. But the reasoning behind it makes sense: https://mjg59.livejournal.com/88608.html. Given that everyone is doing it, I am sure that there is data that shows that; I just don't have it :P
pabs3 · 2020-07-05
US Customs halt has had the desired effect in GPL compliance cases before: https://mjg59.livejournal.com/126865.html https://lwn.net/Articles/404450/ http://mjg59.livejournal.com/132810.html
lmm · 2015-10-24
I'm reminded of http://mjg59.livejournal.com/108257.html : "POSIX says this is fine, so any application that expected this behaviour is already broken by definition. But this is rules lawyering. POSIX says that many things that are not useful are fine, but doesn't exist for the pleasure of sadistic OS implementors. POSIX exists to allow application writers to write useful applications. If you interpret POSIX in such a way that gains you some benefit but shafts a large number of application writers then people are going to be reluctant to use your code. You're no longer a general purpose filesystem - you're a filesystem that's only suitable for people who write code with the expectation that their OS developers are actively trying to fuck them over." GCC doesn't, or at least shouldn't, exist to implement the ANSI standard. It exists to help people to write useful programs.
JoshTriplett · 2012-12-27
Other way around: the original spec did not require vendors to support disabling UEFI secure boot or using "custom mode" (meaning installing your own key). See http://mjg59.livejournal.com/139232.html for one reference to that: "Windows 8 certification does not require that the user be able to disable UEFI secure boot, and we've already been informed by hardware vendors that some hardware will not have this option." Microsoft changed the spec in the wake of the controversy around UEFI secure boot. The current version of the spec (available from http://msdn.microsoft.com/en-us/library/windows/hardware/hh748200) does mandate the ability to use custom mode or disable UEFI secure boot, for non-ARM systems only.
FrancescoRizzi · 2011-09-27
> And recall, OEMs can always ship with Win8 logo and not use hardening (or even UEFI at all). Sorry? I'm confused on this one. * From the MS slides ( http://video.ch9.ms/build/2011/slides/HW-457T_van_der_Hoeven.pptx ): "UEFI and secure boot harden the boot process [...] Required for Windows 8 client" * From the Garrett post ( http://mjg59.livejournal.com/138973.html ): "Microsoft requires that machines conforming to the Windows 8 logo program and running a client version of Windows 8 ship with secure boot enabled" * From the IT World post linked up here: "And not just any old UEFI layer, either, but secure UEFI. Meaning a hardened boot process" What am I mis-reading or missing? I'm not being testy, I just think you must have spotted something I missed. Thanks
blasdel · 2010-08-15
Android is not recognizably Linux and you know it. It's using the Linux kernel about as minimally as they could get away with, they patch it to expose all kinds of things directly to userland through hacked-together APIs. The userland bears no resemblance to POSIX, and developers don't get to write for it (Dalvik or JNI only). It's even less Linux than a TiVO. Compare Android: http://mjg59.livejournal.com/100221.html with WebOS: http://mjg59.livejournal.com/111453.html from a linux kernel developer's perspective
igorgue · 2009-06-19
http://mjg59.livejournal.com/111453.html from the post: "instead Palm have included a written offer to supply the source code on request. This satisfies the GPL"
danohuiginn · 2009-03-16
original post, with comments: http://mjg59.livejournal.com/108257.html
From: http://mjg59.livejournal.com/94905.html "Anyway. Accusing companies of conspiring against us when the most likely explanation is simply that they don't care is a fucking ridiculous thing to do and does nothing to get rid of the impression that Linux users are a bunch of whining childish hatemongers. Next time, try talking to someone who actually understands this stuff first?" Thank you, Matt. Now all you downmodders, please upmod me :-) Seriously, you guys should not downmod just because a post disagrees with you.
trelane · 2023-07-11
> I mean, https://www.phoronix.com/review/amd-ryzen7-7840u So, they took a cutting edge Windows PC, slapped Linux on it, and it didn't work well. How well did OSX do when they tried it? Clearly, OSX isn't ready for the desktop! No wonder nobody runs it! Modern computers are complex enough that they can work well with Windows, OSX, or Linux, but they don't work well with more than one of them (unless the designers work really hard). See, for example, how to reboot: https://mjg59.livejournal.com/137313.html If you want to run Linux on a computer, buy it preinstalled, with support. Anything else is an exercise in chasing down small glitches, as you describe. (This happens for Windows too! The difference is that the laptop vendor has a team of people (the system integration team) to fix the issues, either by modifying drivers, modifying the firmware, or having the ODM change the hardware. If you slap Linux on some random bit of Windows kit, you get to be the system integration team, but with only one of three avenues open to you to fix the glitches. And that only halfway, since you cant get the OEM or ODM to give you the time of day. And that's assuming you're a proficient kernel hacker.) Slapping Linux on a Windows box is a mug's game. The only way to win is not to play.

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close