SleepyHead Test Build for Mac OS X

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
User avatar
Breathe Jimbo
Posts: 954
Joined: Sun Sep 12, 2010 3:02 pm
Location: Pasadena, CA

SleepyHead Test Build for Mac OS X

Post by Breathe Jimbo » Sun Jul 31, 2011 10:51 am

An alpha test build for Mac OS X is available at:

http://sourceforge.net/projects/sleepyh ... %20Builds/

This should run on both Snow Leopard and Lion. However, it appears that you need a Mac new enough to run Lion ... at least for now.

We need more people testing this on the Mac. For this alpha test build, you do not need to build the source code. Rather, mount and open the DMG folder and then drag SleepyHead to your Applications folder. Please report back whether or not you are able to start the program on your Mac. As I mentioned above, your Mac will need to be new enough to run Lion, but the app should run on either Snow Leopard or Lion. I was able to build it on Lion and run it on Snow Leopard.

If it starts (fingers crossed), click on the big red Import button and go to the folder containing your data. (Or you can import directly from your SD card. It is a good idea to backup your card frequently, to a separate folder for each backup.) For ResMed S9 machines, that will be the folder containing the Datalog folder and several (5) other files. The progress bar should indicate when the import is finished.

Next, pound away! Test everything. Look at all the menus and turn things on and off. Try to find things that don't work. Report your findings here, quoting all error messages, so that Mark can fix problems.

There is a known problem with graphs and artifacts flickering when the graphs are scrolled up and down. If you do NOT see this, please report that here. You can reduce or eliminate the need to scroll by unchecking specific graphs on the Graphs pull-down menu.

The Preferences pane is not implemented yet and, therefore, will do nothing when you click on it. For now, you can change various things on the View, Graphs, and Help pull-down menus.

Anyone able to start the program and see the Welcome window?

_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Since 9/9/10; 13 cm; ResScan 3.16; SleepyHead 0.9; PapCap
Last edited by Breathe Jimbo on Fri Aug 05, 2011 5:22 pm, edited 2 times in total.

User avatar
milw
Posts: 59
Joined: Thu Jul 21, 2011 7:21 pm
Location: Madison, Wisconsin

Re: SleepyHead Test Build for Mac OS X

Post by milw » Sun Jul 31, 2011 2:59 pm

Yup I downloaded and can run it on my mac with Lion; I was also able to build 0.8.2 with QT on this machine. A question- is Oximetry supported yet on Mac? I have a CMS-50E so can contribute to any testing needed in that module. So far so good, I see graphics artifacts between the graph panels when scrolling, will try turning some off to see if they'll expand.

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Additional Comments: Onkor, SleepyHead, CMS 50EW oximeter
Official hosehead since July 22, 2011

User avatar
Julie
Posts: 20032
Joined: Tue Feb 28, 2006 12:58 pm

Re: SleepyHead Test Build for Mac OS X

Post by Julie » Sun Jul 31, 2011 3:29 pm

Would you be interested to know if I can DL to my machine even if I don't use the S9 system, just for the record?

User avatar
Breathe Jimbo
Posts: 954
Joined: Sun Sep 12, 2010 3:02 pm
Location: Pasadena, CA

Re: SleepyHead Test Build for Mac OS X

Post by Breathe Jimbo » Sun Jul 31, 2011 5:50 pm

milw wrote:A question- is Oximetry supported yet on Mac?
I'm not sure whether Mark is still reworking the oximetry code. However, it is worth a try now.

A Mac OS X build should be able to read and display oximetry data just like Windows and Linux. I do not have an oximeter, so I do not know how to connect one to a Mac, or otherwise how to get the data onto a Mac. The oximetry page seems to assume the data is accessible via a serial port. What type of port does your oximeter have?

_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Since 9/9/10; 13 cm; ResScan 3.16; SleepyHead 0.9; PapCap

jhensley
Posts: 5
Joined: Sat Apr 30, 2011 7:45 pm

Re: SleepyHead Test Build for Mac OS X

Post by jhensley » Sun Jul 31, 2011 6:03 pm

2007 MacPro running Lion. Downloaded, unzipped, launched application and imported files all without any problem. Love the interface. Looking forward to updates. If you're looking for testers, I'm in!

