GithubHelp home page GithubHelp logo

Installation Failure about g810-led HOT 11 CLOSED

matmoul avatar matmoul commented on August 22, 2024
Installation Failure

from g810-led.

Comments (11)

MatMoul avatar MatMoul commented on August 22, 2024 1

@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

from g810-led.

MatMoul avatar MatMoul commented on August 22, 2024 1

@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

from g810-led.

MatMoul avatar MatMoul commented on August 22, 2024

If you don't added udev rules, you need use sudo.
Otherwise can you give me the result of
lsusb -d 046d: -v

from g810-led.

danwspark avatar danwspark commented on August 22, 2024

lsusboutput.txt

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!

from g810-led.

durairanubis avatar durairanubis commented on August 22, 2024

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.

from g810-led.

MatMoul avatar MatMoul commented on August 22, 2024

@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.

from g810-led.

durairanubis avatar durairanubis commented on August 22, 2024

from g810-led.

danwspark avatar danwspark commented on August 22, 2024

hey @MatMoul, doing sudo g810-led worked perfectly for me. I can't believe that I just didn't think of that. Thanks a bunch! do you have a paypal anywhere? I'd like to buy you a beer if you'll let me :)

@durairanubis, try sudo apt install libusb-1.0-0-dev before doing install.

from g810-led.

danwspark avatar danwspark commented on August 22, 2024

@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.

from g810-led.

MatMoul avatar MatMoul commented on August 22, 2024

Thank for the beer @danwspark ...
This issue stay open for @durairanubis.

from g810-led.

MatMoul avatar MatMoul commented on August 22, 2024

No return, closing

from g810-led.

Related Issues (20)

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.