Post Reply 
[CPAP] Removing and reinserting SD Card
Author Message
retired_guy Offline

Preferred Members-2

Posts: 2,744
Joined: Jan 2014

Machine: ResMed S9 Autoset
Mask Type: Nasal pillows
Mask Make & Model: Resmed Airfit P10
Humidifier: ResMed
CPAP Pressure: 10.6/14, EPR 3
CPAP Software: ResScan SleepyHead

Other Comments: Is it bedtime yet?

Sex: Male
Location: Beautiful, albeit very wet Oregon Coast

Post: #11
RE: Removing and reinserting SD Card
(09-18-2014 08:32 PM)surferdude2 Wrote:  Perhaps you're living in a fools paradise. If you have all the detailed graph info saved to your puter hard drive, you won't know if it's gone from the SD or not. You would find that out if you deleted it from your hard drive or used some other person's puter to check the card. I have tried this and tested it all ways from Sunday and it does just as I said. I'll give you that YMMV but we have the same ResMed machines and I don't think it'll be any difference for you.

Are you telling me that you can write a file to the SD card or let your Win8 system write the SVI folder to your card and then delete it with that batch file and then insert it in the S9 and not have it refuse to use it without erasing it and rewriting the limited data it has stored? Try that..and prove me wrong.

You may be running that batch file every day and having no problem but that's because it's not really doing anything since it isn't finding any file or folder to delete since you probably lock your SD card before inserting it in the reader slot of your puter. Isn't that right?



Surfie, dear Surfie.... I know what I'm talking about. I began using/programming computers when you were but a pup.

Windows 8.1 writes a directory called \System Volume Information and file called System Volume Information\IndexerVolumeGuid each and every time you insert a sdcard into the computer unless it's been locked. If it's locked, then the computer can't do that of course.

But if you delete those two files, then safely remove the sdcard from the computer you will be golden. Perhaps you're not doing a "safe exit" from the usb drive? If not the delete could be sitting in memory and not yet effected on the sdcard. I don't know.

What I do know is if you will delete the two files I mentioned you will be able to use the card in the Resmed machine.

...... oh, and when I say "delete," I mean delete the file, and rmdir the directory of course.
(This post was last modified: 09-18-2014 08:55 PM by retired_guy.)
09-18-2014 08:52 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
surferdude2 Offline

Advisory Members

Posts: 1,077
Joined: Jul 2014

Machine: ResMed S9 AutoSet
Mask Type: Full face mask
Mask Make & Model: Mirage Quattro & Optilife
Humidifier: ResMed H5i @ #3 if nose breathing & #5 if mouth breathing
CPAP Pressure: 12 ~ 20 & 11 ~12 if nasal mask
CPAP Software: ResScan SleepyHead

Other Comments: Late stage 2 emphysema

Sex: Male
Location: Mousetown, Southern Illinois

Post: #12
RE: Removing and reinserting SD Card
When you get a moment, stick your SD card in your Win8 computer without locking it and test whether or not your batch file will clean it up and allow the S9 box to accept it. I couldn't get it to do that.

And another thing, your batch file could be better since it could benefit from using the proper optional switches of /s and /q. All you really need is:


@echo off
CD "C:\Program Files (x86)\ResMed\ResScan3"
ResScan.exe
RD "E:\System Volume Information" /s /q


I'm getting ready to press my "Bless your heart" button if you persist. Big Grin
(This post was last modified: 09-18-2014 09:15 PM by surferdude2.)
09-18-2014 09:12 PM
Find all posts by this user Post Reply Quote this message in a reply
archangle Offline
Wiki Editor
Advisory Members

Posts: 3,159
Joined: Feb 2012

Machine: ResMed S9 AutoSet
Mask Type: Nasal pillows
Mask Make & Model: ResMed Swift FX
Humidifier: ResMed S9 H5i
CPAP Pressure: 16-20
CPAP Software: ResScan SleepyHead EncoreBasic

Other Comments: Happy PAPper

Sex: Undisclosed
Location: USA

Post: #13
RE: Removing and reinserting SD Card
OK, I just tried it.

I don't have Win8, this is on a Vista machine. S9 AutoSet.

Remove SD card, put it into PC.

Copy some files to the SD card. Eject safely.

S9 says "Invalid card, reformat" (forgot the exact wording) answer "no".

Put card into PC, remove files, eject safely.

