On 05/07/2018 09:42 PM, Hojoon Yang via USRP-users wrote:

Hi,

When I executed the "uhd_find_devices"

I got "[ERROR] [USB] USB open failed: insufficient permissions."


However, when I put sudo in it(i.e. sudo uhd_find_devices", there is no such error.

Also, when I typed "./tx_waveforms ..."

I got an following WARNING

"[WARNING] [UHD] Unable to set the thread priority. Performance may be negatively affected.

Please see the general application notes in the manual for instructions.

EnvironmentError: OSError: error in pthread_setschedparam"

similarly, the warning disappeared when I put the sudo in it.

Marcus said it is incomplete installation, if the sudo needed.

As Marcus recommended, I created(because there was no such file) /etc/udev/rules.d/10-usrp.rules and put the following contents.

#
# Copyright 2011,2015 Ettus Research LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

#USRP1
SUBSYSTEMS=="usb", ATTRS{idVendor}=="fffe", ATTRS{idProduct}=="0002", MODE:="0666"

#B100
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2500", ATTRS{idProduct}=="0002", MODE:="0666"

#B200
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2500", ATTRS{idProduct}=="0020", MODE:="0666" SUBSYSTEMS=="usb", ATTRS{idVendor}=="2500", ATTRS{idProduct}=="0022", MODE:="0666" SUBSYSTEMS=="usb", ATTRS{idVendor}=="3923", ATTRS{idProduct}=="7813", MODE:="0666" SUBSYSTEMS=="usb", ATTRS{idVendor}=="3923", ATTRS{idProduct}=="7814", MODE:="0666"



However, nothing changed.


Do I need to re-install the uhd?

Regards,

Hojoon


You also need to:

sudo udevadm control --reload-rules

And then  replug your USRP


_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to