input-remapper icon indicating copy to clipboard operation
input-remapper copied to clipboard

Breaks keyboard

Open rbits0 opened this issue 1 year ago • 1 comments

To help people understand your problems, run sudo pkill -f input-remapper && input-remapper-gtk -d, reproduce the problem and then share the output here.

I would post the output of the above command, except when I run it, it breaks input-remapper until I restart my computer

When I choose virtual keyboard and create a mapping and click apply, my keyboard stops working. None of the keys work, not even Alt+F2 to switch to a different TTY.

KDE Neon 6.0 (Plasma 6.0.4) X11 and Wayland Input Remapper 2.0.1

rbits0 avatar May 10 '24 08:05 rbits0

Ok turns out if I just run input-remapper-gtk -d without the pkill thing, the command works. Here's what happens when I try to remap a key:

18:59:31.286375 5438 GUI INFO logger.py:265: input-remapper-gtk 2.0.1 568f56cdb438f4ad6db9e96b2900d1228ea736ee https://github.com/sezanzeb/input-remapper
18:59:31.286458 5438 GUI INFO logger.py:273: python-evdev 1.4.0
18:59:31.286490 5438 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:59:31.286519 5438 GUI DEBUG input-remapper-gtk:67: Using locale directory: /usr/share/input-remapper/lang
18:59:31.295386 5438 GUI DEBUG pipe.py:70: Creating new pipe for "/tmp/input-remapper-riley/reader-results"
18:59:31.295640 5438 GUI DEBUG pipe.py:70: Creating new pipe for "/tmp/input-remapper-riley/reader-commands"
18:59:31.295764 5438 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.terminate: <function ReaderClient.attach_to_events.<locals>.<lambda> at 0x7f354f8f3400>
18:59:31.295951 5438 GUI DEBUG reader_service.py:144: Running `pkexec input-remapper-control --command start-reader-service -d`
18:59:33.848751 5442 control DEBUG input-remapper-control:233: Call for "['/usr/bin/input-remapper-control', '--command', 'start-reader-service', '-d']"
18:59:33.852748 5442 control DEBUG input-remapper-control:215: System is booted
18:59:33.852807 5442 control DEBUG input-remapper-control:178: Running `input-remapper-reader-service -d &`
18:59:33.853201 5442 control INFO input-remapper-control:263: Done
18:59:33.881533 5438 GUI INFO daemon.py:228: Connected to the service
18:59:33.881611 5438 GUI DEBUG daemon.py:264: Telling service about "/home/riley/.config/input-remapper-2"
18:59:33.882686 5438 GUI DEBUG global_uinputs.py:135: Creating FrontendUInputs
18:59:33.882740 5438 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper keyboard"
18:59:33.882768 5438 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper gamepad"
18:59:33.882792 5438 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper mouse"
18:59:33.882815 5438 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper keyboard + mouse"
18:59:33.882902 5438 GUI INFO global_config.py:109: Loaded config from "/home/riley/.config/input-remapper-2/config.json"
18:59:33.882943 5438 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 0x7f354f7982b0>>
18:59:33.882978 5438 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 0x7f354f7982b0>>
18:59:33.883003 5438 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.init: <bound method Controller._on_init of <inputremapper.gui.controller.Controller object at 0x7f354f7982b0>>
18:59:33.883044 5438 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 0x7f354f7982b0>>
18:59:33.883079 5438 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 0x7f354f7982b0>>
18:59:33.883151 5438 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.terminate: <function UserInterface.__init__.<locals>.<lambda> at 0x7f354f77a830>
18:59:33.960852 5438 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 0x7f354f798370>>
18:59:33.960943 5438 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 0x7f354f798370>>
18:59:33.960998 5438 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 0x7f354f799150>>
18:59:33.961046 5438 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 0x7f354f799150>>
18:59:33.961308 5438 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 0x7f354f7991b0>>
18:59:33.961351 5438 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 0x7f354f7991b0>>
18:59:33.961392 5438 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 0x7f354f799270>>
18:59:33.961432 5438 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 0x7f354f799270>>
18:59:33.961472 5438 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 0x7f354f7992d0>>
18:59:33.961499 5438 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 0x7f354f7992d0>>
18:59:33.961523 5438 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 0x7f354f7992d0>>
18:59:33.961637 5438 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 0x7f354f799300>>
18:59:33.961668 5438 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 0x7f354f799300>>
18:59:33.961695 5438 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 0x7f354f799300>>
18:59:33.961861 5438 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 0x7f354f799450>>
18:59:33.961919 5438 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 0x7f354f7994b0>>
18:59:33.961973 5438 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 0x7f354f799510>>
18:59:33.962001 5438 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 0x7f354f799510>>
18:59:33.962380 5438 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 0x7f354f799540>>
18:59:33.962428 5438 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 0x7f354f799690>>
18:59:33.962462 5438 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 0x7f354f799690>>
18:59:33.962631 5438 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 0x7f354f799780>>
18:59:33.962670 5438 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 0x7f354f799810>>
18:59:33.962704 5438 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 0x7f354f799930>>
18:59:33.962732 5438 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 0x7f354f799930>>
18:59:33.962766 5438 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 0x7f354f7999c0>>
18:59:33.963238 5438 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 0x7f354f799a20>>
18:59:33.963667 5438 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 0x7f354f799b10>>
18:59:33.964165 5438 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 0x7f354f799c30>>
18:59:33.964209 5438 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 0x7f354f799c30>>
18:59:33.964252 5438 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 0x7f354f799c60>>
18:59:33.964297 5438 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 0x7f354f799cc0>>
18:59:33.964450 5438 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 0x7f354f799e70>>
18:59:33.964987 5438 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 0x7f354f799ed0>>
18:59:33.965070 5438 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 0x7f354f79a110>>
18:59:33.965100 5438 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 0x7f354f79a110>>
18:59:33.965131 5438 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 0x7f354f79a140>>
18:59:33.965156 5438 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 0x7f354f79a140>>
18:59:33.965193 5438 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 0x7f354f79a1a0>>
18:59:33.965221 5438 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 0x7f354f79a1a0>>
18:59:33.965619 5438 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 0x7f354f79a200>>"
18:59:33.965725 5438 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 0x7f354f79a200>>"
18:59:33.965792 5438 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 0x7f354f79a200>>
18:59:33.965822 5438 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 0x7f354f79a200>>
18:59:33.966602 5438 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method Autocompletion._on_mapping_changed of <autocompletion.Autocompletion object at 0x7f354f7acec0 (Autocompletion at 0x559ba6804660)>>
18:59:33.966647 5438 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.uinputs: <bound method Autocompletion._on_uinputs_changed of <autocompletion.Autocompletion object at 0x7f354f7acec0 (Autocompletion at 0x559ba6804660)>>
18:59:33.966859 5438 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 0x7f354f798310>>
18:59:33.966906 5438 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 0x7f354f798310>>
18:59:33.966935 5438 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 0x7f354f798310>>
18:59:34.012541 5484 reader-service DEBUG data.py:118: Found data at "/usr/share/input-remapper"
18:59:34.019090 5484 reader-service DEBUG pipe.py:87: Using existing pipe for "/tmp/input-remapper-riley/reader-results"
18:59:34.019212 5484 reader-service DEBUG pipe.py:87: Using existing pipe for "/tmp/input-remapper-riley/reader-commands"
18:59:34.019545 5484 reader-service DEBUG reader_service.py:154: Discovering initial groups
18:59:34.019953 5484 reader-service DEBUG groups.py:354: Discovering device paths
18:59:34.020612 5484 reader-service DEBUG groups.py:402: Found keyboard "input-remapper keyboard" at "/dev/input/event26", hash "1ae1e2c927b8b0524681e2d6809246bf", key "3_1_1_input-remapper"
18:59:34.020990 5484 reader-service DEBUG groups.py:391: "sof-hda-dsp HDMI/DP,pcm=5" has no useful capabilities
18:59:34.021226 5484 reader-service DEBUG groups.py:391: "sof-hda-dsp HDMI/DP,pcm=4" has no useful capabilities
18:59:34.021365 5484 reader-service DEBUG groups.py:391: "sof-hda-dsp HDMI/DP,pcm=3" has no useful capabilities
18:59:34.021478 5484 reader-service DEBUG groups.py:391: "sof-hda-dsp Headphone Mic" has no useful capabilities
18:59:34.021620 5484 reader-service DEBUG groups.py:402: Found mouse "keyd virtual pointer" at "/dev/input/event20", hash "44dd068b479d53651f2461a281d02064", key "3_4012_6878_-"
18:59:34.021850 5484 reader-service DEBUG groups.py:402: Found keyboard "keyd virtual keyboard" at "/dev/input/event19", hash "48f9a8c24a8baa7acd08d3e5b0383ebb", key "3_4012_2782_-"
18:59:34.021970 5484 reader-service DEBUG groups.py:391: "HDA NVidia HDMI/DP,pcm=11" has no useful capabilities
18:59:34.022091 5484 reader-service DEBUG groups.py:391: "HDA NVidia HDMI/DP,pcm=10" has no useful capabilities
18:59:34.022194 5484 reader-service DEBUG groups.py:391: "HDA NVidia HDMI/DP,pcm=9" has no useful capabilities
18:59:34.022313 5484 reader-service DEBUG groups.py:391: "HDA NVidia HDMI/DP,pcm=8" has no useful capabilities
18:59:34.022424 5484 reader-service DEBUG groups.py:391: "HDA NVidia HDMI/DP,pcm=7" has no useful capabilities
18:59:34.022548 5484 reader-service DEBUG groups.py:391: "HDA NVidia HDMI/DP,pcm=3" has no useful capabilities
18:59:34.022668 5484 reader-service DEBUG groups.py:402: Found touchpad "DELL0A70:00 04F3:317E Touchpad" at "/dev/input/event12", hash "24427e5606972644590b87576ed5a887", key "24_1267_12670_i2c-DELL0A70:00"
18:59:34.022799 5484 reader-service DEBUG groups.py:402: Found unknown "DELL0A70:00 04F3:317E Mouse" at "/dev/input/event11", hash "c27f87e1f1a6c4f5d2710fb336e30c37", key "24_1267_12670_i2c-DELL0A70:00"
18:59:34.022939 5484 reader-service DEBUG groups.py:402: Found unknown "Dell WMI hotkeys" at "/dev/input/event4", hash "b2929a312ab049787d22a304b1011c35", key "25_0_0_-"
18:59:34.023085 5484 reader-service DEBUG groups.py:402: Found unknown "Dell Privacy Driver" at "/dev/input/event3", hash "1e7663f7a3b2daf0d48a9361880219da", key "25_0_0_-"
18:59:34.023218 5484 reader-service DEBUG groups.py:402: Found unknown "Intel HID 5 button array" at "/dev/input/event10", hash "dcab597aec1817073adc602b83a72484", key "25_0_0_-"
18:59:34.023354 5484 reader-service DEBUG groups.py:402: Found unknown "Intel HID events" at "/dev/input/event9", hash "c8ed72af2ee31e484484ae2a3b993d14", key "25_0_0_-"
18:59:34.023465 5484 reader-service DEBUG groups.py:402: Found unknown "Video Bus" at "/dev/input/event8", hash "97ce48b026f7f5a939d64ade3b570921", key "25_0_6_LNXVIDEO"
18:59:34.023656 5484 reader-service DEBUG groups.py:402: Found mouse "Logitech G305" at "/dev/input/event7", hash "0c8b0599460b02d28ffc9dd2a8715fea", key "3_1133_16500_usb-0000:00:14.0-4"
18:59:34.023854 5484 reader-service DEBUG groups.py:402: Found unknown "Video Bus" at "/dev/input/event6", hash "97ce48b026f7f5a939d64ade3b570921", key "25_0_6_LNXVIDEO"
18:59:34.023984 5484 reader-service DEBUG groups.py:402: Found unknown "PS/2 Generic Mouse" at "/dev/input/event5", hash "cc05ac157e1fcf55b90d8ca3ebecf45b", key "17_2_1_isa0060"
18:59:34.024249 5484 reader-service DEBUG groups.py:402: Found keyboard "AT Translated Set 2 keyboard" at "/dev/input/event2", hash "650869084d234c8ce49bb632f09ccf3e", key "17_1_1_isa0060"
18:59:34.024430 5484 reader-service DEBUG groups.py:391: "Lid Switch" has no useful capabilities
18:59:34.024692 5484 reader-service INFO groups.py:481: Found "input-remapper keyboard", "keyd virtual pointer", "keyd virtual keyboard", "DELL0A70:00 04F3:317E Mouse", "Dell WMI hotkeys", "Video Bus", "Logitech G305", "PS/2 Generic Mouse", "AT Translated Set 2 keyboard"
18:59:34.024796 5484 reader-service DEBUG reader_service.py:161: Sending groups
18:59:34.024959 5484 reader-service DEBUG reader_service.py:193: Waiting for commands
18:59:34.234076 5438 GUI DEBUG reader_client.py:141: received {'type': 'status', 'message': 'ready'}
18:59:34.234164 5438 GUI DEBUG reader_client.py:141: received {'type': 'groups', 'message': '["{\\"paths\\": [\\"/dev/input/event26\\"], \\"names\\": [\\"input-remapper keyboard\\"], \\"types\\": [\\"keyboard\\"], \\"key\\": \\"input-remapper keyboard\\"}", "{\\"paths\\": [\\"/dev/input/event20\\"], \\"names\\": [\\"keyd virtual pointer\\"], \\"types\\": [\\"mouse\\"], \\"key\\": \\"keyd virtual pointer\\"}", "{\\"paths\\": [\\"/dev/input/event19\\"], \\"names\\": [\\"keyd virtual keyboard\\"], \\"types\\": [\\"keyboard\\"], \\"key\\": \\"keyd virtual keyboard\\"}", "{\\"paths\\": [\\"/dev/input/event12\\", \\"/dev/input/event11\\"], \\"names\\": [\\"DELL0A70:00 04F3:317E Touchpad\\", \\"DELL0A70:00 04F3:317E Mouse\\"], \\"types\\": [\\"touchpad\\"], \\"key\\": \\"DELL0A70:00 04F3:317E Mouse\\"}", "{\\"paths\\": [\\"/dev/input/event4\\", \\"/dev/input/event3\\", \\"/dev/input/event10\\", \\"/dev/input/event9\\"], \\"names\\": [\\"Dell WMI hotkeys\\", \\"Dell Privacy Driver\\", \\"Intel HID 5 button array\\", \\"Intel HID events\\"], \\"types\\": [], \\"key\\": \\"Dell WMI hotkeys\\"}", "{\\"paths\\": [\\"/dev/input/event8\\", \\"/dev/input/event6\\"], \\"names\\": [\\"Video Bus\\", \\"Video Bus\\"], \\"types\\": [], \\"key\\": \\"Video Bus\\"}", "{\\"paths\\": [\\"/dev/input/event7\\"], \\"names\\": [\\"Logitech G305\\"], \\"types\\": [\\"mouse\\"], \\"key\\": \\"Logitech G305\\"}", "{\\"paths\\": [\\"/dev/input/event5\\"], \\"names\\": [\\"PS/2 Generic Mouse\\"], \\"types\\": [], \\"key\\": \\"PS/2 Generic Mouse\\"}", "{\\"paths\\": [\\"/dev/input/event2\\"], \\"names\\": [\\"AT Translated Set 2 keyboard\\"], \\"types\\": [\\"keyboard\\"], \\"key\\": \\"AT Translated Set 2 keyboard\\"}"]'}
18:59:34.234507 5438 GUI DEBUG groups.py:354: Discovering device paths
18:59:34.235202 5438 GUI DEBUG groups.py:402: Found keyboard "input-remapper keyboard" at "/dev/input/event26", hash "1ae1e2c927b8b0524681e2d6809246bf", key "3_1_1_input-remapper"
18:59:34.235710 5438 GUI DEBUG groups.py:391: "sof-hda-dsp HDMI/DP,pcm=5" has no useful capabilities
18:59:34.236018 5438 GUI DEBUG groups.py:391: "sof-hda-dsp HDMI/DP,pcm=4" has no useful capabilities
18:59:34.236248 5438 GUI DEBUG groups.py:391: "sof-hda-dsp HDMI/DP,pcm=3" has no useful capabilities
18:59:34.236466 5438 GUI DEBUG groups.py:391: "sof-hda-dsp Headphone Mic" has no useful capabilities
18:59:34.236712 5438 GUI DEBUG groups.py:402: Found mouse "keyd virtual pointer" at "/dev/input/event20", hash "44dd068b479d53651f2461a281d02064", key "3_4012_6878_-"
18:59:34.237040 5438 GUI DEBUG groups.py:402: Found keyboard "keyd virtual keyboard" at "/dev/input/event19", hash "48f9a8c24a8baa7acd08d3e5b0383ebb", key "3_4012_2782_-"
18:59:34.237236 5438 GUI DEBUG groups.py:391: "HDA NVidia HDMI/DP,pcm=11" has no useful capabilities
18:59:34.237340 5438 GUI DEBUG groups.py:391: "HDA NVidia HDMI/DP,pcm=10" has no useful capabilities
18:59:34.237429 5438 GUI DEBUG groups.py:391: "HDA NVidia HDMI/DP,pcm=9" has no useful capabilities
18:59:34.237515 5438 GUI DEBUG groups.py:391: "HDA NVidia HDMI/DP,pcm=8" has no useful capabilities
18:59:34.237620 5438 GUI DEBUG groups.py:391: "HDA NVidia HDMI/DP,pcm=7" has no useful capabilities
18:59:34.237704 5438 GUI DEBUG groups.py:391: "HDA NVidia HDMI/DP,pcm=3" has no useful capabilities
18:59:34.237915 5438 GUI DEBUG groups.py:402: Found touchpad "DELL0A70:00 04F3:317E Touchpad" at "/dev/input/event12", hash "24427e5606972644590b87576ed5a887", key "24_1267_12670_i2c-DELL0A70:00"
18:59:34.238124 5438 GUI DEBUG groups.py:402: Found unknown "DELL0A70:00 04F3:317E Mouse" at "/dev/input/event11", hash "c27f87e1f1a6c4f5d2710fb336e30c37", key "24_1267_12670_i2c-DELL0A70:00"
18:59:34.238255 5438 GUI DEBUG groups.py:402: Found unknown "Dell WMI hotkeys" at "/dev/input/event4", hash "b2929a312ab049787d22a304b1011c35", key "25_0_0_-"
18:59:34.238393 5438 GUI DEBUG groups.py:402: Found unknown "Dell Privacy Driver" at "/dev/input/event3", hash "1e7663f7a3b2daf0d48a9361880219da", key "25_0_0_-"
18:59:34.238494 5438 GUI DEBUG groups.py:402: Found unknown "Intel HID 5 button array" at "/dev/input/event10", hash "dcab597aec1817073adc602b83a72484", key "25_0_0_-"
18:59:34.238645 5438 GUI DEBUG groups.py:402: Found unknown "Intel HID events" at "/dev/input/event9", hash "c8ed72af2ee31e484484ae2a3b993d14", key "25_0_0_-"
18:59:34.238754 5438 GUI DEBUG groups.py:402: Found unknown "Video Bus" at "/dev/input/event8", hash "97ce48b026f7f5a939d64ade3b570921", key "25_0_6_LNXVIDEO"
18:59:34.238944 5438 GUI DEBUG groups.py:402: Found mouse "Logitech G305" at "/dev/input/event7", hash "0c8b0599460b02d28ffc9dd2a8715fea", key "3_1133_16500_usb-0000:00:14.0-4"
18:59:34.239083 5438 GUI DEBUG groups.py:402: Found unknown "Video Bus" at "/dev/input/event6", hash "97ce48b026f7f5a939d64ade3b570921", key "25_0_6_LNXVIDEO"
18:59:34.239193 5438 GUI DEBUG groups.py:402: Found unknown "PS/2 Generic Mouse" at "/dev/input/event5", hash "cc05ac157e1fcf55b90d8ca3ebecf45b", key "17_2_1_isa0060"
18:59:34.239370 5438 GUI DEBUG groups.py:402: Found keyboard "AT Translated Set 2 keyboard" at "/dev/input/event2", hash "650869084d234c8ce49bb632f09ccf3e", key "17_1_1_isa0060"
18:59:34.239677 5438 GUI DEBUG groups.py:391: "Lid Switch" has no useful capabilities
18:59:34.240018 5438 GUI INFO groups.py:481: Found "input-remapper keyboard", "keyd virtual pointer", "keyd virtual keyboard", "DELL0A70:00 04F3:317E Mouse", "Dell WMI hotkeys", "Video Bus", "Logitech G305", "PS/2 Generic Mouse", "AT Translated Set 2 keyboard"
18:59:34.240351 5438 GUI DEBUG message_broker.py:76: from reader_client.py:282: Signal=groups: GroupsData(groups={'keyd virtual pointer': [<DeviceType.MOUSE: 'mouse'>], 'keyd virtual keyboard': [<DeviceType.KEYBOARD: 'keyboard'>], 'DELL0A70:00 04F3:317E Mouse': [<DeviceType.TOUCHPAD: 'touchpad'>], 'Dell WMI hotkeys': [], 'Video Bus': [], 'Logitech G305': [<DeviceType.MOUSE: 'mouse'>], 'PS/2 Generic Mouse': [], 'AT Translated Set 2 keyboard': [<DeviceType.KEYBOARD: 'keyboard'>]})
18:59:34.240754 5438 GUI INFO data_manager.py:297: Loading group "Video Bus"
18:59:34.241685 5438 GUI INFO data_manager.py:315: Loading preset "new preset"
18:59:34.241731 5438 GUI INFO preset.py:147: Loading preset from "/home/riley/.config/input-remapper-2/presets/Video Bus/new preset.json"
18:59:34.241762 5438 GUI DEBUG preset.py:284: got empty file
18:59:34.241873 5438 GUI DEBUG device_groups.py:102: adding keyd virtual pointer to device selection
18:59:34.242373 5438 GUI DEBUG device_groups.py:102: adding keyd virtual keyboard to device selection
18:59:34.242642 5438 GUI DEBUG device_groups.py:102: adding DELL0A70:00 04F3:317E Mouse to device selection
18:59:34.242866 5438 GUI DEBUG device_groups.py:102: adding Dell WMI hotkeys to device selection
18:59:34.243056 5438 GUI DEBUG device_groups.py:102: adding Video Bus to device selection
18:59:34.243251 5438 GUI DEBUG device_groups.py:102: adding Logitech G305 to device selection
18:59:34.243453 5438 GUI DEBUG device_groups.py:102: adding PS/2 Generic Mouse to device selection
18:59:34.243625 5438 GUI DEBUG device_groups.py:102: adding AT Translated Set 2 keyboard to device selection
18:59:34.244027 5438 GUI DEBUG message_broker.py:76: from data_manager.py:100: Signal=group: GroupData(group_key='Video Bus', presets=('new preset',))
18:59:34.244195 5438 GUI DEBUG message_broker.py:76: from data_manager.py:158: Signal=injector_state: InjectorStateMessage(state='UNKNOWN')
18:59:34.244283 5438 GUI DEBUG message_broker.py:76: from data_manager.py:111: Signal=preset: PresetData(name='new preset', mappings=[], autoload=False)
18:59:34.245093 5438 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
18:59:34.245163 5438 GUI DEBUG message_broker.py:76: from controller.py:147: Signal=mapping: {'target_uinput': 'keyboard'}
18:59:34.246742 5438 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
18:59:34.247718 5438 GUI DEBUG message_broker.py:76: from input-remapper-gtk:98: Signal=init: Signal: MessageType.init
18:59:34.247806 5438 GUI DEBUG message_broker.py:76: from reader_client.py:282: Signal=groups: GroupsData(groups={'keyd virtual pointer': [<DeviceType.MOUSE: 'mouse'>], 'keyd virtual keyboard': [<DeviceType.KEYBOARD: 'keyboard'>], 'DELL0A70:00 04F3:317E Mouse': [<DeviceType.TOUCHPAD: 'touchpad'>], 'Dell WMI hotkeys': [], 'Video Bus': [], 'Logitech G305': [<DeviceType.MOUSE: 'mouse'>], 'PS/2 Generic Mouse': [], 'AT Translated Set 2 keyboard': [<DeviceType.KEYBOARD: 'keyboard'>]})
18:59:34.247849 5438 GUI DEBUG controller.py:123: A group is already active
18:59:34.248179 5438 GUI DEBUG device_groups.py:102: adding keyd virtual pointer to device selection
18:59:34.248430 5438 GUI DEBUG device_groups.py:102: adding keyd virtual keyboard to device selection
18:59:34.248683 5438 GUI DEBUG device_groups.py:102: adding DELL0A70:00 04F3:317E Mouse to device selection
18:59:34.248892 5438 GUI DEBUG device_groups.py:102: adding Dell WMI hotkeys to device selection
18:59:34.249072 5438 GUI DEBUG device_groups.py:102: adding Video Bus to device selection
18:59:34.249240 5438 GUI DEBUG device_groups.py:102: adding Logitech G305 to device selection
18:59:34.249439 5438 GUI DEBUG device_groups.py:102: adding PS/2 Generic Mouse to device selection
18:59:34.249607 5438 GUI DEBUG device_groups.py:102: adding AT Translated Set 2 keyboard to device selection
18:59:34.249834 5438 GUI DEBUG message_broker.py:76: from data_manager.py:140: Signal=uinputs: UInputsData(uinputs={'keyboard': {1: [0, ... 700]}, '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:59:41.457274 5438 GUI DEBUG device_groups.py:66: Selecting device "keyd virtual keyboard"
18:59:41.457376 5438 GUI INFO data_manager.py:297: Loading group "keyd virtual keyboard"
18:59:41.457580 5438 GUI DEBUG message_broker.py:76: from data_manager.py:100: Signal=group: GroupData(group_key='keyd virtual keyboard', presets=('a', 'Animal Well'))
18:59:41.459182 5438 GUI DEBUG message_broker.py:76: from data_manager.py:158: Signal=injector_state: InjectorStateMessage(state='STOPPED')
18:59:41.459325 5438 GUI INFO data_manager.py:315: Loading preset "a"
18:59:41.459362 5438 GUI INFO preset.py:147: Loading preset from "/home/riley/.config/input-remapper-2/presets/keyd virtual keyboard/a.json"
18:59:41.459729 5438 GUI DEBUG message_broker.py:76: from data_manager.py:111: Signal=preset: PresetData(name='a', mappings=[MappingData(input_combination=<InputCombination (<InputConfig (1, 38) KEY_L, None, 48f9a8c24a8baa7acd08d3e5b0383ebb, at 0x7f354f79bbe0>) at 0x7f354f7e5140>, target_uinput='keyboard', output_symbol='KEY_R', output_type=None, output_code=None, name=None, mapping_type='key_macro', 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:59:41.459960 5438 GUI DEBUG system_mapping.py:128: Gathering available keycodes
18:59:41.459991 5438 GUI DEBUG system_mapping.py:128: Gathering available keycodes
18:59:41.461756 5438 GUI DEBUG system_mapping.py:114: Writing "/home/riley/.config/input-remapper-2/xmodmap.json"
18:59:41.461982 5438 GUI DEBUG system_mapping.py:128: Gathering available keycodes
18:59:41.463228 5438 GUI DEBUG system_mapping.py:114: Writing "/home/riley/.config/input-remapper-2/xmodmap.json"
18:59:41.466620 5438 GUI DEBUG system_mapping.py:114: Writing "/home/riley/.config/input-remapper-2/xmodmap.json"
18:59:41.468469 5438 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method MappingSelectionLabel._on_mapping_changed of <MappingSelectionLabel for Combination (InputConfig KEY_L) as l at 0x7f354f933d40>>
18:59:41.468528 5438 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.combination_update: <bound method MappingSelectionLabel._on_combination_update of <MappingSelectionLabel for Combination (InputConfig KEY_L) as l at 0x7f354f933d40>>
18:59:41.469454 5438 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
18:59:41.469515 5438 GUI DEBUG message_broker.py:76: from data_manager.py:125: Signal=mapping: {'input_combination': <InputCombination (<InputConfig (1, 38) KEY_L, None, 48f9a8c24a8baa7acd08d3e5b0383ebb, at 0x7f354f79a890>) at 0x7f354df8f200>, 'target_uinput': 'keyboard', 'output_symbol': 'KEY_R', 'mapping_type': 'key_macro'}
18:59:41.471247 5438 GUI DEBUG message_broker.py:76: from data_manager.py:136: Signal=selected_event: InputConfig KEY_L
18:59:41.471754 5438 GUI DEBUG message_broker.py:76: from data_manager.py:136: Signal=selected_event: InputConfig KEY_L
18:59:41.471837 5438 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
18:59:41.471962 5438 GUI DEBUG message_broker.py:76: from device_groups.py:68: Signal=do_stack_switch: DoStackSwitch(page_index=1)
18:59:43.296722 5438 GUI DEBUG presets.py:60: Selecting preset "a"
18:59:43.296811 5438 GUI INFO data_manager.py:315: Loading preset "a"
18:59:43.296866 5438 GUI INFO preset.py:147: Loading preset from "/home/riley/.config/input-remapper-2/presets/keyd virtual keyboard/a.json"
18:59:43.297323 5438 GUI DEBUG message_broker.py:76: from data_manager.py:111: Signal=preset: PresetData(name='a', mappings=[MappingData(input_combination=<InputCombination (<InputConfig (1, 38) KEY_L, None, 48f9a8c24a8baa7acd08d3e5b0383ebb, at 0x7f354f79beb0>) at 0x7f354f7e5580>, target_uinput='keyboard', output_symbol='KEY_R', output_type=None, output_code=None, name=None, mapping_type='key_macro', 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:59:43.298383 5438 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method MappingSelectionLabel._on_mapping_changed of <MappingSelectionLabel for Combination (InputConfig KEY_L) as l at 0x7f354f7ba840>>
18:59:43.298452 5438 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.combination_update: <bound method MappingSelectionLabel._on_combination_update of <MappingSelectionLabel for Combination (InputConfig KEY_L) as l at 0x7f354f7ba840>>
18:59:43.299231 5438 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
18:59:43.299297 5438 GUI DEBUG message_broker.py:76: from data_manager.py:125: Signal=mapping: {'input_combination': <InputCombination (<InputConfig (1, 38) KEY_L, None, 48f9a8c24a8baa7acd08d3e5b0383ebb, at 0x7f354f79a770>) at 0x7f354df8e980>, 'target_uinput': 'keyboard', 'output_symbol': 'KEY_R', 'mapping_type': 'key_macro'}
18:59:43.300199 5438 GUI DEBUG message_broker.py:76: from data_manager.py:136: Signal=selected_event: InputConfig KEY_L
18:59:43.300295 5438 GUI DEBUG message_broker.py:76: from data_manager.py:136: Signal=selected_event: InputConfig KEY_L
18:59:43.300363 5438 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
18:59:43.300503 5438 GUI DEBUG message_broker.py:76: from presets.py:62: Signal=do_stack_switch: DoStackSwitch(page_index=2)
18:59:45.462628 5438 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.injector_state: <bound method Controller.show_injector_result of <inputremapper.gui.controller.Controller object at 0x7f354f7982b0>>
18:59:45.462794 5438 GUI DEBUG message_broker.py:76: from controller.py:720: Signal=status_msg: StatusData(ctx_id=1, msg='Starting injection...', tooltip=None)
18:59:45.774859 5438 GUI DEBUG message_broker.py:76: from data_manager.py:158: Signal=injector_state: InjectorStateMessage(state='RUNNING')
18:59:45.775036 5438 GUI INFO controller.py:661: Group "keyd virtual keyboard" is currently mapped
18:59:45.775167 5438 GUI DEBUG message_broker.py:76: from controller.py:720: Signal=status_msg: StatusData(ctx_id=1, msg='Applied preset a', tooltip=None)
18:59:52.522421 5438 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.injector_state: <function Controller.stop_injecting.<locals>.show_result at 0x7f354f7e0280>
18:59:52.627540 5438 GUI DEBUG message_broker.py:76: from data_manager.py:158: Signal=injector_state: InjectorStateMessage(state='STOPPED')
18:59:52.627688 5438 GUI DEBUG message_broker.py:76: from controller.py:720: Signal=status_msg: StatusData(ctx_id=1, msg='Stopped the injection', tooltip=None)
18:59:56.068653 5438 GUI DEBUG controller.py:738: Closing Application
18:59:56.068946 5438 GUI DEBUG preset.py:182: Not saving unchanged preset
18:59:56.069033 5438 GUI DEBUG message_broker.py:76: from controller.py:740: Signal=terminate: Signal: MessageType.terminate
18:59:56.069073 5438 GUI DEBUG reader_client.py:120: Sending "terminate" to ReaderService
18:59:56.069122 5438 GUI DEBUG reader_client.py:185: Stopping recorder.
18:59:56.069160 5438 GUI DEBUG reader_client.py:120: Sending "stop-reading" to ReaderService
18:59:56.069187 5438 GUI DEBUG reader_client.py:194: No recording generator existed
18:59:56.069256 5438 GUI DEBUG user_interface.py:375: Closing window
18:59:56.069391 5484 reader-service DEBUG reader_service.py:195: Received command "terminate"
18:59:56.069451 5438 GUI DEBUG message_broker.py:76: from reader_client.py:196: Signal=recording_finished: Signal: MessageType.recording_finished
18:59:56.069462 5484 reader-service DEBUG reader_service.py:199: Terminating
18:59:56.069542 5438 GUI DEBUG controller.py:741: Quitting
18:59:56.073472 5438 GUI DEBUG controller.py:738: Closing Application
18:59:56.073820 5438 GUI DEBUG preset.py:182: Not saving unchanged preset
18:59:56.073938 5438 GUI DEBUG message_broker.py:76: from controller.py:740: Signal=terminate: Signal: MessageType.terminate
18:59:56.073979 5438 GUI DEBUG reader_client.py:120: Sending "terminate" to ReaderService
18:59:56.074021 5438 GUI DEBUG reader_client.py:185: Stopping recorder.
18:59:56.074045 5438 GUI DEBUG reader_client.py:120: Sending "stop-reading" to ReaderService
18:59:56.074072 5438 GUI DEBUG reader_client.py:194: No recording generator existed
18:59:56.074127 5438 GUI DEBUG user_interface.py:375: Closing window
18:59:56.074158 5438 GUI DEBUG message_broker.py:76: from reader_client.py:196: Signal=recording_finished: Signal: MessageType.recording_finished
18:59:56.074205 5438 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 0x7f354f7994b0>>"
18:59:56.074236 5438 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 0x7f354f7994b0>>"
18:59:56.074264 5438 GUI DEBUG controller.py:741: Quitting

(input-remapper-gtk:5438): Gtk-CRITICAL **: 18:59:56.074: gtk_main_quit: assertion 'main_loops != NULL' failed

rbits0 avatar May 10 '24 09:05 rbits0

Turns out this is an issue with xmodmap, not input-remapper. I will open an issue with them

rbits0 avatar Jun 04 '24 13:06 rbits0