SleepyHead Series 60 Patch Avail

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
Js4tda
Posts: 29
Joined: Tue Oct 16, 2012 1:06 am

Re: SleepyHead Series 60 Patch Avail

Post by Js4tda » Sun Oct 28, 2012 10:12 pm

Thanks patch and icon works great.

_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: SleepyHead Software

User avatar
Denial Dave
Posts: 1335
Joined: Wed Sep 19, 2012 6:45 am
Location: Connecticut

Re: SleepyHead Series 60 Patch Avail

Post by Denial Dave » Mon Oct 29, 2012 9:56 am

Works awesome on my windows XP system

_________________
Mask: Mirage Quattro™ Full Face CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Started at VPAP pressure setting of 20/14.4. I've survived Stage 1 cancer and lost 80+ lbs. Pressure is now 14.5 / 11
if you don't know where you are going... any road will take you there.... George Harrison

rich0
Posts: 60
Joined: Sun Feb 12, 2012 6:36 am

Re: SleepyHead Series 60 Patch Avail

Post by rich0 » Mon Nov 05, 2012 5:20 am

An OSX version of the software is now available at:
https://s3.amazonaws.com/thefreemanclan ... pyHead.dmg

Again, this should be mainly considered an interim solution for series 60 users until JediMark is back up on his feet and we can get the main version updated. Feedback welcome!
Machine: PRS1 AutoSV (950P)

User avatar
sydneyearly
Posts: 8
Joined: Tue Mar 06, 2012 10:36 am

Re: SleepyHead Series 60 Patch Avail

Post by sydneyearly » Tue Nov 06, 2012 9:56 am

Hello just got switched to the 560 after my other machine died. Just wondering if anyone knows of a source to get the patch for Fedora Core Linux. I would love to get up and running, but can wait until Jedi releases a new version if necessary. Thanks to everyone involved in Sleepyhead fantastic program.

_________________
MachineMask
Additional Comments: SleepyHead v0.9.2-1 on Linux
--
Sydney

rich0
Posts: 60
Joined: Sun Feb 12, 2012 6:36 am

Re: SleepyHead Series 60 Patch Avail

Post by rich0 » Tue Nov 06, 2012 12:36 pm

sydneyearly wrote:Hello just got switched to the 560 after my other machine died. Just wondering if anyone knows of a source to get the patch for Fedora Core Linux. I would love to get up and running, but can wait until Jedi releases a new version if necessary. Thanks to everyone involved in Sleepyhead fantastic program.
The source is at:
git@github.com:rich0/rich0-sleepyhead.git
use branch rich-changes (if doing a repo clone add a -b rich-changes to the command)

A Gentoo ebuild (what I use) is in the source tree. Build instructions are on the sleepyhead website and apply as written, other than the URL and branch. Should work fine 32-bit or 64-bit. I guess if there is demand I could build a static binary, or if somebody wants to package it in .rpm or .deb feel free.
Machine: PRS1 AutoSV (950P)

BrianD
Posts: 37
Joined: Sun Jan 21, 2007 7:46 am

Re: SleepyHead Series 60 Patch Avail

Post by BrianD » Mon Nov 19, 2012 7:27 am

Hi All,

Not doing programming much in the last few years, any assistance would be appreciated.

git clone -b rich-changes git@github.com:rich0/rich0-sleepyhead.git
Cloning into 'rich0-sleepyhead'...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

Thanks in advance,

Brian

_________________
MachineMask

rich0
Posts: 60
Joined: Sun Feb 12, 2012 6:36 am

Re: SleepyHead Series 60 Patch Avail

Post by rich0 » Mon Nov 19, 2012 9:43 am

BrianD wrote: git clone -b rich-changes git@github.com:rich0/rich0-sleepyhead.git
Cloning into 'rich0-sleepyhead'...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Hmm, try this one:
git clone -b rich-test git://github.com/rich0/rich0-sleepyhead.git

I posted a URL that had my username in it, which isn't going to work for anonymous access, and I also renamed the branch to better reflect its long-term purpose.

Also, we're merging the series 60 code into the mainline repository - but series 60 hasn't been merged just yet. rich-test has been rebased so it reflects everything Mark merged into the master repository, plus my prs1 fixes including series 60.
Machine: PRS1 AutoSV (950P)

User avatar
archangle
Posts: 9293
Joined: Sun Mar 27, 2011 11:55 am

Re: SleepyHead Series 60 Patch Avail

Post by archangle » Mon Nov 19, 2012 5:42 pm

It looks like the patched version doesn't work on some PRS1 60 series BiPAP machines. You get ridiculous AHI over 100, and no event data.

viewtopic.php?f=1&t=84359&p=765271#p765140

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Also SleepyHead, PRS1 Auto, Respironics Auto M series, Legacy Auto, and Legacy Plus
Please enter your equipment in your profile so we can help you.
Click here for information on the most common alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check for yourself.

Useful Links.

User avatar
Pugsy
Posts: 64932
Joined: Thu May 14, 2009 9:31 am
Location: Missouri, USA

Re: SleepyHead Series 60 Patch Avail

Post by Pugsy » Mon Nov 19, 2012 6:01 pm

