[USRP-users] Very Close - Trying to Connect B210 Using VMware

Jacqueline.Walker Jacqueline.Walker at ul.ie
Mon Jul 17 12:09:41 EDT 2017


Crikey, I got the last bit the wrong way round in my excitement.
Basically, the idea is to disconnect from the guest to the host and then back again. That is what seems to have made the difference!!

From: USRP-users [mailto:usrp-users-bounces at lists.ettus.com] On Behalf Of Jacqueline.Walker via USRP-users
Sent: 17 July 2017 17:04
To: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC]
Cc: usrp-users at lists.ettus.com
Subject: Re: [USRP-users] Very Close - Trying to Connect B210 Using VMware

Hi Konstantin,

No, don't give up! (BTW that is the same error message I got from uhd_usrp_probe).
I just got it to work after the Windows drivers installation. I didn't just put the .dll's in the system directory though. I followed these steps here:  http://files.ettus.com/manual/page_install.html#install_win
(in the USRP Hardware Driver and Manual, under Binary Installation, under Installation on Windows, under "post-install" tasks). I knew this was a problem because the Windows host couldn't recognise the device.
So I installed the drivers - it 'sees' the device initially as under 'Other devices' as a 'westbridge' thingy - NOT as a USB device at all ! -  this could be different for  you as I am using Windows 7 host. Anyway I installed as per those instructions, then started the VMware player, and I still got the same problems with the linux machine.
But then I disconnected it from the Guest and connected it manually to the Host, then disconnected it from the Guest and reconnected it manually back to the HOST VM and after that it worked!
You could try this. Or you could try switching to VMware player (it's free).

Regards
Jacqueline


From: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] [mailto:konstantin.j.matheou at nasa.gov]
Sent: 17 July 2017 16:55
To: Jacqueline.Walker
Cc: usrp-users at lists.ettus.com<mailto:usrp-users at lists.ettus.com>
Subject: RE: [USRP-users] Very Close - Trying to Connect B210 Using VMware

The error message for the uhd_usrp_probe is:

Error: lookupError: KeyError: No Devices Found for: -------->  Empty Device Address.

I am getting to the point of giving up and just asking for a Linux OS Laptop and start this process over.  I have wasted too much time and others trying to get this connected.

It would be nice if someone from Ettus can assist me with this, or at least tell me do not do it this way.

Thanks for your help Jacqueline.

Konstantin

From: Jacqueline.Walker [mailto:Jacqueline.Walker at ul.ie]
Sent: Monday, July 17, 2017 11:00 AM
To: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] <konstantin.j.matheou at nasa.gov<mailto:konstantin.j.matheou at nasa.gov>>
Cc: usrp-users at lists.ettus.com<mailto:usrp-users at lists.ettus.com>
Subject: RE: [USRP-users] Very Close - Trying to Connect B210 Using VMware

Hi Konstantin,

That is basically what I get in USB 3.0. I turned on 'automatic device connection' in USB 3.0 in VMware. Then lsusb shows the 2500:0020 but a blank to the RHS - no name in other words. It also even shows 'B200 USRP' on the toolbar at the top, but any commands just come back with error messages such as:

In response to uhd_usrp_probe:

Error: lookup error: key error: no devices found for ---->
Empty Device Addresss

In response to uhd_find_devices:

It tries to load the firmware image but then decides
No UHD Devices found.

What is your error message? I can't read it the picture's too small :)

Regards
Jacqueline

From: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] [mailto:konstantin.j.matheou at nasa.gov]
Sent: 17 July 2017 15:26
To: Jacqueline.Walker; usrp-users at lists.ettus.com<mailto:usrp-users at lists.ettus.com>
Subject: RE: [USRP-users] Very Close - Trying to Connect B210 Using VMware

Jacqueline,  whever I switch over to USB 2.0 in the VirtualBox software, the B210 never gets acknowledge.  So, your approach does not assist me.

Now, I tried something different and received a different error.

When I initially open my VM in Ubuntu 16.04 and have USB 3.0 selected and the B210 filtered in the image setup of VirtualBox, using the Devices dropdown box in Ubuntu, I choose the Cypress device which seems to be the USB chip that hooks up the B210 to USB 3.0.

Once I do that I do the lsusb and see that the USB port is occupied by 2500: 0020 device.  Does not state any B210 name...

Then I tried to run the command ./b2xx_fx2_utils in the usr/lib/uhd/utils directory.  After I did that I received the following error message.  Can anyone decipher from the error message what I need to do?

Thanks...

[cid:image001.jpg at 01D2FF1F.7AA49080]

From: Jacqueline.Walker [mailto:Jacqueline.Walker at ul.ie]
Sent: Monday, July 17, 2017 5:44 AM
To: usrp-users at lists.ettus.com<mailto:usrp-users at lists.ettus.com>
Cc: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] <konstantin.j.matheou at nasa.gov<mailto:konstantin.j.matheou at nasa.gov>>
Subject: FW: [USRP-users] Very Close - Trying to Connect B210 Using VMware

