{"action":"created","issue":{"url":"https://api.github.com/repos/openbmc/openbmc/issues/513","repository_url":"https://api.github.com/repos/openbmc/openbmc","labels_url":"https://api.github.com/repos/openbmc/openbmc/issues/513/labels{/name}","comments_url":"https://api.github.com/repos/openbmc/openbmc/issues/513/comments","events_url":"https://api.github.com/repos/openbmc/openbmc/issues/513/events","html_url":"https://github.com/openbmc/openbmc/issues/513","id":171945432,"number":513,"title":"pgood gpio has incorrect value.","user":{"login":"williamspatrick","id":105009,"avatar_url":"https://avatars.githubusercontent.com/u/105009?v=3","gravatar_id":"","url":"https://api.github.com/users/williamspatrick","html_url":"https://github.com/williamspatrick","followers_url":"https://api.github.com/users/williamspatrick/followers","following_url":"https://api.github.com/users/williamspatrick/following{/other_user}","gists_url":"https://api.github.com/users/williamspatrick/gists{/gist_id}","starred_url":"https://api.github.com/users/williamspatrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williamspatrick/subscriptions","organizations_url":"https://api.github.com/users/williamspatrick/orgs","repos_url":"https://api.github.com/users/williamspatrick/repos","events_url":"https://api.github.com/users/williamspatrick/events{/privacy}","received_events_url":"https://api.github.com/users/williamspatrick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"shenki","id":207355,"avatar_url":"https://avatars.githubusercontent.com/u/207355?v=3","gravatar_id":"","url":"https://api.github.com/users/shenki","html_url":"https://github.com/shenki","followers_url":"https://api.github.com/users/shenki/followers","following_url":"https://api.github.com/users/shenki/following{/other_user}","gists_url":"https://api.github.com/users/shenki/gists{/gist_id}","starred_url":"https://api.github.com/users/shenki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shenki/subscriptions","organizations_url":"https://api.github.com/users/shenki/orgs","repos_url":"https://api.github.com/users/shenki/repos","events_url":"https://api.github.com/users/shenki/events{/privacy}","received_events_url":"https://api.github.com/users/shenki/received_events","type":"User","site_admin":false},"assignees":[{"login":"shenki","id":207355,"avatar_url":"https://avatars.githubusercontent.com/u/207355?v=3","gravatar_id":"","url":"https://api.github.com/users/shenki","html_url":"https://github.com/shenki","followers_url":"https://api.github.com/users/shenki/followers","following_url":"https://api.github.com/users/shenki/following{/other_user}","gists_url":"https://api.github.com/users/shenki/gists{/gist_id}","starred_url":"https://api.github.com/users/shenki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shenki/subscriptions","organizations_url":"https://api.github.com/users/shenki/orgs","repos_url":"https://api.github.com/users/shenki/repos","events_url":"https://api.github.com/users/shenki/events{/privacy}","received_events_url":"https://api.github.com/users/shenki/received_events","type":"User","site_admin":false},{"login":"amboar","id":526481,"avatar_url":"https://avatars.githubusercontent.com/u/526481?v=3","gravatar_id":"","url":"https://api.github.com/users/amboar","html_url":"https://github.com/amboar","followers_url":"https://api.github.com/users/amboar/followers","following_url":"https://api.github.com/users/amboar/following{/other_user}","gists_url":"https://api.github.com/users/amboar/gists{/gist_id}","starred_url":"https://api.github.com/users/amboar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amboar/subscriptions","organizations_url":"https://api.github.com/users/amboar/orgs","repos_url":"https://api.github.com/users/amboar/repos","events_url":"https://api.github.com/users/amboar/events{/privacy}","received_events_url":"https://api.github.com/users/amboar/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/openbmc/openbmc/milestones/2","html_url":"https://github.com/openbmc/openbmc/milestones/openBMC%20v2.0%20Backlog","labels_url":"https://api.github.com/repos/openbmc/openbmc/milestones/2/labels","id":1678661,"number":2,"title":"openBMC v2.0 Backlog","description":"Backlog for v2.0.","creator":{"login":"williamspatrick","id":105009,"avatar_url":"https://avatars.githubusercontent.com/u/105009?v=3","gravatar_id":"","url":"https://api.github.com/users/williamspatrick","html_url":"https://github.com/williamspatrick","followers_url":"https://api.github.com/users/williamspatrick/followers","following_url":"https://api.github.com/users/williamspatrick/following{/other_user}","gists_url":"https://api.github.com/users/williamspatrick/gists{/gist_id}","starred_url":"https://api.github.com/users/williamspatrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williamspatrick/subscriptions","organizations_url":"https://api.github.com/users/williamspatrick/orgs","repos_url":"https://api.github.com/users/williamspatrick/repos","events_url":"https://api.github.com/users/williamspatrick/events{/privacy}","received_events_url":"https://api.github.com/users/williamspatrick/received_events","type":"User","site_admin":false},"open_issues":123,"closed_issues":48,"state":"open","created_at":"2016-04-01T19:04:51Z","updated_at":"2016-08-23T21:26:27Z","due_on":"2017-01-01T06:00:00Z","closed_at":null},"comments":10,"created_at":"2016-08-18T16:33:33Z","updated_at":"2016-08-23T22:32:34Z","closed_at":null,"body":"With the 4.7.x kernel, the PGOOD sensor for both Palmetto and Barreleye seems \"stuck\" on.  Even if we AC cycle the box, when we get up to BMC_READY state the GPIO value appears on.\r\n\r\n```\r\nroot@palmetto:/sys/class/gpio/gpio343# uname -a\r\nLinux palmetto 4.4.16-openbmc-4.4-20160804-1 #1 Thu Aug 4 05:13:31 UTC 2016 armv5tejl GNU/Linux\r\nroot@palmetto:/sys/class/gpio/gpio343# cat value active_low direction edge\r\n0\r\n0\r\nin\r\nnone\r\n```\r\n```\r\n# uname -a\r\nLinux barreleye 4.7.0-a5a7a520d4945df3f5ffa7fb9ed5856f472b9fc1 #1 Mon Aug 15 14:17:34 CDT 2016 armv5tejl GNU/Linux\r\nroot@barreleye:/sys/class/gpio/gpio343# cat value active_low direction edge\r\n1\r\n0\r\nin\r\nnone\r\n```"},"comment":{"url":"https://api.github.com/repos/openbmc/openbmc/issues/comments/241901326","html_url":"https://github.com/openbmc/openbmc/issues/513#issuecomment-241901326","issue_url":"https://api.github.com/repos/openbmc/openbmc/issues/513","id":241901326,"user":{"login":"amboar","id":526481,"avatar_url":"https://avatars.githubusercontent.com/u/526481?v=3","gravatar_id":"","url":"https://api.github.com/users/amboar","html_url":"https://github.com/amboar","followers_url":"https://api.github.com/users/amboar/followers","following_url":"https://api.github.com/users/amboar/following{/other_user}","gists_url":"https://api.github.com/users/amboar/gists{/gist_id}","starred_url":"https://api.github.com/users/amboar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amboar/subscriptions","organizations_url":"https://api.github.com/users/amboar/orgs","repos_url":"https://api.github.com/users/amboar/repos","events_url":"https://api.github.com/users/amboar/events{/privacy}","received_events_url":"https://api.github.com/users/amboar/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T22:32:34Z","updated_at":"2016-08-23T22:32:34Z","body":"@williamspatrick the fact that we specify 'direction' as 'both' for POWER_BUTTON is a poor and confusing overloading of concepts. It simultaneously sets the pin to 'in' AND writes 'both' to 'edge', configuring the pin for riding and falling edge interrupts. This allows us to implement the long/short press behaviours. We really must patch things so a separate key is used for interrupt configuration; this 17 character shortcut gives behavior that isn't obvious and could lead to hard-to-diagnose behavior in the face of typos or other mistakes."}}
{"actor":{"display_login":"amboar"}}