add gyro ioctl interface.