{"action":"created","issue":{"url":"https://api.github.com/repos/linino/linino_distro/issues/9","labels_url":"https://api.github.com/repos/linino/linino_distro/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/linino/linino_distro/issues/9/comments","events_url":"https://api.github.com/repos/linino/linino_distro/issues/9/events","html_url":"https://github.com/linino/linino_distro/issues/9","id":125214466,"number":9,"title":"Arduino gpio \"value\" file content stuck ","user":{"login":"phtrivier","id":18883,"avatar_url":"https://avatars.githubusercontent.com/u/18883?v=3","gravatar_id":"","url":"https://api.github.com/users/phtrivier","html_url":"https://github.com/phtrivier","followers_url":"https://api.github.com/users/phtrivier/followers","following_url":"https://api.github.com/users/phtrivier/following{/other_user}","gists_url":"https://api.github.com/users/phtrivier/gists{/gist_id}","starred_url":"https://api.github.com/users/phtrivier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phtrivier/subscriptions","organizations_url":"https://api.github.com/users/phtrivier/orgs","repos_url":"https://api.github.com/users/phtrivier/repos","events_url":"https://api.github.com/users/phtrivier/events{/privacy}","received_events_url":"https://api.github.com/users/phtrivier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-01-06T16:42:10Z","updated_at":"2016-01-14T09:31:25Z","closed_at":null,"body":"Hi \r\n\r\n I have an Arduino Yun running lininoio.\r\nI run code that does the equivalent of : \r\n* echoing 117 to `/sys/class/gpio/export` so that GPIO D2 is available as `/sys/class/gpio/D2/xxx`\r\n* open the value file  `/sys/class/gpio/D2/value` to get a gpio_id\r\n* read the file's content\r\n\r\nOn the board, the D2 pin is connected to the power voltage with a switch (I'm using the 'value' file to check whether the switch is on or off.)\r\nEverything works fine when the program runs for a short while (the 'value' file is changed to either 0 or 1), but regularly, the board ends up in a state when there is no synchro between the pin and the value file.\r\n\r\n(I can even confirm the desynchro in a shell, outside of my program.)\r\n\r\nI get the synchro again by stopping and restarting lininoio.\r\n\r\nWhat are potentials causes for such a desynchro ? What could I check to diagnose it ?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/linino/linino_distro/issues/comments/171585059","html_url":"https://github.com/linino/linino_distro/issues/9#issuecomment-171585059","issue_url":"https://api.github.com/repos/linino/linino_distro/issues/9","id":171585059,"user":{"login":"phtrivier","id":18883,"avatar_url":"https://avatars.githubusercontent.com/u/18883?v=3","gravatar_id":"","url":"https://api.github.com/users/phtrivier","html_url":"https://github.com/phtrivier","followers_url":"https://api.github.com/users/phtrivier/followers","following_url":"https://api.github.com/users/phtrivier/following{/other_user}","gists_url":"https://api.github.com/users/phtrivier/gists{/gist_id}","starred_url":"https://api.github.com/users/phtrivier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phtrivier/subscriptions","organizations_url":"https://api.github.com/users/phtrivier/orgs","repos_url":"https://api.github.com/users/phtrivier/repos","events_url":"https://api.github.com/users/phtrivier/events{/privacy}","received_events_url":"https://api.github.com/users/phtrivier/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T09:31:25Z","updated_at":"2016-01-14T09:31:25Z","body":"(I think when replying to pull requests via email, the attachement are ignored. Could you attach them from github site ? Sorry about that...)"}}