Port Confusion

Greeting all:

A general question on port usage.
I installed altsteon on /dev/ttyUSB0 on Vera3. All works well.

when a run a ps | grep USB I get
14265 root 1676 S /bin/sh -c ser2net -n -C “3481:raw:0:/dev/ttyUSB0:9600 1STOPBIT NONE”
14266 root 800 S ser2net -n -C 3481 raw 0 /dev/ttyUSB0 9600 1STOPBIT NONE

my output from dmesg | grep USB is

ftdi_sio 2-2:1.0: FTDI USB Serial Device converter detected
usb 2-2: FTDI USB Serial Device converter now attached to ttyUSB0

so my question is what is ser2net and what is it doing?

Thanks!
schenkl

When you plug a USB-Serial device into Vera, it (MIOS) automatically detects it and fires up ser2net to allow Vera to talk to it over a socket based channel.

Thanks, that explains it…one question though, does it mean that the device MUST be present at boot?

Nope, it’s done on the fly when a USB change event is detected.