LWN: Comments on "Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice)" https://lwn.net/Articles/856009/ This is a special feed containing comments posted to the individual LWN article titled "Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice)". en-us Mon, 03 Nov 2025 23:49:56 +0000 Mon, 03 Nov 2025 23:49:56 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856661/ https://lwn.net/Articles/856661/ pizza <div class="FormattedComment"> <font class="QuotedText">&gt; IIRC there was some loophole that allowed manufacturers to claim their device is functionally similar to another one, and get approved very easily.</font><br> <p> Yes, IIRC a sizable number of the hip replacement products on the market have been done this way.<br> <p> But based on my understanding [1], initial &quot;approval&quot; is only a small part of what regulations cover, because it&#x27;s not about problems coming up (they _always_ do, given sufficient time) but how they are handled, to the point where if we don&#x27;t report something we come across, we can be fired on the spot (and depending what/where, thrown in jail!)<br> <p> [1] I&#x27;m in a research group, so I&#x27;m largely exempt from most of the regulatory stuff. But I still have to go through general training that covers it.<br> </div> Thu, 20 May 2021 15:24:47 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856659/ https://lwn.net/Articles/856659/ intgr <div class="FormattedComment"> Well in that case this documentary should interest you. If you end up watching it, I would like to hear your take on it.<br> <p> <font class="QuotedText">&gt; In general medical devices are _very_ heavily regulated</font><br> <p> Now that I think about it more, IIRC there was some loophole that allowed manufacturers to claim their device is functionally similar to another one, and get approved very easily.<br> <p> </div> Wed, 19 May 2021 15:36:11 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856547/ https://lwn.net/Articles/856547/ pizza <div class="FormattedComment"> <font class="QuotedText">&gt; medical devices are frequently approved without very thorough studies,</font><br> <p> Keep in mind that &quot;medical device&quot; covers everything from an implanted pacemaker to an orthopedic shoe insert and a titanium bone screw to a ultrasound kiosk&#x27;s custom keyboard.<br> <p> It&#x27;s also worth keeping in mind that no matter how thorough the studies, it&#x27;s still only going to cover a subset of the population, over a limited period of time.<br> <p> In general medical devices are _very_ heavily regulated, though most of that is concerned with avoiding known issues (eg basic safety, bio-compatible materials) and providing accountability after the fact should something go wrong (proper labeling that includes points of contact, process control, supply chain management, and other things to ensure problems can be peroperly scoped and handled..)<br> <p> (Disclaimer: My employer is a very big name in medical devices, and I am not claiming to speak for them in any way)<br> </div> Wed, 19 May 2021 15:22:55 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856545/ https://lwn.net/Articles/856545/ intgr <div class="FormattedComment"> <font class="QuotedText">&gt; Presumably medical equipment has been thoroughly audited at some point (perhaps periodically)</font><br> <p> In the US market, that assumption appears false. Medical devices are held to a far lower standard than drugs.<br> <p> Disclaimer: my understanding is based on the &quot;The Bleeding Edge&quot; documentary. While such documentaries tend to sensationalize things, the main point seemed to hold: medical devices are frequently approved without very thorough studies, and once approved, getting the approval revoked is unreasonably difficult.<br> <p> </div> Wed, 19 May 2021 13:42:35 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856332/ https://lwn.net/Articles/856332/ bjartur <div class="FormattedComment"> Read but instead of by.<br> </div> Sat, 15 May 2021 10:01:08 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856291/ https://lwn.net/Articles/856291/ Flameeyes <div class="FormattedComment"> Aww thank you! 😀<br> <p> It&#x27;s actually rare to get much feedback nowadays, I guess it would require a lot more engagement with a community, for which I don&#x27;t really have time right now 😔 But I know a couple of other projects that picked up the protocols from my site, which makes me happy.<br> <p> I guess it plays with what one wants to get out of their work. I&#x27;m happy to &quot;add to the world&#x27;s knowledge&quot; even though I don&#x27;t directly get much direct benefits myself, because I have benefitted from others doing the same. But it&#x27;s also not a sustainable way to make sure that this keeps going… I would say we need a lot more pressure for manufacturers to provide protocol documentation for their stuff.<br> </div> Fri, 14 May 2021 16:59:15 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856288/ https://lwn.net/Articles/856288/ midol <div class="FormattedComment"> &quot; not fixed by reported&quot; - eh?<br> </div> Fri, 14 May 2021 15:57:04 +0000 Terrible foresight by these journalists. https://lwn.net/Articles/856209/ https://lwn.net/Articles/856209/ jospoortvliet <div class="FormattedComment"> Honestly quite funny to see somebody make a &#x27;prediction&#x27; that&#x27;s already proven wrong ;-)<br> </div> Thu, 13 May 2021 18:03:10 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856197/ https://lwn.net/Articles/856197/ rgmoore <blockquote>Medical software (and also software which drives planes) is like that, too. When flaw is found it's not fixed by reported. And regulations to avoid the issue are sent to users. Found out about that when got test marked as 1972 in year 2000. Apparently system had "year 2000" flaw, but instead of fixing the issue manufacturer advised doctors to got back 28 years (this kept day-of-week same thus only year was wrong and it was so wrong that it was obvious that it's wrong-on-purpose).</blockquote> <p>To get technical, problems can be fixed, but any kind of change requires going through the approval process again to prove that the changes haven't broken anything. This is true even for trivial changes that really shouldn't have any possibility of introducing new bugs. The regulators don't trust "it's just a bug fix" as an answer and require the new version be approved again. Since that approval process is a major expense manufacturers will refuse to do it unless they're absolutely forced to. <p>Note that this kind of extreme conservatism makes life easier for people interested in accessing the data, like the hackers on SleepyHead/OSCAR. Once something has been successfully reverse engineered, the developers can be confident it isn't going to change. If the manufacturer is reluctant to make changes for anything less than life-threatening bugs, they certainly aren't going to do it just to thwart third-party hackers. Thu, 13 May 2021 15:44:56 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856182/ https://lwn.net/Articles/856182/ UniversalSuperBox <div class="FormattedComment"> There&#x27;s a lot of peanut gallery in open source. Startups come and go, some better funded than others. People love to tell you what you&#x27;re doing wrong, but not what you&#x27;re doing right. So let me be the change: Thank you so much for this project. Even having these protocols written down is nothing short of amazing for people you and I have never met... I hope that someday we&#x27;ll have software that makes it possible for people to use these meters to empower themselves without the negative baggage of having to go to the doctor to even learn what your own body is doing.<br> </div> Thu, 13 May 2021 14:18:48 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856146/ https://lwn.net/Articles/856146/ khim <font class="QuotedText">&gt; Presumably medical equipment has been thoroughly audited at some point (perhaps periodically)</font> <p>Wouldn't believe that for a second. It's probably not as hopeless as these IoT thingies, but I'm 100% sure there are bunch of papers, crazy amount of bugs — and these same papers make it more-or-less impossible to fix bugs. Remember <a href="https://lwn.net/Articles/578375/">that</a>: <blockquote>It turns out that the Dual EC DRBG implementation in OpenSSL is fatally flawed, to the point where using it at all will either crash or stall the program. Given that the FIPS-certified code cannot be changed without invalidating the certification, and that the bug has existed since the introduction of Dual EC DRBG into OpenSSL, it is clear that no one has actually used that algorithm from OpenSSL. It did, however, pass the testing required for the certification somehow.</blockquote> <p>Medical software (and also software which drives planes) is like that, too. When flaw is found it's not fixed by reported. And regulations to avoid the issue are sent to users. Found out about that when got test marked as 1972 in year 2000. Apparently system had "year 2000" flaw, but instead of fixing the issue manufacturer advised doctors to got back 28 years (this kept day-of-week same thus only year was wrong and it was <b>so</b> wrong that it was obvious that it's wrong-on-purpose).</p> <p>This worked perfectly till everything become connected. Today… I fear about what may happen because of that habit… but I doubt anyone would change anything till some <b>extremely serious</b> incident would happen.</p> Thu, 13 May 2021 12:27:21 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856140/ https://lwn.net/Articles/856140/ pizza <div class="FormattedComment"> you left out:<br> <p> 5. The lawyers, who will find any excuse to sue the manufacturers [*] over any perceived flaw even if it&#x27;s entirely due to end-user modification.<br> <p> Also, with (4), the regulatory regime punishes folks who try to actively update and support their products, because _any_ change is riskier (in both the short and long term) than doing nothing. (see #5)<br> <p> [*] Because the manufacturers have the deepest pockets.<br> </div> Thu, 13 May 2021 10:38:09 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856126/ https://lwn.net/Articles/856126/ NYKevin <div class="FormattedComment"> I think the fundamental problem is that the set of people who need this software, and the set of people with software engineering skills, have very little overlap. Whereas, for example, plenty of software engineers need a web browser, a multimedia player, an operating system.<br> <p> You end up with four groups of people who are unable to effectively collaborate with one another, because they all want different things:<br> <p> 1. The patients, who mostly aren&#x27;t software engineers and mostly just want a solution.<br> 2. The software engineers, who mostly expect to get paid for this sort of work.<br> 3. The suits, most of whom would rather sell to manufacturers than to end users. Or if you&#x27;re cynical, they would prefer to sell to investors and get out before the house of cards falls down.<br> 4. The manufacturers, who are (usually) operating in a low-competition oligopoly and don&#x27;t care how painful things are for end users, as long as the doctors and the FDA are willing to say &quot;meh, good enough I guess.&quot;<br> <p> But then you can start talking about why the doctors don&#x27;t care, why the FDA doesn&#x27;t do anything, etc. The real problem isn&#x27;t with open source, it&#x27;s that the entire American healthcare system is fractally wrong.<br> </div> Thu, 13 May 2021 07:44:09 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856118/ https://lwn.net/Articles/856118/ ringerc <div class="FormattedComment"> Any open source license would do, really. If it was BSD licensed, it&#x27;d be just as easy to fork it and go on from there.<br> <p> I&#x27;m glad it was open source.<br> </div> Thu, 13 May 2021 01:06:17 +0000 Terrible foresight by these journalists. https://lwn.net/Articles/856117/ https://lwn.net/Articles/856117/ linuxrocks123 <div class="FormattedComment"> The article is from 2018. Your fears did not come to pass.<br> </div> Wed, 12 May 2021 23:50:31 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856108/ https://lwn.net/Articles/856108/ Flameeyes <div class="FormattedComment"> Hah, this had me looking back at some unrelated health-connected projects, and as they say, the more things change, the more they stay the same.<br> <p> Context: in my free time I reverse engineer the protocols used by glucometers (think: diabetes), so that you can download your data without the original proprietary apps. I do this as a spare time, so there&#x27;s pretty much no organization behind that, but that way I have done that has been pretty much unconnected to companies, vendors, and more structured project organizations. So while I don&#x27;t have the fancy analytics that projects like Tidepool or Nightscout tend to work on, what I am at much wider liberty to do is publicly _describe_ those protocols: <a href="https://protocols.glucometers.tech/">https://protocols.glucometers.tech/</a> — <a href="https://github.com/glucometers-tech">https://github.com/glucometers-tech</a> has code to download the data, but it&#x27;s pretty much a proof of concept and a toy project for me.<br> <p> Thing is, a few years ago I almost entirely stopped working and writing about this after a… shall we say interesting headbutting with a project that was trying to be more vendor-friendly, but turned out to be more &quot;we&#x27;ll open source what we work on behind closed doors&quot; kind of approach: <a href="https://flameeyes.blog/2016/04/02/last-words-on-diabetes-and-software/">https://flameeyes.blog/2016/04/02/last-words-on-diabetes-...</a> — I did continue writing glucometer download software and reverse engineer stuff because I enjoy it, but I stopped trying to engage with more coordinate projects because it&#x27;s too much energy for a spare time idea.<br> <p> I just went to check whatever happened to that project… their website is now talking about being a &quot;hub for Open Source&quot; — all the references to the original diabetes work are gone (despite the name being very much linked). All of their repos that were migrated from GitHub to Gitlab stopped being updated around the same time as I tried engaging with them.<br> <p> Oh well.<br> </div> Wed, 12 May 2021 20:08:37 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856106/ https://lwn.net/Articles/856106/ sub2LWN <div class="FormattedComment"> The inaccessible data and proprietary formats bit makes me wonder how much extant equipment falls into the &quot;no obvious bugs&quot; (rather than the &quot;obviously no bugs&quot;) bucket. Presumably medical equipment has been thoroughly audited at some point (perhaps periodically) but I wonder how often doctors look at stacks of opaque electronic apparatus and scratch their heads.<br> </div> Wed, 12 May 2021 19:13:07 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856105/ https://lwn.net/Articles/856105/ donbarry <div class="FormattedComment"> The very fact that the project *was* released under the GPL proved its saving.<br> <p> Perhaps a good reply might be: &quot;Friends discourage friends from relying on non-GPLed software because of the ability of disgruntled actors to take their toys and leave.&quot;<br> <p> I welcome the initial contribution, I welcome the continued community maintenance. As someone who finds the software useful myself, I&#x27;m grateful to all the positive contributions along the way.<br> </div> Wed, 12 May 2021 18:48:41 +0000 Terrible foresight by these journalists. https://lwn.net/Articles/856103/ https://lwn.net/Articles/856103/ gspr <div class="FormattedComment"> Defunct EU? What kind of troll are you?<br> </div> Wed, 12 May 2021 18:31:22 +0000 Terrible foresight by these journalists. https://lwn.net/Articles/856095/ https://lwn.net/Articles/856095/ scientes <div class="FormattedComment"> This shows what happens when the government is actively anti-law, which is the situation we are in regarding copyleft licenses, where governments don&#x27;t have any interest in something that doesn&#x27;t permit them to consolidate power, or just be a beurocratic Pain In The Ass like the defunct EU.<br> </div> Wed, 12 May 2021 17:00:20 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856032/ https://lwn.net/Articles/856032/ hei8483j <div class="FormattedComment"> I was privately involved a bit in this project for a while. I got the impression that the then lead developer hadn&#x27;t really anticipated the community involvement. It was his pet project and he wasn&#x27;t able (or didn&#x27;t want) to delegate work to other interested people. I think it was a too large project for one person to handle, so naturally other interested people soon began complaining when things happened too slowly. In the end it was quite a rage quit and I feel sorry, because he is a talented person, maybe too overworked and had occasional health issues. Now the new project has a couple of mostly maintenance and clean-up releases behind, nothing big, but it remains to be seen if they manage to continue development. At least OSCAR is polished and works fine for the moment.<br> </div> Wed, 12 May 2021 11:17:21 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856029/ https://lwn.net/Articles/856029/ amw <div class="FormattedComment"> To save other people from having to look this up, CPAP turns out to stand for Continuous Positive Airway Pressure.<br> </div> Wed, 12 May 2021 11:05:25 +0000 Terrible foresight by these journalists. https://lwn.net/Articles/856024/ https://lwn.net/Articles/856024/ beagnach <div class="FormattedComment"> Bit dramatic there... especially considering that the article explains that various manufacturers are already well aware of the project and have been for several years. <br> </div> Wed, 12 May 2021 09:22:03 +0000 Terrible foresight by these journalists. https://lwn.net/Articles/856023/ https://lwn.net/Articles/856023/ Subsentient They wanted a nice headline, but never considered how the exposure would affect the project they were lauding in their article. Or maybe they did, and decided to take the selfish option. <br/><br/> If the CPAP manufacturers hear about these projects enough, they will absolutely <b>crush</b> these FOSS projects like insects and bring the full force of western law against these developers, preferably throwing them in jail for some obscure FDA technicality. Think I'm being dramatic? Watch and see. It's bound to happen now. I'll definitely be keeping an eye out for the story in my news feed. <br/><br/> It is better that this software remain unknown and help <i>some</i> people, than they get annihilated by the OEMs and help <i>no one</i>. Wed, 12 May 2021 09:19:51 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856022/ https://lwn.net/Articles/856022/ madhatter I watched this train wreck at the time, and it looked (and still looks) to me like a classic cathedral/bazaar collision: the lead developer wanted to do occasional, perfect releases, while (parts of) the user community wanted frequent, rough-and-ready releases. The normal and well-understood solution is a fork, but apparently Watkins hadn't anticipated that, and took it as a personal betrayal and a deep slight. As a CPAP user and free-software enthusiast, it still breaks my heart that Watkins <a href="https://jedimark.net/2019/02/08/sleepyhead-project-shutdown/">just-about-final word</a> on the subject was (expired SSL certificate warning): <p><cite> If there is one tiny bit of hard learned advice I can leave behind from all this, it would be: Friends don’t let friends release full blown complex applications under the GPL </cite> Wed, 12 May 2021 06:49:23 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856019/ https://lwn.net/Articles/856019/ hikingpete <div class="FormattedComment"> Thanks for the link, I really enjoyed learning about SleepyHead. I was surprised though to discover that the article was from 2018, and the original developer has left the project since. Mark Watkins tells his story at <a href="https://jedimark.net/2019/02/08/sleepyhead-project-shutdown/">https://jedimark.net/2019/02/08/sleepyhead-project-shutdown/</a>, while you can find a different take at <a href="https://sleepapneaessentials.com/what-happened-to-sleepyhead-software/">https://sleepapneaessentials.com/what-happened-to-sleepyh...</a>. The SleepyHead software is now succeeded by OSCAR, which seems to be quartered at <a href="https://www.sleepfiles.com/OSCAR/.">https://www.sleepfiles.com/OSCAR/.</a><br> <p> While reading the summaries of the drama above, I cannot help but reflect on the recent Tag1 interview with Linus Torvalds, specifically where he comments &quot;I think I&#x27;ve been pretty good at finding people to trust, and then doing just that - trusting them and not micro-managing them overly much.&quot;<br> <p> Anyway, although I don&#x27;t use SleepyHead software, my thanks to Mark for his outstanding work and dedication, and kudos again to Linus Torvalds for keeping Linux going these many long years.<br> </div> Wed, 12 May 2021 00:00:56 +0000 Why Sleep Apnea Patients Rely on a CPAP Machine Hacker (Vice) https://lwn.net/Articles/856010/ https://lwn.net/Articles/856010/ stumbles I applaud Mr. Watkins. Tue, 11 May 2021 21:50:37 +0000