Logitech G15 G-Keys
Not exactly an issue, the keyboard works pretty well (even volume and media player buttons). I just want to know if it's possible to make the G-Keys work, no macros or fancy stuff, just like the extra keys (home, mail, etc) of other keyboards.
Firstly, run evemu-record (devel/evemu) and see if pressing the G-keys results in any events
If not, then try sudo usbhidctl -f /dev/hidraw# -l -a. Where # is a you keyboard`s device node.
Nope. Tried both commands and the keys doesn't work.
Nope. Tried both commands and the keys doesn't work.
Most probably, G-keys belong to other USB device. As your usbconfig output does not give clear answer to that question, try to replug keyboard and if more than one device appeared reattached in console output, run evemu-record and usbhidctl with this other device.
I've tried with all the devices (that G15 makes available) without luck, any other suggestions?
any other suggestions
According to Linux driver, G-keys require extra initialization: https://elixir.bootlin.com/linux/v5.10-rc5/source/drivers/hid/hid-lg-g15.c#L781 and a special support.
Could you provide some additional info about your device. Just for the record:
- HID report descriptor: run
usbhid-dumpfromsysutils/usbhid-dumpport - USB descriptors: run
usbconfig dump_all_desc
Note: usbhid-dump will detach your keyboard, so you will have to replug it or reset USB port to make it working again.
I know is not directly related, but I've managed to make g15daemon work on freebsd, the screen works (even g15stats) but the keys are still a missing piece. The linux driver for this is somehow newer than g15daemon, so maybe is something I'm missing in g15daemon? My port is here if you're interested.
but the keys are still a missing piece.
I think uinput plugin is required for keys to work.
I've forgot about this, g15daemon is already in ports since some time. I've managed to make everything works as expected but I have some situation I'm unable to debug, maybe you can help. It's really random and only occurs with the extra keys (supplied by g15daemon), sometimes it misses some keys, like an input lag, it only happens with the secondary usb device supplied by the keyboard, the main one works just fine. Do you have any clue or tip on how I can improve or change? Not sure if it's still related, I'm using stable/13 but the same occur with releng/13. Thanks.