# USB OK but No devices found (ubuntu18.04)

**URL:** <https://discourse.myriadrf.org/t/usb-ok-but-no-devices-found-ubuntu18-04/5494>\
**Category:** LimeSDR\
**Created:** [17 December 2019 17:11 UTC](https://discourse.myriadrf.org/t/usb-ok-but-no-devices-found-ubuntu18-04/5494 "2019-12-17T17:11:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjornpehrson](https://avatars.discourse-cdn.com/v4/letter/b/51bf81/32.png) [@bjornpehrson](https://discourse.myriadrf.org/u/bjornpehrson)\
**Post date:** [17 December 2019 17:11 UTC](https://discourse.myriadrf.org/t/usb-ok-but-no-devices-found-ubuntu18-04/5494/1 "2019-12-17T17:11:40Z")

</div>

I checked all wiki instructions and previous posts in Discourse without joy.  
When inserting my LimeSDR Mini, I see it in lsusb but not LimeUtil  
$ lsusb  
Bus 002 Device 006: ID 0403:601f Future Technology Devices International, Ltd  
$ LimeUtil --update  
No devices found  
$  
Any advice?

---

<div class="post-metadata">

**Author:** ![jonah1](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@jonah1](https://discourse.myriadrf.org/u/jonah1)\
**Post date:** [18 December 2019 10:17 UTC](https://discourse.myriadrf.org/t/usb-ok-but-no-devices-found-ubuntu18-04/5494/2 "2019-12-18T10:17:08Z")

</div>

i think you have to install the udev-rules

```
 cd LimeSuite/udev-rules
 chmod +x install.sh
```

---

<div class="post-metadata">

**Author:** ![bjornpehrson](https://avatars.discourse-cdn.com/v4/letter/b/51bf81/32.png) [@bjornpehrson](https://discourse.myriadrf.org/u/bjornpehrson)\
**Post date:** [18 December 2019 13:31 UTC](https://discourse.myriadrf.org/t/usb-ok-but-no-devices-found-ubuntu18-04/5494/3 "2019-12-18T13:31:46Z")

</div>

Thanks for the input. I did that, and did it again without luck  
~/LimeSuite/udev-rules$ sudo ./install.sh  
[sudo] password for bjorn:  
~/LimeSuite/udev-rules$ LimeUtil --update  
No devices found  
~/LimeSuite/udev-rules$

---

<div class="post-metadata">

**Author:** ![jonah1](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@jonah1](https://discourse.myriadrf.org/u/jonah1)\
**Post date:** [18 December 2019 13:39 UTC](https://discourse.myriadrf.org/t/usb-ok-but-no-devices-found-ubuntu18-04/5494/4 "2019-12-18T13:39:43Z")

</div>

I am not sure, but it is important to install all software in the right order. Maybe that’s your problem.  
it’s best if you uninstall everything first and try it with a fresh install.  
I had written a bash script for myself, maybe it will help you:

```
#!/bin/sh
if ["$(id -u)" == "0"]; then
   echo "This script must be run as normal User" 1>&2
   exit 1
fi

user="$USER"
sudo add-apt-repository -y ppa:myriadrf/drivers
sudo apt update -y
sudo apt upgrade -y
sudo apt install g++ -y
sudo apt install libcurl4-openssl-dev -y
sudo apt install libssl-dev -y
sudo apt install libsqlite3-dev -y
sudo apt install libboost-program-options-dev -y
sudo apt install zlib1g-dev -y
sudo apt install plink -y
sudo apt install libpython-dev -y
sudo apt install python-numpy -y
sudo apt install swig -y
sudo apt install libgps-dev -y
sudo apt install gpsd -y
sudo apt install gpsd-clients -y
sudo apt install libjsoncpp-dev -y
sudo apt install libusb-1.0-0-dev -y
sudo apt install git -y
sudo apt install cmake -y
sudo apt install build-essential -y
sudo apt install libmbedtls-dev -y
sudo apt install libconfig++-dev -y
sudo apt install libsctp-dev -y
sudo apt install libfftw3-dev -y
sudo apt install libi2c-dev -y
sudo apt install libboost-all-dev -y

if [-d /home/$user/SoapySDR]; then
    echo " - SoapySDR already exists. Skipping it."

else
  ##sudo apt-get install soapysdr-tools -y
  git clone https://github.com/pothosware/SoapySDR.git
  cd SoapySDR || exit
  git pull origin master
  mkdir build
  cd build || exit
  cmake ..
  make -j4
  sudo make install
  sudo ldconfig #needed on debian systems
  cd /home/$user/ || exit
fi

if [-d /home/$user/LimeSuite]; then
  echo " - LimeSuite already exists. Skipping it."

else
  ##sudo apt install libsoapysdr-dev -y
  sudo apt install libwxgtk3.0-dev -y
  sudo apt install freeglut3-dev -y
  #sudo apt install limesuite -y
  #sudo apt install liblimesuite-dev -y
  #sudo apt install limesuite-udev -y
  #sudo apt install soapysdr-tools -y
  #sudo apt install soapysdr-module-lms7 -y

  git clone https://github.com/myriadrf/LimeSuite.git
  cd LimeSuite || exit
  git checkout stable
  mkdir builddir && cd builddir || exit
  cmake ../
  make -j4
  sudo make install
  sudo ldconfig
  cd /home/$user/LimeSuite/udev-rules || exit
  chmod +x install.sh
  sudo ./install.sh
  cd /home/$user/ || exit
fi
```

---

<div class="post-metadata">

**Author:** ![bjornpehrson](https://avatars.discourse-cdn.com/v4/letter/b/51bf81/32.png) [@bjornpehrson](https://discourse.myriadrf.org/u/bjornpehrson)\
**Post date:** [18 December 2019 15:02 UTC](https://discourse.myriadrf.org/t/usb-ok-but-no-devices-found-ubuntu18-04/5494/5 "2019-12-18T15:02:00Z")

</div>

Great script! Got it working. Thanks a lot. I had to start with a fresh Ubuntu 18.04 though. Will try to uninstall everything on the first one.

---

<div class="post-metadata">

**Author:** ![andrewback](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@andrewback](https://discourse.myriadrf.org/u/andrewback)\
**Post date:** [23 December 2019 09:48 UTC](https://discourse.myriadrf.org/t/usb-ok-but-no-devices-found-ubuntu18-04/5494/6 "2019-12-23T09:48:51Z")

</div>

Should work fine on Ubuntu 18.04 with an install via packages from the PPA. That’s what I’m currently using…
