changed hardware.py to look at os, changed serialposix.py to have /dev/tty.usbmodem%d