{"action":"closed","issue":{"url":"https://api.github.com/repos/papabricole/Pololu-Maestro/issues/1","repository_url":"https://api.github.com/repos/papabricole/Pololu-Maestro","labels_url":"https://api.github.com/repos/papabricole/Pololu-Maestro/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/papabricole/Pololu-Maestro/issues/1/comments","events_url":"https://api.github.com/repos/papabricole/Pololu-Maestro/issues/1/events","html_url":"https://github.com/papabricole/Pololu-Maestro/issues/1","id":144308714,"number":1,"title":"libusc_get_servo_status() returning LIBUSB_ERROR_PIPE","user":{"login":"simon-collins","id":16897914,"avatar_url":"https://avatars.githubusercontent.com/u/16897914?v=3","gravatar_id":"","url":"https://api.github.com/users/simon-collins","html_url":"https://github.com/simon-collins","followers_url":"https://api.github.com/users/simon-collins/followers","following_url":"https://api.github.com/users/simon-collins/following{/other_user}","gists_url":"https://api.github.com/users/simon-collins/gists{/gist_id}","starred_url":"https://api.github.com/users/simon-collins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon-collins/subscriptions","organizations_url":"https://api.github.com/users/simon-collins/orgs","repos_url":"https://api.github.com/users/simon-collins/repos","events_url":"https://api.github.com/users/simon-collins/events{/privacy}","received_events_url":"https://api.github.com/users/simon-collins/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-29T15:56:28Z","updated_at":"2016-04-15T08:59:05Z","closed_at":"2016-04-15T08:59:05Z","body":"In function libusc_get_servo_status(),\r\n`unsigned int bytesRead = libusc_control_transfer(dev, 0xC0, (unsigned char)REQUEST_GET_SERVO_SETTINGS, 0, 0, (unsigned char*)buffer, size);`\r\n\r\nreturns value 0xFFFFFFF7, which corresponds to -9, or LIBUSB_ERROR_PIPE\r\n\r\nThe error is not returned to the calling function - return value is always 1.\r\n\r\nlibusc_get_num_channels() and libusc_set_target() are working correctly, so valid Maestro controller is connected.\r\n"}}