Sleepyhead 9.2-2 on Mac OSX Lion 10.7.3

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
need2snooze
Posts: 60
Joined: Fri Apr 27, 2012 8:13 pm

Sleepyhead 9.2-2 on Mac OSX Lion 10.7.3

Post by need2snooze » Sun Apr 29, 2012 8:49 am

For the first time yesterday, I used Sleepyhead on my Mac and inserted my SD card, forgetting to move over the little white plastic tab on the card to protect the contents. I was able to pull up all of my data on my Mac. This morning, after pulling out the SD card from my S9 and inserting it into my Mac, Sleepyhead showed that I had no data to import from last night's sleep. I checked on my S9 and it shows almost 6 hours of sleep but the period is for only 1 night, last night. Did I corrupt my SD card? Do I need another SD card?

User avatar
jen4700
Posts: 410
Joined: Thu Mar 29, 2012 8:16 pm
Location: New Mexico, USA

Re: Sleepyhead 9.2-2 on Mac OSX Lion 10.7.3

Post by jen4700 » Sun Apr 29, 2012 12:47 pm

I don't know that this helps. But I've had no probs with my Sleepyhead and my S9 data card using latest version of Lion. Did you try restarting your mac in safe mode (hold down shift key when screen goes blank after restarting. you can let go when the apple shows up on the screen). Safe mode "cleans up" a lot of issues. But in order to read the card you'll have to restart in regular mode.

_________________
Mask: SleepWeaver Elan™ Soft Cloth Nasal CPAP Mask - Starter Kit
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CPAP start date 4/20/12. BiLevel 12/8. SleepyHead for Mac. http://sourceforge.net/projects/sleepyhead/

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

Re: Sleepyhead 9.2-2 on Mac OSX Lion 10.7.3

Post by Pugsy » Sun Apr 29, 2012 12:57 pm

I think that the little file that Macs put on the SD card (which is why it is advised to put the card in read only) actually confuses the S9 machine and when it gets confused it reformats the SD card and starts over.
Of course this wouldn't have prevented the machine from writing last night's data to the SD card.
It would have just erased previous files/data.
Did you check the SD card itself to see if the older files were present?

Also..it is extremely easy to slide the SD card in the slot and have it back out just a tiny bit. I have done this myself and didn't realize that the SD card wasn't quite seated and if it isn't fully inserted the machine can't write the data to it.

If you want to get a new SD card..you don't have to get a Resmed card. Any generic cheap SD card will work. If you insert a new blank card into the machine it will of course only write old data that is stored on the machine and not the detailed graphs and such because the card has to be in the machine to get the hi def data.. You could try a new card and make sure the machine recognizes the card and see what happens after tonight.

_________________
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
jen4700
Posts: 410
Joined: Thu Mar 29, 2012 8:16 pm
Location: New Mexico, USA

Re: Sleepyhead 9.2-2 on Mac OSX Lion 10.7.3

Post by jen4700 » Sun Apr 29, 2012 4:55 pm

Sleepyhead only reads the data. It doesn't write anything to the card. You shouldn't need to mess with the "read only" switch.

_________________
Mask: SleepWeaver Elan™ Soft Cloth Nasal CPAP Mask - Starter Kit
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CPAP start date 4/20/12. BiLevel 12/8. SleepyHead for Mac. http://sourceforge.net/projects/sleepyhead/

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

Re: Sleepyhead 9.2-2 on Mac OSX Lion 10.7.3

Post by Pugsy » Sun Apr 29, 2012 5:19 pm

jen4700 wrote:Sleepyhead only reads the data. It doesn't write anything to the card. You shouldn't need to mess with the "read only" switch.
SleepyHead doesn't mess with the SD card but the Mac computer itself can and does add a little file of its own to the SD card.
Documented previously by other Mac users when their ResMed machines would throw a fit with the SD card.
That is why the recommendation for Mac users to put the SD card in read only mode.

_________________
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
jen4700
Posts: 410
Joined: Thu Mar 29, 2012 8:16 pm
Location: New Mexico, USA

Re: Sleepyhead 9.2-2 on Mac OSX Lion 10.7.3

Post by jen4700 » Sun Apr 29, 2012 5:21 pm

Good to know - thanks!!

