Gibtnix / MSIKLM

Control the SteelSeries keyboard of your MSI gaming notebook with Linux
GNU General Public License v3.0
245 stars 50 forks source link

systemd-udev consume high cpu #40

Open eugene-yakimenko opened 3 years ago

eugene-yakimenko commented 3 years ago

Hello

I realized msiklm starts to go on top systemd-udev proccess after changing color or system wake up after sleep, which run udev msiklm-rule. Next command help till next any manipulation with msiklm sudo systemctl restart systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket

udevadm monitor show loop checking usb device which keyboard connected to. in my case it is: UDEV [50857.326635] remove /devices/pci0000:00/0000:00:14.0/usb1/1-7 (usb) UDEV [50857.339372] add /devices/pci0000:00/0000:00:14.0/usb1/1-7 (usb) UDEV [50857.346260] change /devices/pci0000:00/0000:00:14.0/usb1/1-7 (usb) UDEV [50857.348360] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0 (usb) UDEV [50857.350097] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/0003:1770:FF00.516AD (hid) UDEV [50857.351837] bind /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0 (usb) UDEV [50857.355895] bind /devices/pci0000:00/0000:00:14.0/usb1/1-7 (usb)

OS : Kubuntu 21.04 updated from 20.04 If you need any other information, testing or log don't hesitate to contact me.

Thanks Beforehand

Gibtnix commented 3 years ago

I think it is a similar issue as #39 Presumably, the udev rule is triggered over and over again. I don't know why, it seems to be a bug. Maybe check out the respective conversation if it is helpful for you as well. For the moment I think I cannot do anything to fix it.

eugene-yakimenko commented 3 years ago

Thank you, will try to follow your recommendation. Any way will put note here if i find anything what can shed light on reason

Gibtnix commented 3 years ago

Alright, any further comments that might help others are welcome 👍

rijnhard commented 2 years ago

Same issue

System: Host: HESSEL-MSI-MINT Kernel: 5.15.0-53-generic x86_64 bits: 64 Desktop: Cinnamon 5.4.12 Distro: Linux Mint 21 Vanessa