Hello Guest, 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.

or Create an Account


New Posts   Today's Posts

CMS50I Firmware, Driver (LInux) questions
#1
CMS50I Firmware, Driver (LInux) questions
I just got a CMS50I oximeter. Two questions:
  1. is there any way for me to update the firmware? If yes, how?
  2. so the driver situation, based on what I've gathered, is messy (there's one in the kernel, but also a slightly modded one, which is probably what I need, but is not in the kernel). If I try to connect the device, OSCAR won't find it. Suggestions? I don't anticipate needing these data very often. Should I just import the occasional file?
Post Reply Post Reply
#2
RE: CMS50I Firmware, Driver (LInux) questions
Somebody said that Linux need no drivers. You can try Myoxi to get data from oximeter.

wget https://github.com/aebruno/myoxi/release...-amd64.zip

sudo ./myoxi --port /dev/ttyUSB0 import

I added me to dialout group and no need sudo. I use CMS50F.
Post Reply Post Reply
#3
RE: CMS50I Firmware, Driver (LInux) questions
(11-13-2019, 05:40 PM)unidee Wrote: Somebody said that Linux need no drivers. You can try Myoxi to get data from oximeter.

wget https://github.com/aebruno/myoxi/release...-amd64.zip

sudo ./myoxi --port /dev/ttyUSB0 import

I added me to dialout group and no need sudo. I use CMS50F.

Thanks; I'd not seen that.

But I get this error. Perhaps because it currently only supports the CMS50F?

Code:
INFO[0000] Successfully opened myoxi database          
INFO[0000] Using device port: /dev/ttyUSB0              
INFO[0000] Successfully connected to device at /dev/ttyUSB0
INFO[0000] Found 2 sessions                            
INFO[0000] Importing data for session 1 - 2019-11-13 09:47:45 -0500 EST (12s)
Failed to connect to device: Unknown result for CommandGetSessionData: 09 84 db ba b6 83 09 84

On the driver issue, I ask because OSCAR can't find it.
Post Reply Post Reply
#4
RE: CMS50I Firmware, Driver (LInux) questions
There's the following comment in the OSCAR code (which myoxi borrows from), that may be why the error?

Code:
// CMS50I .spo2 data have 4 bytes: a 16bit, followed by spo2 then pulse
Post Reply Post Reply
#5
RE: CMS50I Firmware, Driver (LInux) questions
We have been recommending this USB/UART free software. You will need to scroll down to the Linux versions.

Silicon Labs UART to serial drivers:
https://www.silabs.com/products/developm...cp-drivers

I hope this will help.
Crimson Nape
Apnea Board Moderator
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Apnea Helpful Tips

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.
Post Reply Post Reply
#6
RE: CMS50I Firmware, Driver (LInux) questions
(11-13-2019, 08:39 PM)Crimson Nape Wrote: We have been recommending this USB/UART free software.  You will need to scroll down to the Linux versions.

Silicon Labs UART to serial drivers:
https://www.silabs.com/products/developm...cp-drivers

I hope this will help.

Thanks.

Yes, that's what I meant by "messy." It requires hassling with conflicting kernel modules on Linux.

I wish someone (like Silicon Labs) would just submit a patch to the kernel to remove this roadblock.
Post Reply Post Reply
#7
RE: CMS50I Firmware, Driver (LInux) questions
Below the Linux drivers is this little note:

*Note: The Linux 3.x.x and 4.x.x version of the driver is maintained in the current Linux 3.x.x and 4.x.x tree at http://www.kernel.org.
Crimson Nape
Apnea Board Moderator
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Apnea Helpful Tips

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.
Post Reply Post Reply
#8
RE: CMS50I Firmware, Driver (LInux) questions
(11-13-2019, 08:46 PM)slowriter Wrote:
(11-13-2019, 08:39 PM)Crimson Nape Wrote: We have been recommending this USB/UART free software.  You will need to scroll down to the Linux versions.

Silicon Labs UART to serial drivers:
https://www.silabs.com/products/developm...cp-drivers

I hope this will help.

Thanks.

Yes, that's what I meant by "messy." It requires hassling with conflicting kernel modules on Linux.

I wish someone (like Silicon Labs) would just submit a patch to the kernel to remove this roadblock.

Seems they tried.

https://www.silabs.com/community/interfa...pport-mzM7
Post Reply Post Reply
#9
RE: CMS50I Firmware, Driver (LInux) questions
(11-13-2019, 08:53 PM)Crimson Nape Wrote: Below the Linux drivers is this little note:

*Note: The Linux 3.x.x and 4.x.x version of the driver is maintained in the current Linux 3.x.x and 4.x.x tree at http://www.kernel.org.

Yeah, I saw that, but was confused by it.

Maybe it's as straightforward as it sounds, and there's some other explanation for why OSCAR can't find the device.

I'll take another look tomorrow and see if I can figure it out.

Thanks again.
Post Reply Post Reply
#10
RE: CMS50I Firmware, Driver (LInux) questions
Did you turn it on?...
For some reason, the USB powers the serial-to-USB chip, and my even turn on the display (I can't remeber), but nothing will happen unless you turn on the oximeter.
I recommend turning on the oximeter and entering the menu, then plugging in the USB, then starting the upload wizard.
At first glance, the result you posted looks correct. What is your firmware version?
I'll be working on at least the 50F version (B400) from Torontek fairly soon.
Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Is there a solution to read out the newer versions of the Contect CMS50F under Linux? Mast04 10 810 03-25-2024, 08:46 PM
Last Post: Pierelly
  OSCAR v1.5.2 - Linux Versions Crimson Nape 3 129 03-17-2024, 02:35 PM
Last Post: Crimson Nape
  CMS50I can't upload multiple readings chris mdp 0 212 02-15-2024, 02:20 AM
Last Post: chris mdp
  What version of Linux for my Chromebook? bluetangle127 1 433 10-26-2023, 10:54 AM
Last Post: Crimson Nape
Information Resvent iMatrix Software & Firmware Update for iBreeze machines SuperSleeper 1 1,310 10-13-2023, 08:16 AM
Last Post: SuperSleeper
  F12/Take Screenshot Not Saving Screenshot under Linux? DigitalMan43 4 669 09-30-2023, 05:04 PM
Last Post: DigitalMan43
  Dreamstation 2 Auto CPAP Advanced firmware arnold1205 5 2,786 09-15-2023, 10:49 PM
Last Post: Lucky7


New Posts   Today's Posts


About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.