{"action":"closed","issue":{"url":"https://api.github.com/repos/raspberrypi/linux/issues/808","labels_url":"https://api.github.com/repos/raspberrypi/linux/issues/808/labels{/name}","comments_url":"https://api.github.com/repos/raspberrypi/linux/issues/808/comments","events_url":"https://api.github.com/repos/raspberrypi/linux/issues/808/events","html_url":"https://github.com/raspberrypi/linux/issues/808","id":56890014,"number":808,"title":"Interrupts can't be configured for GPIO outputs with 3.18.5","user":{"login":"fivdi","id":2605378,"avatar_url":"https://avatars.githubusercontent.com/u/2605378?v=3","gravatar_id":"","url":"https://api.github.com/users/fivdi","html_url":"https://github.com/fivdi","followers_url":"https://api.github.com/users/fivdi/followers","following_url":"https://api.github.com/users/fivdi/following{/other_user}","gists_url":"https://api.github.com/users/fivdi/gists{/gist_id}","starred_url":"https://api.github.com/users/fivdi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fivdi/subscriptions","organizations_url":"https://api.github.com/users/fivdi/orgs","repos_url":"https://api.github.com/users/fivdi/repos","events_url":"https://api.github.com/users/fivdi/events{/privacy}","received_events_url":"https://api.github.com/users/fivdi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-02-07T01:10:20Z","updated_at":"2015-02-08T08:59:34Z","closed_at":"2015-02-08T08:59:34Z","body":"With previous versions of the kernel it was possible to configure interrupts for GPIO outputs. With 3.18.5 this is no longer possible. This can be seen in the commands sequence below. Any attempt to set the edge to rising, falling, or both results in an error. \r\n\r\n```bash\r\npi@raspberrypi ~ $ uname -a\r\nLinux raspberrypi 3.18.5-v7+ #225 SMP PREEMPT Fri Jan 30 18:53:55 GMT 2015 armv7l GNU/Linux\r\npi@raspberrypi ~ $ cd /sys/class/gpio/\r\npi@raspberrypi /sys/class/gpio $ echo 4 > export \r\npi@raspberrypi /sys/class/gpio $ ls gpio4/\r\nactive_low  device  direction  edge  power  subsystem  uevent  value\r\npi@raspberrypi /sys/class/gpio $ echo out > gpio4/direction \r\npi@raspberrypi /sys/class/gpio $ cat gpio4/direction \r\nout\r\npi@raspberrypi /sys/class/gpio $ echo rising > gpio4/edge \r\n-bash: echo: write error: Input/output error\r\npi@raspberrypi /sys/class/gpio $ echo falling > gpio4/edge \r\n-bash: echo: write error: Device or resource busy\r\npi@raspberrypi /sys/class/gpio $ echo both > gpio4/edge \r\n-bash: echo: write error: Device or resource busy\r\npi@raspberrypi /sys/class/gpio $ cat gpio4/edge \r\nnone\r\npi@raspberrypi /sys/class/gpio $ \r\n```"}}