Sorry that these pictures are big, but if I shrink them they are not legible!

From: Jacqueline.Walker
Sent: 17 July 2017 10:41
To: 'usrp-users at lists.ettus.com'
Subject: FW: [USRP-users] Very Close - Trying to Connect B210 Using VMware



From: Jacqueline.Walker
Sent: 17 July 2017 10:23
To: 'Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC]'; Leandro Echevarría; usrp-users at lists.ettus.com<mailto:usrp-users at lists.ettus.com>
Subject: RE: [USRP-users] Very Close - Trying to Connect B210 Using VMware

Hi Konstanin and others,

Screenshots show the sort of error messages I get. This is using USB2.0 - the device is listed but not identified?  by lsusb. I get strange error messages about not having my device permissions set but then uhd_usrp_probe eventually finds the device. I tried turning everything on with USB 3.0 in the VMware device settings - there's nothing more I can 'turn on'. As I said the VM can mount  simple hard drive that is USB 3.0. Should I 'mount' the B200? Anyone?

Regards,
Jacqueline

From: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] [mailto:konstantin.j.matheou at nasa.gov]
Sent: 17 July 2017 00:28
To: Jacqueline.Walker; Leandro Echevarría; usrp-users at lists.ettus.com<mailto:usrp-users at lists.ettus.com>
Subject: RE: [USRP-users] Very Close - Trying to Connect B210 Using VMware

Thanks for the suggestions, but still does not work...

I have been using only USB 3.0.  I did try USB 2.0 too.. same issue.

Basically, this is what I have been seeing.. There ais a Cypress driver within the B210 that gets picked up first.  Then when I type the uhd_find_devixes the firmware gets loaded, but then again gets knocked off the USB port and shows no devices connected.

I also seen that the VID and PID for the B210 needs to be 2500 and 0021 (not 0200)... Thried that too...

Still luck... Any suggested still welcome.

Thanks

From: Jacqueline.Walker [mailto:Jacqueline.Walker at ul.ie]
Sent: Sunday, July 16, 2017 4:54 AM
To: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] <konstantin.j.matheou at nasa.gov<mailto:konstantin.j.matheou at nasa.gov>>; Leandro Echevarría <leoechevarria at gmail.com<mailto:leoechevarria at gmail.com>>; usrp-users at lists.ettus.com<mailto:usrp-users at lists.ettus.com>
Subject: Re: [USRP-users] Very Close - Trying to Connect B210 Using VMware

Maybe do the uhd_usurp_probe command first? I find when I do this (but this is using USB 2.0 ) it says it finds device empty the first time, but then I call it again and the second time it works and loads the firmware. Then a box will pop up telling me "this device can run faster over 3.0".
Well I know that !! But likewise there's still something not set right in the communication between VMware player and linux VM for that to happen.
Is there an equivalent setting command for the B200?

Jacqueline

Sent from my HTC

----- Reply message -----
From: "Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] via USRP-users" <usrp-users at lists.ettus.com<mailto:usrp-users at lists.ettus.com>>
To: "Leandro Echevarría" <leoechevarria at gmail.com<mailto:leoechevarria at gmail.com>>, "usrp-users at lists.ettus.com<mailto:usrp-users at lists.ettus.com>" <usrp-users at lists.ettus.com<mailto:usrp-users at lists.ettus.com>>
Subject: [USRP-users] Very Close - Trying to Connect B210 Using VMware
Date: Sun, Jul 16, 2017 2:52 A.M.

Leo, Thanks for the try...

I understand your point, but I go to the dropdown menu and choose the Ettus 210 again, and I hear the USB beep "meanin its connected", but when I do the uhd_find_devices command again (after firmware was installed), I still get the No connection...

Now, I did take another route...  I used the uhd_usrp_probe command to try to connect to the B210/200  and it loaded the firmware image file called usrp_b200_fw.hex file, but then I received and error called lookupError and KeyError
No Devicess Found --> Empty Device Address.

I went back to check the previous advice I received from Nate and the VendorID = 2500 and ProductID = 0020.

I know it has something to do with the communication setup with Vitrtualbox...   Or maybe it is a config setup in the usrp_b200_fw.hex file...

I will be sniffing up these 2 routes....

Again, any advice is appreciated

From: Leandro Echevarría [mailto:leoechevarria at gmail.com]
Sent: Saturday, July 15, 2017 8:56 PM
To: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] <konstantin.j.matheou at nasa.gov<mailto:konstantin.j.matheou at nasa.gov>>; Jacqueline.Walker <Jacqueline.Walker at ul.ie<mailto:Jacqueline.Walker at ul.ie>>
Cc: usrp-users at lists.ettus.com<mailto:usrp-users at lists.ettus.com>
Subject: Re: [USRP-users] Very Close - Trying to Connect B210 Using VMware

Hi Matheou,

