Revision 94c450b3
| b/host/docs/CMakeLists.txt | ||
|---|---|---|
| 25 | 25 |
dboards.rst |
| 26 | 26 |
general.rst |
| 27 | 27 |
images.rst |
| 28 |
usrp1.rst |
|
| 28 | 29 |
usrp2.rst |
| 29 | 30 |
) |
| 30 | 31 |
|
| b/host/docs/index.rst | ||
|---|---|---|
| 22 | 22 |
^^^^^^^^^^^^^^^^^^^^^ |
| 23 | 23 |
* `General App Notes <./general.html>`_ |
| 24 | 24 |
* `Firmware and FPGA Image Notes <./images.html>`_ |
| 25 |
* `USRP1 App Notes <./usrp1.html>`_ |
|
| 25 | 26 |
* `USRP2 App Notes <./usrp2.html>`_ |
| 26 | 27 |
* `Daughterboard App Notes <./dboards.html>`_ |
| 27 | 28 |
|
| b/host/docs/usrp1.rst | ||
|---|---|---|
| 1 |
======================================================================== |
|
| 2 |
UHD - USRP1 Application Notes |
|
| 3 |
======================================================================== |
|
| 4 |
|
|
| 5 |
.. contents:: Table of Contents |
|
| 6 |
|
|
| 7 |
------------------------------------------------------------------------ |
|
| 8 |
Addressing the device |
|
| 9 |
------------------------------------------------------------------------ |
|
| 10 |
A USRP1 can be identified though its serial number, |
|
| 11 |
designated by the "serial" key in the device address. |
|
| 12 |
|
|
| 13 |
The device address string representation for a USRP1 with serial 1234 |
|
| 14 |
|
|
| 15 |
:: |
|
| 16 |
|
|
| 17 |
serial=1234 |
|
| 18 |
|
|
| 19 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
| 20 |
Change the USRP1's serial number |
|
| 21 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
| 22 |
TODO |
|
| 23 |
|
|
| 24 |
------------------------------------------------------------------------ |
|
| 25 |
OS Specific Notes |
|
| 26 |
------------------------------------------------------------------------ |
|
| 27 |
|
|
| 28 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
| 29 |
Setup Udev on Linux |
|
| 30 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
| 31 |
On Linux, Udev handles USB plug and unplug events. |
|
| 32 |
The following command creates a Udev rule for the USRP1 |
|
| 33 |
so that non-root users may access the device: |
|
| 34 |
|
|
| 35 |
:: |
|
| 36 |
|
|
| 37 |
echo 'ACTION=="add", BUS=="usb", SYSFS{idVendor}=="fffe", SYSFS{idProduct}=="0002", MODE:="0666"' > tmpfile
|
|
| 38 |
sudo chown root.root tmpfile |
|
| 39 |
sudo mv tmpfile /etc/udev/rules.d/10-usrp.rules |
|
| 40 |
sudo udevadm control --reload-rules |
|
| 41 |
|
|
Also available in: Unified diff