{"action":"created","issue":{"url":"https://api.github.com/repos/sammachin/AlexaPi/issues/67","repository_url":"https://api.github.com/repos/sammachin/AlexaPi","labels_url":"https://api.github.com/repos/sammachin/AlexaPi/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/sammachin/AlexaPi/issues/67/comments","events_url":"https://api.github.com/repos/sammachin/AlexaPi/issues/67/events","html_url":"https://github.com/sammachin/AlexaPi/issues/67","id":152036789,"number":67,"title":"ALSA Hanging After First Use","user":{"login":"charges","id":18631368,"avatar_url":"https://avatars.githubusercontent.com/u/18631368?v=3","gravatar_id":"","url":"https://api.github.com/users/charges","html_url":"https://github.com/charges","followers_url":"https://api.github.com/users/charges/followers","following_url":"https://api.github.com/users/charges/following{/other_user}","gists_url":"https://api.github.com/users/charges/gists{/gist_id}","starred_url":"https://api.github.com/users/charges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charges/subscriptions","organizations_url":"https://api.github.com/users/charges/orgs","repos_url":"https://api.github.com/users/charges/repos","events_url":"https://api.github.com/users/charges/events{/privacy}","received_events_url":"https://api.github.com/users/charges/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-04-30T15:35:20Z","updated_at":"2016-05-02T18:27:07Z","closed_at":null,"body":"I can't get it to run more than once. Everything works well on first boot. Alexa says \"hello.\" I press the button. Red light goes on. I ask a question. Release button. Red light goes off. Green light comes on. Alexa responds. Yay. Then ... Nothing. \r\n\r\nAfter the first interaction, nothing. Button push gets no red LED. No Alexa response. This is what the log says:\r\n\r\n            Checking Internet Connection\r\n            Connection OK\r\n            Traceback (most recent call last):\r\n              File \"/root/AlexaPi/main.py\", line 151, in <module>\r\n                            start()\r\n              File \"/root/AlexaPi/main.py\", line 117, in start\r\n                            inp = alsaaudio.PCM(alsaaudio.PCM_CAPTURE,                        \r\n                            alsaaudio.PCM_NORMAL, device)\r\n                            alsaaudio.ALSAAudioError: Device or resource busy\r\n\r\nAny ideas why ALSA gets bogged down after the first instance?﻿ I am using a USB min mic (http://www.amazon.com/dp/B00IR8R7WQ/ref=cm_sw_su_dp) for capture and the Raspberry Pi sound card for playback. "},"comment":{"url":"https://api.github.com/repos/sammachin/AlexaPi/issues/comments/216319372","html_url":"https://github.com/sammachin/AlexaPi/issues/67#issuecomment-216319372","issue_url":"https://api.github.com/repos/sammachin/AlexaPi/issues/67","id":216319372,"user":{"login":"charges","id":18631368,"avatar_url":"https://avatars.githubusercontent.com/u/18631368?v=3","gravatar_id":"","url":"https://api.github.com/users/charges","html_url":"https://github.com/charges","followers_url":"https://api.github.com/users/charges/followers","following_url":"https://api.github.com/users/charges/following{/other_user}","gists_url":"https://api.github.com/users/charges/gists{/gist_id}","starred_url":"https://api.github.com/users/charges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charges/subscriptions","organizations_url":"https://api.github.com/users/charges/orgs","repos_url":"https://api.github.com/users/charges/repos","events_url":"https://api.github.com/users/charges/events{/privacy}","received_events_url":"https://api.github.com/users/charges/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T18:27:07Z","updated_at":"2016-05-02T18:27:07Z","body":"Sorry if I wasn't clear. I am using the aux out (headphone jack) for output and a USB mic for capture. "}}