sezanzeb / input-remapper

🎮 ⌨ An easy to use tool to change the behaviour of your input devices.
GNU General Public License v3.0
3.8k stars 156 forks source link

Cant remap Logi G600 on Zorin #736

Closed gratejames closed 1 year ago

gratejames commented 1 year ago

Not sure what's wrong, the keys are showing up in evtest, just not registering in the mapping interface.

  1. input-remapper-control --version input-remapper 2.0.0 f23b0a0258a0c53af280cf082263db780e8cd985 https://github.com/sezanzeb/input-remapper python-evdev 1.3.0
  2. If a button on your device doesn't show up in the GUI, verify that the button is reporting an event via sudo evtest. If not, input-remapper won't be able to map that button.
  3. If yes, please run input-remapper-gtk -d, reproduce the problem and then share the logs.
    Logs
UserName@ComputerName:~$ input-remapper-gtk -d
18:05:09.055431 27841 GUI INFO logger.py:265: input-remapper-gtk 2.0.0 f23b0a0258a0c53af280cf082263db780e8cd985 https://github.com/sezanzeb/input-remapper
18:05:09.055561 27841 GUI INFO logger.py:273: python-evdev 1.3.0
18:05:09.055714 27841 GUI WARNING logger.py:276: Debug level will log all your keystrokes! Do not post this output in the internet if you typed in sensitive or private information with your device!
18:05:09.055847 27841 GUI DEBUG input-remapper-gtk:67: Using locale directory: /usr/share/input-remapper/lang
18:05:09.069373 27841 GUI DEBUG pipe.py:70: Creating new pipe for "/tmp/input-remapper-UserName/reader-results"
18:05:09.069790 27841 GUI DEBUG pipe.py:70: Creating new pipe for "/tmp/input-remapper-UserName/reader-commands"
18:05:09.069973 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.terminate: <function ReaderClient.attach_to_events.<locals>.<lambda> at 0x7fad7db72310>
18:05:09.070239 27841 GUI DEBUG reader_service.py:144: Running `pkexec input-remapper-control --command start-reader-service -d`
18:05:13.670575 27844 control DEBUG input-remapper-control:233: Call for "['/usr/bin/input-remapper-control', '--command', 'start-reader-service', '-d']"
18:05:13.676649 27844 control DEBUG input-remapper-control:215: System is booted
18:05:13.676790 27844 control DEBUG input-remapper-control:178: Running `input-remapper-reader-service -d &`
18:05:13.677534 27844 control INFO input-remapper-control:263: Done
18:05:13.706951 27841 GUI INFO daemon.py:228: Connected to the service
18:05:13.707035 27841 GUI DEBUG daemon.py:264: Telling service about "/home/UserName/.config/input-remapper-2"
18:05:13.708220 27841 GUI DEBUG global_uinputs.py:135: Creating FrontendUInputs
18:05:13.708292 27841 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper keyboard"
18:05:13.708329 27841 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper gamepad"
18:05:13.708359 27841 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper mouse"
18:05:13.708393 27841 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper keyboard + mouse"
18:05:13.708495 27841 GUI INFO global_config.py:109: Loaded config from "/home/UserName/.config/input-remapper-2/config.json"
18:05:13.708550 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.groups: <bound method Controller._on_groups_changed of <inputremapper.gui.controller.Controller object at 0x7fad7e8addf0>>
18:05:13.708594 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method Controller._on_preset_changed of <inputremapper.gui.controller.Controller object at 0x7fad7e8addf0>>
18:05:13.708626 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.init: <bound method Controller._on_init of <inputremapper.gui.controller.Controller object at 0x7fad7e8addf0>>
18:05:13.708656 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method Controller._publish_mapping_errors_as_status_msg of <inputremapper.gui.controller.Controller object at 0x7fad7e8addf0>>
18:05:13.708686 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method Controller._publish_mapping_errors_as_status_msg of <inputremapper.gui.controller.Controller object at 0x7fad7e8addf0>>
18:05:13.708762 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.terminate: <function UserInterface.__init__.<locals>.<lambda> at 0x7fad7e8ac3a0>
18:05:13.797104 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.groups: <bound method DeviceGroupSelection._on_groups_changed of <inputremapper.gui.components.device_groups.DeviceGroupSelection object at 0x7fad7e8c8070>>
18:05:13.797228 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.group: <bound method DeviceGroupSelection._on_group_changed of <inputremapper.gui.components.device_groups.DeviceGroupSelection object at 0x7fad7e8c8070>>
18:05:13.797282 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.group: <bound method PresetSelection._on_group_changed of <inputremapper.gui.components.presets.PresetSelection object at 0x7fad7e8c8940>>
18:05:13.797319 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method PresetSelection._on_preset_changed of <inputremapper.gui.components.presets.PresetSelection object at 0x7fad7e8c8940>>
18:05:13.797780 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method MappingListBox._on_preset_changed of <inputremapper.gui.components.editor.MappingListBox object at 0x7fad7e8c8fd0>>
18:05:13.797861 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method MappingListBox._on_mapping_changed of <inputremapper.gui.components.editor.MappingListBox object at 0x7fad7e8c8fd0>>
18:05:13.797912 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.uinputs: <bound method TargetSelection._on_uinputs_changed of <inputremapper.gui.components.editor.TargetSelection object at 0x7fad7e8c8e20>>
18:05:13.797947 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method TargetSelection._on_mapping_loaded of <inputremapper.gui.components.editor.TargetSelection object at 0x7fad7e8c8e20>>
18:05:13.798000 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.group: <bound method Breadcrumbs._on_group_changed of <inputremapper.gui.components.common.Breadcrumbs object at 0x7fad7e8c8dc0>>
18:05:13.798037 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method Breadcrumbs._on_preset_changed of <inputremapper.gui.components.common.Breadcrumbs object at 0x7fad7e8c8dc0>>
18:05:13.798141 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method Breadcrumbs._on_mapping_changed of <inputremapper.gui.components.common.Breadcrumbs object at 0x7fad7e8c8dc0>>
18:05:13.798314 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.group: <bound method Breadcrumbs._on_group_changed of <inputremapper.gui.components.common.Breadcrumbs object at 0x7fad7e8c8d00>>
18:05:13.798393 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method Breadcrumbs._on_preset_changed of <inputremapper.gui.components.common.Breadcrumbs object at 0x7fad7e8c8d00>>
18:05:13.798426 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method Breadcrumbs._on_mapping_changed of <inputremapper.gui.components.common.Breadcrumbs object at 0x7fad7e8c8d00>>
18:05:13.798625 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.do_stack_switch: <bound method Stack._do_stack_switch of <inputremapper.gui.components.main.Stack object at 0x7fad7e8c8d60>>
18:05:13.798720 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.recording_finished: <bound method RecordingToggle._on_recording_finished of <inputremapper.gui.components.editor.RecordingToggle object at 0x7fad7e8c8e80>>
18:05:13.798791 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method RequireActiveMapping._on_preset of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7fad7e8c8e50>>
18:05:13.798829 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method RequireActiveMapping._on_mapping of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7fad7e8c8e50>>
18:05:13.799266 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.status_msg: <bound method StatusBar._on_status_update of <inputremapper.gui.components.main.StatusBar object at 0x7fad7e8c8b50>>
18:05:13.799324 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.recording_started: <bound method RecordingStatus._on_recording_started of <inputremapper.gui.components.editor.RecordingStatus object at 0x7fad7e8c8760>>
18:05:13.799363 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.recording_finished: <bound method RecordingStatus._on_recording_finished of <inputremapper.gui.components.editor.RecordingStatus object at 0x7fad7e8c8760>>
18:05:13.799586 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method AutoloadSwitch._on_preset_changed of <inputremapper.gui.components.editor.AutoloadSwitch object at 0x7fad7e8c87c0>>
18:05:13.799647 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method ReleaseCombinationSwitch._on_mapping_changed of <inputremapper.gui.components.editor.ReleaseCombinationSwitch object at 0x7fad7e8c8850>>
18:05:13.799692 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method CombinationListbox._on_mapping_changed of <inputremapper.gui.components.editor.CombinationListbox object at 0x7fad7e8c8580>>
18:05:13.799732 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.selected_event: <bound method CombinationListbox._on_event_changed of <inputremapper.gui.components.editor.CombinationListbox object at 0x7fad7e8c8580>>
18:05:13.799780 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.selected_event: <bound method AnalogInputSwitch._on_event of <inputremapper.gui.components.editor.AnalogInputSwitch object at 0x7fad7e8c8610>>
18:05:13.800263 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.selected_event: <bound method TriggerThresholdInput._on_event of <inputremapper.gui.components.editor.TriggerThresholdInput object at 0x7fad7e8c86d0>>
18:05:13.800786 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method RelativeInputCutoffInput._on_mapping_message of <inputremapper.gui.components.editor.RelativeInputCutoffInput object at 0x7fad7e8c83d0>>
18:05:13.801353 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method OutputAxisSelector._on_mapping_message of <inputremapper.gui.components.editor.OutputAxisSelector object at 0x7fad7e8c8520>>
18:05:13.801412 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.uinputs: <bound method OutputAxisSelector._on_uinputs_message of <inputremapper.gui.components.editor.OutputAxisSelector object at 0x7fad7e8c8520>>
18:05:13.801471 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method KeyAxisStackSwitcher._on_mapping_message of <inputremapper.gui.components.editor.KeyAxisStackSwitcher object at 0x7fad7e8c84f0>>
18:05:13.801533 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method ReleaseTimeoutInput._on_mapping_message of <inputremapper.gui.components.editor.ReleaseTimeoutInput object at 0x7fad7e8c8490>>
18:05:13.801739 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method TransformationDrawArea._on_mapping_message of <inputremapper.gui.components.editor.TransformationDrawArea object at 0x7fad7a7cb160>>
18:05:13.802365 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method Sliders._on_mapping_message of <inputremapper.gui.components.editor.Sliders object at 0x7fad7a7cb040>>
18:05:13.802444 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method RequireActiveMapping._on_preset of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7fad7a7cb490>>
18:05:13.802494 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method RequireActiveMapping._on_mapping of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7fad7a7cb490>>
18:05:13.802537 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method RequireActiveMapping._on_preset of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7fad7a7cb4f0>>
18:05:13.802571 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method RequireActiveMapping._on_mapping of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7fad7a7cb4f0>>
18:05:13.802616 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method RequireActiveMapping._on_preset of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7fad7a7cb520>>
18:05:13.802649 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method RequireActiveMapping._on_mapping of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7fad7a7cb520>>
18:05:13.803012 27841 GUI WARNING utils.py:199: HandlerDisabled entry failed: "nothing connected to <bound method CodeEditor._on_gtk_changed of <inputremapper.gui.components.editor.CodeEditor object at 0x7fad7a7cb5b0>>"
18:05:13.803148 27841 GUI WARNING utils.py:205: HandlerDisabled exit failed: "nothing connected to <bound method CodeEditor._on_gtk_changed of <inputremapper.gui.components.editor.CodeEditor object at 0x7fad7a7cb5b0>>"
18:05:13.803223 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method CodeEditor._on_mapping_loaded of <inputremapper.gui.components.editor.CodeEditor object at 0x7fad7a7cb5b0>>
18:05:13.803264 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.recording_finished: <bound method CodeEditor._on_recording_finished of <inputremapper.gui.components.editor.CodeEditor object at 0x7fad7a7cb5b0>>
18:05:13.804166 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method Autocompletion._on_mapping_changed of <autocompletion.Autocompletion object at 0x7fad7a7cf800 (Autocompletion at 0x20087c0)>>
18:05:13.804219 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.uinputs: <bound method Autocompletion._on_uinputs_changed of <autocompletion.Autocompletion object at 0x7fad7a7cf800 (Autocompletion at 0x20087c0)>>
18:05:13.804474 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method UserInterface.update_combination_label of <inputremapper.gui.user_interface.UserInterface object at 0x7fad7e8adfa0>>
18:05:13.804526 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.injector_state: <bound method UserInterface.on_injector_state_msg of <inputremapper.gui.user_interface.UserInterface object at 0x7fad7e8adfa0>>
18:05:13.804562 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.user_confirm_request: <bound method UserInterface._on_user_confirm_request of <inputremapper.gui.user_interface.UserInterface object at 0x7fad7e8adfa0>>
18:05:13.845311 27853 reader-service DEBUG data.py:118: Found data at "/usr/share/input-remapper"
18:05:13.853799 27853 reader-service DEBUG pipe.py:87: Using existing pipe for "/tmp/input-remapper-UserName/reader-results"
18:05:13.854052 27853 reader-service DEBUG pipe.py:87: Using existing pipe for "/tmp/input-remapper-UserName/reader-commands"
18:05:13.854601 27853 reader-service DEBUG reader_service.py:154: Discovering initial groups
18:05:13.855114 27853 reader-service DEBUG groups.py:354: Discovering device paths
18:05:13.855584 27853 reader-service DEBUG groups.py:391: "Logitech Gaming Mouse G600" has no useful capabilities
18:05:13.868027 27841 GUI DEBUG reader_client.py:141: received {'type': 'status', 'message': 'ready'}
18:05:13.875905 27841 GUI DEBUG message_broker.py:76: from input-remapper-gtk:98: Signal=init: Signal: MessageType.init
18:05:13.876352 27841 GUI DEBUG groups.py:354: Discovering device paths
18:05:13.876875 27841 GUI DEBUG groups.py:478: Did not find any input device
18:05:13.877358 27841 GUI DEBUG message_broker.py:76: from reader_client.py:282: Signal=groups: GroupsData(groups={})
18:05:13.877805 27841 GUI DEBUG controller.py:128: Could not find a group
18:05:13.877933 27841 GUI DEBUG message_broker.py:76: from data_manager.py:140: Signal=uinputs: UInputsData(uinputs={'keyboard': {1: [0, ... 632]}, 'gamepad': {1: [304, ... 318], 3: [(0, AbsInfo(value=0, min=-32768, max=32768, fuzz=0, flat=0, resolution=0)), (1, AbsInfo(value=0, min=-32768, max=32768, fuzz=0, flat=0, resolution=0)), (2, AbsInfo(value=0, min=-32768, max=32768, fuzz=0, flat=0, resolution=0)), (3, AbsInfo(value=0, min=-32768, max=32768, fuzz=0, flat=0, resolution=0)), (4, AbsInfo(value=0, min=-32768, max=32768, fuzz=0, flat=0, resolution=0)), (5, AbsInfo(value=0, min=-32768, max=32768, fuzz=0, flat=0, resolution=0)), (16, AbsInfo(value=0, min=-1, max=1, fuzz=0, flat=0, resolution=0)), (17, AbsInfo(value=0, min=-1, max=1, fuzz=0, flat=0, resolution=0))]}, 'mouse': {1: [272, ... 279], 2: [0, ... 12]}, 'keyboard + mouse': {1: [0, ... 279], 2: [0, ... 12]}})
18:05:13.908410 27853 reader-service DEBUG groups.py:402: Found keyboard "Logitech Gaming Mouse G600 Keyboard" at "/dev/input/event27", hash "077959082a0dcea752da4c499e298ded", key "3_1133_49738_usb-0000:00:14.0-7"
18:05:13.932128 27853 reader-service DEBUG groups.py:402: Found mouse "Logitech Gaming Mouse G600" at "/dev/input/event9", hash "253ec19d0fb0e5a13d1e16c681861d8a", key "3_1133_49738_usb-0000:00:14.0-7"
18:05:13.956108 27853 reader-service DEBUG groups.py:402: Found unknown "Lenovo ThinkPad USB-C Dock Gen2 USB Audio" at "/dev/input/event21", hash "bb1c0f550d800d93a7718a25946bb0a4", key "3_6127_41878_usb-0000:00:14.0-3.3.3.2"
18:05:13.976168 27853 reader-service DEBUG groups.py:402: Found keyboard "EVGA Corporation EVGA Z15 RGB Gaming Keyboard" at "/dev/input/event26", hash "a240bb536051fbb4107bbf326ac22f78", key "3_14402_9736_usb-0000:00:14.0-3.3.3.3"
18:05:13.992122 27853 reader-service DEBUG groups.py:402: Found unknown "EVGA Corporation EVGA Z15 RGB Gaming Keyboard System Control" at "/dev/input/event25", hash "a4a0b037e4c4a0d6be6227a609e7b13e", key "3_14402_9736_usb-0000:00:14.0-3.3.3.3"
18:05:14.016244 27853 reader-service DEBUG groups.py:402: Found unknown "EVGA Corporation EVGA Z15 RGB Gaming Keyboard Consumer Control" at "/dev/input/event24", hash "98ac8f625b121c70fa4b14aead4dfd45", key "3_14402_9736_usb-0000:00:14.0-3.3.3.3"
18:05:14.048159 27853 reader-service DEBUG groups.py:402: Found mouse "EVGA Corporation EVGA Z15 RGB Gaming Keyboard Mouse" at "/dev/input/event23", hash "42f711d80a42ab053f2af122c681315e", key "3_14402_9736_usb-0000:00:14.0-3.3.3.3"
18:05:14.064258 27853 reader-service DEBUG groups.py:402: Found keyboard "EVGA Corporation EVGA Z15 RGB Gaming Keyboard" at "/dev/input/event22", hash "9b23e6ff619c62e812b9c08a56a11693", key "3_14402_9736_usb-0000:00:14.0-3.3.3.3"
18:05:14.088314 27853 reader-service DEBUG groups.py:402: Found keyboard "CX 2.4G Wireless Receiver Keyboard" at "/dev/input/event20", hash "387f27ba5df9861c117e58515e94979a", key "3_1452_598_usb-0000:00:14.0-3.2.1"
18:05:14.108130 27853 reader-service DEBUG groups.py:391: "CX 2.4G Wireless Receiver" has no useful capabilities
18:05:14.152355 27853 reader-service DEBUG groups.py:402: Found mouse "CX 2.4G Wireless Receiver Mouse" at "/dev/input/event18", hash "bad4a9f4c987429d9a136f4e23e788d7", key "3_1452_598_usb-0000:00:14.0-3.2.1"
18:05:14.188533 27853 reader-service DEBUG groups.py:402: Found keyboard "CX 2.4G Wireless Receiver" at "/dev/input/event17", hash "275dd143262a8f4520b31835002d662b", key "3_1452_598_usb-0000:00:14.0-3.2.1"
18:05:14.208124 27853 reader-service DEBUG groups.py:391: "sof-hda-dsp HDMI/DP,pcm=5" has no useful capabilities
18:05:14.240165 27853 reader-service DEBUG groups.py:391: "sof-hda-dsp HDMI/DP,pcm=4" has no useful capabilities
18:05:14.280392 27853 reader-service DEBUG groups.py:391: "sof-hda-dsp HDMI/DP,pcm=3" has no useful capabilities
18:05:14.300234 27853 reader-service DEBUG groups.py:391: "sof-hda-dsp Headphone" has no useful capabilities
18:05:14.324116 27853 reader-service DEBUG groups.py:391: "sof-hda-dsp Mic" has no useful capabilities
18:05:14.368216 27853 reader-service DEBUG groups.py:402: Found touchpad "SYNA2B31:00 06CB:CD3E Touchpad" at "/dev/input/event5", hash "4b990f64f463a7d3d9db8fbe2cd1b981", key "24_1739_52542_i2c-SYNA2B31:00"
18:05:14.396376 27853 reader-service DEBUG groups.py:402: Found unknown "SYNA2B31:00 06CB:CD3E Mouse" at "/dev/input/event4", hash "dee4e909092652b826a99698c4dc8fd8", key "24_1739_52542_i2c-SYNA2B31:00"
18:05:14.440292 27853 reader-service DEBUG groups.py:402: Found unknown "Ideapad extra buttons" at "/dev/input/event10", hash "ecc766300bf1fd32e39cce0333b309e6", key "25_0_0_ideapad"
18:05:14.464223 27853 reader-service DEBUG groups.py:402: Found touchpad "Wacom HID 51E3 Finger" at "/dev/input/event8", hash "f7277fdaf3b0d4ce73be337daa88ab58", key "24_1386_20963_i2c-WCOM51E3:00"
18:05:14.484287 27853 reader-service DEBUG groups.py:402: Found graphics-tablet "Wacom HID 51E3 Pen" at "/dev/input/event7", hash "ba30ba1c5aa50d3ac7ceb23c3e3f40c5", key "24_1386_20963_i2c-WCOM51E3:00"
18:05:14.508184 27853 reader-service DEBUG groups.py:402: Found unknown "Video Bus" at "/dev/input/event6", hash "97ce48b026f7f5a939d64ade3b570921", key "25_0_6_LNXVIDEO"
18:05:14.536517 27853 reader-service DEBUG groups.py:402: Found keyboard "AT Translated Set 2 keyboard" at "/dev/input/event3", hash "748e31550c24fc009038438dc4fce338", key "17_1_1_isa0060"
18:05:14.604226 27853 reader-service DEBUG groups.py:391: "Lid Switch" has no useful capabilities
18:05:14.605542 27853 reader-service INFO groups.py:481: Found "Logitech Gaming Mouse G600", "Lenovo ThinkPad USB-C Dock Gen2 USB Audio", "EVGA Corporation EVGA Z15 RGB Gaming Keyboard", "CX 2.4G Wireless Receiver", "SYNA2B31:00 06CB:CD3E Mouse", "Ideapad extra buttons", "Wacom HID 51E3 Pen", "Video Bus", "AT Translated Set 2 keyboard"
18:05:14.605933 27853 reader-service DEBUG reader_service.py:161: Sending groups
18:05:14.606497 27853 reader-service DEBUG reader_service.py:193: Waiting for commands
18:05:14.610851 27841 GUI DEBUG reader_client.py:141: received {'type': 'groups', 'message': '["{\\"paths\\": [\\"/dev/input/event27\\", \\"/dev/input/event9\\"], \\"names\\": [\\"Logitech Gaming Mouse G600 Keyboard\\", \\"Logitech Gaming Mouse G600\\"], \\"types\\": [\\"keyboard\\", \\"mouse\\"], \\"key\\": \\"Logitech Gaming Mouse G600\\"}", "{\\"paths\\": [\\"/dev/input/event21\\"], \\"names\\": [\\"Lenovo ThinkPad USB-C Dock Gen2 USB Audio\\"], \\"types\\": [], \\"key\\": \\"Lenovo ThinkPad USB-C Dock Gen2 USB Audio\\"}", "{\\"paths\\": [\\"/dev/input/event26\\", \\"/dev/input/event25\\", \\"/dev/input/event24\\", \\"/dev/input/event23\\", \\"/dev/input/event22\\"], \\"names\\": [\\"EVGA Corporation EVGA Z15 RGB Gaming Keyboard\\", \\"EVGA Corporation EVGA Z15 RGB Gaming Keyboard System Control\\", \\"EVGA Corporation EVGA Z15 RGB Gaming Keyboard Consumer Control\\", \\"EVGA Corporation EVGA Z15 RGB Gaming Keyboard Mouse\\", \\"EVGA Corporation EVGA Z15 RGB Gaming Keyboard\\"], \\"types\\": [\\"keyboard\\", \\"mouse\\"], \\"key\\": \\"EVGA Corporation EVGA Z15 RGB Gaming Keyboard\\"}", "{\\"paths\\": [\\"/dev/input/event20\\", \\"/dev/input/event18\\", \\"/dev/input/event17\\"], \\"names\\": [\\"CX 2.4G Wireless Receiver Keyboard\\", \\"CX 2.4G Wireless Receiver Mouse\\", \\"CX 2.4G Wireless Receiver\\"], \\"types\\": [\\"keyboard\\", \\"mouse\\"], \\"key\\": \\"CX 2.4G Wireless Receiver\\"}", "{\\"paths\\": [\\"/dev/input/event5\\", \\"/dev/input/event4\\"], \\"names\\": [\\"SYNA2B31:00 06CB:CD3E Touchpad\\", \\"SYNA2B31:00 06CB:CD3E Mouse\\"], \\"types\\": [\\"touchpad\\"], \\"key\\": \\"SYNA2B31:00 06CB:CD3E Mouse\\"}", "{\\"paths\\": [\\"/dev/input/event10\\"], \\"names\\": [\\"Ideapad extra buttons\\"], \\"types\\": [], \\"key\\": \\"Ideapad extra buttons\\"}", "{\\"paths\\": [\\"/dev/input/event8\\", \\"/dev/input/event7\\"], \\"names\\": [\\"Wacom HID 51E3 Finger\\", \\"Wacom HID 51E3 Pen\\"], \\"types\\": [\\"graphics-tablet\\", \\"touchpad\\"], \\"key\\": \\"Wacom HID 51E3 Pen\\"}", "{\\"paths\\": [\\"/dev/input/event6\\"], \\"names\\": [\\"Video Bus\\"], \\"types\\": [], \\"key\\": \\"Video Bus\\"}", "{\\"paths\\": [\\"/dev/input/event3\\"], \\"names\\": [\\"AT Translated Set 2 keyboard\\"], \\"types\\": [\\"keyboard\\"], \\"key\\": \\"AT Translated Set 2 keyboard\\"}"]'}
18:05:14.611360 27841 GUI DEBUG reader_client.py:287: Received 9 devices
18:05:14.611615 27841 GUI DEBUG message_broker.py:76: from reader_client.py:282: Signal=groups: GroupsData(groups={'Logitech Gaming Mouse G600': [<DeviceType.KEYBOARD: 'keyboard'>, <DeviceType.MOUSE: 'mouse'>], 'Lenovo ThinkPad USB-C Dock Gen2 USB Audio': [], 'EVGA Corporation EVGA Z15 RGB Gaming Keyboard': [<DeviceType.KEYBOARD: 'keyboard'>, <DeviceType.MOUSE: 'mouse'>], 'CX 2.4G Wireless Receiver': [<DeviceType.KEYBOARD: 'keyboard'>, <DeviceType.MOUSE: 'mouse'>], 'SYNA2B31:00 06CB:CD3E Mouse': [<DeviceType.TOUCHPAD: 'touchpad'>], 'Ideapad extra buttons': [], 'Wacom HID 51E3 Pen': [<DeviceType.GRAPHICS_TABLET: 'graphics-tablet'>, <DeviceType.TOUCHPAD: 'touchpad'>], 'Video Bus': [], 'AT Translated Set 2 keyboard': [<DeviceType.KEYBOARD: 'keyboard'>]})
18:05:14.612185 27841 GUI INFO data_manager.py:297: Loading group "Logitech Gaming Mouse G600"
18:05:14.614514 27841 GUI INFO data_manager.py:315: Loading preset "Name"
18:05:14.614697 27841 GUI INFO preset.py:144: Loading preset from "/home/UserName/.config/input-remapper-2/presets/Logitech Gaming Mouse G600/Name.json"
18:05:14.615170 27841 GUI DEBUG device_groups.py:102: adding Logitech Gaming Mouse G600 to device selection
18:05:14.616685 27841 GUI DEBUG device_groups.py:102: adding Lenovo ThinkPad USB-C Dock Gen2 USB Audio to device selection
18:05:14.617404 27841 GUI DEBUG device_groups.py:102: adding EVGA Corporation EVGA Z15 RGB Gaming Keyboard to device selection
18:05:14.618114 27841 GUI DEBUG device_groups.py:102: adding CX 2.4G Wireless Receiver to device selection
18:05:14.618837 27841 GUI DEBUG device_groups.py:102: adding SYNA2B31:00 06CB:CD3E Mouse to device selection
18:05:14.619336 27841 GUI DEBUG device_groups.py:102: adding Ideapad extra buttons to device selection
18:05:14.619556 27841 GUI DEBUG device_groups.py:102: adding Wacom HID 51E3 Pen to device selection
18:05:14.619824 27841 GUI DEBUG device_groups.py:102: adding Video Bus to device selection
18:05:14.620042 27841 GUI DEBUG device_groups.py:102: adding AT Translated Set 2 keyboard to device selection
18:05:14.620671 27841 GUI DEBUG message_broker.py:76: from data_manager.py:100: Signal=group: GroupData(group_key='Logitech Gaming Mouse G600', presets=('Name',))
18:05:14.620925 27841 GUI DEBUG message_broker.py:76: from data_manager.py:158: Signal=injector_state: InjectorStateMessage(state='UNKNOWN')
18:05:14.621012 27841 GUI DEBUG message_broker.py:76: from data_manager.py:111: Signal=preset: PresetData(name='Name', mappings=[], autoload=False)
18:05:14.622040 27841 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
18:05:14.622131 27841 GUI DEBUG message_broker.py:76: from controller.py:147: Signal=mapping: {'target_uinput': 'keyboard'}
18:05:14.625439 27841 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
18:05:15.383146 27841 GUI DEBUG device_groups.py:66: Selecting device "Logitech Gaming Mouse G600"
18:05:15.383404 27841 GUI INFO data_manager.py:297: Loading group "Logitech Gaming Mouse G600"
18:05:15.383853 27841 GUI DEBUG message_broker.py:76: from data_manager.py:100: Signal=group: GroupData(group_key='Logitech Gaming Mouse G600', presets=('Name',))
18:05:15.386736 27841 GUI DEBUG message_broker.py:76: from data_manager.py:158: Signal=injector_state: InjectorStateMessage(state='UNKNOWN')
18:05:15.387187 27841 GUI INFO data_manager.py:315: Loading preset "Name"
18:05:15.387362 27841 GUI INFO preset.py:144: Loading preset from "/home/UserName/.config/input-remapper-2/presets/Logitech Gaming Mouse G600/Name.json"
18:05:15.387779 27841 GUI DEBUG message_broker.py:76: from data_manager.py:111: Signal=preset: PresetData(name='Name', mappings=[], autoload=False)
18:05:15.388599 27841 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
18:05:15.388770 27841 GUI DEBUG message_broker.py:76: from controller.py:147: Signal=mapping: {'target_uinput': 'keyboard'}
18:05:15.390596 27841 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
18:05:15.390994 27841 GUI DEBUG message_broker.py:76: from device_groups.py:68: Signal=do_stack_switch: DoStackSwitch(page_index=1)
18:05:16.183200 27841 GUI DEBUG presets.py:60: Selecting preset "Name"
18:05:16.183388 27841 GUI INFO data_manager.py:315: Loading preset "Name"
18:05:16.183550 27841 GUI INFO preset.py:144: Loading preset from "/home/UserName/.config/input-remapper-2/presets/Logitech Gaming Mouse G600/Name.json"
18:05:16.184035 27841 GUI DEBUG message_broker.py:76: from data_manager.py:111: Signal=preset: PresetData(name='Name', mappings=[], autoload=False)
18:05:16.184824 27841 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
18:05:16.184987 27841 GUI DEBUG message_broker.py:76: from controller.py:147: Signal=mapping: {'target_uinput': 'keyboard'}
18:05:16.187243 27841 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
18:05:16.187766 27841 GUI DEBUG message_broker.py:76: from presets.py:62: Signal=do_stack_switch: DoStackSwitch(page_index=2)
18:05:17.636531 27841 GUI DEBUG message_broker.py:76: from data_manager.py:111: Signal=preset: PresetData(name='Name', mappings=[MappingData(input_combination=<InputCombination (<InputConfig (99, 99) unknown, 99, None, at 0x7fad7804cc80>) at 0x7fad7804cd00>, target_uinput=None, output_symbol=None, output_type=None, output_code=None, name=None, mapping_type=None, release_combination_keys=True, macro_key_sleep_ms=0, deadzone=0.1, gain=1.0, expo=0.0, rel_rate=60, rel_to_abs_input_cutoff=2, release_timeout=0.05, force_release_timeout=False, message_type=<MessageType.mapping: 'mapping'>)], autoload=False)
18:05:17.641461 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method MappingSelectionLabel._on_mapping_changed of <MappingSelectionLabel for Combination (InputConfig unknown) as Empty Mapping at 0x7fad78038980>>
18:05:17.641678 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.combination_update: <bound method MappingSelectionLabel._on_combination_update of <MappingSelectionLabel for Combination (InputConfig unknown) as Empty Mapping at 0x7fad78038980>>
18:05:17.643213 27841 GUI DEBUG message_broker.py:76: from controller.py:720: Signal=status_msg: StatusData(ctx_id=5, msg='"Empty Mapping": none is not an allowed value', tooltip='none is not an allowed value')
18:05:17.643510 27841 GUI DEBUG message_broker.py:76: from data_manager.py:125: Signal=mapping: {}
18:05:17.644535 27841 GUI WARNING input_config.py:129: Unknown type for InputConfig unknown
18:05:17.649166 27841 GUI DEBUG message_broker.py:76: from data_manager.py:136: Signal=selected_event: InputConfig unknown
18:05:17.649922 27841 GUI DEBUG message_broker.py:76: from data_manager.py:136: Signal=selected_event: InputConfig unknown
18:05:17.650143 27841 GUI DEBUG message_broker.py:76: from controller.py:720: Signal=status_msg: StatusData(ctx_id=5, msg='"Empty Mapping": none is not an allowed value', tooltip='none is not an allowed value')
18:05:17.650746 27841 GUI DEBUG message_broker.py:76: from data_manager.py:125: Signal=mapping: {}
18:05:17.652658 27841 GUI DEBUG message_broker.py:76: from controller.py:720: Signal=status_msg: StatusData(ctx_id=5, msg='"Empty Mapping": none is not an allowed value', tooltip='none is not an allowed value')
18:05:17.653120 27841 GUI DEBUG message_broker.py:76: from data_manager.py:125: Signal=mapping: {'target_uinput': 'keyboard'}
18:05:17.653798 27841 GUI ERROR controller.py:171: Expected an error
18:05:18.096155 27841 GUI DEBUG controller.py:596: Recording Keys
18:05:18.096415 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.combination_recorded: <bound method Controller._on_combination_recorded of <inputremapper.gui.controller.Controller object at 0x7fad7e8addf0>>
18:05:18.096576 27841 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.recording_finished: <function Controller.start_key_recording.<locals>.on_recording_finished at 0x7fad7802f700>
18:05:18.096712 27841 GUI DEBUG reader_client.py:172: Starting recorder.
18:05:18.117570 27841 GUI DEBUG reader_client.py:120: Sending "Logitech Gaming Mouse G600" to ReaderService
18:05:18.117985 27841 GUI DEBUG message_broker.py:76: from reader_client.py:178: Signal=recording_started: Signal: MessageType.recording_started
18:05:18.118094 27853 reader-service DEBUG reader_service.py:195: Received command "Logitech Gaming Mouse G600"
18:05:18.122085 27853 reader-service DEBUG system_mapping.py:128: Gathering available keycodes
18:05:18.125624 27853 reader-service DEBUG system_mapping.py:114: Writing "/home/UserName/.config/input-remapper-2/xmodmap.json"
18:05:18.125993 27853 reader-service DEBUG system_mapping.py:128: Gathering available keycodes
18:05:18.152583 27853 reader-service DEBUG system_mapping.py:114: Writing "/home/UserName/.config/input-remapper-2/xmodmap.json"
18:05:18.160167 27853 reader-service DEBUG event_reader.py:191: Starting to listen for events from /dev/input/event27, fd 17
18:05:18.160402 27853 reader-service DEBUG event_reader.py:191: Starting to listen for events from /dev/input/event9, fd 18
18:05:18.160675 27853 reader-service DEBUG event_reader.py:108: read loop stopped
Task exception was never retrieved
future: <Task finished name='Task-6' coro=<Event.wait() done, defined at /usr/lib/python3.8/asyncio/locks.py:296> exception=RuntimeError("Task <Task pending name='Task-6' coro=<Event.wait() running at /usr/lib/python3.8/asyncio/locks.py:309> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.8/asyncio/tasks.py:518]> got Future <Future pending> attached to a different loop")>
Traceback (most recent call last):
  File "/usr/lib/python3.8/asyncio/locks.py", line 309, in wait
    await fut
