| Summary: | No device notifications unless device *directly* plugged into laptop | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | farblos <farblos> |
| Component: | Notifications | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | kde, notmart |
| Priority: | NOR | ||
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
farblos
2026-01-17 14:25:26 UTC
I can't quite reproduce, even tough i don't have that laptop or dock, device notifications work fine form usb docks Thanks for testing. I'm glad I have tested with a fresh, live system, because this issue seems so ... strange. Anyway, I tested (with the live system) on another laptop, same result. I'll try with a desktop tomorrow. Below is what "udevadm monitor" dumps for the plug of a mouse. As previously, a "direct plug" gives a notification while a "hub plug" does not. ------------------------- direct plug ------------------------- KERNEL[171.135112] add /devices/pci0000:00/0000:00:14.0/usb3/3-3 (usb) KERNEL[171.137822] change /devices/pci0000:00/0000:00:14.0/usb3/3-3 (usb) KERNEL[171.137955] add /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0 (usb) KERNEL[171.141696] add /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:046D:C001.001D (hid) KERNEL[171.141814] add /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:046D:C001.001D/input/input51 (input) KERNEL[171.141932] add /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:046D:C001.001D/input/input51/mouse0 (input) KERNEL[171.141982] add /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:046D:C001.001D/input/input51/event1 (input) KERNEL[171.142059] add /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:046D:C001.001D/hidraw/hidraw0 (hidraw) KERNEL[171.142113] bind /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:046D:C001.001D (hid) KERNEL[171.142164] bind /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0 (usb) KERNEL[171.142222] bind /devices/pci0000:00/0000:00:14.0/usb3/3-3 (usb) UDEV [171.145897] add /devices/pci0000:00/0000:00:14.0/usb3/3-3 (usb) UDEV [171.147828] change /devices/pci0000:00/0000:00:14.0/usb3/3-3 (usb) UDEV [171.149699] add /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0 (usb) UDEV [171.151120] add /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:046D:C001.001D (hid) UDEV [171.153463] add /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:046D:C001.001D/input/input51 (input) UDEV [171.156144] add /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:046D:C001.001D/input/input51/mouse0 (input) UDEV [171.158396] add /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:046D:C001.001D/hidraw/hidraw0 (hidraw) UDEV [171.284045] add /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:046D:C001.001D/input/input51/event1 (input) UDEV [171.285503] bind /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:046D:C001.001D (hid) UDEV [171.287133] bind /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0 (usb) UDEV [171.290820] bind /devices/pci0000:00/0000:00:14.0/usb3/3-3 (usb) ------------------------- direct plug ------------------------- ------------------------- hub plug ------------------------- KERNEL[268.798690] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3 (usb) KERNEL[268.802142] change /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3 (usb) KERNEL[268.802195] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb) KERNEL[268.806276] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0/0003:046D:C001.001E (hid) KERNEL[268.806377] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0/0003:046D:C001.001E/input/input52 (input) KERNEL[268.806487] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0/0003:046D:C001.001E/input/input52/mouse0 (input) KERNEL[268.806550] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0/0003:046D:C001.001E/input/input52/event1 (input) KERNEL[268.806591] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0/0003:046D:C001.001E/hidraw/hidraw0 (hidraw) KERNEL[268.806643] bind /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0/0003:046D:C001.001E (hid) KERNEL[268.806692] bind /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb) KERNEL[268.806739] bind /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3 (usb) UDEV [268.810624] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3 (usb) UDEV [268.812725] change /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3 (usb) UDEV [268.814550] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb) UDEV [268.814984] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0/0003:046D:C001.001E (hid) UDEV [268.815902] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0/0003:046D:C001.001E/input/input52 (input) UDEV [268.817238] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0/0003:046D:C001.001E/input/input52/mouse0 (input) UDEV [268.819352] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0/0003:046D:C001.001E/hidraw/hidraw0 (hidraw) UDEV [268.939884] add /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0/0003:046D:C001.001E/input/input52/event1 (input) UDEV [268.942530] bind /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0/0003:046D:C001.001E (hid) UDEV [268.944032] bind /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb) UDEV [268.945413] bind /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3 (usb) ------------------------- hub plug ------------------------- Does that look similarly on your box? In particular, do you also get one additional level in the device path for a hub plug? Hm. Using the openSUSE Krypton live system I tested now three laptops (all behaving as decribed in the first post), one medium-aged desktop (also behaving as decribed in the first post), and one very old desktop, which did not gave any notifications whatsover. If you cannot reproduce the issue on your end, probably you can give me hints where/how to inspect this issue with gdb? For example, the following would be interesting: - Where does the notification mechanism register for the udev events? - How could I set breakpoints in the notification manager that break only on udev events? - Any general KDE-with-GDB advise or pointers. As mentioned previously, I cannot build KDE due to resource constraints. Thanks! |