This repository was archived by the owner on Jun 6, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
This repository was archived by the owner on Jun 6, 2018. It is now read-only.
Dutch Omrom M10-IT can't be red #23
Copy link
Copy link
Open
Description
I've got an issue reading my omron in VirtualBox (debian) under OSX.
Usb device is connected and shows up in LSusb so I assume my virtual machine is setup correctly.
My build process:
sudo apt-get install swig python-dev cmake build-essential cmake-data libusb-dev swig libusb-1.0-0 libusb-1.0-0-dev
mkdir ~/git
cd ~/git
git clone http://github.com/brettviren/libomron
cd ~/git/libomron
git submodule update --init
mkdir -p ~/opt/omron-build
cd ~/opt/omron-build/
cmake ~/git/libomron
#change CMakeCache.txt:57 to CMAKE_C_FLAGS:STRING=-I/usr/include/libusb-1.0
make
make DESTDIR=~/opt/omron install
lsusb | grep Omron
#Bus 001 Device 003: ID 0590:0028 Omron Corp. HJ-720IT Pedometer / Blood Pressure Monitor HEM-7080IT-E
cd ~/opt/omron-build/bin$
sudo omron_790IT_test
Continuing as root the result is:
# export OMRON_DEV=/dev/bus/usb/001/003
root@:~# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 003: ID 0590:0028 Omron Corp. HJ-720IT Pedometer / Blood Pressure Monitor HEM-7080IT-E
root@:~# ls
root@:~# cd /home/USERUSER/
git/ opt/ .python/ src/ .vim/
root@whm:~# cd /home/USERUSER/opt/omron
omron/ omron-build/
root@whm:~# cd /home/USERUSER/opt/omron-build/bin/
root@whm:/home/USERUSER/opt/omron-build/bin# ls
omron_720IT_test omron_790IT_test
root@whm:/home/USERUSER/opt/omron-build/bin# ./omron_790IT_test
Found 1 omron 790ITs
Opened omron 790IT
xomron_get_command_return: read_result_result -7 < zero
Device serial: ??sq?
omron_get_command_return: read_result_result -7 < zero
Device version:
omron_get_command_return: read_result_result -7 < zero
AJR data count: 117
omron_get_command_return: read_result_result -7 < zero
omron_get_command_return: read_result_result -7 < zero
what can I do do deliver more diagnostics?
Metadata
Metadata
Assignees
Labels
No labels