_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Rescan 3.14

User avatar
Breathe Jimbo
Posts: 954
Joined: Sun Sep 12, 2010 3:02 pm
Location: Pasadena, CA

Re: SleepyHead Test Build for Mac OS X

Post by Breathe Jimbo » Sun Jul 31, 2011 6:04 pm

Julie wrote:Would you be interested to know if I can DL to my machine even if I don't use the S9 system, just for the record?
Absolutely! Please download and unzip the zipfile, then try to run the program on your computer. It is important to know whether I was able to "package" it correctly, so that it will open and run on any Mac (new enough to run Lion).

Mark has expressed interest in supporting other machines. I see you have an Intellipap. Are you able to plug its card into your Mac?

BTW, Mark is in Oz, which has a big time zone difference from a lot of us.

_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Since 9/9/10; 13 cm; ResScan 3.16; SleepyHead 0.9; PapCap

User avatar
Breathe Jimbo
Posts: 954
Joined: Sun Sep 12, 2010 3:02 pm
Location: Pasadena, CA

Re: SleepyHead Test Build for Mac OS X

Post by Breathe Jimbo » Sun Jul 31, 2011 6:10 pm

jhensley wrote:2007 MacPro running Lion. Downloaded, unzipped, launched application and imported files all without any problem. Love the interface. Looking forward to updates. If you're looking for testers, I'm in!
We need testers on Mac. Glad you're in!

Do you have the Qt SDK on your computer? You would have needed to download it via MacPorts or directly from Nokia.

BTW, the next drop will be a proper dmg file, for drag and drop installation.

_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Since 9/9/10; 13 cm; ResScan 3.16; SleepyHead 0.9; PapCap

jhensley
Posts: 5
Joined: Sat Apr 30, 2011 7:45 pm

Re: SleepyHead Test Build for Mac OS X

Post by jhensley » Sun Jul 31, 2011 6:54 pm

Breathe Jimbo wrote:Do you have the Qt SDK on your computer? You would have needed to download it via MacPorts or directly from Nokia.
I don't have Qt SDK and frankly don't know what that is but I'll download it and familiarize myself.

_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Rescan 3.14

User avatar
Julie
Posts: 20032
Joined: Tue Feb 28, 2006 12:58 pm

Re: SleepyHead Test Build for Mac OS X

Post by Julie » Sun Jul 31, 2011 7:34 pm

Hi - I'm going to do the DL tomorrow a.m. sometime and let you know....I don't have a card (no Smartlink) but it's otherwise a new machine and I'm ready for Lion tho' haven't yet decided to bother.

User avatar
Breathe Jimbo
Posts: 954
Joined: Sun Sep 12, 2010 3:02 pm
Location: Pasadena, CA

Re: SleepyHead Test Build for Mac OS X

Post by Breathe Jimbo » Sun Jul 31, 2011 8:13 pm

jhensley wrote:I don't have Qt SDK and frankly don't know what that is but I'll download it and familiarize myself.
No, you don't need to do that. I asked because I wanted to make sure this app is self-contained and not using Qt stuff on your system. One of the things we are testing is that all the necessary QT stuff is bundled inside the app. (If you do a right mouse button on the SH icon and select Show Contents, you will see that the app is actually a folder containing a bunch of stuff needed to run. Most Mac apps are like that.)

Besides, the QT SDK is > 1 GB, most of which is unnecessary to run SH.

_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Since 9/9/10; 13 cm; ResScan 3.16; SleepyHead 0.9; PapCap

User avatar
milw
Posts: 59
Joined: Thu Jul 21, 2011 7:21 pm
Location: Madison, Wisconsin

Re: SleepyHead Test Build for Mac OS X

Post by milw » Sun Jul 31, 2011 9:16 pm

Breathe Jimbo wrote:
milw wrote:A question- is Oximetry supported yet on Mac?
I'm not sure whether Mark is still reworking the oximetry code. However, it is worth a try now.

