Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account


New Posts   Today's Posts

SleepyHead and Linux
#1
Idea 
SleepyHead and Linux
Thanks for this great site! I'm new to CPAP and am learning a great deal.

One thing missing has been the data software that runs on Linux. SleepyHead has a Linux version but it's very specific to versions of Linux rather than general distributions and some of the dependencies are not standard or unnecessary. It didn't work out of the box even with the specific operating version mentioned on the page. SO... I went ahead and did some minor changes to the program, repackaged it (kept all the original programmers work and kudos) and it works like a dream. It's a fun little piece of software.

Since the programming and libraries are Open Source and publicly available, I think it should work on any Linux machine if it's recompiled with some changes to fit your particular OS needs. I have a way to make it fit any Debian based system I.E. Debian8, Ubuntu (all flavors 15.04 and up, maybe earlier) and any of possibly 30 Linux versions as long as they're deb or deb/rpm hybrid based. (debian based only because I'm familiar with deb not rpm, Susi, Red Hat etc. although there is nothing keeping it from working if you know those systems)

If any data deprived non-sleepers would like to get it working on your Linux machine, I'd be glad to help you get it working... Although I won't upload any modified software for safety reasons, I may be able to guide you through your own "redo" process if you're having problems.

Of course, I'll bow to the site administrators/moderators approval to do such a thing.

Outside of that, the info SleepyHead gives me is eyeopening and educational for sure.

Post Reply Post Reply
#2
RE: SleepyHead and Linux
Just a screenshot of my SleepyHead data. It works.
Post Reply Post Reply
#3
RE: SleepyHead and Linux
Great job!
                                                                                                                          
Note: I'm an epidemiologist, not a medical provider. 
Post Reply Post Reply
#4
RE: SleepyHead and Linux
Hi MartinT,
Great that you have that working, now you need to post in the main forum to get some help with such a high AHI?

What I see are too many Obstructives and too low of a minimum pressure.
You may need to start inching up your minimum pressure to 9cm, with a ramp starting at 6cm.

You also have a high leak rate. Probably your mask, but that needs some attention.

OpalRose
Apnea Board Administrator
www.apneaboard.com

_______________________
OSCAR Chart Organization
How to Attach Images and Files.
OSCAR - The Guide
Soft Cervical Collar
Optimizing therapy
OSCAR supported machines
Mask Primer



INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE.  ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA.  INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply
#5
RE: SleepyHead and Linux
I'm switching my main machine to Linux and testing with a new install of Slackware64 14.2 on another machine. Jedimark's page shows an Ubuntu binary package, but this can be converted to the tgz format with deb2tgz (available from the usual places--SourceForge among others).

The binary extracted and loaded, but failed at runtime, since I don't have Qt5 installed. Jedimark says 5.5 works, but 5.6 or higher causes problems when building from source. I found the 5.5 files from Qt.io by going through the archives. (If it's for a personal project, you don't have to pay the subscription fee.) Haven't downloaded it just yet; it's over 600Mb and my data cap says it's an early morning download. (Satellite broadband is odd.)

The Linux binary is 1.0.0. I don't know if it will play with 1.0.0-beta2 records; if not, I'll see if I can build from source. The Qt5.5-SDK might be in that big download. We'll see.
Post Reply Post Reply
#6
RE: SleepyHead and Linux
Building from source is not too difficult. The major point is to use QT 5.4 or 5.5. QT5.4 added a couple of methods that Jedimark used, but QT5.6 changed all the web rendering routines. I don't recall the details; they are in the release notes on the QT site. I'm sure it caused much pain to a lot of QT programmers.

The thread http://www.apneaboard.com/forums/Thread-...d-on-Linux has lots of useful hints for building. I particularly like building the object files and executable in a separate directory.
Post Reply Post Reply
#7
RE: SleepyHead and Linux
Thanks for the pointer. I'm happy to build from source, but the notes on Mark's page were a little sketchy for me. I'm rusty at Unix/Linux--did a lot with it from the '90s until '03, then not much.
Post Reply Post Reply
#8
RE: SleepyHead and Linux
Hmm, today the jedimark site is under re-construction. (I saw the main page was hacked as of a few days ago.) The main download page is there, but the source code page is offline, and I don't know the right command to get the source code from Gitlab. My previous Linux experience predates git.

Could somebody give me the command? I got an account with Gitlab when I got the debian binary--I need to install Qt5.5, but I'd rather start from scratch with the SleepyHead code.

Thanks in advance.
Post Reply Post Reply
#9
RE: SleepyHead and Linux
To get your own copy on your machine, use

git clone https://gitlab.com/sleepyhead/sleepyhead-code.git

preferably in a new directory. Do read the README - jedimark recommends building in a shadow directory because it keeps things cleaner

Mind you, it's been 9 months since I used gitlab, so I'm a little shaky myself
Post Reply Post Reply
#10
RE: SleepyHead and Linux
That did it. Thanks!

Tiny, compared to Qt5.5. Slackware14.2 ships with Qt4, and Qt.io has 5.5 lumped into a 622Mb file.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Is there a solution to read out the newer versions of the Contect CMS50F under Linux? Mast04 10 807 03-25-2024, 08:46 PM
Last Post: Pierelly
  OSCAR v1.5.2 - Linux Versions Crimson Nape 3 125 03-17-2024, 02:35 PM
Last Post: Crimson Nape
  What version of Linux for my Chromebook? bluetangle127 1 432 10-26-2023, 10:54 AM
Last Post: Crimson Nape
  F12/Take Screenshot Not Saving Screenshot under Linux? DigitalMan43 4 668 09-30-2023, 05:04 PM
Last Post: DigitalMan43
  o2 insight pro on linux Jim Vader 10 1,390 08-16-2023, 07:00 AM
Last Post: data01
  OSCAR for Ubuntu Linux "blocked and dangerous" edgreenberg 3 738 07-17-2023, 06:27 AM
Last Post: edgreenberg
  Feature Request - OSCAR Linux rammjet 3 627 07-09-2023, 09:04 PM
Last Post: rammjet


New Posts   Today's Posts


About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.