Friday, August 10, 2018

Re: [Discuss-gnuradio] Trying to connect USRP200 to Ubuntu18.04.1 in VM

I highly recommend that you do not use a VM. It adds a lot of potential irritating issues and is not worth the hassle.

*If you make a mistake your data is probably gone. Make a backup before you try this.*


You can easily dual boot windows 10 and Ubuntu

1. Go into disk manager in windows 10

2. shrink your main partition (os C) to free up space for linux. 

3. Flash your Ubuntu iso onto a USB stick (Rufus, pendrivelinux, and other software exist. Ubuntu seems to officially favor Rufus currently.)

4. Turn off your computer and insert USB stick. Power on *while* mashing F12 or F2 or Del. Different motherboard vendors set different keys to enter the bios. MSI uses del. Acer and asus use F2. 

5. in bios there should be a boot order. Make your USB stick the top boot option.

6. Save and reboot. You should be presented with a black screen with some white text options. Pick Ubuntu live session.

7. Go through the install wizard. (do not connect to internet. There is a bug related to secure boot that you want to avoid)

8. You can either choose the "install  Ubuntu alongside windows 10 or the "something else". I prefer the latter as I like control over my partitoin sizes.

9. Once it is done you can shut down, remove usb stick, and turn your machine on. You will be presented with a GRUB black and white menu that allows you to pick weather you want to go into linux or windows 10.

On Fri, Aug 10, 2018 at 9:20 AM, Marcus D. Leech <mleech@ripnet.com> wrote:
On 08/10/2018 09:50 AM, Linda20071 wrote:

I connected USRP200 to my host computer via USB3.0. I set up the VM adaptor's IP address and subnet mask as 192.168.10.1 & 255.255.255.0 via Windows 10.

However, when I run "uhd_find_devices", I got: linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown No UHD Devices Found

Under command "uhd_usrp_probe", I got: linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown Error: LookupError: KeyError: No devices found for -----> Empty Device Address

Under "lsusb" command, I got: Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub.


Could the UHD driver be automatically installed if gnuradio is installed via apt? I couldn't see the uhd/images directory under /usr/local/share.

Any advice on how to solve this problem?




Normally, when things are installed via apt, they'll be in  /usr, rather than in /usr/local

It doesn't look like your system can even see the USRP.

Getting decent USB performance through a VM is very difficult, so we don't generally recommend using USB-type USRPs through a VM.





_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment