{"action":"created","issue":{"url":"https://api.github.com/repos/daynix/UsbDk/issues/30","repository_url":"https://api.github.com/repos/daynix/UsbDk","labels_url":"https://api.github.com/repos/daynix/UsbDk/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/daynix/UsbDk/issues/30/comments","events_url":"https://api.github.com/repos/daynix/UsbDk/issues/30/events","html_url":"https://github.com/daynix/UsbDk/pull/30","id":175187156,"number":30,"title":"fix usbdk stuck problem","user":{"login":"goldendeng","id":17328702,"avatar_url":"https://avatars.githubusercontent.com/u/17328702?v=3","gravatar_id":"","url":"https://api.github.com/users/goldendeng","html_url":"https://github.com/goldendeng","followers_url":"https://api.github.com/users/goldendeng/followers","following_url":"https://api.github.com/users/goldendeng/following{/other_user}","gists_url":"https://api.github.com/users/goldendeng/gists{/gist_id}","starred_url":"https://api.github.com/users/goldendeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldendeng/subscriptions","organizations_url":"https://api.github.com/users/goldendeng/orgs","repos_url":"https://api.github.com/users/goldendeng/repos","events_url":"https://api.github.com/users/goldendeng/events{/privacy}","received_events_url":"https://api.github.com/users/goldendeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-06T08:20:23Z","updated_at":"2016-09-26T01:56:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/daynix/UsbDk/pulls/30","html_url":"https://github.com/daynix/UsbDk/pull/30","diff_url":"https://github.com/daynix/UsbDk/pull/30.diff","patch_url":"https://github.com/daynix/UsbDk/pull/30.patch"},"body":"In the Windows 32 system, unplug USB hub when transferring files , will cause the spicy.exe block for two minutes, I found usbdk obstruction and attempted to do the modifications, can solve the problem."},"comment":{"url":"https://api.github.com/repos/daynix/UsbDk/issues/comments/249463233","html_url":"https://github.com/daynix/UsbDk/pull/30#issuecomment-249463233","issue_url":"https://api.github.com/repos/daynix/UsbDk/issues/30","id":249463233,"user":{"login":"goldendeng","id":17328702,"avatar_url":"https://avatars.githubusercontent.com/u/17328702?v=3","gravatar_id":"","url":"https://api.github.com/users/goldendeng","html_url":"https://github.com/goldendeng","followers_url":"https://api.github.com/users/goldendeng/followers","following_url":"https://api.github.com/users/goldendeng/following{/other_user}","gists_url":"https://api.github.com/users/goldendeng/gists{/gist_id}","starred_url":"https://api.github.com/users/goldendeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldendeng/subscriptions","organizations_url":"https://api.github.com/users/goldendeng/orgs","repos_url":"https://api.github.com/users/goldendeng/repos","events_url":"https://api.github.com/users/goldendeng/events{/privacy}","received_events_url":"https://api.github.com/users/goldendeng/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T01:56:00Z","updated_at":"2016-09-26T01:56:00Z","body":"there is some log information\r\n**usb unplug not stuck:**\r\n2016-08-18T08:23:21.858524Z:channel-usbredir.c:811 usbredir-9:3: usbredir_handle_msg\r\n2016-08-18T08:23:21.858524Z:channel-usbredir.c:611 usbredir-9:3: usbredirhost: bulk complete ep 81 status 1 len 16\r\n2016-08-18T08:23:21.938524Z:win-usb-dev.c:440 number of current devices 2, I know about 3 devices\r\n2016-08-18T08:23:21.938524Z:win-usb-dev.c:611 <<< USB device removed: 1.2 0x0781:0x5567 class 0\r\n2016-08-18T08:23:21.938524Z:usb-device-manager.c:1717 disconnecting device 0171C9A8\r\n2016-08-18T08:23:21.938524Z:channel-usbredir.c:479 usbredir-9:3: disconnecting device from usb channel 02D4B168\r\n2016-08-18T08:23:21.938524Z:channel-usbredir.c:482 usbredir-9:3:  spice_usbredir_channel_disconnect_device\r\n2016-08-18T08:23:21.938524Z:channel-usbredir.c:611 usbredir-9:3: usbredirhost: device disconnected\r\n2016-08-18T08:23:21.938524Z:usb-device-manager.c:1004 device removed 0781:5567 (0171C9A8)\r\n2016-08-18T08:23:21.938524Z:channel-usbredir.c:811 usbredir-9:3: usbredir_handle_msg\r\n\r\n**usb unplug stuck two minutes:**\r\n2016-08-18T07:57:49.322283Z:channel-usbredir.c:611 usbredir-9:3: usbredirhost: bulk complete ep 81 status 3 len 0\r\n2016-08-18T07:57:49.392283Z:usbredirhost: error resetting device: LIBUSB_ERROR_NO_DEVICE\r\n2016-08-18T07:59:49.422692Z:channel-usbredir.c:611 usbredir-9:3: usbredirhost: device disconnected\r\n2016-08-18T07:59:49.422692Z:channel-usbredir.c:798 usbredir-9:3: SanDisk Corp. Cruzer Blade [0781:5567] at 1-2 Illegal disconnection\r\n2016-08-18T07:59:49.422692Z:win-usb-dev.c:440 number of current devices 2, I know about 3 devices\r\n2016-08-18T07:59:49.422692Z:win-usb-dev.c:611 <<< USB device removed: 1.2 0x0781:0x5567 class 0\r\n2016-08-18T07:59:49.422692Z:usb-device-manager.c:1717 disconnecting device 0769DA28\r\n\r\nso I think mabey usb-device-manager should disconnecting device first can avoid this problem.but I can't find a way to control."}}
{"actor":{"display_login":"goldendeng"}}