Search Criteria
Package Details: g13-git v1.0.4.r0.g0a8d6e8-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/g13.git (read-only, click to copy) |
---|---|
Package Base: | g13 |
Description: | Userspace driver for the Logitech G13 Keyboard |
Upstream URL: | https://github.com/khampf/g13 |
Licenses: | unknown |
Submitter: | prg |
Maintainer: | khampf |
Last Packager: | khampf |
Votes: | 6 |
Popularity: | 0.000000 |
First Submitted: | 2015-09-04 03:37 (UTC) |
Last Updated: | 2020-05-22 21:20 (UTC) |
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »
VileLasagna commented on 2018-09-16 07:45 (UTC)
This seems to be some optimization gone wrong somehow. I prepended " CXXFLAGS=-ggdb" to the make call in the PKGBUILD to try and suss this out but then it just stopped crashing altogether.
Also possible that this had to do with me adding the UDEV rule from the repo and calling "sudo udevadm trigger" to be able to debug it in the first place but I'm going to call that "very very unlikely".
All in all pretty weird. I was getting the same sort of result (locally built worked, from package random segfault). Now the systemd service seems to be working, the whole thing.
It's good enough for me personally right now, but let me know if there's something else I can help with if this doesn't magically fix itself
khampf commented on 2018-06-24 19:44 (UTC)
I have been looking into the segfaults as I also am getting them but as far as I can tell it is a bad allocation and could even be permissions but I have not gotten it to work yet. Next step will be to load the sources in an IDE and see what is what. Not sure when I will have time to do so but I even started thinking rewriting some boost library usage into modern STL because I have had it with the boost libraries
krafgor commented on 2018-06-23 22:26 (UTC) (edited on 2018-06-23 22:29 (UTC) by krafgor)
Output showing a segfault:
[zeus@pe ~]$ sudo /usr/bin/g13d [2018-06-23 17:19:44.892711] [0x00007f0b69e22780] [info] set log level to info [2018-06-23 17:19:44.892848] [0x00007f0b69e22780] [info] Known keys on G13: Segmentation fault
That said:
[zeus@pe ~]$ sudo /usr/bin/g13d --config /etc/g13/default.bind --pipe_out /run/g13d/g13-0_out --log_level error
Produces:
[2018-06-23 17:24:26.101508] [0x00007face96c3780] [info] set log level to info [2018-06-23 17:24:26.101585] [0x00007face96c3780] [info] set_string_config_value config = "/etc/g13/default.bind" [2018-06-23 17:24:26.101600] [0x00007face96c3780] [info] set_string_config_value pipe_out = "/run/g13d/g13-0_out" [2018-06-23 17:24:26.101615] [0x00007face96c3780] [info] set_string_config_value log_level = "error" STICK_UP { 0 x 0.1 / 1 x 0.3 } SEND KEYS: UP STICK_DOWN { 0 x 0.7 / 1 x 0.9 } SEND KEYS: DOWN STICK_LEFT { 0 x 0 / 0.2 x 1 } SEND KEYS: LEFT STICK_RIGHT { 0.8 x 0 / 1 x 1 } SEND KEYS: RIGHT STICK_PAGEUP { 0 x 0 / 1 x 0.1 } SEND KEYS: PAGEUP STICK_PAGEDOWN { 0 x 0.9 / 1 x 1 } SEND KEYS: PAGEDOWN
Along with what appears to be a functioning device.
When I hit ctrl+c, I get the segmentation fault (I do not know if that is surprising, since ctrl+c is supposed to kill the process).
Or, I guess a better test:
[zeus@pe ~]$ sudo /usr/bin/g13d --log_level error
Also produces the working keypad and (ctrl+c) produces:
free(): invalid pointer Aborted
What do I need to do to help troubleshoot the issue?
Techjar commented on 2018-06-09 06:19 (UTC)
Not sure what, but something changed recently and g13d now segfaults with this package. If I clone the git repo and build it myself it runs fine.
khampf commented on 2017-06-08 09:32 (UTC)
prg commented on 2017-06-08 00:38 (UTC)
khampf commented on 2017-06-06 13:01 (UTC)
prg commented on 2017-06-05 23:29 (UTC)
Skylead commented on 2017-06-02 22:10 (UTC) (edited on 2017-06-02 22:10 (UTC) by Skylead)
« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »