{"action":"created","issue":{"url":"https://api.github.com/repos/OpenRepeater/webapp/issues/8","labels_url":"https://api.github.com/repos/OpenRepeater/webapp/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/OpenRepeater/webapp/issues/8/comments","events_url":"https://api.github.com/repos/OpenRepeater/webapp/issues/8/events","html_url":"https://github.com/OpenRepeater/webapp/issues/8","id":103088987,"number":8,"title":"RPI 2 Invalid value for Card","user":{"login":"dwebber1","id":8965776,"avatar_url":"https://avatars.githubusercontent.com/u/8965776?v=3","gravatar_id":"","url":"https://api.github.com/users/dwebber1","html_url":"https://github.com/dwebber1","followers_url":"https://api.github.com/users/dwebber1/followers","following_url":"https://api.github.com/users/dwebber1/following{/other_user}","gists_url":"https://api.github.com/users/dwebber1/gists{/gist_id}","starred_url":"https://api.github.com/users/dwebber1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwebber1/subscriptions","organizations_url":"https://api.github.com/users/dwebber1/orgs","repos_url":"https://api.github.com/users/dwebber1/repos","events_url":"https://api.github.com/users/dwebber1/events{/privacy}","received_events_url":"https://api.github.com/users/dwebber1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-25T18:35:38Z","updated_at":"2015-08-26T02:33:36Z","closed_at":null,"body":"Hi Guys awesome project ! I have a little issue of the RPI img. When trying to use USB audio card you recommend (http://www.amazon.com/gp/product/B007HISGRW?ref_=zg_bs_3015427011_11), and I use the defualt settings on the hardware config page \"alsa:plughw:0 I get this error \"ALSA lib pcm_hw.c:1667:(_snd_pcm_hw_open) Invalid value for card\r\n\" Is there some extra config I have to do?\r\nThanks "},"comment":{"url":"https://api.github.com/repos/OpenRepeater/webapp/issues/comments/134796662","html_url":"https://github.com/OpenRepeater/webapp/issues/8#issuecomment-134796662","issue_url":"https://api.github.com/repos/OpenRepeater/webapp/issues/8","id":134796662,"user":{"login":"alleghenycreative","id":7361872,"avatar_url":"https://avatars.githubusercontent.com/u/7361872?v=3","gravatar_id":"","url":"https://api.github.com/users/alleghenycreative","html_url":"https://github.com/alleghenycreative","followers_url":"https://api.github.com/users/alleghenycreative/followers","following_url":"https://api.github.com/users/alleghenycreative/following{/other_user}","gists_url":"https://api.github.com/users/alleghenycreative/gists{/gist_id}","starred_url":"https://api.github.com/users/alleghenycreative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alleghenycreative/subscriptions","organizations_url":"https://api.github.com/users/alleghenycreative/orgs","repos_url":"https://api.github.com/users/alleghenycreative/repos","events_url":"https://api.github.com/users/alleghenycreative/events{/privacy}","received_events_url":"https://api.github.com/users/alleghenycreative/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T02:33:36Z","updated_at":"2015-08-26T02:33:36Z","body":"Hi @dwebber1,\r\nThanks for your interest in the project. I have different values on the same USB card when used on my RPI2 than I do on my BBB. Try logging in via SSH and running \"aplay -l\" from the GUI. This should show your USB card. Take the number in the  listed and sub that out for the number in the config page.\r\n\r\nSo....\r\n\"Card 0\" = alsa:plughw:0\r\n\"Card 1\" = alsa:plughw:1\r\n\r\nDepending on your card on RX channel, 0 is probably best, this should be the tip on the mic jack. Should work for mono or stereo mic input.\r\n\r\nFor TX channel, use 0 for Left (tip) and 1 for Right (ring)\r\n\r\nAfter you change your GPIO pins in the ports tab, make sure to save, then rebuild, then reboot. \r\n\r\nYou can also use \"service svxlink stop\" and \"service svxlink start\" to restart the svxlink service\r\n\r\nHope this helps."}}