mjg59,
@mjg59@nondeterministic.computer avatar

Pretty much exactly 19 years ago I got on a train to Oxford and made Mark Shuttleworth's laptop successfully suspend and resume using ACPI and that was the turning point in my entire career

mjg59,
@mjg59@nondeterministic.computer avatar

It was August or September 2004 and Ubuntu had been announced earlier that year at Debconf in Brazil but nothing had publicly shipped yet. I got invited to the internal dev summit that was happening in Oxford a couple of months after the announcement. At this point, nobody outside Canonical had really seen what was being developed.

ghostdancer,
@ghostdancer@mastodon.sdf.org avatar

@mjg59 It was 2004? Don't know why I thought it was earlier, as a Debian user still remember the "Ubuntu it's an ancient African word that means Can't install Debian" It's almost 20 years but I thought it was before the 2000's

ThisCJ,
@ThisCJ@mastodon.nz avatar

@mjg59 I went to Cape Town in 2003 and was given an Ubuntu CD. Installed it on my work laptop when I got back to NZ

mjg59,
@mjg59@nondeterministic.computer avatar

@ThisCJ First CD would have been 2004, work before then was infra

ThisCJ,
@ThisCJ@mastodon.nz avatar

@mjg59 you’re right of course, I just checked my email archive and it was Dec 04. Calvin from the domain name registry gave it me

jamesh,
@jamesh@aus.social avatar

@mjg59 It was definitely August 2004, based on the dates of my photos.

Looking at those photos, it's weird how young everyone is and how bad cheap digital cameras were back then.

mjg59,
@mjg59@nondeterministic.computer avatar

@jamesh Also how we assumed that hotels wouldn't just let someone steal laptops

jamesh,
@jamesh@aus.social avatar

@mjg59 To be fair, they only let the employee steal the Apple laptops from the room.

mjg59,
@mjg59@nondeterministic.computer avatar

Earlier that year I'd bought a Thinkpad X40 and through sheer bloody mindedness had figured out how to get it to successfully suspend and resume using the new hotness (ACPI) rather than the old and busted APM. APM was, with hindsight, an awful idea, and the Linux community stuck to it for far too long. That's a separate conversation.

mjg59,
@mjg59@nondeterministic.computer avatar

I hung out in Oxford for a week and we spent the evenings watching awful things like Antitrust (thanks @Migueldeicaza). But I also managed to bodge many people's laptops into successfully suspending and resuming via ACPI, even if I'm not proud of the solutions invoked at the time

iw,

@mjg59 @Migueldeicaza Is bodge your technical term? I think your techno-elite friends are losing their minds in too many rabbit holes. Here's how I resolve suspend resume:

sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

Then I either leave on or off. All the 'bodge' solutions are insufficient or ineffective.

mjg59,
@mjg59@nondeterministic.computer avatar

(Worst case example: the VESA BIOS extensions gave you a mechanism to save graphics hardware state, and by marshalling that through userland we could save it before suspend and restore it after resume and then switch to the X server and all of this is awful but it made a bunch of machines work before we had graphics drivers that could do this for us)

mjg59,
@mjg59@nondeterministic.computer avatar

There was then the digression of the naked people wallpapers, which everyone seemed to agree was a bad idea but nobody was really willing to actually fight Mark about, although I think @jeffwaugh made a far stronger representation than anyone else and deserves recognition for that

mjg59,
@mjg59@nondeterministic.computer avatar

Anyway the Ubuntu 4.10 beta shipped and more laptops suspended and resumed than any other Linux distribution up until that point and Mark tried to hire me and I said that I was going to go and finish my PhD in fruitfly genetics and that was probably actually the right call?

benni,

@mjg59 thank you for sharing this insider story

spacehobo,

@mjg59 I am on my last couple weeks; but I remember when I started 17½ years ago, you came by to swap laptops with elmo while he was doing my induction. It was a time when we still tried to get disk hibernation working...

mjg59,
@mjg59@nondeterministic.computer avatar

