Sebastian Zagrodzki
|
d392ad305d
|
Tests for OpenVidPid
|
2017-03-10 07:38:54 -05:00 |
|
Sebastian Zagrodzki
|
4b17678362
|
remove a call to libusb_open_device_with_vid_pid, as it's just a
convenience wrapper. Reimplement the same trivial wrapper in Go.
|
2017-03-10 07:22:04 -05:00 |
|
zagrodzki
|
b5abadf3f0
|
Merge pull request #39 from kylelemons/libusb_wrappers
Libusb wrappers
|
2017-03-10 06:52:56 -05:00 |
|
Sebastian Zagrodzki
|
69f9eb93e2
|
When terminating the Context, wait for the background goroutine
to sync on c.done channel before exiting.
|
2017-02-24 09:36:17 +01:00 |
|
Sebastian Zagrodzki
|
21d53c9180
|
usb.go no longer needs "C"
|
2017-02-23 10:39:50 +01:00 |
|
Sebastian Zagrodzki
|
cc135fe616
|
move all libusb wrappers to libusb.go.
|
2017-02-23 10:25:02 +01:00 |
|
Sebastian Zagrodzki
|
d4d7011a44
|
Don't assume libusb headers are always in libusb-1.0.
Use pkg-config to add correct include paths for libusb regardless of the
platform.
|
2017-02-13 17:08:46 +01:00 |
|
Sebastian Zagrodzki
|
beb4fdbac5
|
Update copyright notes for multiple contributors.
|
2017-02-07 07:37:57 +01:00 |
|
Kyle Lemons
|
0042b0dd4f
|
report correct error during Enum failure
|
2016-04-02 13:20:31 -07:00 |
|
Kyle Lemons
|
497c20341d
|
idiomatic slice append
|
2016-04-02 13:19:59 -07:00 |
|
nodtem66
|
3138826f8a
|
fix cgo build directive
|
2015-04-08 01:25:20 +07:00 |
|
nodtem66
|
f3b93aa5fa
|
handle error OpenDeviceWithVidPid and add GetStringDescriptor
|
2015-03-04 01:32:24 +07:00 |
|
nodtem66
|
897ea727f3
|
tested for libusb-1.0.19 on windows (MinGw)
|
2015-03-03 00:20:31 +07:00 |
|
Kyle Lemons
|
b9f2aa720b
|
Fix up usb to pass reliably and to work cross-platform
|
2013-08-14 19:38:57 -07:00 |
|
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 |
|
Kyle Lemons
|
67ecea5706
|
Update readme with instructions for darwin
|
2013-04-07 12:32:53 -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
|
e5a0531ed2
|
Cleanup
|
2012-03-27 19:40:22 -07:00 |
|
Kyle Lemons
|
86ebf94158
|
Output cleanup
|
2012-03-26 22:51:37 -07:00 |
|
Kyle Lemons
|
804a3c6ab8
|
First cut
|
2012-03-25 04:11:01 -07:00 |
|