{"action":"created","issue":{"url":"https://api.github.com/repos/ev3dev/ev3dev/issues/370","repository_url":"https://api.github.com/repos/ev3dev/ev3dev","labels_url":"https://api.github.com/repos/ev3dev/ev3dev/issues/370/labels{/name}","comments_url":"https://api.github.com/repos/ev3dev/ev3dev/issues/370/comments","events_url":"https://api.github.com/repos/ev3dev/ev3dev/issues/370/events","html_url":"https://github.com/ev3dev/ev3dev/issues/370","id":97974351,"number":370,"title":"[brickpi] Using set_device attribute to set ev3-uart sensor hangs if sensor is not connected","user":{"login":"dlech","id":963645,"avatar_url":"https://avatars.githubusercontent.com/u/963645?v=3","gravatar_id":"","url":"https://api.github.com/users/dlech","html_url":"https://github.com/dlech","followers_url":"https://api.github.com/users/dlech/followers","following_url":"https://api.github.com/users/dlech/following{/other_user}","gists_url":"https://api.github.com/users/dlech/gists{/gist_id}","starred_url":"https://api.github.com/users/dlech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlech/subscriptions","organizations_url":"https://api.github.com/users/dlech/orgs","repos_url":"https://api.github.com/users/dlech/repos","events_url":"https://api.github.com/users/dlech/events{/privacy}","received_events_url":"https://api.github.com/users/dlech/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ev3dev/ev3dev/labels/BrickPi","name":"BrickPi","color":"207de5"},{"url":"https://api.github.com/repos/ev3dev/ev3dev/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ev3dev/ev3dev/labels/sensors","name":"sensors","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ev3dev/ev3dev/milestones/3","html_url":"https://github.com/ev3dev/ev3dev/milestones/ev3dev-next","labels_url":"https://api.github.com/repos/ev3dev/ev3dev/milestones/3/labels","id":1478678,"number":3,"title":"ev3dev-next","description":"Tracking for the next image release","creator":{"login":"dlech","id":963645,"avatar_url":"https://avatars.githubusercontent.com/u/963645?v=3","gravatar_id":"","url":"https://api.github.com/users/dlech","html_url":"https://github.com/dlech","followers_url":"https://api.github.com/users/dlech/followers","following_url":"https://api.github.com/users/dlech/following{/other_user}","gists_url":"https://api.github.com/users/dlech/gists{/gist_id}","starred_url":"https://api.github.com/users/dlech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlech/subscriptions","organizations_url":"https://api.github.com/users/dlech/orgs","repos_url":"https://api.github.com/users/dlech/repos","events_url":"https://api.github.com/users/dlech/events{/privacy}","received_events_url":"https://api.github.com/users/dlech/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":2,"state":"open","created_at":"2015-12-30T23:36:51Z","updated_at":"2016-02-04T03:41:34Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-07-29T16:24:42Z","updated_at":"2016-02-04T03:41:34Z","closed_at":"2016-02-04T03:41:34Z","body":"Using brickpi on RPi with nothing plugged into the sensor ports. Steps to repeat....\r\n\r\n    cd /sys/class/lego-port/port0 # presuming this is a brickpi input port\r\n    echo ev3-uart > mode\r\n    echo lego-ev3-us > set_device # this command hangs\r\n\r\nThe command hangs until a sensor is actually plugged in."},"comment":{"url":"https://api.github.com/repos/ev3dev/ev3dev/issues/comments/179602334","html_url":"https://github.com/ev3dev/ev3dev/issues/370#issuecomment-179602334","issue_url":"https://api.github.com/repos/ev3dev/ev3dev/issues/370","id":179602334,"user":{"login":"dlech","id":963645,"avatar_url":"https://avatars.githubusercontent.com/u/963645?v=3","gravatar_id":"","url":"https://api.github.com/users/dlech","html_url":"https://github.com/dlech","followers_url":"https://api.github.com/users/dlech/followers","following_url":"https://api.github.com/users/dlech/following{/other_user}","gists_url":"https://api.github.com/users/dlech/gists{/gist_id}","starred_url":"https://api.github.com/users/dlech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlech/subscriptions","organizations_url":"https://api.github.com/users/dlech/orgs","repos_url":"https://api.github.com/users/dlech/repos","events_url":"https://api.github.com/users/dlech/events{/privacy}","received_events_url":"https://api.github.com/users/dlech/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T03:41:34Z","updated_at":"2016-02-04T03:41:34Z","body":"Cannot duplicate anymore. There is a long timeout (10 seconds) but does not hang. May have been fixed by commit from #531."}}