Hi, I resolved the "[ERROR] [USB] USB open failed: insufficient permissions." problemby the following commands,sudo cp uhd-usrp.rules /etc/udev/rules.d/sudo udevadm control --reload-rulessudo udevadm triggerHowever, I still get the warning if I executed the uhd example programs without "sudo"[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_setschedparamFor example,sudo ./tx_waveforms .. -> No such warning./tx_waveforms .. -> [WARNING] [UHD ].....Is this a bug? or normal behavior?Regards,Hojoon -----------------------Original Message-----------------------From: Hojoon Yangvia USRP-users <usrp-users@lists.ettus.com>To: "Marcus D. Leech via USRP-users" <usrp-users@lists.ettus.com>Sent date: 2018-05-08 11:33:40 GMT +0900 (Asia/Seoul)Subject: Re: [USRP-users]UHD installation Thanks Marcus. I did it. But, nothing changed. I will re-install the uhd and come back if still have problems. But, is there any relationship between kernel version and uhd version? I use UHD 3.11. currently, I use Ubuntu 14.04.5 LTS and the kernel version is 4.2.0-42-generic Because, the latest kernel version NI RIO supports is 4.2.x. I need it for USRP X310. Regards, Hojoon -----------------------Original Message----------------------- From: "Marcus D. Leech via USRP-users" <usrp-users@lists.ettus.com> To: usrp-users@lists.ettus.com Sent date: 2018-05-08 10:47:47 GMT +0900 (Asia/Seoul) Subject: Re: [USRP-users] UHD installation 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