Showing posts with label edgeport serial. Show all posts
Showing posts with label edgeport serial. Show all posts

2010-08-12

Digi Edgeport/8 persistent serial port assignments

Here's how to add arbitrary symlinks referencing specific ports:

In /etc/udev/rules.d/60-persistent-serial.rules , insert lines like the following just above the final LABEL (included for reference). (Obviously, you'll need to change it for the serial number of your own adapter). This example sets links for ports 5 through 8 (as labelled on the adapter box):


ENV{ID_SERIAL}!="Digi_International_Edgeport_8_I01845608-2", GOTO="persistent_serial_3"
ENV{ID_PORT}=="0",SYMLINK+="ttyBellows"
ENV{ID_PORT}=="1",SYMLINK+="ttyDetector"
LABEL="persistent_serial_3"
ENV{ID_SERIAL}!="Digi_International_Edgeport_8_I01845608-3", GOTO="persistent_serial_end"
ENV{ID_PORT}=="0",SYMLINK+="ttyMosaicGrating"
ENV{ID_PORT}=="1",SYMLINK+="ttySlit"

LABEL="persistent_serial_end"