S9 says "reading card" like it normally does. Then appears to work correctly.

I tried a few variations, including 50 MB or so of files into the root directory, but in all cases, I was able to erase the rogue files and the S9 accepts the files.

It's possible that there are some changes to the card that can't be reversed. There are a lot of strange things like file allocation tables and directory files. It might be that sometimes it's reversible, sometimes it isn't.

However, at least some "S9 corrupt" changes to the SD card can be reversed.

Get the free SleepyHead software here.
Useful links.
Click here for information on the main alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check it yourself.
09-18-2014 09:17 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
surferdude2 Offline

Advisory Members

Posts: 1,077
Joined: Jul 2014

Machine: ResMed S9 AutoSet
Mask Type: Full face mask
Mask Make & Model: Mirage Quattro & Optilife
Humidifier: ResMed H5i @ #3 if nose breathing & #5 if mouth breathing
CPAP Pressure: 12 ~ 20 & 11 ~12 if nasal mask
CPAP Software: ResScan SleepyHead

Other Comments: Late stage 2 emphysema

Sex: Male
Location: Mousetown, Southern Illinois

Post: #14
RE: Removing and reinserting SD Card
I also just tried the same process. My S9 insisted on erasing the card and all my detailed data is gone but the simple stuff has been written back. No big loss since it's on my HD.

Perhaps my S9 has a different firmware version??? There has to be some explanation why I'm being picked on. Sad
09-18-2014 09:20 PM
Find all posts by this user Post Reply Quote this message in a reply
archangle Offline
Wiki Editor
Advisory Members

Posts: 3,159
Joined: Feb 2012

Machine: ResMed S9 AutoSet
Mask Type: Nasal pillows
Mask Make & Model: ResMed Swift FX
Humidifier: ResMed S9 H5i
CPAP Pressure: 16-20
CPAP Software: ResScan SleepyHead EncoreBasic

Other Comments: Happy PAPper

Sex: Undisclosed
Location: USA

Post: #15
RE: Removing and reinserting SD Card
(09-18-2014 09:20 PM)surferdude2 Wrote:  I also just tried the same process. My S9 insisted on erasing the card and all my detailed data is gone but the simple stuff has been written back. No big loss since it's on my HD.

Perhaps my S9 has a different firmware version??? There has to be some explanation why I'm being picked on. Sad

What did you write to the card? What OS? It occurs to me that I only copied files, not created directories.

Get the free SleepyHead software here.
Useful links.
Click here for information on the main alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check it yourself.
09-18-2014 09:27 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
retired_guy Offline

Preferred Members-2

Posts: 2,744
Joined: Jan 2014

Machine: ResMed S9 Autoset
Mask Type: Nasal pillows
Mask Make & Model: Resmed Airfit P10
Humidifier: ResMed
CPAP Pressure: 10.6/14, EPR 3
CPAP Software: ResScan SleepyHead

Other Comments: Is it bedtime yet?

Sex: Male
Location: Beautiful, albeit very wet Oregon Coast

Post: #16
RE: Removing and reinserting SD Card
Surfie, you may be doing something to inadvertently screw around with the system volume header on the sdcard.

For our purposes with Resmed, Rescan, Sleepyhead, all we need to know is if the person is using Windows 8.1 (no other windows creates the issues) then poke the sdcard into the machine, and before you unpoke it, erase the offending file and remove the offending directory.
09-18-2014 09:36 PM
Find all posts by this user Post Reply Quote this message in a reply
surferdude2 Offline

Advisory Members

Posts: 1,077
Joined: Jul 2014

Machine: ResMed S9 AutoSet
Mask Type: Full face mask
Mask Make & Model: Mirage Quattro & Optilife
Humidifier: ResMed H5i @ #3 if nose breathing & #5 if mouth breathing
CPAP Pressure: 12 ~ 20 & 11 ~12 if nasal mask
CPAP Software: ResScan SleepyHead

Other Comments: Late stage 2 emphysema

Sex: Male
Location: Mousetown, Southern Illinois

Post: #17
RE: Removing and reinserting SD Card
I tried both. I created a small text file and immediately erased it. Then removed the SD card (safely of course, just to be sure) and the S9 refused it.

I allowed the S9 to clean it then pulled it out, stuck it in my Win7 puter card slot and created an empty directory on it. Then I created a small text file inside that directory. Then I deleted all that using proper commands and verified that it was gone. I even verified that there were no hidden files on the card that I had created. It still wouldn't get accepted by the S9. Go figure.

