madscientist42 / G15Interface

WIP of a re-spin of G15Tools/libg15 using HIDAPI instead of libusb.
GNU General Public License v2.0
9 stars 0 forks source link

Install? #1

Open mellobob opened 7 years ago

mellobob commented 7 years ago

I have successfully compiled but have no idea of how to install.

bob$ make install make: *** No rule to make target 'install'. Stop.

cl0h commented 6 years ago

Despite the lengthy write up in the readme this code does very little. There is no 'install' in the make file. The 'make' step produces a single binary called 'G15Test' which can be run with the command: ./G15Test This produces the following output on screen (for G110 on Fedora 27):

Found : 0 | 0x17fdb60 | /dev/hidraw2
Detected 1 supported Logitech interfaces.

Logitech G110 | 44

Attempting to init...
init succeeded
Attempting to control the macro control button LEDs
Attempting to adjust LCD brightness
888Attempting to adjust keyboard brightness
Attempting to query G-Keys, etc.
read op got 4bytes - 2 0 10 0 
Resetting the device from the the user HID side...

None of the attempted tests produce any change on the keyboard LEDs. There appears to be no other binaries and no ability to configure a keyboard. Perhaps I am missing something. I welcome clarification.

Leproide commented 6 years ago

@cl0h for the led you can use this on g110: https://github.com/Leproide/Linux-G15-Daemon-Logitech-G110-/tree/master/G110%20Led%20Control

And this for the macro: https://github.com/Leproide/Linux-G15-Daemon-Logitech-G110-

For a temporary solution

Video Tutorial:

ITALIAN https://www.youtube.com/watch?v=AnyfWFa_Ku0

ENGLISH https://www.youtube.com/watch?v=8gAT-BbyOWw
mellobob commented 6 years ago

The LED change code works. You do need to be root to run. It has been moved, the correct address is:

https://github.com/tomvanbraeckel/logitech-keyboard-change-color

Sure would be nice to get my macros working as well!

cl0h commented 6 years ago

@mellobob Got that working. Nice straightforward way to change the LED colour.

cl0h commented 6 years ago

@Leproide Thanks. I'll have a look at your repo. Be nice to get the extra options working.

madscientist42 commented 6 years ago

It actually does quite a bit more, but it isn't ready for use...as indicated in the write-up.

It needs to be tied to an event daemon and a command interface. Changing LED colors? Heh... I drive the LCD display and a few more things. Like I said... it's not done yet.

On Jan 30, 2018 3:42 PM, "cl0h" notifications@github.com wrote:

Despite the lengthy write up in the readme this code does very little. There is no 'install' in the make file. The 'make' step produces a single binary called 'G15Test' which can be run with the command: ./G15Test This produces the following output on screen (for G110 on Fedora 27):

Found : 0 | 0x17fdb60 | /dev/hidraw2 Detected 1 supported Logitech interfaces.

Logitech G110 | 44

Attempting to init... init succeeded Attempting to control the macro control button LEDs Attempting to adjust LCD brightness 888Attempting to adjust keyboard brightness Attempting to query G-Keys, etc. read op got 4bytes - 2 0 10 0 Resetting the device from the the user HID side...

There appears to be no ability to configure a keyboard using this code.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/madscientist42/G15Interface/issues/1#issuecomment-361727616, or mute the thread https://github.com/notifications/unsubscribe-auth/AFRfCXNKYIYvlT5S-nCCRYR9rxbk5zRdks5tP363gaJpZM4Ps8gT .