{"action":"opened","issue":{"url":"https://api.github.com/repos/raspberrypi/linux/issues/798","labels_url":"https://api.github.com/repos/raspberrypi/linux/issues/798/labels{/name}","comments_url":"https://api.github.com/repos/raspberrypi/linux/issues/798/comments","events_url":"https://api.github.com/repos/raspberrypi/linux/issues/798/events","html_url":"https://github.com/raspberrypi/linux/issues/798","id":56661001,"number":798,"title":"setting /sys/class/gpio/gpio<xx>/direction to 'high' no longer works as expected in 3.18.5","user":{"login":"s8mlu","id":5105040,"avatar_url":"https://avatars.githubusercontent.com/u/5105040?v=3","gravatar_id":"","url":"https://api.github.com/users/s8mlu","html_url":"https://github.com/s8mlu","followers_url":"https://api.github.com/users/s8mlu/followers","following_url":"https://api.github.com/users/s8mlu/following{/other_user}","gists_url":"https://api.github.com/users/s8mlu/gists{/gist_id}","starred_url":"https://api.github.com/users/s8mlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s8mlu/subscriptions","organizations_url":"https://api.github.com/users/s8mlu/orgs","repos_url":"https://api.github.com/users/s8mlu/repos","events_url":"https://api.github.com/users/s8mlu/events{/privacy}","received_events_url":"https://api.github.com/users/s8mlu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-05T11:56:50Z","updated_at":"2015-02-05T11:56:50Z","closed_at":null,"body":"Before upgrading to 3.18.5, the following 2 commands would correctly export the pin and set the direction to output with a value of HIGH (or 3.3v on the pin). But now, after these 2 commands, the output is  LOW!\r\n<code>samlu@rpi1 ~ $ sudo sh -c \"echo 27 >/sys/class/gpio/export\"</code>\r\n<code>samlu@rpi1 ~ $ sudo sh -c \"echo high >/sys/class/gpio/gpio27/direction\"</code>\r\n\r\nThe [kernel documentation](https://www.kernel.org/doc/Documentation/gpio/sysfs.txt) is pretty clear on what 'high' in direction should mean.\r\n\r\nThanks for looking into this."}}