Fixed ioctl code and added coeff setting example code