@spacehobo Oh good lord were you even in Millbank by then?

spacehobo,

@mjg59 No, that was still Mossop St.

mjg59,
@mjg59@nondeterministic.computer avatar

But we ended up spending a lot of time just getting laptops into the hands of community members and fixing the bugs that they were hitting and I genuinely believe that this ended up changing the way people thought of Linux on laptops - it should work, and if it doesn't then that's up to the distro not the laptop vendor

mjg59,
@mjg59@nondeterministic.computer avatar

I gave a talk on this sort of thing at OSCON in 2007 and a bunch of people in the audience were wearing t-shirts saying "I won't fix your laptop, but Matthew Garrett will" and I have no idea whether any of these still exist

mjg59,
@mjg59@nondeterministic.computer avatar

Anyway I just wanted to fix my laptop and that's one of the reasons Ubuntu ended up dominating desktop Linux and a lot of history is entirely accidental The End

mjg59,
@mjg59@nondeterministic.computer avatar

(Epilogue: I ended up resigning from Ubuntu for reasons that were a mixture of just being in a bad place at that time and a specific set of circumstances, and accidentally ended up Cc:ing a public mailing list, and also did so from my jailbroken iPhone while drinking beer at FOSDEM, so welp probably the first person to publicly ragequit Ubuntu with a proprietary user agent string)

DanielEriksson,
@DanielEriksson@mstdn.science avatar

@mjg59 what a boss move. Anyway, yay for molecular biology and Linux!

brauner,

@mjg59 is that resignation still public? In light of how canonical changed over the years it'd be interesting to compare whether the problems aren't in a way still the same.

mjg59,
@mjg59@nondeterministic.computer avatar

@brauner oh I was never employed

chaslinux,