_________________
Mask: SleepWeaver Elan™ Soft Cloth Nasal CPAP Mask - Starter Kit
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CPAP start date 4/20/12. BiLevel 12/8. SleepyHead for Mac. http://sourceforge.net/projects/sleepyhead/

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

Re: Sleepyhead 9.2-2 on Mac OSX Lion 10.7.3

Post by Breathe Jimbo » Sun Apr 29, 2012 6:26 pm

My S9 has never had a problem with the invisible files that OS X adds to the SD card when it is not locked. I have never seen data corruption on the SD card even though I have repeatedly viewed its contents on two different OS X computers. Something else must be going on. Maybe Mark would like to view your data. Make sure to duplicate your entire SD card before you use your S9 again. Are you looking at the data before or after 12 noon?

_________________
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
tschultz
Posts: 257
Joined: Sun Dec 19, 2010 9:36 pm
Location: Moncton, NB, Canada, Earth, Milky Way Galaxy

Re: Sleepyhead 9.2-2 on Mac OSX Lion 10.7.3

Post by tschultz » Sun Apr 29, 2012 9:00 pm

The MAC's Spotlight indexer is going through and making hidden files in each folder on the SD card as it indexes it.
I have Spotlight turned off completely so can't test to make sure, but I did some testing when I first got my S9. When I first started out I forgot about the Spotlight indexing but the machine did not complain with the hidden files present.
It is important that the DATALOG folder never gets moved or renamed as the firmware does not seem to read the FAT table, or it verifies it has not been moved (tampered with), and thus relies on the fixed location to remain constant.

There is a way to write a single file at the root of the SD card which will tell Spotlight to not index that folder or its sub folders. You simply create an empty file in the root folder with the name .metadata_never_index
This can be done with the following command from a terminal window, you will need to determine the volume name of SD card and use that in place of 'name of drive';
touch /Volumes/'name of drive'/.metadata_never_index

One thing to remember, especially if Spotlight is writing index files to the card, is that you must properly eject the SD card from the computer or the contents can get corrupted.

_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Currenlty using Auto 15-20, EPR 1 with medium response; 95% pressure is 16.8
Adjusting to life with OSA and being pressurized each night ...

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

Re: Sleepyhead 9.2-2 on Mac OSX Lion 10.7.3

Post by NateS » Sun Apr 29, 2012 10:12 pm

tschultz wrote:The MAC's Spotlight indexer is going through and making hidden files in each folder on the SD card as it indexes it.
I have Spotlight turned off completely so can't test to make sure, but I did some testing when I first got my S9. When I first started out I forgot about the Spotlight indexing but the machine did not complain with the hidden files present.
It is important that the DATALOG folder never gets moved or renamed as the firmware does not seem to read the FAT table, or it verifies it has not been moved (tampered with), and thus relies on the fixed location to remain constant.

There is a way to write a single file at the root of the SD card which will tell Spotlight to not index that folder or its sub folders. You simply create an empty file in the root folder with the name .metadata_never_index
This can be done with the following command from a terminal window, you will need to determine the volume name of SD card and use that in place of 'name of drive';
touch /Volumes/'name of drive'/.metadata_never_index

One thing to remember, especially if Spotlight is writing index files to the card, is that you must properly eject the SD card from the computer or the contents can get corrupted.
That's very interesting.

Suppose I had a friend squeamish about using Terminal. Could I tell them that they could get the same result using SystemPreferences/Spotlight/Privacy/NO NAME?

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

need2snooze
Posts: 60
Joined: Fri Apr 27, 2012 8:13 pm

Re: Sleepyhead 9.2-2 on Mac OSX Lion 10.7.3

Post by need2snooze » Sun Apr 29, 2012 11:44 pm

Yes, I would be a "squeamish" one about using Terminal. Would the Systems Preference thing work the same way? I can do that one. For clarification, I used the SD card for the first time yesterday morning with Sleepyhead and had all my data downloaded with no problem. When I put it back into my S9 last night and took it out this morning, the only data showing was from last night. When I opened Sleepyhead this morning and tried to import the data, it said "No Data". I tried several times. My S9 shows last night's data but Sleepyhead says there is no data. I'll record on it again tonight and try to import again in the morning.

User avatar
tschultz
Posts: 257
Joined: Sun Dec 19, 2010 9:36 pm
Location: Moncton, NB, Canada, Earth, Milky Way Galaxy