I'm not technologically challenged and this isn't a complex process. I just figured ResMed had employed some sort of protection for the data to accomplish their risk management goals. Medical device failures can cost manufacturers big settlement bucks so why wouldn't they make it difficult to game the system?
09-18-2014 09:37 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
retired_guy Offline

Preferred Members-2

Posts: 2,744
Joined: Jan 2014

Machine: ResMed S9 Autoset
Mask Type: Nasal pillows
Mask Make & Model: Resmed Airfit P10
Humidifier: ResMed
CPAP Pressure: 10.6/14, EPR 3
CPAP Software: ResScan SleepyHead

Other Comments: Is it bedtime yet?

Sex: Male
Location: Beautiful, albeit very wet Oregon Coast

Post: #18
RE: Removing and reinserting SD Card
Yeah, don't know what to say other than the problem does not occur natively except for when using Windows 8.1. It doesn't even happen with 8.0. So if a user is using W7, or Vista, or Unix, or Windows 3.11 they should be fine. With 8.1, they need to delete the files with the script I've provided, or set the lock on the SDCard before putting it in the computer. That's the best method of course and works until the day comes that they forget to do that.

But no matter what it's not an earth shaking situation. If the Resmed thinks it wants to erase the card, ok, let it do that. Within a short period of time the card will be fully repopulated anyhow.

I hit the "erase" thing one night not long ago, because I had used the card in my computer as normal, but before I took it out and put it back into the Resmed we had a power failure. When the machine came back up it wrote the goofy files to the card and I didn't think to fix it before I turned the machine on in bed. By then I was not going to fire my computer back up so I just let the Resmed erase the card.
09-18-2014 09:50 PM
Find all posts by this user Post Reply Quote this message in a reply
surferdude2 Offline

Advisory Members

Posts: 1,077
Joined: Jul 2014

Machine: ResMed S9 AutoSet
Mask Type: Full face mask
Mask Make & Model: Mirage Quattro & Optilife
Humidifier: ResMed H5i @ #3 if nose breathing & #5 if mouth breathing
CPAP Pressure: 12 ~ 20 & 11 ~12 if nasal mask
CPAP Software: ResScan SleepyHead

Other Comments: Late stage 2 emphysema

Sex: Male
Location: Mousetown, Southern Illinois

Post: #19
RE: Removing and reinserting SD Card
Yep, it's no big deal, just another one of the ways these one-eyed monsters can fool with our minds. At least this thread may help some other poor devil with the same issue and realize it can be fixed...or not.
09-18-2014 09:55 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
justMongo Offline

Monitors

Posts: 3,853
Joined: Sep 2013

Machine: ResMed VPAP Auto (S9)
Mask Type: Full face mask
Mask Make & Model: ResMed Mirage Quattro
Humidifier: ResMed H5i
CPAP Pressure: 18 IPAPmax - 11 EPAPmin, PS=5
CPAP Software: Other Software

Other Comments: μολὼν λαβέ

Sex: Male
Location: Калифорния

Post: #20
RE: Removing and reinserting SD Card
Gentlemen... pistols at 10 paces at dawn?
[Image: Hamilton-burr-duel.jpg]

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.
(This post was last modified: 09-19-2014 07:20 AM by justMongo.)
09-18-2014 10:11 PM
Find all posts by this user Post Reply Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Removing mask medwards0050 11 510 09-25-2016 03:03 PM
Last Post: medwards0050
  Impact on removing mask rich2905 6 384 08-28-2016 08:27 AM
Last Post: icyura10
  weird smell after removing mask? upat3am 14 1,169 05-04-2016 04:23 PM
Last Post: Wrz77
  ResMed S9 SD Card "Invalid SD Card, erase card data?" MAPnea 28 27,476 03-18-2016 07:32 PM
Last Post: palerider
  [Equipment] Resmed Airsense Auto S10 removing big brother glennawatson 11 3,436 06-24-2015 09:28 PM
Last Post: Wozzlegummich
  Downloading data to SD card of Resmed for nights that SD card not in ResMed machine Robert6 8 4,930 06-19-2015 09:28 AM
Last Post: estgad
  removing nasal mask & head gear while sleeping 2tired2sleep 3 886 03-23-2015 12:26 PM
Last Post: herbm

Forum Jump:

Who's Online (Complete List)