perryn / blinky

blinky helps you see the light - plug and play set up for build lights
MIT License
67 stars 27 forks source link

LIBUSB::ERROR_ACCESS in libusb_open #11

Open arvinwiyono opened 9 years ago

arvinwiyono commented 9 years ago

Hi Perryn,

I have done everything to make this work, but everytime I initialize Blinky, I always got this error message. Can you help me with this?

arvin@arvin-VirtualBox:~$ irb r2.2.0 :001 > require 'blinky' => true 2.2.0 :002 > l = Blinky.new LIBUSB::ERROR_ACCESS: LIBUSB::ERROR_ACCESS in libusb_open from /home/arvin/.rvm/gems/ruby-2.2.0/gems/libusb-0.2.2/lib/libusb/constants.rb:46:in raise_error' from /home/arvin/.rvm/gems/ruby-2.2.0/gems/libusb-0.2.2/lib/libusb/device.rb:58:inopen' from /home/arvin/.rvm/gems/ruby-2.2.0/gems/libusb-0.2.2/lib/libusb/compat.rb:175:in open' from /home/arvin/.rvm/gems/ruby-2.2.0/gems/blinky-0.0.12/lib/blinky/light_factory.rb:11:inblock in detect_lights' from /home/arvin/.rvm/gems/ruby-2.2.0/gems/blinky-0.0.12/lib/blinky/light_factory.rb:7:in each' from /home/arvin/.rvm/gems/ruby-2.2.0/gems/blinky-0.0.12/lib/blinky/light_factory.rb:7:indetect_lights' from /home/arvin/.rvm/gems/ruby-2.2.0/gems/blinky-0.0.12/lib/blinky.rb:26:in `initialize'

perryn commented 9 years ago

hi

what OS are you using?

arvinwiyono commented 9 years ago

It is Ubuntu 14.04 with Virtual Box Windows host