tty: do some device auto-detection under linux