Closed danwspark closed 7 years ago
If you don't added udev rules, you need use sudo. Otherwise can you give me the result of lsusb -d 046d: -v
let's see if attaching like this works. I've done all of the make with sudo command as well..
hey, I really appreciate your responsiveness!
I'm having a failure also: My error is: g++ -0 bin/g810-led -Wall -02 -std=gnu++11 src/main.cpp src/classes/Keyboard.cpp -lusb-1.0 In file included from src/main.cpp:4:0: src classes/Keyboard.h:5:44: fatal error: /usr/include/libusb-1.0/libus b.h: No such file directory compilation terminated. IN file included from src/classes/Keyboard.cpp:1:0: src/classes/Keyboard.h:5:44: fatal error: /usr/include/libusb-1.0/libus b.h: No such file or directory compilation terminated makefile:11: recipe for target 'bin/g810-led' failed make: *** [bin/g810-led] error 1
Sorry I don't know how to save the terminal screen as a document yet.
@danwspark :
The first line of "lsusb" returns "Could not open device, some information will be missing" It appears that access to the USB port is not fully authorized.
What is your Linux distribution? Have you tested as root?
Have you added the file "udev / g810.rules" to "/etc/udev/rules.d"? This operation need a reboot
@durairanubis :
It seems that "lsusb" library is not found Have you installed the "lsusb" package? If you do not know the name of the package, give me the distribution you use.
I currently have Ubuntu 16.04.1 LTS, I just installed it and new to Linux so its quite possible I'm missing something.
I do not know what the isusb package is.
On Sun, Dec 4, 2016 at 7:26 AM, MatMoul notifications@github.com wrote:
@durairanubis https://github.com/durairanubis :
It seems that "lsusb" library is not found Have you installed the "lsusb" package? If you do not know the name of the package, give me the distribution you use.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MatMoul/g810-led/issues/17#issuecomment-264703895, or mute the thread https://github.com/notifications/unsubscribe-auth/AXPbLGszNR2vE6vSDrfx2s_xMOtqEoWuks5rEr-HgaJpZM4K_s7t .
@durairanubis
Sorry bad package name, it's "libusb"...
For ubuntu, it seem you need to install "libusb-1.0-0-dev" package
sudo apt-get install libusb-1.0-0-dev
hey @MatMoul, doing sudo g810-led
@durairanubis, try sudo apt install libusb-1.0-0-dev
before doing install.
@durairanubis also for future reference, if you want to capture the output of some command line operation, do <operation> > <filename>
the > carot feeds the output of the operation into the filename you designate.
Thank for the beer @danwspark ... This issue stay open for @durairanubis.
No return, closing
Installation documentation is a bit sparse. I can't seem to get it to work on my machine. libusb, g++ are installed, and the g810 'makes' properly.. however the keyboard does not leave the default rainbow effect.