archangle wrote:It looks like the patched version doesn't work on some PRS1 60 series BiPAP machines. You get ridiculous AHI over 100, and no event data.
Yep, working on getting some BiPap files to Mark and Rich so that little bug can be squashed.

_________________
Machine: AirCurve™ 10 VAuto BiLevel Machine with HumidAir™ Heated Humidifier
Additional Comments: Mask Bleep Eclipse https://bleepsleep.com/the-eclipse/
I may have to RISE but I refuse to SHINE.

User avatar
NateS
Posts: 1716
Joined: Wed Dec 14, 2011 8:53 pm
Location: Kaatskill Mts-Washington Irving

Re: SleepyHead Series 60 Patch Avail

Post by NateS » Mon Nov 19, 2012 6:35 pm

rich0 wrote:An OSX version of the software is now available at:
https://s3.amazonaws.com/thefreemanclan ... pyHead.dmg

Again, this should be mainly considered an interim solution for series 60 users until JediMark is back up on his feet and we can get the main version updated. Feedback welcome!
Nice fix!

THANK YOU!!!

Nate

_________________
Mask: DreamWear Nasal CPAP Mask with Headgear
Additional Comments: ResMed AirCurve 10 ASV; Dreamwear Nasal Mask Original; CPAPMax Pillow; ResScan & SleepyHead
Central sleep apnea AHI 62.6 pre-VPAP. Now 0 to 1.3
Present Rx: EPAP: 8; IPAPlo:11; IPAPHi: 23; PSMin: 3; PSMax: 15
"I've had a perfectly wonderful evening, but this wasn't it." —Groucho Marx

BrianD
Posts: 37
Joined: Sun Jan 21, 2007 7:46 am

Re: SleepyHead Series 60 Patch Avail

Post by BrianD » Wed Nov 21, 2012 5:00 pm

Thanks Rich,


I was able to pull down the sources, I will now give building a try. I do have the new bipap machine so I am not sure from some of the other comments it will behave right once built, but I will give it a try anyway.


Brian

_________________
MachineMask

BrianD
Posts: 37
Joined: Sun Jan 21, 2007 7:46 am

Re: SleepyHead Series 60 Patch Avail

Post by BrianD » Wed Nov 21, 2012 6:14 pm

Hi Rich,

I can confirm that on Linux the patch doesn't work right for the 60 Series Bipap. It built fine, but most of the graphs were missing and the AHI was with crazy numbers. I saw AHI over 1000. Is there anything I can do to help get this resolved ?


Brian

_________________
MachineMask

rich0
Posts: 60
Joined: Sun Feb 12, 2012 6:36 am

Re: SleepyHead Series 60 Patch Avail

Post by rich0 » Wed Nov 21, 2012 7:20 pm

BrianD wrote:Hi Rich,

I can confirm that on Linux the patch doesn't work right for the 60 Series Bipap. It built fine, but most of the graphs were missing and the AHI was with crazy numbers. I saw AHI over 1000. Is there anything I can do to help get this resolved ?
Brian
This was actually on my to-do list for today (looking up what I need and putting out a request). However, I actually ran into a bug with newer versions of x11/libxcb/mesa so I spent half the day trying to track that down instead.

I might post a request detailing what I need. If you want to PM me a tarball of your sd card that would certainly be sufficient to get started.

Rich
Machine: PRS1 AutoSV (950P)

-tim
Posts: 710
Joined: Sat Dec 03, 2011 7:46 pm
Location: Melbourne Australia

Re: SleepyHead Series 60 Patch Avail

Post by -tim » Thu Nov 22, 2012 8:11 am

BrianD wrote:Hi Rich,

I can confirm that on Linux the patch doesn't work right for the 60 Series Bipap. It built fine, but most of the graphs were missing and the AHI was with crazy numbers. I saw AHI over 1000. Is there anything I can do to help get this resolved ?


Brian
When I was trying to decode the data formats, it looks like the 50 series APAP and CPAP machines used different software than the 50 series advanced PAP machines. I think the 560 APAP code was derived from the advanced machine software.

There is a table in the source code that looks like it was an early attempt to decode the other formats but now that code is still active and not the new patches. I haven't looked at the new patches but the PR parsing code may need a rewrite as some of the code doesn't agree with other parsing.

_________________
Mask: AirFit™ N20 Nasal CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Resmeds overpriced SpO2

rich0
Posts: 60
Joined: Sun Feb 12, 2012 6:36 am

Re: SleepyHead Series 60 Patch Avail

Post by rich0 » Thu Nov 22, 2012 8:25 am

-tim wrote:When I was trying to decode the data formats, it looks like the 50 series APAP and CPAP machines used different software than the 50 series advanced PAP machines. I think the 560 APAP code was derived from the advanced machine software.

There is a table in the source code that looks like it was an early attempt to decode the other formats but now that code is still active and not the new patches. I haven't looked at the new patches but the PR parsing code may need a rewrite as some of the code doesn't agree with other parsing.
Yeah, the parser is basically a couple of different routines in one. The ASV and 560 APAP share a common branch and the author of the patch did a decent job minimizing duplication. Other machines have completely independent functions. Having an ASV myself I am more familiar with that branch anyway since I've done some work on it.

I've got a file now, and once i fix some segfaults with some X11/xcb/mesa upgrades I'll try to take a look at it.
Machine: PRS1 AutoSV (950P)