RuntimeError: Task <Task pending name='Task-6' coro=<Event.wait() running at /usr/lib/python3.8/asyncio/locks.py:309> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.8/asyncio/tasks.py:518]> got Future <Future pending> attached to a different loop
18:05:18.161097 27853 reader-service INFO event_reader.py:207: read loop for /dev/input/event27 stopped
18:05:18.176103 27853 reader-service DEBUG event_reader.py:108: read loop stopped
Task exception was never retrieved
future: <Task finished name='Task-8' coro=<Event.wait() done, defined at /usr/lib/python3.8/asyncio/locks.py:296> exception=RuntimeError("Task <Task pending name='Task-8' coro=<Event.wait() running at /usr/lib/python3.8/asyncio/locks.py:309> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.8/asyncio/tasks.py:518]> got Future <Future pending> attached to a different loop")>
Traceback (most recent call last):
  File "/usr/lib/python3.8/asyncio/locks.py", line 309, in wait
    await fut
RuntimeError: Task <Task pending name='Task-8' coro=<Event.wait() running at /usr/lib/python3.8/asyncio/locks.py:309> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.8/asyncio/tasks.py:518]> got Future <Future pending> attached to a different loop
18:05:18.176432 27853 reader-service INFO event_reader.py:207: read loop for /dev/input/event9 stopped
18:05:18.874217 27841 GUI DEBUG system_mapping.py:128: Gathering available keycodes
18:05:18.874339 27841 GUI DEBUG system_mapping.py:128: Gathering available keycodes
18:05:18.919716 27841 GUI DEBUG system_mapping.py:114: Writing "/home/UserName/.config/input-remapper-2/xmodmap.json"
18:05:18.923418 27841 GUI DEBUG system_mapping.py:128: Gathering available keycodes
18:05:18.933703 27841 GUI DEBUG system_mapping.py:114: Writing "/home/UserName/.config/input-remapper-2/xmodmap.json"
18:05:18.942532 27841 GUI DEBUG system_mapping.py:114: Writing "/home/UserName/.config/input-remapper-2/xmodmap.json"

