Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Question about connecting NanoVNA to virtual machine in Virtual Box on Mac OS X host
Hello,
I'm relatively new to the group and this is my first post. I would like to run some VNA software - specifically, NanoVNA-saver - in a Linux (Skywave 3.1.1) virtual machine from a Mac OS X host, using Virtual Box. Usually one connects USB devices from the host to the virtual machine from a Devices pull-down menu. When I attempt to do this with the NanoVNA, I get the message "Failed to attach the USB device STMicroelectronics Chibi OS/RT Virtual COM Port [0200] to the virtual machine Skywave 3_1_1." When looking at the details for the error. I see 'USB device STMicroelectronics Chibi OS/RT Virtual COM Port' with UUID {a5a2dd91-efd1-42ce-a9c0-7ab458ad2ec9} is in use by someone else." Usually a message like this means that the USB device is in use by another program on the Mac host, but in this case there I have no application launched on my Mac host using the NanoVNA . I get a similar error message when I try to connect the NanoVNA to a virtual XP machine in Virtual Box. Has anyone been here before who can lend some help and guidance? For example, is there a terminal command I can execute in the host to get my Mac to "let go" of the device? Thanks, -Larry/NE1S |
Did you check the forum WIKI and FILES sections for notes on how to connect the nano to a Linux system?
toggle quoted message
Show quoted text
On Monday, February 24, 2020, 9:46:44 a.m. GMT-5, Larry Szendrei <ne1s@...> wrote:
Hello, I'm relatively new to the group and this is my first post. I would like to run some VNA software - specifically, NanoVNA-saver - in a Linux (Skywave 3.1.1) virtual machine from a Mac OS X host, using Virtual Box. Usually one connects USB devices from the host to the virtual machine from a Devices pull-down menu. When I attempt to do this with the NanoVNA, I get the message "Failed to attach the USB device STMicroelectronics Chibi OS/RT Virtual COM Port [0200] to the virtual machine Skywave 3_1_1."? When looking at the details for the error. I see 'USB device STMicroelectronics Chibi OS/RT Virtual COM Port' with UUID {a5a2dd91-efd1-42ce-a9c0-7ab458ad2ec9} is in use by someone else." Usually a message like this means that the USB device is in use by another program on the Mac host, but in this case there I have no application launched on my Mac host using the NanoVNA . I get a similar error message when I try to connect the NanoVNA to a virtual XP machine in Virtual Box. Has anyone been here before who can lend some help and guidance? For example, is there a terminal command I can execute in the host to get my Mac to "let go" of the device? Thanks, -Larry/NE1S |
Thanks for the reply, Larry. In this case I'm not even getting that far. (I've already got NanoVNA working fine and communication with the NanaVNA on a different machine running Linux Mint 19 32 bit, native. Once I got all the dependencies installed, which I needed to do independently and not from the python setup program, it "just worked.") Rather, my question relates to getting the NanoVNA to work with VirtualBox on a Mac OS X host, and seems independent of the virtual machine OS. The only Wiki that seems relevant to me at this stage of the problem I've described is from Wiki section 3.7.2, RunningNanoVNASharp or TAPR VNAR4 Windows software in Linux virtualbox. This lead me tho post #4733 here: /g/nanovna-users/message/4733?p=,,,20,0,0,0::relevance,,virtualbox,20,2,0,33126091, which describes running a Windows virtual machine on a Linux host - not exactly the same as my situation but I'm getting stuck at the 2nd step listed there: "- enable USB on the VM for the STMicroelectronics Virtual COM Port." My Mac OS X host won't "let go" of the device, and hence I can't connect it to the virtual machine.
-Larry/NE1S |
I'm correcting a few errors in my previous post - sorry 'bout that!:
Thanks for the reply, Larry. In this case I'm not even getting that far. (I've already got NanoVNA-saver working fine and communicating with the NanaVNA on a different machine running Linux Mint 19 32 bit, native. Once I got all the dependencies installed, which I needed to do independently and not from the python setup program, it "just worked," except for the "Save" function for the graphics - but that's another topic.) Rather, my question relates to getting the NanoVNA to work with VirtualBox on a Mac OS X host, and seems independent of the virtual machine OS. The only Wiki that seems relevant to me at this stage of my problem is from Wiki section 3.7.2, RunningNanoVNASharp or TAPR VNAR4 Windows software in Linux virtualbox. This led me to post #4733 here: /g/nanovna-users/message/4733?p=,,,20,0,0,0::relevance,,virtualbox,20,2,0,33126091, which describes running a Windows virtual machine on a Linux host - not exactly the same as my situation but I'm getting stuck at the 2nd step listed there: "- enable USB on the VM for the STMicroelectronics Virtual COM Port." My Mac OS X host acts like it's using the USB device, and hence I can't connect it to the virtual machine. |
Thanks, Eugen. Actually I tried that last year. Although I got no error messages during the installation process, when I attempt to launch nanovna-saver I receive the following:
Larrys-Little-Box:nanovna-saver Larry$ python3 nanovna-saver.py Traceback (most recent call last): File "nanovna-saver.py", line 17, in <module> from NanoVNASaver.__main__ import main File "/Users/Larry/nanovna-saver/NanoVNASaver/__main__.py", line 21, in <module> from PyQt5 import QtWidgets, QtCore ImportError: dlopen(/usr/local/lib/python3.7/site-packages/PyQt5/QtWidgets.so, 2): Symbol not found: __os_activity_create Referenced from: /usr/local/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (which was built for Mac OS X 10.12) Expected in: /usr/lib/libSystem.B.dylib in /usr/local/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore Larrys-Little-Box:nanovna-saver Larry$ From the error, I suspect it's because I'm still on Mac OS X 10.10. Upgrading to OS X 10.14 is on my to-do list. I've been postponing it because my favorite SDR software, SDRDX, does funky things on OS X 10.12 and up. Almost ready to take the plunge, though. -Larry/NE1S |
Well, I upgraded my Mac OS X to 10.14.6 yesterday, and without doing anything else, nanovna-saver v 0.2.0 (which I had installed last fall, but would not launch due to a PyQt5 compatibility issue with OS X 10.10) launched fine! I did not get a chance to hook up the VNA yet to test it further, but I'm hopeful it will go smoothly from here, and work as well as it does on the Linux box. (The Mac OS X is on a MacBook and the Linux machine is an older large iMac desktop, so the portability the MacBook offers makes it a more practical solution.)
Still interested in the answer to my original question in this thread, though, if anyone can offer one. -Larry/NE1S |
to navigate to use esc to dismiss