diff options
author | Nicholas Corgan <nick.corgan@ettus.com> | 2013-09-11 09:23:41 -0700 |
---|---|---|
committer | Nicholas Corgan <nick.corgan@ettus.com> | 2013-09-11 09:23:41 -0700 |
commit | c2c938830619090a5eb7bde16815023a93ffbbb5 (patch) | |
tree | 53d55f61495be759935b736a72685056ef754920 | |
parent | 429462742e83a277962db221cede7426ea17c6ca (diff) | |
download | uhd-c2c938830619090a5eb7bde16815023a93ffbbb5.tar.gz uhd-c2c938830619090a5eb7bde16815023a93ffbbb5.tar.bz2 uhd-c2c938830619090a5eb7bde16815023a93ffbbb5.zip |
Fixed references to Linux USB permissions commands
* 'sudo udevadm trigger' needs to be run after reloading rules
-rwxr-xr-x | host/cmake/debian/postinst.in | 3 | ||||
-rwxr-xr-x | host/cmake/redhat/post_install.in | 3 | ||||
-rw-r--r-- | 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 <install-path>/share/uhd/utils sudo cp uhd-usrp.rules /etc/udev/rules.d/ sudo udevadm control --reload-rules + sudo udevadm trigger ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Install USB driver (Windows) |