From c2c938830619090a5eb7bde16815023a93ffbbb5 Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Wed, 11 Sep 2013 09:23:41 -0700 Subject: Fixed references to Linux USB permissions commands * 'sudo udevadm trigger' needs to be run after reloading rules --- host/cmake/debian/postinst.in | 3 ++- host/cmake/redhat/post_install.in | 3 ++- host/docs/transport.rst | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/host/cmake/debian/postinst.in b/host/cmake/debian/postinst.in index eaca15394..6c6594b91 100755 --- a/host/cmake/debian/postinst.in +++ b/host/cmake/debian/postinst.in @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright 2011 Ettus Research LLC +# Copyright 2011,2013 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 @@ -19,5 +19,6 @@ if [ "$1" = "configure" ]; then cp @CMAKE_INSTALL_PREFIX@/share/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/uhd-usrp.rules udevadm control --reload-rules + udevadm trigger ldconfig fi diff --git a/host/cmake/redhat/post_install.in b/host/cmake/redhat/post_install.in index 01fd3338f..b5622ec59 100755 --- a/host/cmake/redhat/post_install.in +++ b/host/cmake/redhat/post_install.in @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright 2011 Ettus Research LLC +# Copyright 2011,2013 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 @@ -18,4 +18,5 @@ cp @CMAKE_INSTALL_PREFIX@/share/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/uhd-usrp.rules udevadm control --reload-rules +udevadm trigger ldconfig diff --git a/host/docs/transport.rst b/host/docs/transport.rst index 2e39e75d1..06fce4f02 100644 --- a/host/docs/transport.rst +++ b/host/docs/transport.rst @@ -150,6 +150,7 @@ so that non-root users may access the device: cd /share/uhd/utils sudo cp uhd-usrp.rules /etc/udev/rules.d/ sudo udevadm control --reload-rules + sudo udevadm trigger ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Install USB driver (Windows) -- cgit v1.2.3