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

o2 insight pro on linux
#1
o2 insight pro on linux
Hey there!
I use ubuntu, and I installed o2 insight pro via WINE.
Can't detect the o2 ring, though. Doesn't seem to be recognised as a USB device.
lsusb shows "QinHeng Electronics HID To Serial" which I'm sure is the proprietory usb connector that came with the device, but I don't know what to do with that to make ubuntu use it.
What should I do (aside from 'just use windows')?

thanks
Post Reply Post Reply
#2
RE: o2 insight pro on linux
Hi Jim Vader!  -  Welcome

Unfortunately, O2 Insight Pro will not run in Wine.  This app also can not be run in a VM Windows either. The problem is there hasn't been any USB/HID linkage written for virtual devices. Most Linux users use their cell phone.  Wellue/Viatom offer a free app named, ViHealth, for both Android and Apple devices.  This app may be obtained from your device's respective app repository.

- Red
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
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
#3
RE: o2 insight pro on linux
I see, thank you sir.
Post Reply Post Reply
#4
RE: o2 insight pro on linux
On my android phone I have the vihealth directory with PlusbitO2.db, PlusbitO2.db-shm, PlusbitO2.db-wal

Can I copy those over into my WINE O2insightpro installation?

I can't see on the :C drive where they would go.

thanks
Post Reply Post Reply
#5
RE: o2 insight pro on linux
No, you would need to extract the individual files out of the database, using an SQL script to do this.  The database's structure has changed over the different ViHealth versions.  However, ViHealth will extract these files when you view the session's data on your device.  

I just checked, and O2 Insight Pro does not use the PulsebitO2.db.  

Since you're using an O2 Ring, the files that you are looking for will be named with the device type and the date and starting time.  This will look like, "O2Ring_230122133526".  These files reside on a Windows system in the following location:
C:\Users\YourUserName\AppData\Local\O2 Insight Pro\DATA

As a "heads-up";  Unfortunately, the data storage directory is prone to being changed or moved with each new version of ViHealth, so expect a surprise if this folder is no longer where you last saw it.

I hope this may help.

- Red
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
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: o2 insight pro on linux
Update:
I found the data in Windows! Along with the binary files, it has the PulsebitO2.db, too.  To find the data location, start O2 Insight Pro and look under the "Options" for the data location.  This is where you would place all the raw data and the database.

- Red
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
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
#7
RE: o2 insight pro on linux
On the latest version of the vihealth app the data files are located in http://ftp.xxx.xxx.x.xx:9999/Android/dat...s/##/host/   where ## = a random number..in my case 59.  If on the device it would be /sdcard/Android/data/com.viatom.vihealth/files/##/host/       The ftp address comes from enabling the built in ftp server in solid explorer.   The .data files can be directly copied or rsync'd to your linux machine and then imported into OSCAR under the wellup o2 import option.


Attached Files Thumbnail(s)
   
Post Reply Post Reply
#8
RE: o2 insight pro on linux
Thank you !
I found the data locations on the linux WINE install, copied .db files from phone to there, but nothing is going in - no graphs.
Post Reply Post Reply
#9
RE: o2 insight pro on linux
Depending on which version you are using the data is in one of 3 places....on the latest version it's not in the .db file.  It's in .dat files stored /sdcard/Android/data/com.viatom.vihealth/files/<some number>/host/   That's for android.  No idea where the pc keeps it.
Post Reply Post Reply
#10
RE: o2 insight pro on linux
O2 Insight Pro seems to extract the binary data during the device import session. If you aren't importing the binary files from your mobile device, you will need to manually run an SQL script to extract them from the database. If you aren't familiar with SQL, the best bet is to find them on your mobile device. The newer data seems to be stored in a directory named with a number. So far I haven't seen the same number reported by users here, so I can't provide one.

I almost forgot, ViHealth only extracts the data and creates these files for the sessions you view on your device.

- Red
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
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


Possibly Related Threads...
Thread Author Replies Views Last Post
  O2 Insight Files to Oscar channeal 5 270 10-30-2024, 09:31 AM
Last Post: channeal
  Getting O2 Insight Pro files to OSCAR? SnoozeBest 23 1,378 10-02-2024, 10:30 AM
Last Post: rayfes
  Linux Mint 22 grioghair 18 1,033 08-27-2024, 12:44 AM
Last Post: untoutseul05
  Is there a solution to read out the newer versions of the Contect CMS50F under Linux? Mast04 13 2,038 07-22-2024, 01:02 AM
Last Post: Pierelly
  Oscar 1.5.3 for Linux freezes after clicking on 'CPAP Importer'. Mast04 13 1,114 05-04-2024, 02:11 AM
Last Post: Mast04
  OSCAR v1.5.2 - Linux Versions Crimson Nape 3 583 03-17-2024, 02:35 PM
Last Post: Crimson Nape
  What version of Linux for my Chromebook? bluetangle127 1 702 10-26-2023, 10:54 AM
Last Post: Crimson Nape


New Posts   Today's Posts


About Apnea Board

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