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.
Login or Create an Account

In the medical community, serious work is done on Windoze - most all software is in our business is Windoze based (which is causing endless problems as hospitals try to switch docs over to tablets for data input, and most choose, wrongly, iPads.Apple is even coming out with a larger iPad aimed squarely at this market).

Not everywhere in the world has that problem, and we use M$ here just as in the US, and it works more than well enough.

And most of the sloppy record keeping the US is due to NOT using computers, or not well. Docs still write everything out by hand, in near illegible script. Now no longer allowed in our hospital, and the info is instantly available to every department that needs access to that patient.

OP, here. I built SH 0.9.8-1 on my machine. It runs quite well - thanks to the amazing work of JediMark and the great tutorials in this site. My question really was more of: can I use any of the Contec devices and import data into SH all in linux. I use MS at work, (because it is required) but linux at home. I have an old laptop at home that runs xp - but I'd rather not use it for computer security reasons.

It looks like PBriggs has a search string I can check out. Thanks.

I originally wanted to know if spending $ on an oximeter would be a waste of money. It looks like it may be worth acquiring, based on your responses.

If you built SleepyHead yourself, you have the source code Dig down a few directory levels through sleepyhead and SleepLib to loader_plugins, and you will find several files named cms... for the various models. I don't have an oximeter yet so I'm not sure of the procedures to use for Linux, but I think I saw some forum threads on the topic.

I'm a System Administrator for a mixed *nix (Linux, Solaris, HP-UX) and Windows environment. We do a lot of serious work on Windows, we're a multi-million dollar CRO that runs statistical simulations for Pharmaceutical clients. Contracts worth millions for pharmaceutical drugs worth billions.

(11-28-2015, 10:34 AM)happydreams Wrote: I now have a CMS50F. V3.8. Can't seem to import data into SH.

I got a Veridian 11-50DP (on sale at Costco online) which except for the case color, looks like a clone of the CMS-50D.
Supplier # 19's website says the Windows software is called SPO2 Review. The Veridian software is called SPO2 Review or SPO2 Assistant Review. The software copies the recorded data over USB to a csv file with two comma separated values: SPO2 and Pulse. The csv file is good for importing into other tools (e.g. Excel), while SH needs the spoR file. The SPO2 Review software interface is so odd, that I returned an almost identical model to Amazon a couple of years ago assuming that downloading had quit working. The software apparently only downloads if the device is showing the recording sub-menu.
I think there is a good chance that all of these oximeters use the same protocol / data format, so fixing SleepyHead for one oximeter will fix it for all. Though my Veridian reports Ver4.6 at power on.
Windows users shouldn't get too complacent, since the Veridian customer service person said the software doesn't support Windows 8 or 64 bit processors (my Windows 8, 32/64 bit hybrid tablet works OK, though. YMMV). The Windows software may be turning into a zombie, something nearly impossible for open source software that enough people are willing to support (this forum seems like enough people).

(11-28-2015, 10:34 AM)happydreams Wrote: $ uname -r
4.2.0-18-generic

3.2.0-4-amd64
Also available: 4.0.0-2-amd64 and 4.2.0-1-amd64.

(11-28-2015, 10:34 AM)happydreams Wrote: This should have the driver mentioned already built in. The previous link shows only a 3.x driver and mentions it is now being maintained at kernel.org.

$ /sbin/modinfo cp210x -F version
v0.09
But there isn't any version tag for the kernel on disk:
$ /sbin/modinfo cp210x -k 4.2.0-1-amd64

I also got the "Could not detect any connected oximeter devices." message.
I'd expect different code would be needed in Linux to access file /dev/ttyUSB0 rather than a COMM port in Windows.
However I was able to import files generated by running 'SPO2 Assistant Review' under Windows. Getting the oximeter session start time from the cpap session start time didn't work; it used a date in the 'next' (after noon) day in the future. If I manually enterred the cpap session start time the SPO2 and pulse graphs were aligned closely.

(11-28-2015, 10:34 AM)happydreams Wrote: Any simple things I may have overlooked?

$ /sbin/modinfo cp210x -F version
or
Import spoR data from Windows into SleepyHead

(11-28-2015, 10:34 AM)happydreams Wrote: Or things to look for?

$ screen /dev/ttyUSB0
You may have to change permissions on /dev/ttyUSB0 (e.g. add self to the dialout group) and guess the baud rate (9600 or max?)
Be sure to read 'man screen' for the arcane exit command key sequence.
If it works you'll next want the API for the oximeters or we can start digging through the source code.

(11-28-2015, 10:34 AM)happydreams Wrote: I chose the 3.7+ version to import.

Useful Links

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.