Re: Sleepyhead 9.2-2 on Mac OSX Lion 10.7.3

Post by tschultz » Mon Apr 30, 2012 5:38 am

need2snooze wrote:Yes, I would be a "squeamish" one about using Terminal. Would the Systems Preference thing work the same way? I can do that one. For clarification, I used the SD card for the first time yesterday morning with Sleepyhead and had all my data downloaded with no problem. When I put it back into my S9 last night and took it out this morning, the only data showing was from last night. When I opened Sleepyhead this morning and tried to import the data, it said "No Data". I tried several times. My S9 shows last night's data but Sleepyhead says there is no data. I'll record on it again tonight and try to import again in the morning.
The System Preferences does not seem to work with removable devices. You can add the device to the list but when the device is removed the entry in the preferences gets deleted. This is why I actually have Spotlight turned off. I wish Apple would change this behavior.

The terminal in the MAC is no different than the command line in Windows. It is actually easier to cause problems with the GUI when dragging/dropping files. Having said that I would not ask anyone to do something they are not comfortable with.

One thing that comes to mind is that this may be a SleepyHead problem and not necessarily the S9 or the SD card. The hidden files placed by Spotlight could be causing problems there. I will do a few tests to see if I can determine if this is true or not with my system.

When "missing" data is found has anyone tried to load the same day's data into ResScan to see if the day is actually missing or not?

_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Currenlty using Auto 15-20, EPR 1 with medium response; 95% pressure is 16.8
Adjusting to life with OSA and being pressurized each night ...

Stratman
Posts: 46
Joined: Sat Mar 13, 2010 8:08 am
Location: PA

Re: Sleepyhead 9.2-2 on Mac OSX Lion 10.7.3

Post by Stratman » Mon Apr 30, 2012 6:03 am

I just checked my SD card.

I run a new iMac running OSX 10.7.3 the latest version. I don't bother setting the "lock" on the SD card and have not had any problems.

I double checked this morning. I loaded my SD card on my old PC running both Sleepyhead and ResScan and no problems. All of last months data was there.

I do run the "Eject disk" function before I remove the SD card from the iMac.

My S9 Autoset is a new one with the latest firmware.
Tom...........

Stratman
Posts: 46
Joined: Sat Mar 13, 2010 8:08 am
Location: PA

Re: Sleepyhead 9.2-2 on Mac OSX Lion 10.7.3

Post by Stratman » Mon Apr 30, 2012 6:15 am

tschultz wrote:The MAC's Spotlight indexer is going through and making hidden files in each folder on the SD card as it indexes it.
I have Spotlight turned off completely so can't test to make sure, but I did some testing when I first got my S9. When I first started out I forgot about the Spotlight indexing but the machine did not complain with the hidden files present.
It is important that the DATALOG folder never gets moved or renamed as the firmware does not seem to read the FAT table, or it verifies it has not been moved (tampered with), and thus relies on the fixed location to remain constant.

I did not know that Spotlight did that. I am a fairly new Mac user here.

There is a way to write a single file at the root of the SD card which will tell Spotlight to not index that folder or its sub folders. You simply create an empty file in the root folder with the name .metadata_never_index
This can be done with the following command from a terminal window, you will need to determine the volume name of SD card and use that in place of 'name of drive';
touch /Volumes/'name of drive'/.metadata_never_index

Good info to know, thanks.

One thing to remember, especially if Spotlight is writing index files to the card, is that you must properly eject the SD card from the computer or the contents can get corrupted.
I do run the eject before removing the SD card.
Tom...........

need2snooze
Posts: 60
Joined: Fri Apr 27, 2012 8:13 pm

Re: Sleepyhead 9.2-2 on Mac OSX Lion 10.7.3

Post by need2snooze » Mon Apr 30, 2012 9:06 am

It's Monday morning and I just inserted my SD card into my Mac. Hallelujah! Not only was I able to download my data from last night, but I clicked on the previous night's date (the night's data I was unable to download yesterday morning) and there was all the data!! I don't know why I can download that data now, but I won't look a gift horse in the mouth. And yes, I always use the Eject button when pulling out my card. Thanks for all of your help. I'm going to keep trying to figure out this Mac/SD thing, but at least I got my SD info. Oh, and I'm going to go buy another SD card today for backup.