usb icon indicating copy to clipboard operation
usb copied to clipboard

Self contained USB and HID library for Go

Results 14 usb issues
Sort by recently updated
recently updated
newest added

I am sorry that I got this error when I used this lib to do USB printer job in my Windows10. below is my code, and error occurred in `usb.Enumerate(0,...

hi, when I build a project which depends on notify in mac osx 10.15 , it gets below error the detail step is described here: would you please to check:...

This commit: https://github.com/karalabe/usb/commit/c7c6bc0112904e38bff30fb4ed81ecefc0db8fca#diff-030195b530be26a69d54ce9487a942a3b24568c08397d003492f4507e1217f16R33 uses `MAC_OS_X_VERSION_MAX_ALLOWED` to determine whether to use the old or new name. This definition can be 120000 even if compiling on macOS 11, resulting in compiler warnings...

It seems that both libusb and hidapi are now properly maintained and actively developed in the libusb organization: * https://github.com/libusb/hidapi * https://github.com/libusb/libusb It might make sense to drop the local...

mac ok ``` macOS Big Sur 11.4 MacBook Pro (16-inch, 2019) > go version go version go1.15.2 darwin/amd64 ``` liunx error ``` > uname -a Linux xxx 4.18.0-147.43.1.el8_1.x86_64 #1 SMP...

When trying to run the demo on windows 10 (1803) via `go run demo.go`, I get the following error: `panic: failed to get device 0 config 0: libusb: not found...

**OS:** Linux localhost 4.4.103 #54 SMP PREEMPT Mon Nov 4 15:59:50 CST 2019 aarch64 **Exec:** b:=usb.Supported() return false

Hello Péter, First of all, congratulations for this awesome library. I would like to use your USB HID library to read data from a USB HID capable blood pressure monitor....

I am having a hard time to compile geth 1.9.0 for windows, this is the error... any ideas ? same error happens on linux/osx with go11 or go12. ``` ➜...

Hi Here, the report ID is prepended, but only for Windows: https://github.com/karalabe/usb/blob/87927bb2c8544d009d8ac7350b1ac892b60c8115/hid_enabled.go#L126-L128 The same issue exists in the hid repo, where I commented about the same issue in 2018: https://github.com/karalabe/hid/issues/7#issuecomment-409832732...