Skip to content

Commit 825482d

Browse files
committed
Add docs for keeping persistent serial port
1 parent 590a991 commit 825482d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,17 @@ Features
99
* Download data from a Vantage Pro2
1010
* Import data from wview
1111

12+
Installation
13+
------------
14+
Installation information will be gradually added here as I write it:
15+
16+
### Create udev rule
17+
In order to ensure a persistent serial device name, create a udev rule for the device as follows:
18+
* Connect the VantagePro2 and then use ```dmesg``` to locate the device's idVendor and idProduct.
19+
* Locate the device's serial number using the command ```udevadm info -a -n /dev/ttyUSB0 | grep '{serial}' | head -n1``` (where ttyUSB0 is the device's name, also available from ```dmesg```)
20+
* Create a new udev rule by creating a new file in ```/etc/udev/rules.d``` called ```40-vantagepro.rules``` with the following contents (replacing the values as appropriate):
21+
SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea61", ATTRS{serial}=="1385229518", SYMLINK+="vantagepro2"
22+
1223
Dataloggers
1324
-----------
1425
This section lists any datalogger-specific notes. At the moment only the VantagePro2 is supported, but there are plans to add the Instromet dataloggers.

0 commit comments

Comments
 (0)