Added tty device fulename and string to hex conversion