{"action":"created","issue":{"url":"https://api.github.com/repos/raspberrypi/firmware/issues/392","labels_url":"https://api.github.com/repos/raspberrypi/firmware/issues/392/labels{/name}","comments_url":"https://api.github.com/repos/raspberrypi/firmware/issues/392/comments","events_url":"https://api.github.com/repos/raspberrypi/firmware/issues/392/events","html_url":"https://github.com/raspberrypi/firmware/issues/392","id":60945819,"number":392,"title":"1-Wire in Parasite Power configuration (1-Wire using 2 wires) does not work in 3.18.7+ #755","user":{"login":"mmithril","id":11449451,"avatar_url":"https://avatars.githubusercontent.com/u/11449451?v=3","gravatar_id":"","url":"https://api.github.com/users/mmithril","html_url":"https://github.com/mmithril","followers_url":"https://api.github.com/users/mmithril/followers","following_url":"https://api.github.com/users/mmithril/following{/other_user}","gists_url":"https://api.github.com/users/mmithril/gists{/gist_id}","starred_url":"https://api.github.com/users/mmithril/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmithril/subscriptions","organizations_url":"https://api.github.com/users/mmithril/orgs","repos_url":"https://api.github.com/users/mmithril/repos","events_url":"https://api.github.com/users/mmithril/events{/privacy}","received_events_url":"https://api.github.com/users/mmithril/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-13T00:30:37Z","updated_at":"2015-03-13T08:22:36Z","closed_at":null,"body":"Hello,\r\n\r\ntrying to set up 1-Wire in parasite power configuration (reusing existing Arduino infrastructure) according to results of https://github.com/raspberrypi/firmware/issues/348. Unfortunately I got\r\n\r\n    $ cat /sys/devices/w1_bus_master1/28-000006085762/w1_slave\r\n    50 05 4b 46 7f ff 0c 10 1c : crc=1c YES\r\n    50 05 4b 46 7f ff 0c 10 1c t=85000\r\n\r\nMy config:\r\n\r\n/boot/config.txt\r\n\r\n    ....\r\n    dtparam=i2c_arm=on\r\n    dtoverlay=w1-gpio,gpiopin=17,pullup=on\r\n    dtdebug=1\r\n\r\n/etc/modules\r\n\r\n    snd-bcm2835\r\n    w1-therm\r\n    i2c-dev\r\n\r\nMy firmware version:\r\n\r\n    $ uname -a\r\n    Linux raspberrypi 3.18.7+ #755 PREEMPT Thu Feb 12 17:14:31 GMT 2015 armv6l GNU/Linux\r\n\r\nRelated dmesg output:\r\n\r\n    $ dmesg | grep w1\r\n    [    5.734535] w1-gpio onewire@0: gpio pin 17, external pullup pin -1, parasitic power 1\r\n    [    5.884935] w1_add_master_device: set_pullup requires write_byte or touch_bit, disabling\r\n\r\nRelated sudo vcdbg log msg outup:\r\n\r\n    001312.151: dtparam: i2c_arm=on\r\n    001312.734: dtdebug: Found override i2c1\r\n    001312.756: dtdebug:   override i2c1: string target status\r\n    001326.355: Loaded overlay 'w1-gpio'\r\n    001330.619: dtdebug: Found fragment 0 (offset 36)\r\n    001330.695: dtdebug: merge_fragment(/,/fragment@0/__overlay__)\r\n    001332.168: dtdebug: merge_fragment(/onewire@0,/fragment@0/__overlay__/onewire@0)\r\n    001332.192: dtdebug:   +prop(compatible)\r\n    001332.486: dtdebug:   +prop(pinctrl-names)\r\n    001332.828: dtdebug:   +prop(pinctrl-0)\r\n    001333.180: dtdebug:   +prop(gpios)\r\n    001333.550: dtdebug:   +prop(rpi,parasitic-power)\r\n    001333.966: dtdebug:   +prop(status)\r\n    001334.333: dtdebug:   +prop(linux,phandle)\r\n    001334.687: dtdebug:   +prop(phandle)\r\n    001335.064: dtdebug: merge_fragment() end\r\n    001335.094: dtdebug: merge_fragment() end\r\n    001335.172: dtdebug: Found fragment 1 (offset 260)\r\n    001336.047: dtdebug: merge_fragment(/soc/gpio,/fragment@1/__overlay__)\r\n    001336.798: dtdebug: merge_fragment(/soc/gpio/w1_pins,/fragment@1/__overlay__/w1_pins)\r\n    001336.820: dtdebug:   +prop(brcm,pins)\r\n    001337.098: dtdebug:   +prop(brcm,function)\r\n    001337.387: dtdebug:   +prop(brcm,pull)\r\n    001337.744: dtdebug:   +prop(linux,phandle)\r\n    001338.032: dtdebug:   +prop(phandle)\r\n    001338.334: dtdebug: merge_fragment() end\r\n    001338.361: dtdebug: merge_fragment() end\r\n    001338.519: dtparam: gpiopin=17\r\n    001338.634: dtdebug: Found override gpiopin\r\n    001338.661: dtdebug:   override gpiopin: cell target gpios @ offset 4\r\n    001338.833: dtdebug:   override gpiopin: cell target brcm,pins @ offset 0\r\n    001339.462: dtparam: pullup=on\r\n    001339.582: dtdebug: Found override pullup\r\n    001339.612: dtdebug:   override pullup: cell target rpi,parasitic-power @ offset 0\r\n\r\nMaybe I have just configuration problem as https://github.com/raspberrypi/firmware/issues/348 is resolved and I have the firmware that is newer than the fix...\r\n"},"comment":{"url":"https://api.github.com/repos/raspberrypi/firmware/issues/comments/78863615","html_url":"https://github.com/raspberrypi/firmware/issues/392#issuecomment-78863615","issue_url":"https://api.github.com/repos/raspberrypi/firmware/issues/392","id":78863615,"user":{"login":"iz8mbw","id":3474082,"avatar_url":"https://avatars.githubusercontent.com/u/3474082?v=3","gravatar_id":"","url":"https://api.github.com/users/iz8mbw","html_url":"https://github.com/iz8mbw","followers_url":"https://api.github.com/users/iz8mbw/followers","following_url":"https://api.github.com/users/iz8mbw/following{/other_user}","gists_url":"https://api.github.com/users/iz8mbw/gists{/gist_id}","starred_url":"https://api.github.com/users/iz8mbw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iz8mbw/subscriptions","organizations_url":"https://api.github.com/users/iz8mbw/orgs","repos_url":"https://api.github.com/users/iz8mbw/repos","events_url":"https://api.github.com/users/iz8mbw/events{/privacy}","received_events_url":"https://api.github.com/users/iz8mbw/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T08:22:36Z","updated_at":"2015-03-13T08:22:36Z","body":"Yes,\r\nit still works fine with: Linux raspberrypi 3.18.9+ #767 PREEMPT Sat Mar 7 21:41:13 GMT 2015 armv6l GNU/Linux\r\n\r\nroot@raspberrypi:~# cat /sys/devices/w1_bus_master1/3b-00000014fe14/w1_slave\r\n3c 01 ff ff f0 ff ff ff 76 : crc=76 YES\r\n3c 01 ff ff f0 ff ff ff 76 t=19750\r\n\r\n"}}