Skip to content

Commit 4cdf1c4

Browse files
committedJun 19, 2015
manual: serial number explanations + udev rule for LDA
1 parent 988ec5c commit 4cdf1c4

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed
 

Diff for: ‎artiq/frontend/lda_controller.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ def get_argparser():
1515
choices=["LDA-102", "LDA-602"])
1616
simple_network_args(parser, 3253)
1717
parser.add_argument("-d", "--device", default=None,
18-
help="USB serial number of the device."
18+
help="USB serial number of the device. "
19+
"The serial number is written on a sticker under "
20+
"the device, you should write for example "
21+
"-d \"SN:03461\". You must prepend enough 0 for it "
22+
"to be 5 digits."
1923
" Omit for simulation mode.")
2024
verbosity_args(parser)
2125
return parser

Diff for: ‎doc/manual/ndsp_reference.rst

+22
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,28 @@ Client
3434
Lab Brick Digital Attenuator (LDA)
3535
----------------------------------
3636

37+
On Linux, you need to give your user access to the usb device.
38+
39+
You can do that by creating a file under /etc/udev/rules.d/ named 99-lda.rules
40+
with the following content::
41+
42+
SUBSYSTEM=="usb", ATTR{idVendor}=="041f", MODE="0666"
43+
44+
Then you need to tell udev to reload its rules::
45+
46+
$ sudo invoke-rc.d udev reload
47+
48+
You must also unplug/replug your device if it was already plugged in.
49+
50+
Then, to run the Lab Brick Digital Attenuator (LDA) controller::
51+
52+
$ lda_controller -d SN:xxxxx
53+
54+
The serial number must contain 5 digits, prepend any number of 0 necessary.
55+
Also, the "SN:" prefix is mandatory.
56+
57+
You can chose the exact LDA model with the -P parameter. The default being LDA-102.
58+
3759
Driver
3860
++++++
3961

0 commit comments

Comments
 (0)
Please sign in to comment.