summaryrefslogtreecommitdiffstats
path: root/host/docs/usrp1.rst
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-08-27 15:51:18 -0700
committerJosh Blum <josh@joshknows.com>2010-08-27 15:51:18 -0700
commit94c450b32538272d714ec3b9da27e45152f6a099 (patch)
treee22055c845ca08475f58de47dfbe0b609d803aa4 /host/docs/usrp1.rst
parentc30cbf651ba5efc734faa96c1b12a99b15b6e41e (diff)
downloaduhd-94c450b32538272d714ec3b9da27e45152f6a099.tar.gz
uhd-94c450b32538272d714ec3b9da27e45152f6a099.tar.bz2
uhd-94c450b32538272d714ec3b9da27e45152f6a099.zip
usrp1: some app notes
Diffstat (limited to 'host/docs/usrp1.rst')
-rw-r--r--host/docs/usrp1.rst41
1 files changed, 41 insertions, 0 deletions
diff --git a/host/docs/usrp1.rst b/host/docs/usrp1.rst
new file mode 100644
index 000000000..ebc33cbfa
--- /dev/null
+++ b/host/docs/usrp1.rst
@@ -0,0 +1,41 @@
+========================================================================
+UHD - USRP1 Application Notes
+========================================================================
+
+.. contents:: Table of Contents
+
+------------------------------------------------------------------------
+Addressing the device
+------------------------------------------------------------------------
+A USRP1 can be identified though its serial number,
+designated by the "serial" key in the device address.
+
+The device address string representation for a USRP1 with serial 1234
+
+::
+
+ serial=1234
+
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Change the USRP1's serial number
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+TODO
+
+------------------------------------------------------------------------
+OS Specific Notes
+------------------------------------------------------------------------
+
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Setup Udev on Linux
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+On Linux, Udev handles USB plug and unplug events.
+The following command creates a Udev rule for the USRP1
+so that non-root users may access the device:
+
+::
+
+ echo 'ACTION=="add", BUS=="usb", SYSFS{idVendor}=="fffe", SYSFS{idProduct}=="0002", MODE:="0666"' > tmpfile
+ sudo chown root.root tmpfile
+ sudo mv tmpfile /etc/udev/rules.d/10-usrp.rules
+ sudo udevadm control --reload-rules
+