1Wire kernel drivers with DALLAS DS1820
Posted: Wed Jan 13, 2016 6:15 pm
Hi All!
I've connected a DALLAS DS1820 to GPIO0-port on VoCore (pull up resistor 4.7K).
I've updated the Openwrt kernel to 15.05
I've installed kmod-w1-gpio, kmod-w1-gpio-custom, kmod-slave-w1-therm
I wrote two module configuration file
/etc/modules.d/w1-gpio --> w1-gpio
/etc/modules.d/w1-gpio-custom --> w1-gpio-custom bus0=0,0,0
When I boot dmesg says:
[ 18.100000] w1-gpio w1-gpio.0: no of_node; not parsing pinctrl DT
[ 18.100000] w1-gpio w1-gpio.0: Failed to parse gpio property for data pin (-2)
[ 18.110000] w1-gpio: probe of w1-gpio.0 failed with error -2
lsmod | grep w1
w1_gpio 2112 0
w1_gpio_custom 800 0
w1_therm 2000 0
wire 14528 2 w1_therm
Seems the modules loaded...
If it is count I've used the GPIO0 port before to control a relay but now I've set it back to directon --> in
What have I missed?
Thank You
I've connected a DALLAS DS1820 to GPIO0-port on VoCore (pull up resistor 4.7K).
I've updated the Openwrt kernel to 15.05
I've installed kmod-w1-gpio, kmod-w1-gpio-custom, kmod-slave-w1-therm
I wrote two module configuration file
/etc/modules.d/w1-gpio --> w1-gpio
/etc/modules.d/w1-gpio-custom --> w1-gpio-custom bus0=0,0,0
When I boot dmesg says:
[ 18.100000] w1-gpio w1-gpio.0: no of_node; not parsing pinctrl DT
[ 18.100000] w1-gpio w1-gpio.0: Failed to parse gpio property for data pin (-2)
[ 18.110000] w1-gpio: probe of w1-gpio.0 failed with error -2
lsmod | grep w1
w1_gpio 2112 0
w1_gpio_custom 800 0
w1_therm 2000 0
wire 14528 2 w1_therm
Seems the modules loaded...
If it is count I've used the GPIO0 port before to control a relay but now I've set it back to directon --> in
What have I missed?
Thank You