blob: c960b928b0f3ccf18fedf977abec4e5c8f04f59a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
========================================================================
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
------------------------------------------------------------------------
Specifying the subdevice to use
------------------------------------------------------------------------
The USRP1 has multiple daughterboard slots, known as slot A and slot B.
The subdevice specification can be used to select
the daughterboard and subdevice for each channel.
For daughterboards with one one subdevice,
the subdevice name may be left blank for automatic selection.
Ex: The subdev spec markup string to select a WBX on slot B.
Notice the use of the blank subdevice name for automatic selection.
::
B:
-- OR --
B:0
Ex: The subdev spec markup string to select a BasicRX on slot B.
Notice that the subdevice name is always specified in the 3 possible cases.
::
B:AB
-- OR --
B:A
-- OR --
B:B
------------------------------------------------------------------------
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
|