Post Reply 
SleepyHead on a Raspberry Pi 2
Author Message
SleepyNed Offline

Members

Posts: 7
Joined: Apr 2016

Machine: Resmed Elite S9
Mask Type: Nasal mask
Mask Make & Model: Resmed Mirage
Humidifier: Elite S9
CPAP Pressure: 14cm H2O
CPAP Software: Not using software

Other Comments:

Sex: Male
Location: Ontario, Canada

Post: #1
SleepyHead on a Raspberry Pi 2
Has anyone successfully installed SleepyHead on a Raspberry Pi?

I tried the brute-force-and-ignorance approach by trying to install a Linux image (v 1.0.0-beta-1 for Ubuntu 15.04) but it turned out it's incompatible with the Pi's Arm7 processor.

Can anyone comment on what steps one would need to take to install SleepyHead on a Pi2 or Pi3, or whether it's even feasible?

Thanks in advance for any pointers or suggestions.

- Dave
04-26-2016 02:28 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
Shastzi Offline

Advisory Members

Posts: 1,174
Joined: Dec 2012

Machine: ResMed S9 Autoset
Mask Type: Full face mask
Mask Make & Model: FitLife Total face mask
Humidifier: F&P HC150 with Hybernite heated hose.
CPAP Pressure: 15cm-20cm H2O (auto)
CPAP Software: SleepyHead Other Software

Other Comments: CMS50-F wearable Oximeter; Software: SPO2 Assistant

Sex: Undisclosed
Location: Florida, USA.

Post: #2
RE: SleepyHead on a Raspberry Pi 2
poke around and try to find an arm compatible tiny linux for your Pi. I thought I saw one on DistroWatch dot com. Hope that helps.

"With ordinary talent and extraordinary perseverance, all things are attainable." - Thomas Foxwell Buxton

Cool
04-26-2016 03:45 PM
Find all posts by this user Post Reply Quote this message in a reply
AlanE Offline

Advisory Members

Posts: 1,499
Joined: Mar 2015

Machine: ResMed AirSense 10 Autoset
Mask Type: Nasal pillows
Mask Make & Model: P10 & Mirage Liberty backup
Humidifier: Built-in
CPAP Pressure: 10-14
CPAP Software: ResScan SleepyHead

Other Comments: ʕ•ᴥ•ʔ So Long, and Thanks for All the Fish

Sex: Male
Location: Southwest Florida

Post: #3
RE: SleepyHead on a Raspberry Pi 2
Try this:

http://www.apneaboard.com/forums/Thread-...#pid147490



Using FlashAir W-03 SD card in machine. Access through wifi with FlashPAP or Sleep Master utilities.

I wanted to learn Binary so I enrolled in Binary 101. I seemed to have missed the first four courses. Big Grinnie
04-26-2016 03:53 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
SleepyNed Offline

Members

Posts: 7
Joined: Apr 2016

Machine: Resmed Elite S9
Mask Type: Nasal mask
Mask Make & Model: Resmed Mirage
Humidifier: Elite S9
CPAP Pressure: 14cm H2O
CPAP Software: Not using software

Other Comments:

Sex: Male
Location: Ontario, Canada

Post: #4
RE: SleepyHead on a Raspberry Pi 2
Thanks AlanE.

Unfortunately when I clicked the link you posted I got a "You do not have permission to access this page" error. Do you mind pasting the content directly?
04-26-2016 04:53 PM
Find all posts by this user Post Reply Quote this message in a reply
SleepyNed Offline

Members

Posts: 7
Joined: Apr 2016

Machine: Resmed Elite S9
Mask Type: Nasal mask
Mask Make & Model: Resmed Mirage
Humidifier: Elite S9
CPAP Pressure: 14cm H2O
CPAP Software: Not using software

Other Comments:

Sex: Male
Location: Ontario, Canada

Post: #5
RE: SleepyHead on a Raspberry Pi 2
Shastzi: Just to be clear, I do have Ubuntu MATE installed on the Pi 2, but the Sleepyhead Ubuntu version seems to be for AMD 64b hardware. (It was a long shot, but I had to try.)

So I'm left wondering if there's a way to "build from source", whether anyone has ever successfully installed SH on a Pi...
04-26-2016 05:03 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
Crimson Nape Offline

Monitors

Posts: 1,335
Joined: Oct 2014

Machine: ResMed S9 Autoset
Mask Type: Other
Mask Make & Model: P-10 / F&P Simplus / DreamWear
Humidifier: H5i w/Climateline
CPAP Pressure: 8 - EPR 3
CPAP Software: SleepyHead