When using Virtualbox and a X310 connected through USB, every time the Ettus rebooted after an image updating I had to go the Virtualbox menu and select the device again from the list of connected USB devices to make the virtual machine recognize it. Perhaps you're skipping this step?

Regards,

Leo.

On Sat, Jul 15, 2017 at 5:08 PM Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] via USRP-users <usrp-users at lists.ettus.com<mailto:usrp-users at lists.ettus.com>> wrote:
I have followed Nate's advice, at least I think, and things are still not working...

Again, the firmware is loading (thus assuming USB connection is recognizing unit and transmitting info), but once the software process of loading the firmaware is done, I hear the unhooking Windows sound of a USB device and then I get the no Devices Loaded message in the screen.

I hope to figure this out this weekend.  If not, I will try to get a laptop that has Linux loaded already on the laptop/PC.

Thanks

-----Original Message-----
From: USRP-users [mailto:usrp-users-bounces at lists.ettus.com<mailto:usrp-users-bounces at lists.ettus.com>] On Behalf Of Jacqueline.Walker via USRP-users
Sent: Saturday, July 15, 2017 11:54 AM
To: usrp-users at lists.ettus.com<mailto:usrp-users at lists.ettus.com>
Subject: Re: [USRP-users] Very Close - Trying to Connect B210 Using VMware

Hi,

I have a similar problem with a B200 on a Linux VM (archlinux) but I am using VMware (Workstation Player 12). I do have USB 3.0 enabled and the VM can see a USB 3.0 hard drive but it can't see the B200. Is there a similar solution for  VMware ?

thanks
Jacqueline
________________________________________
From: USRP-users [usrp-users-bounces at lists.ettus.com<mailto:usrp-users-bounces at lists.ettus.com>] on behalf of Nate Temple via USRP-users [usrp-users at lists.ettus.com<mailto:usrp-users at lists.ettus.com>]
Sent: 14 July 2017 18:33:28
To: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC]
Cc: usrp-users at lists.ettus.com<mailto:usrp-users at lists.ettus.com>
Subject: Re: [USRP-users] Very Close - Trying to Connect B210 Using VMware

Hi Konstanitn,

I assume you mean you are using VirtualBox, not VMWare.

You will need to add a USB Filtering rule for the USRP within the settings for the virtual machine (within VirtualBox settings).

You will need to add a rule for VID: 2500 PID: 0020 for the B210.

Also, you need replace the value "<install-path>" with the path to which UHD is installed, commonly this is /usr/local/. uhd_images_downloader will be located /usr/local/lib/uhd/utils/uhd_image_downloader.py

Regards,
Nate Temple


> On Jul 14, 2017, at 9:28 AM, Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] via USRP-users <usrp-users at lists.ettus.com<mailto:usrp-users at lists.ettus.com>> wrote:
>
>
> Hello to everyone.  I am a novice to the B210.  My main first task is to hookup the B210 to the laptop via  Oracle VMware (Virtual machine).
>
> I realize this may not be the most admired approach, but I think i am very close in getting the B210 connected.  btw, after many hours of hurdles that i found out already.
>
> I hope you can review the screen shot first.
> Comments/Facts
>
> 1) the B210 is USB 3.0
> 2) I already installed Windows host.guest USB 3.0 driver and Oracle VMware extensions pack to allow the USB 3.0 to pass from the Windows 7 OS to the virtual Ubuntu 16.04 OS.  I hear the beep noise when I open the Vmware software.  Thus, giving a good sign that the Linux OS as detected the USB 3.0 port of the B210.
> 3)  When running the 'uhd_find_devices' at the terminal prompt, a message come up stating that I needed to update the B210 image by running the folling python code -/usr/lib/uhd/utils/uhd_images_downloader.py - This seemed to update a driver.
> 4) I then unplugged the B210 and reset the Linux software.
> 5) But then when I ran the 'uhd_find_devices' command in the terminal, i received No UHD Devices Found.
>
> At this time, I am out of ideas, thus if anyone can help out in assisting me in getting tthings connected with the current approach.
>
> Thanks
>
> Konstanitn
>
>
>
> Have a little more info that might help.  Look at the screenshot.  i have a B210, but it shows it is trying to load a b200 hex file to firmware.  This happens when I unplug and plug the USB port in.  May this be the issue?
>
> Thanks
>
>
>
> <image.png><image1.png>_______________________________________________
> USRP-users mailing list
> USRP-users at lists.ettus.com<mailto:USRP-users at lists.ettus.com>
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


_______________________________________________
USRP-users mailing list
USRP-users at lists.ettus.com<mailto:USRP-users at lists.ettus.com>
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

_______________________________________________
USRP-users mailing list
USRP-users at lists.ettus.com<mailto:USRP-users at lists.ettus.com>
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

_______________________________________________
USRP-users mailing list
USRP-users at lists.ettus.com<mailto:USRP-users at lists.ettus.com>
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20170717/68160995/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 117575 bytes
Desc: image001.jpg
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20170717/68160995/attachment.jpg>


More information about the USRP-users mailing list