ioctl command fetches values