An error occured opening the num file: Inappropriate ioctl for device