A copy of w1-gpio-custom from openwrt, standalone compilable.