A Mac OS X build should be able to read and display oximetry data just like Windows and Linux. I do not have an oximeter, so I do not know how to connect one to a Mac, or otherwise how to get the data onto a Mac. The oximetry page seems to assume the data is accessible via a serial port. What type of port does your oximeter have?
Oximeter is USB, but the Mac doesn't seem to see it, and the SH Oximetry page drop down for Serial port remains blank (on my PC, I see USB 30 when the Oximeter is plugged in and turned on.).

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Additional Comments: Onkor, SleepyHead, CMS 50EW oximeter
Official hosehead since July 22, 2011

User avatar
Breathe Jimbo
Posts: 954
Joined: Sun Sep 12, 2010 3:02 pm
Location: Pasadena, CA

Re: SleepyHead Test Build for Mac OS X

Post by Breathe Jimbo » Sun Jul 31, 2011 9:19 pm

milw wrote:Oximeter is USB, but the Mac doesn't seem to see it, and the SH Oximetry page drop down for Serial port remains blank (on my PC, I see USB 30 when the Oximeter is plugged in and turned on.).
This is Mark's bailiwick.

_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Since 9/9/10; 13 cm; ResScan 3.16; SleepyHead 0.9; PapCap

User avatar
milw
Posts: 59
Joined: Thu Jul 21, 2011 7:21 pm
Location: Madison, Wisconsin

Re: SleepyHead Test Build for Mac OS X

Post by milw » Sun Jul 31, 2011 9:23 pm

OK, I'll just give a bit more detail.
The Mac System Profiler can detect the USB device and lists it thus:

CP2102 USB to UART Bridge Controller:
Product ID: 0xea60
Vendor ID: 0x10c4 (Silicon Laboratories, Inc.)
Version: 1.00
Serial Number: 1
Speed: Up to 12 Mb/sec
Manufacturer: Silicon Labs
Location ID: 0x1a200000 / 3
Current Available (mA): 500
Current Required (mA): 100

The CMS50E also has Bluetooth built in, so it shows up as:
Bluetooth
Devices (Paired, Favorites, etc):
SpO2:
Address: 00-0c-b6-01-27-0b
Type: Unknown
Services: Dev B
Paired: No
Favorite: Yes
Connected: Yes
Manufacturer: Cambridge Silicon Radio (0x3, 0x1041)
EDR Supported: Yes
eSCO Supported: Yes

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Additional Comments: Onkor, SleepyHead, CMS 50EW oximeter
Official hosehead since July 22, 2011

User avatar
Breathe Jimbo
Posts: 954
Joined: Sun Sep 12, 2010 3:02 pm
Location: Pasadena, CA

Re: SleepyHead Test Build for Mac OS X

Post by Breathe Jimbo » Sun Jul 31, 2011 9:34 pm

milw wrote:The CMS50E also has Bluetooth built in....
Can you copy the files from the CMS50E over Bluetooth to a folder on your Mac?

I see that the OP in this thread says he is able to get the data from the device onto his Mac using a driver of some kind:

viewtopic/t60488/Issues-with-CMS50E-pul ... ssues.html

This may be worth following up on. If SH cannot get the data directly from the device, it may be possible at some point to copy the data to a folder on your Mac and then have SH load the data from that folder. I just don't know whether SH has code that allows direct access to the device under OS X. It may be necessary to have the device mounted before SH can see it, or to have an OS X driver to make the device visible. I don't know. Mark can clarify these issues. In the meantime, you might contact the OP in the cited thread about obtaining whatever driver he used.

_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Since 9/9/10; 13 cm; ResScan 3.16; SleepyHead 0.9; PapCap
Last edited by Breathe Jimbo on Sun Jul 31, 2011 9:46 pm, edited 2 times in total.

User avatar
milw
Posts: 59
Joined: Thu Jul 21, 2011 7:21 pm
Location: Madison, Wisconsin

Re: SleepyHead Test Build for Mac OS X

Post by milw » Sun Jul 31, 2011 9:40 pm

No unfortunately; my mac can pair with it but attempting to browse gives an error with "The device does not have the necessary services". The manual that came with the oximeter is pretty useless, but I've figured out that no passcode is required for the pairing.

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Additional Comments: Onkor, SleepyHead, CMS 50EW oximeter
Official hosehead since July 22, 2011