Support thermal ioctls.