keyboard read with ioctl and normal stats