{"action":"created","issue":{"url":"https://api.github.com/repos/mvp/uhubctl/issues/132","repository_url":"https://api.github.com/repos/mvp/uhubctl","labels_url":"https://api.github.com/repos/mvp/uhubctl/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/mvp/uhubctl/issues/132/comments","events_url":"https://api.github.com/repos/mvp/uhubctl/issues/132/events","html_url":"https://github.com/mvp/uhubctl/issues/132","id":394454680,"node_id":"MDU6SXNzdWUzOTQ0NTQ2ODA=","number":132,"title":"RPi 3B+","user":{"login":"tjb8907","id":5883859,"node_id":"MDQ6VXNlcjU4ODM4NTk=","avatar_url":"https://avatars3.githubusercontent.com/u/5883859?v=4","gravatar_id":"","url":"https://api.github.com/users/tjb8907","html_url":"https://github.com/tjb8907","followers_url":"https://api.github.com/users/tjb8907/followers","following_url":"https://api.github.com/users/tjb8907/following{/other_user}","gists_url":"https://api.github.com/users/tjb8907/gists{/gist_id}","starred_url":"https://api.github.com/users/tjb8907/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjb8907/subscriptions","organizations_url":"https://api.github.com/users/tjb8907/orgs","repos_url":"https://api.github.com/users/tjb8907/repos","events_url":"https://api.github.com/users/tjb8907/events{/privacy}","received_events_url":"https://api.github.com/users/tjb8907/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-27T17:56:31Z","updated_at":"2018-12-27T18:21:20Z","closed_at":null,"author_association":"NONE","body":"I have this installed on my RPi 3B+, but can't seem to get it to work to switch off the usb ports. I run `sudo uhubctl -a 0` and i get:\r\n`No compatible smart hubs detected!\r\nRun with -h to get usage info.\r\nThere were permission problems while accessing USB.\r\nTo fix this, run this tool as root using 'sudo uhubctl',\r\nor add one or more udev rules like below\r\nto file '/etc/udev/rules.d/52-usb.rules':\r\nSUBSYSTEM==\"usb\", ATTR{idVendor}==\"2001\", MODE=\"0666\"\r\nthen run 'sudo udevadm trigger --attr-match=subsystem=usb'\r\n`\r\n\r\nI went through the steps to step the udev rules, and it works to run without sudo, but get the same message. Based on my readings, the RPi 3B should work, but has anyone used this  on a 3B+?\r\n\r\nTrying to use it on my OctoPrint setup to stop the RPi from powering the printer board when the printer is off. If this doesnt work I can just just the power wire in my usb cable, but I would rather do it this way. "},"comment":{"url":"https://api.github.com/repos/mvp/uhubctl/issues/comments/450204544","html_url":"https://github.com/mvp/uhubctl/issues/132#issuecomment-450204544","issue_url":"https://api.github.com/repos/mvp/uhubctl/issues/132","id":450204544,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDIwNDU0NA==","user":{"login":"mvp","id":17501,"node_id":"MDQ6VXNlcjE3NTAx","avatar_url":"https://avatars3.githubusercontent.com/u/17501?v=4","gravatar_id":"","url":"https://api.github.com/users/mvp","html_url":"https://github.com/mvp","followers_url":"https://api.github.com/users/mvp/followers","following_url":"https://api.github.com/users/mvp/following{/other_user}","gists_url":"https://api.github.com/users/mvp/gists{/gist_id}","starred_url":"https://api.github.com/users/mvp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvp/subscriptions","organizations_url":"https://api.github.com/users/mvp/orgs","repos_url":"https://api.github.com/users/mvp/repos","events_url":"https://api.github.com/users/mvp/events{/privacy}","received_events_url":"https://api.github.com/users/mvp/received_events","type":"User","site_admin":false},"created_at":"2018-12-27T18:21:20Z","updated_at":"2018-12-27T18:21:20Z","author_association":"OWNER","body":"RPi 3B+ has 2 hubs, daisy-chaned. You need to add 2 rules,.and make sure that they are activated by either rebooting or running udevadm command above. You may also check if it works by running uhubctl under sudo, which doesn't require udev rules."}}
{"actor":{"display_login":"mvp"}}