{"action":"closed","issue":{"url":"https://api.github.com/repos/daynix/UsbDk/issues/5","labels_url":"https://api.github.com/repos/daynix/UsbDk/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/daynix/UsbDk/issues/5/comments","events_url":"https://api.github.com/repos/daynix/UsbDk/issues/5/events","html_url":"https://github.com/daynix/UsbDk/issues/5","id":101786856,"number":5,"title":"Receiving -1 using libusb-usbdk for any control transfer","user":{"login":"jgh-","id":420654,"avatar_url":"https://avatars.githubusercontent.com/u/420654?v=3","gravatar_id":"","url":"https://api.github.com/users/jgh-","html_url":"https://github.com/jgh-","followers_url":"https://api.github.com/users/jgh-/followers","following_url":"https://api.github.com/users/jgh-/following{/other_user}","gists_url":"https://api.github.com/users/jgh-/gists{/gist_id}","starred_url":"https://api.github.com/users/jgh-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgh-/subscriptions","organizations_url":"https://api.github.com/users/jgh-/orgs","repos_url":"https://api.github.com/users/jgh-/repos","events_url":"https://api.github.com/users/jgh-/events{/privacy}","received_events_url":"https://api.github.com/users/jgh-/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-19T01:41:18Z","updated_at":"2015-10-29T20:35:27Z","closed_at":"2015-10-29T20:35:27Z","body":"Hi\r\n\r\nThis seems to be a really interesting and promising library, so thanks for it.  I have a question though, I am trying to send control transfers to a device via libusb-usbdk (porting code that uses libusb on another OS and works):\r\n\r\n1. List devices.  I am able to iterate through the devices and find the one I am looking for.\r\n2. Open the device.  I am able to successfully open the device.  The redirector appears to work.\r\n3. Get a handle for the device from libusb. This appears to work.\r\n4. Send a control transfer.  This appears to fail with -1.  Stepping through the code it seems like it successfully sends the transfer (at least I get `TransferSuccessAsync` from `usbdk_helper.WritePipe`) but then there's some IO error that happens later on or something...I get `LIBUSB_TRANSFER_ERROR` after waiting is completed.\r\n\r\nI've plugged the device into a hardware USB sniffer and I don't see any transfer happening at all there.\r\n\r\nAny thoughts on what I might be doing wrong? Am I missing a step or anything?"}}