Giter VIP home page Giter VIP logo

ghub-gui's Introduction

gHub-GUI

Manage your logitech device on Linux using GUI. The program is lightweight and user-friendly.

Dependencies

Ubuntu:

sudo apt-get install libusb-1.0-0-dev libx11-dev libgl-dev

Fedora (38):

sudo dnf install libusb1-devel libx11-devel mesa-libGL-devel

Compile

make all

Usage

Run as root:

sudo ./ghub-gui

Cleaning up

make clean

TroubleShooting

The mouse stopped working after execution

The problem is that the OS has failed to attach driver (see "can't add hid device" in dmesg)
To solve that, either try to execute program again or switch the port.
It may also help in future if you add udev rules listed in the case below.

Can I run the program without root privileges?

create a rule in /etc/udev/rules.d/:

printf 'KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0664", GROUP="plugdev"\nSUBSYSTEM=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c083", GROUP="ubuntu", MODE="066"\nSUBSYSTEM=="usb_DEVICE", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c083", GROUP="ubuntu", MODE="066"' | sudo tee /etc/udev/rules.d/99-hidraw-permission.rules

If rules fail to reload automatically:

sudo udevadm control --reload

To manually force udev to trigger your rules:

sudo udevadm trigger

Reboot may also be needed.

Links regarding udev rules:
udev homepage
Debian's udev overview
Arch's udev overview
Writing udev rules
Ask about udev on the forum

My device is UNIDENTIFIED, what could that be?

Some logitech devices use the same id for bluetooth receiver.
However, the Linux kernel since version of 5.2 may recognize IDs properly.
Possible solution for debian-based distributions would be:

sudo apt-get upgrade

Miscellaneous

The program is not complete yet. It also requires root privileges.

Completed features

  • Set the static LED colour for the primary or logo

Missing features

  • Set custom LED colours
  • Set the cycle or breathing
  • Set the colour for logo or primary
  • Set DPI
  • Set report rate
  • Battery level report
  • Comprehensive GUI

ghub-gui's People

Contributors

ysph avatar alexis-opolka avatar

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.