-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Hey there. I have a Webmail Notifier that I think might be a knock-off, and I was wondering if you could help me add support for it.
1.9.3-p362 :002 > blinky = Blinky.new
Blinky::NoSupportedDevicesFound: Blinky was unable to find a supported device
The devices I did find were:
[#<LIBUSB::Device 250/1 05ac:8006 ? ? ? (Hi-speed Hub with single TT)>,
#<LIBUSB::Device 253/1 05ac:8006 ? ? ? (Hi-speed Hub with single TT)>,
#<LIBUSB::Device 253/2 0424:2513 ? ? ? (Hi-speed Hub with multiple TTs)>,
#<LIBUSB::Device 250/2 0424:2513 ? ? ? (Hi-speed Hub with multiple TTs)>,
#<LIBUSB::Device 250/3 05ac:850a ? ? ? (Interface Association Descriptor)>,
#<LIBUSB::Device 253/3 05ac:8404 ? ? ? (MassStorage SCSI Bluk-Only)>,
#<LIBUSB::Device 250/5 05ac:024c Apple Inc. Apple Internal Keyboard / Trackpad ? (HID (01,01), HID (00,00), HID (01,02))>,
#<LIBUSB::Device 253/4 1294:1320 MAIL MAIL ? (HID (00,00))>]
from /Users/pete/.rvm/gems/ruby-1.9.3-p362/gems/blinky-0.0.10/lib/blinky/light_factory.rb:14:in `detect_lights'
Had a bit of a poke about:
1.9.3-p362 :007 > mail = USB.devices[7]
=> #<LIBUSB::Device 253/4 1294:1320 MAIL MAIL ? (HID (00,00))>
1.9.3-p362 :008 > mail.id
mail.idProduct mail.idVendor
1.9.3-p362 :008 > mail.idVendor
=> 4756
1.9.3-p362 :009 > mail.idProduct
=> 4896
The idVendor and idProduct don't match inside recipes.rb:
recipe DreamCheeky::WebmailNotifier, {:usb_vendor_id => 0x1d34,
:usb_product_id => 0x0004,
:description => "Dream Cheeky Webmail Notifier"}I don't have any idea how to do this, but I'm willing to invest time to find out how. If you could give me a couple of tips, it would be much appreciated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels