{"action":"created","issue":{"url":"https://api.github.com/repos/padelt/pcsensor-temper/issues/1","labels_url":"https://api.github.com/repos/padelt/pcsensor-temper/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/padelt/pcsensor-temper/issues/1/comments","events_url":"https://api.github.com/repos/padelt/pcsensor-temper/issues/1/events","html_url":"https://github.com/padelt/pcsensor-temper/issues/1","id":16486234,"number":1,"title":"Fata error> USB read failed","user":{"login":"andrewflournoy","id":4967188,"avatar_url":"https://avatars.githubusercontent.com/u/4967188?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewflournoy","html_url":"https://github.com/andrewflournoy","followers_url":"https://api.github.com/users/andrewflournoy/followers","following_url":"https://api.github.com/users/andrewflournoy/following{/other_user}","gists_url":"https://api.github.com/users/andrewflournoy/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewflournoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewflournoy/subscriptions","organizations_url":"https://api.github.com/users/andrewflournoy/orgs","repos_url":"https://api.github.com/users/andrewflournoy/repos","events_url":"https://api.github.com/users/andrewflournoy/events{/privacy}","received_events_url":"https://api.github.com/users/andrewflournoy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2013-07-08T18:28:14Z","updated_at":"2015-05-21T08:31:00Z","closed_at":null,"body":"When I use this driver, it successfully reads two devices but with the occasional error.\r\n\r\n<code>USB interupt read: Resource temporarily unavailable\r\nFatal error> USB read failed</code>\r\n\r\nThis results in the n0 and n1 device switching. I'm unsure if the issue lies with this driver or Linux. OS is Raspbian Wheezy. I've used other drivers which also result in this interrupt error."},"comment":{"url":"https://api.github.com/repos/padelt/pcsensor-temper/issues/comments/104180057","html_url":"https://github.com/padelt/pcsensor-temper/issues/1#issuecomment-104180057","issue_url":"https://api.github.com/repos/padelt/pcsensor-temper/issues/1","id":104180057,"user":{"login":"padelt","id":826969,"avatar_url":"https://avatars.githubusercontent.com/u/826969?v=3","gravatar_id":"","url":"https://api.github.com/users/padelt","html_url":"https://github.com/padelt","followers_url":"https://api.github.com/users/padelt/followers","following_url":"https://api.github.com/users/padelt/following{/other_user}","gists_url":"https://api.github.com/users/padelt/gists{/gist_id}","starred_url":"https://api.github.com/users/padelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/padelt/subscriptions","organizations_url":"https://api.github.com/users/padelt/orgs","repos_url":"https://api.github.com/users/padelt/repos","events_url":"https://api.github.com/users/padelt/events{/privacy}","received_events_url":"https://api.github.com/users/padelt/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T08:31:00Z","updated_at":"2015-05-21T08:31:00Z","body":"@wojciiii , I have no real idea why that is happening. That said, I do not think much about this C-version of pcsensor-temper as I exclusively use the python-version here: https://github.com/padelt/temper-python\r\n\r\nI do have one idea though: A year ago, @amorphic added a reset of the USB device after each read cycle. You can see the relevant code change in temper-python here: \r\n\r\nhttps://github.com/padelt/temper-python/commit/a9c8b68570f94d4912c765a2b0c57e0399835c1f#diff-19c78b0104bf03153b342369297c254dR157\r\n\r\nThat may still be missing in pcsensor-temper and may help with this situation."}}