{"action":"opened","number":44,"pull_request":{"url":"https://api.github.com/repos/mkorenkov/ipad_charge/pulls/44","id":87118835,"html_url":"https://github.com/mkorenkov/ipad_charge/pull/44","diff_url":"https://github.com/mkorenkov/ipad_charge/pull/44.diff","patch_url":"https://github.com/mkorenkov/ipad_charge/pull/44.patch","issue_url":"https://api.github.com/repos/mkorenkov/ipad_charge/issues/44","number":44,"state":"open","locked":false,"title":"Make utility work in the face of 2 issues found on Ubuntu 16.04","user":{"login":"nitsanw","id":2692655,"avatar_url":"https://avatars.githubusercontent.com/u/2692655?v=3","gravatar_id":"","url":"https://api.github.com/users/nitsanw","html_url":"https://github.com/nitsanw","followers_url":"https://api.github.com/users/nitsanw/followers","following_url":"https://api.github.com/users/nitsanw/following{/other_user}","gists_url":"https://api.github.com/users/nitsanw/gists{/gist_id}","starred_url":"https://api.github.com/users/nitsanw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitsanw/subscriptions","organizations_url":"https://api.github.com/users/nitsanw/orgs","repos_url":"https://api.github.com/users/nitsanw/repos","events_url":"https://api.github.com/users/nitsanw/events{/privacy}","received_events_url":"https://api.github.com/users/nitsanw/received_events","type":"User","site_admin":false},"body":"I hit 2 issues:\r\n 1. Resource busy: need to set device to auto detach\r\n 2. Interface number hardcoded to 0, but turned out to be 2\r\nI also added some output to help future failures easier to diagnose (I think). Arguably those should be put behind a 'quiet' flag. While doing this I formatted the errors (for the better I believe).\r\nThis fixed issues #42 (for me) and perhaps issue #34","created_at":"2016-09-28T13:24:13Z","updated_at":"2016-09-28T13:24:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mkorenkov/ipad_charge/pulls/44/commits","review_comments_url":"https://api.github.com/repos/mkorenkov/ipad_charge/pulls/44/comments","review_comment_url":"https://api.github.com/repos/mkorenkov/ipad_charge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mkorenkov/ipad_charge/issues/44/comments","statuses_url":"https://api.github.com/repos/mkorenkov/ipad_charge/statuses/e3632ef5a7d1b06607a6667c156e8d53bdd3b821","head":{"label":"nitsanw:master","ref":"master","sha":"e3632ef5a7d1b06607a6667c156e8d53bdd3b821","user":{"login":"nitsanw","id":2692655,"avatar_url":"https://avatars.githubusercontent.com/u/2692655?v=3","gravatar_id":"","url":"https://api.github.com/users/nitsanw","html_url":"https://github.com/nitsanw","followers_url":"https://api.github.com/users/nitsanw/followers","following_url":"https://api.github.com/users/nitsanw/following{/other_user}","gists_url":"https://api.github.com/users/nitsanw/gists{/gist_id}","starred_url":"https://api.github.com/users/nitsanw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitsanw/subscriptions","organizations_url":"https://api.github.com/users/nitsanw/orgs","repos_url":"https://api.github.com/users/nitsanw/repos","events_url":"https://api.github.com/users/nitsanw/events{/privacy}","received_events_url":"https://api.github.com/users/nitsanw/received_events","type":"User","site_admin":false},"repo":{"id":69451482,"name":"ipad_charge","full_name":"nitsanw/ipad_charge","owner":{"login":"nitsanw","id":2692655,"avatar_url":"https://avatars.githubusercontent.com/u/2692655?v=3","gravatar_id":"","url":"https://api.github.com/users/nitsanw","html_url":"https://github.com/nitsanw","followers_url":"https://api.github.com/users/nitsanw/followers","following_url":"https://api.github.com/users/nitsanw/following{/other_user}","gists_url":"https://api.github.com/users/nitsanw/gists{/gist_id}","starred_url":"https://api.github.com/users/nitsanw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitsanw/subscriptions","organizations_url":"https://api.github.com/users/nitsanw/orgs","repos_url":"https://api.github.com/users/nitsanw/repos","events_url":"https://api.github.com/users/nitsanw/events{/privacy}","received_events_url":"https://api.github.com/users/nitsanw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nitsanw/ipad_charge","description":"charge Apple devices under Ubuntu Linux","fork":true,"url":"https://api.github.com/repos/nitsanw/ipad_charge","forks_url":"https://api.github.com/repos/nitsanw/ipad_charge/forks","keys_url":"https://api.github.com/repos/nitsanw/ipad_charge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nitsanw/ipad_charge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nitsanw/ipad_charge/teams","hooks_url":"https://api.github.com/repos/nitsanw/ipad_charge/hooks","issue_events_url":"https://api.github.com/repos/nitsanw/ipad_charge/issues/events{/number}","events_url":"https://api.github.com/repos/nitsanw/ipad_charge/events","assignees_url":"https://api.github.com/repos/nitsanw/ipad_charge/assignees{/user}","branches_url":"https://api.github.com/repos/nitsanw/ipad_charge/branches{/branch}","tags_url":"https://api.github.com/repos/nitsanw/ipad_charge/tags","blobs_url":"https://api.github.com/repos/nitsanw/ipad_charge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nitsanw/ipad_charge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nitsanw/ipad_charge/git/refs{/sha}","trees_url":"https://api.github.com/repos/nitsanw/ipad_charge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nitsanw/ipad_charge/statuses/{sha}","languages_url":"https://api.github.com/repos/nitsanw/ipad_charge/languages","stargazers_url":"https://api.github.com/repos/nitsanw/ipad_charge/stargazers","contributors_url":"https://api.github.com/repos/nitsanw/ipad_charge/contributors","subscribers_url":"https://api.github.com/repos/nitsanw/ipad_charge/subscribers","subscription_url":"https://api.github.com/repos/nitsanw/ipad_charge/subscription","commits_url":"https://api.github.com/repos/nitsanw/ipad_charge/commits{/sha}","git_commits_url":"https://api.github.com/repos/nitsanw/ipad_charge/git/commits{/sha}","comments_url":"https://api.github.com/repos/nitsanw/ipad_charge/comments{/number}","issue_comment_url":"https://api.github.com/repos/nitsanw/ipad_charge/issues/comments{/number}","contents_url":"https://api.github.com/repos/nitsanw/ipad_charge/contents/{+path}","compare_url":"https://api.github.com/repos/nitsanw/ipad_charge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nitsanw/ipad_charge/merges","archive_url":"https://api.github.com/repos/nitsanw/ipad_charge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nitsanw/ipad_charge/downloads","issues_url":"https://api.github.com/repos/nitsanw/ipad_charge/issues{/number}","pulls_url":"https://api.github.com/repos/nitsanw/ipad_charge/pulls{/number}","milestones_url":"https://api.github.com/repos/nitsanw/ipad_charge/milestones{/number}","notifications_url":"https://api.github.com/repos/nitsanw/ipad_charge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nitsanw/ipad_charge/labels{/name}","releases_url":"https://api.github.com/repos/nitsanw/ipad_charge/releases{/id}","deployments_url":"https://api.github.com/repos/nitsanw/ipad_charge/deployments","created_at":"2016-09-28T10:12:35Z","updated_at":"2016-09-28T10:12:36Z","pushed_at":"2016-09-28T13:15:14Z","git_url":"git://github.com/nitsanw/ipad_charge.git","ssh_url":"git@github.com:nitsanw/ipad_charge.git","clone_url":"https://github.com/nitsanw/ipad_charge.git","svn_url":"https://github.com/nitsanw/ipad_charge","homepage":"http://korenkov.info/pages/ipad-charge","size":28,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mkorenkov:master","ref":"master","sha":"aef5d59571193fb4d2716c822ee1fa5d1ab1e68a","user":{"login":"mkorenkov","id":643349,"avatar_url":"https://avatars.githubusercontent.com/u/643349?v=3","gravatar_id":"","url":"https://api.github.com/users/mkorenkov","html_url":"https://github.com/mkorenkov","followers_url":"https://api.github.com/users/mkorenkov/followers","following_url":"https://api.github.com/users/mkorenkov/following{/other_user}","gists_url":"https://api.github.com/users/mkorenkov/gists{/gist_id}","starred_url":"https://api.github.com/users/mkorenkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkorenkov/subscriptions","organizations_url":"https://api.github.com/users/mkorenkov/orgs","repos_url":"https://api.github.com/users/mkorenkov/repos","events_url":"https://api.github.com/users/mkorenkov/events{/privacy}","received_events_url":"https://api.github.com/users/mkorenkov/received_events","type":"User","site_admin":false},"repo":{"id":1552492,"name":"ipad_charge","full_name":"mkorenkov/ipad_charge","owner":{"login":"mkorenkov","id":643349,"avatar_url":"https://avatars.githubusercontent.com/u/643349?v=3","gravatar_id":"","url":"https://api.github.com/users/mkorenkov","html_url":"https://github.com/mkorenkov","followers_url":"https://api.github.com/users/mkorenkov/followers","following_url":"https://api.github.com/users/mkorenkov/following{/other_user}","gists_url":"https://api.github.com/users/mkorenkov/gists{/gist_id}","starred_url":"https://api.github.com/users/mkorenkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkorenkov/subscriptions","organizations_url":"https://api.github.com/users/mkorenkov/orgs","repos_url":"https://api.github.com/users/mkorenkov/repos","events_url":"https://api.github.com/users/mkorenkov/events{/privacy}","received_events_url":"https://api.github.com/users/mkorenkov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mkorenkov/ipad_charge","description":"charge Apple devices under Ubuntu Linux","fork":false,"url":"https://api.github.com/repos/mkorenkov/ipad_charge","forks_url":"https://api.github.com/repos/mkorenkov/ipad_charge/forks","keys_url":"https://api.github.com/repos/mkorenkov/ipad_charge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mkorenkov/ipad_charge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mkorenkov/ipad_charge/teams","hooks_url":"https://api.github.com/repos/mkorenkov/ipad_charge/hooks","issue_events_url":"https://api.github.com/repos/mkorenkov/ipad_charge/issues/events{/number}","events_url":"https://api.github.com/repos/mkorenkov/ipad_charge/events","assignees_url":"https://api.github.com/repos/mkorenkov/ipad_charge/assignees{/user}","branches_url":"https://api.github.com/repos/mkorenkov/ipad_charge/branches{/branch}","tags_url":"https://api.github.com/repos/mkorenkov/ipad_charge/tags","blobs_url":"https://api.github.com/repos/mkorenkov/ipad_charge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mkorenkov/ipad_charge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mkorenkov/ipad_charge/git/refs{/sha}","trees_url":"https://api.github.com/repos/mkorenkov/ipad_charge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mkorenkov/ipad_charge/statuses/{sha}","languages_url":"https://api.github.com/repos/mkorenkov/ipad_charge/languages","stargazers_url":"https://api.github.com/repos/mkorenkov/ipad_charge/stargazers","contributors_url":"https://api.github.com/repos/mkorenkov/ipad_charge/contributors","subscribers_url":"https://api.github.com/repos/mkorenkov/ipad_charge/subscribers","subscription_url":"https://api.github.com/repos/mkorenkov/ipad_charge/subscription","commits_url":"https://api.github.com/repos/mkorenkov/ipad_charge/commits{/sha}","git_commits_url":"https://api.github.com/repos/mkorenkov/ipad_charge/git/commits{/sha}","comments_url":"https://api.github.com/repos/mkorenkov/ipad_charge/comments{/number}","issue_comment_url":"https://api.github.com/repos/mkorenkov/ipad_charge/issues/comments{/number}","contents_url":"https://api.github.com/repos/mkorenkov/ipad_charge/contents/{+path}","compare_url":"https://api.github.com/repos/mkorenkov/ipad_charge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mkorenkov/ipad_charge/merges","archive_url":"https://api.github.com/repos/mkorenkov/ipad_charge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mkorenkov/ipad_charge/downloads","issues_url":"https://api.github.com/repos/mkorenkov/ipad_charge/issues{/number}","pulls_url":"https://api.github.com/repos/mkorenkov/ipad_charge/pulls{/number}","milestones_url":"https://api.github.com/repos/mkorenkov/ipad_charge/milestones{/number}","notifications_url":"https://api.github.com/repos/mkorenkov/ipad_charge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mkorenkov/ipad_charge/labels{/name}","releases_url":"https://api.github.com/repos/mkorenkov/ipad_charge/releases{/id}","deployments_url":"https://api.github.com/repos/mkorenkov/ipad_charge/deployments","created_at":"2011-03-31T20:02:23Z","updated_at":"2016-09-27T14:42:56Z","pushed_at":"2016-09-28T13:24:13Z","git_url":"git://github.com/mkorenkov/ipad_charge.git","ssh_url":"git@github.com:mkorenkov/ipad_charge.git","clone_url":"https://github.com/mkorenkov/ipad_charge.git","svn_url":"https://github.com/mkorenkov/ipad_charge","homepage":"http://korenkov.info/pages/ipad-charge","size":56,"stargazers_count":188,"watchers_count":188,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":14,"forks":48,"open_issues":14,"watchers":188,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mkorenkov/ipad_charge/pulls/44"},"html":{"href":"https://github.com/mkorenkov/ipad_charge/pull/44"},"issue":{"href":"https://api.github.com/repos/mkorenkov/ipad_charge/issues/44"},"comments":{"href":"https://api.github.com/repos/mkorenkov/ipad_charge/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/mkorenkov/ipad_charge/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/mkorenkov/ipad_charge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mkorenkov/ipad_charge/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/mkorenkov/ipad_charge/statuses/e3632ef5a7d1b06607a6667c156e8d53bdd3b821"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":29,"deletions":13,"changed_files":1}}
{"actor":{"display_login":"nitsanw"}}