@mjg59 we were rolling our own Debian-based distribution for our computer refurbishing project from about 2001 to 2006. We switched to Ubuntu in 2006 because it was lightweight enough to run on the machines were building, and, most importantly, it made installing proprietary drivers easy (less work). When Canonical decided to switch to Unity, we switched to Xubuntu. (Unity wouldn't run on a lot of the laptops we were refurbishing in 2010). Still using Xubuntu today at our project.

strypey,
@strypey@mastodon.nzoss.nz avatar

@chaslinux
> When Canonical decided to switch to Unity, we switched to Xubuntu. (Unity wouldn't run on a lot of the laptops we were refurbishing in 2010). Still using Xubuntu today at our project

Have you had a play with @trisquel? It's a deblobbed Ubuntu with a very lightweight but still human-friendly Mate desktop. It became my go-to when the Amazon Lens debacle make it untenable for me to keep using or endorsing Ubuntu.

@mjg59

anymouse_404,
@anymouse_404@glitch.social avatar

@mjg59 Actually can you help me with my problem with fruit flies in my apartment?

vorlon,
@vorlon@mastodon.social avatar

@mjg59 hahahaha mine still does

ben,
@ben@hardill.me.uk avatar

@mjg59 though I do like that Lenovo used to swap out things like wifi cards to more Linux friendly versions of specific models for a while.

acsawdey,
@acsawdey@fosstodon.org avatar

@ben @mjg59 At some point, it became a supported path inside IBM to use a laptop (Lenovo) with Linux as your company computer. It was RHEL though. But only certain Lenovo models were supported. I wonder if that is related to those Linux friendly models.

sldrant,
@sldrant@mastodon.social avatar

@acsawdey @ben @mjg59 I had official blessing from IBM IT at one point to build a distribution on top of Ubuntu for use inside IBM. It was self-supported but officially accepted. No idea if that still exists now, I think they were pushed RHEL and fedora more

ben,
@ben@hardill.me.uk avatar

@sldrant @acsawdey @mjg59 Likewise I was part of the (small) group running Fedora. But we were mainly in the Development Labs, the service folk all HAD to run RHEL

acsawdey,
@acsawdey@fosstodon.org avatar

@sldrant @ben @mjg59 Sadly that got in-accepted at some point 😕

For my part the end of the road came when IBM would let you select a MBP, I jumped ship for my work laptop. I do have a home server running Ubuntu as well as a one at an animal rescue (ZoneMinder and a bunch of IP cameras).

pieq,

@mjg59 Do you think "it should work, and if it doesn't then that's up to the distro not the laptop vendor" still holds true?

Even though Linux is now much more widely adopted on personal computers, oftentimes ODMs don't care that much and only focus on firmwares and drivers for Windows (or with undocumented tricks only made to work a bit better on Windows). When we spot problems (such as ACPI errors actually), they always shrug and claim that it works on Windows and that's the end of the story…

mjg59,
@mjg59@nondeterministic.computer avatar

@pieq my position has always been that if Linux doesn't do ACPI in the same way Windows does, it's a Linux issue. There's no realistic way for vendors to support two operating systems that behave differently.

pieq,

@mjg59 so, follow the "Windows de facto standard" rather than the ACPI standard? And reverse engineer whatever doesn't work?

mjg59,
@mjg59@nondeterministic.computer avatar

@pieq many of the cases of divergence weren't explicitly addressed by the spec (eg, behaviour of concurrent access under certain circumstances caused deadlocks on some systems) so yeah figuring out what Windows did was the best plan

SkipHuffman,
@SkipHuffman@astrodon.social avatar

@mjg59 fruitflies have longer lifespans than most laptops.

cr1901,
@cr1901@mastodon.social avatar

@mjg59 Where can I learn more about how this old VESA BIOS marshalling awfulness worked?

chaslinux,

@mjg59 @Migueldeicaza best moment of the movie was a quick shot of a GNOME desktop.

joeyh,
@joeyh@hachyderm.io avatar

@mjg59 I'll bet a lot of people at that meeting had new laptops needing fixes because everyone's laptop (except for mine) was stolen at Ubuntu's previous Oxford meeting in August

(I heard from Mark on the icebreaker in February that same year. Also never worked for ubuntu but I was on the no-name-yet list so.)

floriann,

@mjg59 ,,the new hotness (ACPI)" 🥹 this recalls memories ❤️

Ailuridae,

@mjg59 Isn't ACPI also an awful idea? That's the impression I have gotten anyway...

mjg59,
@mjg59@nondeterministic.computer avatar

@Ailuridae conceptually ACPI is about giving the OS the information and mechanisms it needs to configure and power manage the hardware, which is a solid plan. Whether any given implementation is actually good is a separate question.

Ailuridae,

@mjg59 Ahh, gottcha

isaaccp,

@mjg59 I remember going to the Ubuntu dev conf that took place in Barcelona (Mataró) in December 2004.

After that I decided I'd stick with Debian (don't remember the exact reasons, I guess I just liked the vibes more).

seanfurey,

@mjg59 I remember you having a large pile of laptops, but I don't think I knew how it all began.

m,
@m@martinh.net avatar

@mjg59 Somewhat alarming to think that 19 years on, ACPI is still a mysterious spooky haunted forest festooned with bear traps, tar pits and other traps for the unwary... <watches flood of ACPI errors scrolling by as 6.5.x kernel boots on 2023 model laptop from Well Known Tech Company>

ross,
@ross@hachyderm.io avatar

@mjg59 Jesus was that 19 years ago. I crashed the summit for a day, interesting times indeed

dtwx,

@mjg59 hahaha. The struggle was real.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • mdbf
  • osvaldo12
  • magazineikmin
  • cubers
  • rosin
  • thenastyranch
  • Youngstown
  • tacticalgear
  • slotface
  • khanakhh
  • kavyap
  • InstantRegret
  • Durango
  • JUstTest
  • everett
  • ethstaker
  • modclub
  • anitta
  • cisconetworking
  • tester
  • ngwrru68w68
  • GTA5RPClips
  • normalnudes
  • megavids
  • Leos
  • provamag3
  • lostlight
  • All magazines