393 Commits

Author SHA1 Message Date
Kyle Lemons
ca13741ba1 See https://github.com/kylelemons/gousb/pull/7
Merge branch 'fix-context-close-race' of https://github.com/krasin/gousb
2013-08-14 19:23:18 -07:00
Kyle Lemons
96f1a0a774 Update LICENSE 2013-08-14 19:22:55 -07:00
Ivan Krasin
f0ae807096 Fix race condition with C.libusb_handle_events that might still being called while libusb_exit is executed. Use C.libusb_handle_events_timeout_completed which accepts timeouts and pass 100 ms timeout. This is the recommended way to deal with this issue, see http://libusb.sourceforge.net/api-1.0/group__poll.html#ga43e52b912a760b41a0cf8a4a472fbd5b and http://libusb.sourceforge.net/api-1.0/group__poll.html#ga4989086e3f0327f3886a4c474ec7c327 2013-08-14 00:34:00 -07:00
Ivan Krasin
e5e703175c Add a test case that triggers 'handle_events: error: libusb: unknown error [code -99]' 2013-08-14 00:25:49 -07:00
Kyle Lemons
f0081d8ff9 add xbox example and make some changes to support it 2013-06-22 08:38:58 -07:00
Kyle Lemons
98ceb07d97 Merge branch 'master' of github.com:kylelemons/gousb 2013-06-18 00:43:40 -07:00
Kyle Lemons
969c2fa8e5 Merge pull request #4 from krasin/request-type
Add RequestType enum values to be passed to Device.Control()
2013-06-18 00:42:56 -07:00
Kyle Lemons
4a779282d1 Merge pull request #5 from krasin/fix-multiple-endpoints
Allow opening multiple endpoints for the same device
2013-06-18 00:42:02 -07:00
Ivan Krasin
b0713f61b4 Allow opening multiple endpoints for the same device, if configuration is also the same. 2013-06-16 20:29:54 -07:00
Ivan Krasin
28a4c23af3 Add RequestType enum values to be passed to Device.Control() 2013-06-16 19:54:30 -07:00
Kyle Lemons
333941e08d Update links to godoc.org 2013-04-07 12:35:37 -07:00
Kyle Lemons
67ecea5706 Update readme with instructions for darwin 2013-04-07 12:32:53 -07:00
Kyle Lemons
88b4ba82fe Merge branch 'master' of github.com:kylelemons/gousb 2013-04-07 12:29:05 -07:00
Kyle Lemons
2a0c17dbb4 Add script to fix libusb on darwin 2013-04-07 12:28:45 -07:00
Kyle Lemons
ac35be6d92 Merge pull request #2 from pjvds/master
Fix get command urls
2013-01-06 14:11:08 -08:00
Pieter Joost van de Sande
c78a929b29 Fix get command urls 2013-01-06 12:41:20 +01:00
Kyle Lemons
6844d749d9 Add LICENSE file (CDDL-1.0) 2012-12-07 20:56:40 -05:00
Kyle Lemons
8d73a5775d Fix GC race condition with callback pointer 2012-07-25 00:40:54 -07:00
Kyle Lemons
1723f5a08d gofmt 2012-07-22 23:40:25 -07:00
Kyle Lemons
b8ed23c967 remove swap file 2012-07-22 23:37:31 -07:00
Kyle Lemons
e5fd0ba6e3 Fix double free issues 2012-07-22 23:36:03 -07:00
Kyle Lemons
acb3aed8c3 Working on iso 2012-04-16 00:18:53 -04:00
Kyle Lemons
96ca30cdbb Fix ordering of config 2012-04-15 22:43:55 -04:00
Kyle Lemons
1e5170b125 Working on iso 2012-04-15 18:58:18 -07:00
Kyle Lemons
9849a972c6 Added isochronous transfer 2012-04-12 20:15:30 -07:00
Kyle Lemons
71bbb57904 Checkpoint 2012-04-09 17:37:25 -07:00
Kyle Lemons
0c8ed5357c Add first round of bulk/interrupt I/O 2012-03-27 23:04:18 -07:00
Kyle Lemons
c8d19d2d0f Renames 2012-03-27 20:30:16 -07:00
Kyle Lemons
5fef64fd78 gofmt 2012-03-27 19:40:32 -07:00
Kyle Lemons
e5a0531ed2 Cleanup 2012-03-27 19:40:22 -07:00
Kyle Lemons
25c01a9f60 Remove (*Config).Close() 2012-03-27 18:40:32 -07:00
Kyle Lemons
be26b2f34b Tweaks and renames 2012-03-27 18:34:56 -07:00
Kyle Lemons
8a56742c74 Improve documentation 2012-03-27 00:09:18 -07:00
Kyle Lemons
78e551a40d Package documentation 2012-03-26 23:58:51 -07:00
Kyle Lemons
1190ab988a Fix missing parenthesis 2012-03-26 23:54:30 -07:00
Kyle Lemons
de63823965 Comment/test cleanup 2012-03-26 23:53:08 -07:00
Kyle Lemons
e5d6effd74 Add doc links 2012-03-26 23:11:53 -07:00
Kyle Lemons
965cf762a2 Add README 2012-03-26 23:08:44 -07:00
Kyle Lemons
2da2ce1e17 gofmt 2012-03-26 22:51:47 -07:00
Kyle Lemons
86ebf94158 Output cleanup 2012-03-26 22:51:37 -07:00
Kyle Lemons
0f572675c9 Tidy up interfaces and pretty printing 2012-03-26 22:37:25 -07:00
Kyle Lemons
ba2dd5404f Add config, interfaces, endpoints, etc 2012-03-26 00:06:53 -07:00
Kyle Lemons
804a3c6ab8 First cut 2012-03-25 04:11:01 -07:00