-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Cannot find the g403 wireless mouse #2
Comments
I've pushed an additional method of finding it 7b52c94. If the problem persists, then the application cannot find the corresponding Vendor and Product ID. Try the following command lsusb | egrep "G403|Logitech" It should print the following line in your terminal, in my case it is Bus 00X Device 00X: ID 046d:c083 Logitech, Inc. G403 Prodigy Gaming Mouse An important part of it is
If you don't mind, could you show me your output? |
I tryed to compile it. Following Error:
Also trying "lsusb | egrep "G403|Logitech" ":
c082 = USB-cable; c539 = Bluetooth-Adapter |
I made a tweak regarding that issue ef9acc9, seems like libusb version there was a bit old. |
New try for compile, same message like before.
|
That's quite strange. This C directive doesn't allow here using libusb_set_option() funciton, which was introduced only in 1.0.22 of libusb (you use 1.0.21 in which libusb_set_debug() is used). I'd try to do git pull && gcc main.c -lusb-1.0 && sudo ./a.out or comment lines from 104 up to 108 in the main.c file and compile again. |
Now compiling works (version 7e987f9, nothing changed by me). I got the a.out (no more g403hub?).
=> No color-changing |
I tested it with both, same error (USB-cable changed to c082 (line 8)) |
Since I do not have wireless version of the g403 mouse (c082 and c539, mine is c083 (it also works for me)) at hand, it's hard to know and test what control bytes should be transmitted to mouse by program. I've tried to find that information on the internet, but quite failed. There are a diverse number of software that support various mouses, but they still don't have support for the g403 wireless mouse. If you are interested to participate and make changing colors and stuff on mouse possible on linux, please let me know. Also, I've made a patch that would prevent the error from happening. 1b7521b git pull && gcc main.c -lusb-1.0 && sudo ./a.out |
So i tested the changes => no error, but the logo doesn't change. Changing the color of my mouse is fun, but not a must have. I will continue to watch your program. |
So i compiled the program (installed gcc before).
using: sudo ./g403hub
get the message: Error finding the g403 prodigy mouse
Mouse is connected via USB. Same message with USB-Bluetooth-Adapter, using Lubuntu 18.04.
The text was updated successfully, but these errors were encountered: