Code Monkey home page Code Monkey logo

led's People

Contributors

boombuler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

led's Issues

Instructions to run code example

Can you please provide instructions to run the code example in readme? I tried running this on osx, and it gave me (with Busylight Lync plugged):

src/github.com/boombuler/hid/hid_darwin.go:262: cannot take the address of _Cgo_ptr(_Cfpvar_fp_deviceUnpluged)

[docs] Works with linux.

I just tried it with Linux and it works fine with my BlinkStick nano.

Probably just need to update your docs.

Some additional BusyLight ProductID

https://www.plenom.com/kuando-busylight-omega/

ProductID is 0x3BCD :

$ ioreg -p IOUSB -w0 -l
(...)
BUSYLIGHT@00110000  <class IOUSBHostDevice, id 0x100009601, registered, matched, active, busy 0 (94 ms), retain 25>
{
  "sessionID" = 1291211726752
  "USBSpeed" = 1
  "idProduct" = 15309
  "iManufacturer" = 1
  "bDeviceClass" = 0
  "IOPowerManagement" = {"PowerOverrideOn"=Yes,"DevicePowerState"=2,"CurrentPowerState"=2,"CapabilityFlags"=32768,"MaxPowerState"=2,"DriverPowerState"=0}
  "bcdDevice" = 256
  "bMaxPacketSize0" = 8
  "iProduct" = 2
  "iSerialNumber" = 0
  "bNumConfigurations" = 1
  "USB Product Name" = "BUSYLIGHT"
  "USB Address" = 7
  "locationID" = 1114112
  "bDeviceSubClass" = 0
  "bcdUSB" = 512
  "kUSBCurrentConfiguration" = 1
  "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBHostFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
  "bDeviceProtocol" = 0
  "USBPortType" = 0
  "IOServiceDEXTEntitlements" = (("com.apple.developer.driverkit.transport.usb"))
  "USB Vendor Name" = "PLENOM APS"
  "Device Speed" = 1
  "idVendor" = 10171
  "kUSBProductString" = "BUSYLIGHT"
  "IOGeneralInterest" = "IOCommand is not serializable"
  "kUSBAddress" = 7
  "kUSBVendorString" = "PLENOM APS"
}

https://www.plenom.com/kuando-busylight-alpha/

ProductID is 0x3BCA :

$ ioreg -p IOUSB -w0 -l
(...)
BUSYLIGHT@00110000  <class IOUSBHostDevice, id 0x10000a20e, registered, matched, active, busy 0 (87 ms), retain 25>
{
  "sessionID" = 1426362584408
  "USBSpeed" = 1
  "idProduct" = 15306
  "iManufacturer" = 1
  "bDeviceClass" = 0
  "IOPowerManagement" = {"PowerOverrideOn"=Yes,"DevicePowerState"=2,"CurrentPowerState"=2,"CapabilityFlags"=32768,"MaxPowerState"=2,"DriverPowerState"=0}
  "bcdDevice" = 256
  "bMaxPacketSize0" = 8
  "iProduct" = 2
  "iSerialNumber" = 0
  "bNumConfigurations" = 1
  "USB Product Name" = "BUSYLIGHT"
  "USB Address" = 7
  "locationID" = 1114112
  "bDeviceSubClass" = 0
  "bcdUSB" = 512
  "kUSBCurrentConfiguration" = 1
  "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBHostFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
  "bDeviceProtocol" = 0
  "USBPortType" = 0
  "IOServiceDEXTEntitlements" = (("com.apple.developer.driverkit.transport.usb"))
  "USB Vendor Name" = "PLENOM APS"
  "Device Speed" = 1
  "idVendor" = 10171
  "kUSBProductString" = "BUSYLIGHT"
  "IOGeneralInterest" = "IOCommand is not serializable"
  "kUSBAddress" = 7
  "kUSBVendorString" = "PLENOM APS"
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.