g810-led icon indicating copy to clipboard operation
g810-led copied to clipboard

Media Keys disabling

Open xdubx opened this issue 3 years ago • 13 comments

Hi,

have Pop OS 20.04. The problem is after the systemd services started the OS don't recognize the media keys any more and the volume slider on my Keyboard is the g815.

xdubx avatar Oct 07 '20 13:10 xdubx

g810-led is a one shot command and don't handle your keys... How do you have installed it?

MatMoul avatar Nov 06 '20 18:11 MatMoul

clone repo, make files. install.

xdubx avatar Nov 07 '20 19:11 xdubx

I'm getting the same issues, none of the media keys works after install

xOchoa avatar Nov 09 '20 22:11 xOchoa

No idea, tagging to need investigation

MatMoul avatar Nov 24 '20 00:11 MatMoul

Same issue with Ubuntu 18.04 (g213) - also the lighting is turned off after restart and can only enabled after plug the usb in again xev nor showkeys -k can detect the media keys after make install I removed the tool with make uninstall - reboot - and now it is working again.

KiddingMe42 avatar Nov 25 '20 12:11 KiddingMe42

Same issue. 5.10.18-1-Manjaro, Logitech G213 Prodigy

Edit: I uninstall the project then install g810-led-lib from aur and the media keys works.

saracalihan avatar Mar 03 '21 13:03 saracalihan

Same issue here, Ubuntu 20.04.02, Keyboard G910.

DarioMarzella avatar Mar 25 '21 18:03 DarioMarzella

Same issue on Kubuntu 20.10 with a Logitech G810 keyboard.

AMDBartek avatar Apr 04 '21 17:04 AMDBartek

The issue is when g810-led is using the libusb interface, because the issue is that the media keys are connected to the same endpoint as the leds and when g810-led requests access to said endpoint, it will unload the kernel driver, which handles the media keys.

The solution is to use hidapi, which does not need exclusive access to endpoints like libusb does.

zocker-160 avatar Sep 21 '21 14:09 zocker-160

Is there a way to install hidapi mode via apt-install on ubuntu (mint) or is a manual installation needed?

MPatzek avatar Mar 24 '23 12:03 MPatzek

Is there a way to install hidapi mode via apt-install on ubuntu (mint) or is a manual installation needed?

Hidapi mode needs to be supported by g810-led, installing additional packages will not fix the issue.

zocker-160 avatar Mar 24 '23 12:03 zocker-160

Yes, that's clear. But there is an option for hidapi. Maybe I should rewrite my questions: Can I install g810-led via apt-get using the hidapi mode such as g810-led-hidapi? (similar to compiling by "mkae bin" without lsusb) If not, I need to uninstall, and run the manual installation by cloning the repo and buiilding it using hidapi.

MPatzek avatar Mar 24 '23 12:03 MPatzek

Ah ok now I understand what you mean, sorry.

IIRC the Ubuntu repository has only one package available. If that is using libusb, then you will need to manually compile it.

zocker-160 avatar Mar 24 '23 12:03 zocker-160