Other Comments: CMS-50F & 50IW

Sex: Male
Location: Georgia

Post: #6
RE: SleepyHead on a Raspberry Pi 2
(04-26-2016 04:53 PM)SleepyNed Wrote:  Thanks AlanE.

Unfortunately when I clicked the link you posted I got a "You do not have permission to access this page" error. Do you mind pasting the content directly?

Here's the context of the post:
Quote:pholynyk wrote:
Last night I finally got a first run of SleepyHead on a Raspberry Pi 2. For those of you not familiar, it is a credit card sized computer with four ARM core processors and a fancy GPU. It has 1 GB of memory, runs at 900 MHz, and costs US$35.00. I'm running the latest Raspian release, which is a variant of Debian 8. It uses a digital HDMI capable TV as its display.

The SleepyHead window is missing its header, so I can't move the window to get to the FileManager to mount the SD card. Next time I'll mount it before I start SH. And raise the issue on the RasPi forums.

Nothing special in the setup; I installed the QT5 stuff, including qtcreator. Qtcreator didn't configure correctly, so I just used qmake and make. No changes to the cloned source code, although I did have to define BrokenGL because the RasPi has OpenGL ES instead of the full version.

So more to do, but it shouldn't be too difficult. The major reason for the attempt is that Raspian includes Wolfram's Mathmatica, so wolson's data analysis can probably be done for an affordable price...


I hope this helps.

Statistics prove that people who have more birthdays live longer.
04-26-2016 05:22 PM
Find all posts by this user Post Reply Quote this message in a reply
SleepyNed Offline

Members

Posts: 7
Joined: Apr 2016

Machine: Resmed Elite S9
Mask Type: Nasal mask
Mask Make & Model: Resmed Mirage
Humidifier: Elite S9
CPAP Pressure: 14cm H2O
CPAP Software: Not using software

Other Comments:

Sex: Male
Location: Ontario, Canada

Post: #7
RE: SleepyHead on a Raspberry Pi 2
Thanks very much for posting Alan, it's good to know someone has done it, or at least gotten close. I'll try it under Raspbian first and if that doesn't work will try Ubuntu.

- Dave
04-26-2016 06:08 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
SleepyNed Offline

Members

Posts: 7
Joined: Apr 2016

Machine: Resmed Elite S9
Mask Type: Nasal mask
Mask Make & Model: Resmed Mirage
Humidifier: Elite S9
CPAP Pressure: 14cm H2O
CPAP Software: Not using software

Other Comments:

Sex: Male
Location: Ontario, Canada

Post: #8
RE: SleepyHead on a Raspberry Pi 2
I just tried using Archangle's make procedure, but with Ubuntu 16.04 freshly installed on a Pi 2.

Unfortunately I couldn't create an executable and make failed with:

/usr/bin/ld: cannot find -lGLU
collect2: error: ld returned 1 exit status"

I tried again, using the BrokenGL version:

$ qmake DEFINES+=BrokenGL
$ make -B

... but got the same error.

I'm not familiar enough with Linux to understand what's going wrong but will try these steps again under Raspbian.
04-27-2016 02:49 PM
Find all posts by this user Post Reply Quote this message in a reply
SleepyNed Offline

Members

Posts: 7
Joined: Apr 2016

Machine: Resmed Elite S9
Mask Type: Nasal mask
Mask Make & Model: Resmed Mirage
Humidifier: Elite S9
CPAP Pressure: 14cm H2O
CPAP Software: Not using software

Other Comments:

Sex: Male
Location: Ontario, Canada

Post: #9
RE: SleepyHead on a Raspberry Pi 2
Couldn't get it to compile under Raspbian either. The make procedure failed with

Project ERROR: Unknown module(s) in QT: serialport
04-27-2016 03:45 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
Sn00zeAlarm Offline

Preferred Members

Posts: 72
Joined: May 2015

Machine: Resmed A10 autoset
Mask Type: Nasal pillows
Mask Make & Model: Resmed P10
Humidifier: Builtin
CPAP Pressure: 5-7
CPAP Software: SleepyHead

Other Comments: Heated hose

Sex: Male
Location: Florida US

Post: #10
RE: SleepyHead on a Raspberry Pi 2
You do not have all the prerequisites installed. These are listed in the "how to compile on Linux" instructions.
04-27-2016 05:37 PM
Find all posts by this user Post Reply Quote this message in a reply
Post Reply 


Forum Jump:

Who's Online (Complete List)