#21965: w1-gpio.0: Failed to parse gpio MT7620(WT3020),RT5350 (WT1520,MPR-A1)
ds18b20
----------------------+-----------------------------------
  Reporter:  sakatgg  |      Owner:  developers
      Type:  defect   |     Status:  new
  Priority:  high     |  Milestone:  Barrier Breaker 14.07
 Component:  kernel   |    Version:  Chaos Calmer 15.05
Resolution:           |   Keywords:  w1-gpio RT5350 MT7620
----------------------+-----------------------------------

Comment (by anonymous):

 Console MT7620(WT3020), it works with sensor ds18b20:
 {{{
 -----------------------------------------------------
  CHAOS CALMER (Chaos Calmer, r48925)
  -----------------------------------------------------
   * 1 1/2 oz Gin            Shake with a glassful
   * 1/4 oz Triple Sec       of broken ice and pour
   * 3/4 oz Lime Juice       unstrained into a goblet.
   * 1 1/2 oz Orange Juice
   * 1 tsp. Grenadine Syrup
  -----------------------------------------------------
 root@OpenWrt:~# cat /sys/kernel/debug/gpio
 GPIOs 0-23, platform/10000600.gpio, 10000600.gpio:
  gpio-1   (reset               ) in  hi

 GPIOs 40-71, platform/10000660.gpio, 10000660.gpio:

 GPIOs 72-72, platform/10000688.gpio, 10000688.gpio:
  gpio-72  (nexx:blue:power     ) out hi
 root@OpenWrt:~# insmod w1-gpio-custom bus0=0,2,0
 root@OpenWrt:~# cat /sys/kernel/debug/gpio
 GPIOs 0-23, platform/10000600.gpio, 10000600.gpio:
  gpio-1   (reset               ) in  hi
  gpio-2   (w1                  ) in  hi

 GPIOs 40-71, platform/10000660.gpio, 10000660.gpio:

 GPIOs 72-72, platform/10000688.gpio, 10000688.gpio:
  gpio-72  (nexx:blue:power     ) out hi
 root@OpenWrt:~# cat
 /sys/bus/w1/drivers/w1_slave_driver/28-00043c91a4ff/w1_slave
 79 01 55 00 7f ff 0c 10 14 : crc=14 YES
 79 01 55 00 7f ff 0c 10 14 t=23562
 root@OpenWrt:~#
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/21965#comment:6>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to