1 .\" Title: remote-device-name
3 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
5 .\" Manual: Re-Mote Testbed Framework
6 .\" Source: remote-mci 2.0.git
8 .TH "REMOTE\-DEVICE\-NAME" "7" "05/18/2008" "remote\-mci 2\.0\.git" "Re\-Mote Testbed Framework"
9 .\" disable hyphenation
11 .\" disable justification (adjust text to left margin only)
14 remote-device-name - script for naming TTY device files
16 /lib/udev/remote\-device\-name MOTEMAC
19 This script is designed to be called via a UDEV rule\'s PROGRAM key\. The output from the script is used by SYMLINK rule to create both control and data links to tty devices\.
21 The first tty device on the MIB520 programming board is always for programming and controlling of MicaZ and second one is for retrieving data from MicaZ\.
23 When called the script expects one command line arguments described below\.
29 The first argument is the mote MAC, part of which can often be with a well\-known vendor and product ID\.
33 /dev/remote/MOTEMAC/tty/control, /dev/remote/MOTEMAC/tty/data
35 Symlinks to the tty device that can be used for controlling the mote with the given MAC address\. This should be set up using a UDEV rule containing the SYMLINK key\.
38 As an example here is the arguments given from the MicaZ UDEV rule:
43 /lib/udev/remote\-device\-name 04036010%s{serial}
50 Copyright (c) 2007 Jonas Fonseca <fonseca@diku\.dk>
51 Copyright (c) 2008 Rosta Spinar <rostislav\.spinar@cit\.ie>
54 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version\.
57 \fBremote\-device\-add(7)\fR