;;;;;;; This is where it sits while I'm entering keystrokes (buttonstrokes?)

18:05:22.033350 27841 GUI DEBUG controller.py:615: Stopping Recording Keys
18:05:22.033567 27841 GUI DEBUG reader_client.py:185: Stopping recorder.
18:05:22.033689 27841 GUI DEBUG reader_client.py:120: Sending "stop-reading" to ReaderService
18:05:22.034127 27841 GUI DEBUG message_broker.py:76: from reader_client.py:196: Signal=recording_finished: Signal: MessageType.recording_finished
18:05:22.034241 27853 reader-service DEBUG reader_service.py:195: Received command "stop-reading"
18:05:23.458791 27841 GUI DEBUG controller.py:738: Closing Application
18:05:23.459044 27841 GUI INFO preset.py:182: Saving preset to /home/UserName/.config/input-remapper-2/presets/Logitech Gaming Mouse G600/Name.json
18:05:23.460113 27841 GUI DEBUG preset.py:191: Skipping invalid mapping {'target_uinput': 'keyboard'}
18:05:23.460719 27841 GUI DEBUG message_broker.py:76: from controller.py:740: Signal=terminate: Signal: MessageType.terminate
18:05:23.460869 27841 GUI DEBUG reader_client.py:120: Sending "terminate" to ReaderService
18:05:23.461008 27841 GUI DEBUG reader_client.py:185: Stopping recorder.
18:05:23.461090 27841 GUI DEBUG reader_client.py:120: Sending "stop-reading" to ReaderService
18:05:23.461188 27841 GUI DEBUG reader_client.py:194: No recording generator existed
18:05:23.461360 27853 reader-service DEBUG reader_service.py:195: Received command "terminate"
18:05:23.461429 27841 GUI DEBUG user_interface.py:375: Closing window
18:05:23.461521 27853 reader-service DEBUG reader_service.py:199: Terminating
18:05:23.462068 27841 GUI DEBUG message_broker.py:76: from reader_client.py:196: Signal=recording_finished: Signal: MessageType.recording_finished
18:05:23.462236 27841 GUI DEBUG controller.py:741: Quitting
18:05:23.487518 27841 GUI DEBUG controller.py:738: Closing Application
18:05:23.488017 27841 GUI INFO preset.py:182: Saving preset to /home/UserName/.config/input-remapper-2/presets/Logitech Gaming Mouse G600/Name.json
18:05:23.488677 27841 GUI DEBUG preset.py:191: Skipping invalid mapping {'target_uinput': 'keyboard'}
18:05:23.489325 27841 GUI DEBUG message_broker.py:76: from controller.py:740: Signal=terminate: Signal: MessageType.terminate
18:05:23.489472 27841 GUI DEBUG reader_client.py:120: Sending "terminate" to ReaderService
18:05:23.489609 27841 GUI DEBUG reader_client.py:185: Stopping recorder.
18:05:23.489694 27841 GUI DEBUG reader_client.py:120: Sending "stop-reading" to ReaderService
18:05:23.489793 27841 GUI DEBUG reader_client.py:194: No recording generator existed
18:05:23.489997 27841 GUI DEBUG user_interface.py:375: Closing window
18:05:23.490118 27841 GUI DEBUG message_broker.py:76: from reader_client.py:196: Signal=recording_finished: Signal: MessageType.recording_finished
18:05:23.490262 27841 GUI WARNING utils.py:199: HandlerDisabled entry failed: "nothing connected to <bound method RecordingToggle._on_gtk_toggle of <inputremapper.gui.components.editor.RecordingToggle object at 0x7fad7e8c8e80>>"
18:05:23.490413 27841 GUI WARNING utils.py:205: HandlerDisabled exit failed: "nothing connected to <bound method RecordingToggle._on_gtk_toggle of <inputremapper.gui.components.editor.RecordingToggle object at 0x7fad7e8c8e80>>"
18:05:23.490513 27841 GUI DEBUG controller.py:741: Quitting

(input-remapper-gtk:27841): Gtk-CRITICAL **: 18:05:23.490: gtk_main_quit: assertion 'main_loops != NULL' failed
UserName@ComputerName:~$ 

gratejames commented 1 year ago

Had a chance to do a bit more testing. Same results for an EVGA keyboard and the laptops keyboard

sezanzeb commented 1 year ago

I'm assuming you are running something older than python 3.10?

See https://github.com/sezanzeb/input-remapper/issues/662#issuecomment-1669845138 and the comment below that