ioctl for kernel 2.6.x, doesn't work on newer ioctl kernel 3.x