Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB input devices do not work unless they are replugged #28512

Closed
nl6720 opened this issue Jul 25, 2023 · 23 comments
Closed

USB input devices do not work unless they are replugged #28512

nl6720 opened this issue Jul 25, 2023 · 23 comments
Labels
bug 🐛 Programming errors, that need preferential fixing login needs-reporter-feedback ❓ There's an unanswered question, the reporter needs to answer udev
Milestone

Comments

@nl6720
Copy link
Contributor

nl6720 commented Jul 25, 2023

systemd version the issue has been seen with

254rc3-1

Used distribution

Arch Linux

Linux kernel version used

6.4.5-arch1-1

CPU architectures issue was seen on

x86_64

Component

systemd-udevd

Expected behaviour you didn't see

USB devices plugged into the monitor's USB hub work in a plasma wayland session.

Unexpected behaviour you saw

After updating systemd to 254rc2-2, USB devices attached to my monitor's USB hub do not work in Plasma wayland session unless I unplug and replug them (or the USB/Thunderbolt3 cable connecting the monitor to the PC).
The USB devices work fine in a Plasma Xorg session and also in LightDM+web-greeter which uses Xorg.

From what I can tell, rc1 is bad too.

See also Arch bug FS#79144.

Steps to reproduce the problem

Start a plasmawayland session.

Additional program output to the terminal or log subsystem illustrating the issue

No response

@nl6720 nl6720 added the bug 🐛 Programming errors, that need preferential fixing label Jul 25, 2023
@github-actions github-actions bot added the udev label Jul 25, 2023
@nl6720
Copy link
Contributor Author

nl6720 commented Jul 25, 2023

@yuwata yuwata added this to the v254 milestone Jul 25, 2023
@yuwata
Copy link
Member

yuwata commented Jul 25, 2023

Maybe duplicate of #24026 ??
Instead of replugging USB devices, what happens when wayland or anything graphical things started slightly later?
E.g. boot with CLI mode (boot with 3 kernel command line option), then switch to GUI mode (login CLI console and call systemd isolate graphical.target) ?
Or, insert a delay before starting graphical things, e.g. adding the following dropin that starts wayland or plasma (I am not familiar which service should have the following though):

# /etc/systemd/system/foo.service.d/override.conf <-- please replace 'foo'
[Service]
ExecStartPre=sleep 10

@yuwata yuwata added the needs-reporter-feedback ❓ There's an unanswered question, the reporter needs to answer label Jul 25, 2023
@nl6720
Copy link
Contributor Author

nl6720 commented Jul 25, 2023

I'm using LightDM with web-greeter which do not use wayland. The unit is lightdm.service. But the USB devices (keyboard and mouse, in my case) work fine in the display manager. Only when I start the plasma wayland session from the display manager, do things go wrong.

@nl6720
Copy link
Contributor Author

nl6720 commented Jul 25, 2023

Nothing changed after adding the drop-in for lightdm.service and booting with systemd.unit=multi-user.target + running systemd isolate graphical.target from the tty.

@yuwata
Copy link
Member

yuwata commented Jul 25, 2023

Thanks. Then, that's not a duplicate of #24026. Hmm...

Is the issue only happens when keyboard or mouse are connected to the USB hub? What happens if they are connected to the machine's USB port?

@yuwata
Copy link
Member

yuwata commented Jul 25, 2023

Though I am not familiar with plasma or wayland, but I cannot find anything spurious in the provided logs.
Could you make them more verbose?

Also, is the key of the issue is in wayland or not? What happens when you use Gnome or any others?

@nl6720 nl6720 changed the title USB devices connected to a USB hub do not work unless they are replugged USB input devices do not work unless they are replugged Jul 25, 2023
@nl6720
Copy link
Contributor Author

nl6720 commented Jul 25, 2023

The same issue occurs when the mouse & keyboard are connected to the motherboard's USB ports. Oops, I could have sworn I tested it before, I guess I forgot. And it looks like it only happens with input devices(?), as a USB flash drive is accessible just fine.

Starting a plasma session from the tty with startplasma-wayland doesn't exhibit this issue. 🤔

Booting with systemd.log_level=debug gave me strange results. The issue only appeared the third time I logged in from LightDM. 1.log

@nl6720
Copy link
Contributor Author

nl6720 commented Jul 25, 2023

The same issue occurs when the mouse & keyboard are connected to the motherboard's USB ports. Oops, I could have sworn I tested it before, I guess I forgot.

Trying it over and over again, with the mouse connected to the front USB port, sometimes it works while the keyboard connected via the monitor doesn't. I tried using SDDM and I couldn't trigger the issue. This is annoying. ☹️

So... something in systemd v254rc1+ broke something USB input related for plasma-wayland sessions started via LightDM?!

Switching from LightDM to SDDM is not an option for me because I need multi-seat support.

@yuwata
Copy link
Member

yuwata commented Jul 25, 2023

One spurious(?) thing I found is that the following symlinks are requested by two devices, and the owner is swapped on replugging.

/dev/input/by-id/usb-Logitech_USB_Keyboard-event-if01
/dev/input/by-path/pci-0000:12:00.0-usb-0:2.1:1.1-event
/dev/input/by-path/pci-0000:12:00.0-usbv2-0:2.1:1.1-event
$ grep input/by-path/pci-0000:12:00.0-usbv2-0:2.1:1.1-event 1.log
Jul 25 14:30:43 oak (udev-worker)[1000]: event5: /usr/lib/udev/rules.d/60-persistent-input.rules:44 Added SYMLINK 'input/by-path/pci-0000:12:00.0-usbv2-0:2.1:1.1-event'
Jul 25 14:30:43 oak (udev-worker)[1000]: event5: Successfully created symlink '/dev/input/by-path/pci-0000:12:00.0-usbv2-0:2.1:1.1-event' to '/dev/input/event5'
Jul 25 14:30:43 oak (udev-worker)[1005]: event6: /usr/lib/udev/rules.d/60-persistent-input.rules:44 Added SYMLINK 'input/by-path/pci-0000:12:00.0-usbv2-0:2.1:1.1-event'
(unplug)
Jul 25 14:32:47 oak (udev-worker)[4153]: event5: Successfully created symlink '/dev/input/by-path/pci-0000:12:00.0-usbv2-0:2.1:1.1-event' to '/dev/input/event6'
Jul 25 14:32:47 oak (udev-worker)[4153]: event6: No reference left for '/dev/input/by-path/pci-0000:12:00.0-usbv2-0:2.1:1.1-event', removing
(replug)
Jul 25 14:32:51 oak (udev-worker)[4180]: event6: /usr/lib/udev/rules.d/60-persistent-input.rules:44 Added SYMLINK 'input/by-path/pci-0000:12:00.0-usbv2-0:2.1:1.1-event'
Jul 25 14:32:51 oak (udev-worker)[4180]: event6: Successfully created symlink '/dev/input/by-path/pci-0000:12:00.0-usbv2-0:2.1:1.1-event' to '/dev/input/event6'
Jul 25 14:32:51 oak (udev-worker)[4177]: event5: /usr/lib/udev/rules.d/60-persistent-input.rules:44 Added SYMLINK 'input/by-path/pci-0000:12:00.0-usbv2-0:2.1:1.1-event'

As you can see, initially the link owned by event5, but later event6.

And, it seems event6 is something important, at least it is managed by logind.

$ grep systemd-logind.*event[56] 1.log
Jul 25 14:30:44 oak systemd-logind[1374]: Device /dev/input/event5 does not expose keys or switches relevant to us, ignoring.
Jul 25 14:30:44 oak systemd-logind[1374]: Watching system buttons on /dev/input/event6 (Logitech USB Keyboard System Control)
(unplug+replug)
Jul 25 14:32:51 oak systemd-logind[1374]: Watching system buttons on /dev/input/event6 (Logitech USB Keyboard System Control)
Jul 25 14:32:51 oak systemd-logind[1374]: Device /dev/input/event5 does not expose keys or switches relevant to us, ignoring.

But I do not know if the swapping of by-id or by-path symlinks is essential.
As the mouse devices have unique symlinks, and there is another keyboard related device.

$ grep 'S: input/by-id' udevadm_info.254rc2-2.bad.log 
                          |     | : S: input/by-id/usb-Logitech_USB_Keyboard-event-kbd
                          |   |   : S: input/by-id/usb-Logitech_USB_Keyboard-event-if01
                          |       : S: input/by-id/usb-Logitech_USB_Keyboard-event-if01
                          | | | | | : S: input/by-id/usb-Logitech_USB_Receiver-if02-event-mouse
                          | | | |   : S: input/by-id/usb-Logitech_USB_Receiver-if02-mouse
$ grep systemd-logind.*input/event[0-9]* 1.log
Jul 25 14:30:44 oak systemd-logind[1374]: Watching system buttons on /dev/input/event1 (Power Button)
Jul 25 14:30:44 oak systemd-logind[1374]: Device /dev/input/event2 does not expose keys or switches relevant to us, ignoring.
Jul 25 14:30:44 oak systemd-logind[1374]: Watching system buttons on /dev/input/event0 (Power Button)
Jul 25 14:30:44 oak systemd-logind[1374]: Device /dev/input/event13 does not expose keys or switches relevant to us, ignoring.
Jul 25 14:30:44 oak systemd-logind[1374]: Device /dev/input/event14 does not expose keys or switches relevant to us, ignoring.
Jul 25 14:30:44 oak systemd-logind[1374]: Device /dev/input/event15 does not expose keys or switches relevant to us, ignoring.
Jul 25 14:30:44 oak systemd-logind[1374]: Device /dev/input/event16 does not expose keys or switches relevant to us, ignoring.
Jul 25 14:30:44 oak systemd-logind[1374]: Watching system buttons on /dev/input/event3 (Logitech USB Keyboard)
Jul 25 14:30:44 oak systemd-logind[1374]: Device /dev/input/event5 does not expose keys or switches relevant to us, ignoring.
Jul 25 14:30:44 oak systemd-logind[1374]: Watching system buttons on /dev/input/event6 (Logitech USB Keyboard System Control)
Jul 25 14:30:44 oak systemd-logind[1374]: Watching system buttons on /dev/input/event7 (Logitech MX Master 3)
Jul 25 14:30:44 oak systemd-logind[1374]: Device /dev/input/event10 does not expose keys or switches relevant to us, ignoring.
Jul 25 14:30:44 oak systemd-logind[1374]: Device /dev/input/event11 does not expose keys or switches relevant to us, ignoring.
Jul 25 14:30:44 oak systemd-logind[1374]: Device /dev/input/event12 does not expose keys or switches relevant to us, ignoring.
Jul 25 14:30:44 oak systemd-logind[1374]: Device /dev/input/event17 does not expose keys or switches relevant to us, ignoring.
Jul 25 14:30:44 oak systemd-logind[1374]: Device /dev/input/event18 does not expose keys or switches relevant to us, ignoring.
Jul 25 14:30:44 oak systemd-logind[1374]: Device /dev/input/event19 does not expose keys or switches relevant to us, ignoring.
Jul 25 14:30:44 oak systemd-logind[1374]: Device /dev/input/event20 does not expose keys or switches relevant to us, ignoring.
Jul 25 14:30:44 oak systemd-logind[1374]: Device /dev/input/event21 does not expose keys or switches relevant to us, ignoring.
Jul 25 14:30:44 oak systemd-logind[1374]: Device /dev/input/event9 does not expose keys or switches relevant to us, ignoring.
Jul 25 14:32:51 oak systemd-logind[1374]: Watching system buttons on /dev/input/event3 (Logitech USB Keyboard)
Jul 25 14:32:51 oak systemd-logind[1374]: Watching system buttons on /dev/input/event6 (Logitech USB Keyboard System Control)
Jul 25 14:32:51 oak systemd-logind[1374]: Device /dev/input/event5 does not expose keys or switches relevant to us, ignoring.

Also, such conflicts of symlinks can be also observerd in v253...

@yuwata
Copy link
Member

yuwata commented Jul 25, 2023

@nl6720 BTW, is it possible to reproduce the issue with LightDM+plasma+wayland without multi-seat setup?

@yuwata yuwata added the logind label Jul 25, 2023
@nl6720
Copy link
Contributor Author

nl6720 commented Jul 25, 2023

Previously I just commented out the seat specific autologin in /etc/lightdm/lightdm.conf. If I remove all the /etc/udev/rules.d/72-seat-* files, it appears that the issue is gone.
For reference, the files:

$ head -n -0 /etc/udev/rules.d/72-seat-*
==> /etc/udev/rules.d/72-seat-drm-pci-0000_6d_00_0.rules <==
TAG=="seat", ENV{ID_FOR_SEAT}=="drm-pci-0000_6d_00_0", ENV{ID_SEAT}="seat-tv"

==> /etc/udev/rules.d/72-seat-graphics-pci-0000_6d_00_0.rules <==
TAG=="seat", ENV{ID_FOR_SEAT}=="graphics-pci-0000_6d_00_0", ENV{ID_SEAT}="seat-tv"

==> /etc/udev/rules.d/72-seat-sound-pci-0000_6d_00_1.rules <==
TAG=="seat", ENV{ID_FOR_SEAT}=="sound-pci-0000_6d_00_1", ENV{ID_SEAT}="seat-tv"

Hmm, there was supposed to be a rule for the USB CEC adapter, where did that one go...

journal.2023-07-25T16:25:32+03:00.log
loginctl_seat-status.2023-07-25T16:25:32+03:00.log

@nl6720
Copy link
Contributor Author

nl6720 commented Jul 25, 2023

No wait. I ran loginctl flush-devices and rebooted. I get the issue with my user account but not the test account.

@yuwata
Copy link
Member

yuwata commented Jul 25, 2023

Could you show all seats and sessions on the machine: loginctl seat-status seatXYZ and loginctl session-status sessionXYZ on single-seat case, and multi-seat case.

@nl6720
Copy link
Contributor Author

nl6720 commented Jul 25, 2023

Single seat:

$ loginctl seat-status seat0
seat0
	Sessions: *2
	 Devices:
		  ├─/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
		  │ input:input1 "Power Button"
		  ├─/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:20/LNXVIDEO:00/input/input2
		  │ input:input2 "Video Bus"
		  ├─/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
		  │ input:input0 "Power Button"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0
		  │ [MASTER] drm:card0
		  │ ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-DP-1
		  │ │ [MASTER] drm:card0-DP-1
		  │ │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-DP-1/i2c-7
		  │ │   i2c:i2c-7 "AMDGPU DM aux hw bus 0"
		  │ │   └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-DP-1/i2c-7/i2c-dev/i2c-7
		  │ │     i2c-dev:i2c-7 "AMDGPU DM aux hw bus 0"
		  │ ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-DP-2
		  │ │ [MASTER] drm:card0-DP-2
		  │ │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-DP-2/i2c-8
		  │ │   i2c:i2c-8 "AMDGPU DM aux hw bus 1"
		  │ │   └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-DP-2/i2c-8/i2c-dev/i2c-8
		  │ │     i2c-dev:i2c-8 "AMDGPU DM aux hw bus 1"
		  │ ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-HDMI-A-1
		  │ │ [MASTER] drm:card0-HDMI-A-1
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-HDMI-A-2
		  │   [MASTER] drm:card0-HDMI-A-2
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/graphics/fb0
		  │ graphics:fb0 "amdgpudrmfb"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-1
		  │ i2c:i2c-1 "AMDGPU SMU 0"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-1/i2c-dev/i2c-1
		  │   i2c-dev:i2c-1 "AMDGPU SMU 0"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-2
		  │ i2c:i2c-2 "AMDGPU SMU 1"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-2/i2c-dev/i2c-2
		  │   i2c-dev:i2c-2 "AMDGPU SMU 1"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-3
		  │ i2c:i2c-3 "AMDGPU DM i2c hw bus 0"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-3/i2c-dev/i2c-3
		  │   i2c-dev:i2c-3 "AMDGPU DM i2c hw bus 0"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-4
		  │ i2c:i2c-4 "AMDGPU DM i2c hw bus 1"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-4/i2c-dev/i2c-4
		  │   i2c-dev:i2c-4 "AMDGPU DM i2c hw bus 1"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-5
		  │ i2c:i2c-5 "AMDGPU DM i2c hw bus 2"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-5/i2c-dev/i2c-5
		  │   i2c-dev:i2c-5 "AMDGPU DM i2c hw bus 2"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-6
		  │ i2c:i2c-6 "AMDGPU DM i2c hw bus 3"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-6/i2c-dev/i2c-6
		  │   i2c-dev:i2c-6 "AMDGPU DM i2c hw bus 3"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0
		  │ sound:card0 "HDMI"
		  │ ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input16
		  │ │ input:input16 "HDA ATI HDMI HDMI/DP,pcm=3"
		  │ ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input17
		  │ │ input:input17 "HDA ATI HDMI HDMI/DP,pcm=7"
		  │ ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input18
		  │ │ input:input18 "HDA ATI HDMI HDMI/DP,pcm=8"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input19
		  │   input:input19 "HDA ATI HDMI HDMI/DP,pcm=9"
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:02.0/0000:3b:00.0/usb1
		  │ usb:usb1
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:02.0/0000:3b:00.0/usb2
		  │ usb:usb2
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3
		  │ usb:usb3
		  │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-7
		  │ │ usb:3-7
		  │ │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-7/3-7:1.0
		  │ │ │ usb:3-7:1.0
		  │ │ └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-7/3-7:1.2
		  │ │   usb:3-7:1.2
		  │ │   ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-7/3-7:1.2/0003:0B05:19AF.0002
		  │ │   │ hid:0003:0B05:19AF.0002
		  │ │   │ └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-7/3-7:1.2/0003:0B05:19AF.0002/hidraw/hidraw1
		  │ │   │   hidraw:hidraw1
		  │ │   └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-7/3-7:1.2/usbmisc/hiddev0
		  │ │     usbmisc:hiddev0
		  │ └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8
		  │   usb:3-8
		  │   ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.1
		  │   │ usb:3-8.1
		  │   │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.1/3-8.1:1.0/0003:046D:C31C.0003/input/input4
		  │   │ │ input:input4 "Logitech USB Keyboard"
		  │   │ │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.1/3-8.1:1.0/0003:046D:C31C.0003/input/input4/input4::capslock
		  │   │ │ │ leds:input4::capslock
		  │   │ │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.1/3-8.1:1.0/0003:046D:C31C.0003/input/input4/input4::compose
		  │   │ │ │ leds:input4::compose
		  │   │ │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.1/3-8.1:1.0/0003:046D:C31C.0003/input/input4/input4::kana
		  │   │ │ │ leds:input4::kana
		  │   │ │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.1/3-8.1:1.0/0003:046D:C31C.0003/input/input4/input4::numlock
		  │   │ │ │ leds:input4::numlock
		  │   │ │ └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.1/3-8.1:1.0/0003:046D:C31C.0003/input/input4/input4::scrolllock
		  │   │ │   leds:input4::scrolllock
		  │   │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.1/3-8.1:1.1/0003:046D:C31C.0004/input/input5
		  │   │ │ input:input5 "Logitech USB Keyboard Consumer Control"
		  │   │ └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.1/3-8.1:1.1/0003:046D:C31C.0004/input/input6
		  │   │   input:input6 "Logitech USB Keyboard System Control"
		  │   └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.2
		  │     usb:3-8.2
		  │     └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.2/3-8.2:1.2/0003:046D:C52B.0007/0003:046D:4082.0009/input/input32
		  │       input:input32 "Logitech MX Master 3"
		  │       ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.2/3-8.2:1.2/0003:046D:C52B.0007/0003:046D:4082.0009/input/input32/input32::capslock
		  │       │ leds:input32::capslock
		  │       ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.2/3-8.2:1.2/0003:046D:C52B.0007/0003:046D:4082.0009/input/input32/input32::compose
		  │       │ leds:input32::compose
		  │       ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.2/3-8.2:1.2/0003:046D:C52B.0007/0003:046D:4082.0009/input/input32/input32::kana
		  │       │ leds:input32::kana
		  │       ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.2/3-8.2:1.2/0003:046D:C52B.0007/0003:046D:4082.0009/input/input32/input32::numlock
		  │       │ leds:input32::numlock
		  │       └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.2/3-8.2:1.2/0003:046D:C52B.0007/0003:046D:4082.0009/input/input32/input32::scrolllock
		  │         leds:input32::scrolllock
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb4
		  │ usb:usb4
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:0c.0/0000:6a:00.0/usb5
		  │ usb:usb5
		  │ └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:0c.0/0000:6a:00.0/usb5/5-2/5-2:1.2/0003:2548:1002.0001/input/input3
		  │   input:input3 "Pulse-Eight CEC Adapter"
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:0c.0/0000:6a:00.0/usb6
		  │ usb:usb6
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1
		  │ [MASTER] drm:card1
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-DP-3
		  │ │ [MASTER] drm:card1-DP-3
		  │ │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-DP-3/i2c-12
		  │ │   i2c:i2c-12 "AMDGPU DM aux hw bus 1"
		  │ │   └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-DP-3/i2c-12/i2c-dev/i2c-12
		  │ │     i2c-dev:i2c-12 "AMDGPU DM aux hw bus 1"
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-DP-4
		  │ │ [MASTER] drm:card1-DP-4
		  │ │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-DP-4/i2c-13
		  │ │   i2c:i2c-13 "AMDGPU DM aux hw bus 2"
		  │ │   └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-DP-4/i2c-13/i2c-dev/i2c-13
		  │ │     i2c-dev:i2c-13 "AMDGPU DM aux hw bus 2"
		  │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-HDMI-A-3
		  │   [MASTER] drm:card1-HDMI-A-3
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/graphics/fb1
		  │ graphics:fb1 "amdgpudrmfb"
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/i2c-10
		  │ i2c:i2c-10 "AMDGPU DM i2c hw bus 1"
		  │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/i2c-10/i2c-dev/i2c-10
		  │   i2c-dev:i2c-10 "AMDGPU DM i2c hw bus 1"
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/i2c-11
		  │ i2c:i2c-11 "AMDGPU DM i2c hw bus 2"
		  │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/i2c-11/i2c-dev/i2c-11
		  │   i2c-dev:i2c-11 "AMDGPU DM i2c hw bus 2"
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/i2c-9
		  │ i2c:i2c-9 "AMDGPU DM i2c hw bus 0"
		  │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/i2c-9/i2c-dev/i2c-9
		  │   i2c-dev:i2c-9 "AMDGPU DM i2c hw bus 0"
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.1/sound/card1
		  │ sound:card1 "Generic"
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.1/sound/card1/input13
		  │ │ input:input13 "HD-Audio Generic HDMI/DP,pcm=3"
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.1/sound/card1/input14
		  │ │ input:input14 "HD-Audio Generic HDMI/DP,pcm=7"
		  │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.1/sound/card1/input15
		  │   input:input15 "HD-Audio Generic HDMI/DP,pcm=8"
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.3/usb7
		  │ usb:usb7
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.3/usb8
		  │ usb:usb8
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.4/usb10
		  │ usb:usb10
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.4/usb9
		  │ usb:usb9
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.6/sound/card2
		  │ sound:card2 "Generic_1"
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.6/sound/card2/input20
		  │ │ input:input20 "HD-Audio Generic Front Mic"
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.6/sound/card2/input21
		  │ │ input:input21 "HD-Audio Generic Rear Mic"
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.6/sound/card2/input22
		  │ │ input:input22 "HD-Audio Generic Line"
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.6/sound/card2/input23
		  │ │ input:input23 "HD-Audio Generic Line Out"
		  │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.6/sound/card2/input24
		  │   input:input24 "HD-Audio Generic Front Headphone"
		  ├─/sys/devices/pci0000:00/0000:00:08.3/0000:6e:00.0/usb11
		  │ usb:usb11
		  ├─/sys/devices/pci0000:00/0000:00:08.3/0000:6e:00.0/usb12
		  │ usb:usb12
		  ├─/sys/devices/pci0000:00/0000:00:14.0/i2c-14
		  │ i2c:i2c-14 "SMBus PIIX4 adapter port 0 at 0b00"
		  │ └─/sys/devices/pci0000:00/0000:00:14.0/i2c-14/i2c-dev/i2c-14
		  │   i2c-dev:i2c-14 "SMBus PIIX4 adapter port 0 at 0b00"
		  ├─/sys/devices/pci0000:00/0000:00:14.0/i2c-15
		  │ i2c:i2c-15 "SMBus PIIX4 adapter port 2 at 0b00"
		  │ └─/sys/devices/pci0000:00/0000:00:14.0/i2c-15/i2c-dev/i2c-15
		  │   i2c-dev:i2c-15 "SMBus PIIX4 adapter port 2 at 0b00"
		  ├─/sys/devices/pci0000:00/0000:00:14.0/i2c-16
		  │ i2c:i2c-16 "SMBus PIIX4 adapter port 1 at 0b20"
		  │ └─/sys/devices/pci0000:00/0000:00:14.0/i2c-16/i2c-dev/i2c-16
		  │   i2c-dev:i2c-16 "SMBus PIIX4 adapter port 1 at 0b20"
		  ├─/sys/devices/platform/AMDI0010:00/i2c-0
		  │ i2c:i2c-0 "Synopsys DesignWare I2C adapter"
		  │ └─/sys/devices/platform/AMDI0010:00/i2c-0/i2c-dev/i2c-0
		  │   i2c-dev:i2c-0 "Synopsys DesignWare I2C adapter"
		  ├─/sys/devices/platform/asus-nb-wmi/input/input25
		  │ input:input25 "Asus WMI hotkeys"
		  ├─/sys/devices/platform/eeepc-wmi/input/input26
		  │ input:input26 "Eee PC WMI hotkeys"
		  ├─/sys/devices/platform/pcspkr/input/input12
		  │ input:input12 "PC Speaker"
		  ├─/sys/devices/virtual/mem/port
		  │ mem:port
		  └─/sys/devices/virtual/misc/rfkill
		    misc:rfkill
$ loginctl session-status 2
2 - INSERT_USERNAME_HERE (1000)
	   Since: Tue 2023-07-25 17:58:41 EEST; 1min 55s ago
	  Leader: 1372 (lightdm)
	    Seat: seat0; vc8
	 Display: :0
	 Service: lightdm; type wayland; class user
	 Desktop: plasmawayland
	   State: active
	    Idle: no
	    Unit: session-2.scope
		  ├─1372 lightdm --session-child 13 20
		  ├─1683 /usr/bin/kwalletd5 --pam-login 3 9
		  └─1684 /usr/bin/startplasma-wayland

jūl 25 17:58:41 oak systemd[1]: Started Session 2 of User INSERT_USERNAME_HERE.
jūl 25 17:58:41 oak lightdm[1682]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket

Multi-seat:

$ loginctl seat-status seat0
seat0
	Sessions: *4
	 Devices:
		  ├─/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
		  │ input:input1 "Power Button"
		  ├─/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:20/LNXVIDEO:00/input/input2
		  │ input:input2 "Video Bus"
		  ├─/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
		  │ input:input0 "Power Button"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0
		  │ [MASTER] drm:card0
		  │ ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-DP-1
		  │ │ [MASTER] drm:card0-DP-1
		  │ │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-DP-1/i2c-7
		  │ │   i2c:i2c-7 "AMDGPU DM aux hw bus 0"
		  │ │   └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-DP-1/i2c-7/i2c-dev/i2c-7
		  │ │     i2c-dev:i2c-7 "AMDGPU DM aux hw bus 0"
		  │ ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-DP-2
		  │ │ [MASTER] drm:card0-DP-2
		  │ │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-DP-2/i2c-8
		  │ │   i2c:i2c-8 "AMDGPU DM aux hw bus 1"
		  │ │   └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-DP-2/i2c-8/i2c-dev/i2c-8
		  │ │     i2c-dev:i2c-8 "AMDGPU DM aux hw bus 1"
		  │ ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-HDMI-A-1
		  │ │ [MASTER] drm:card0-HDMI-A-1
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-HDMI-A-2
		  │   [MASTER] drm:card0-HDMI-A-2
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/graphics/fb0
		  │ graphics:fb0 "amdgpudrmfb"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-1
		  │ i2c:i2c-1 "AMDGPU SMU 0"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-1/i2c-dev/i2c-1
		  │   i2c-dev:i2c-1 "AMDGPU SMU 0"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-2
		  │ i2c:i2c-2 "AMDGPU SMU 1"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-2/i2c-dev/i2c-2
		  │   i2c-dev:i2c-2 "AMDGPU SMU 1"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-3
		  │ i2c:i2c-3 "AMDGPU DM i2c hw bus 0"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-3/i2c-dev/i2c-3
		  │   i2c-dev:i2c-3 "AMDGPU DM i2c hw bus 0"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-4
		  │ i2c:i2c-4 "AMDGPU DM i2c hw bus 1"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-4/i2c-dev/i2c-4
		  │   i2c-dev:i2c-4 "AMDGPU DM i2c hw bus 1"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-5
		  │ i2c:i2c-5 "AMDGPU DM i2c hw bus 2"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-5/i2c-dev/i2c-5
		  │   i2c-dev:i2c-5 "AMDGPU DM i2c hw bus 2"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-6
		  │ i2c:i2c-6 "AMDGPU DM i2c hw bus 3"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-6/i2c-dev/i2c-6
		  │   i2c-dev:i2c-6 "AMDGPU DM i2c hw bus 3"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0
		  │ sound:card0 "HDMI"
		  │ ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input15
		  │ │ input:input15 "HDA ATI HDMI HDMI/DP,pcm=3"
		  │ ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input16
		  │ │ input:input16 "HDA ATI HDMI HDMI/DP,pcm=7"
		  │ ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input17
		  │ │ input:input17 "HDA ATI HDMI HDMI/DP,pcm=8"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input18
		  │   input:input18 "HDA ATI HDMI HDMI/DP,pcm=9"
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:02.0/0000:3b:00.0/usb1
		  │ usb:usb1
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:02.0/0000:3b:00.0/usb2
		  │ usb:usb2
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3
		  │ usb:usb3
		  │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-7
		  │ │ usb:3-7
		  │ │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-7/3-7:1.0
		  │ │ │ usb:3-7:1.0
		  │ │ └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-7/3-7:1.2
		  │ │   usb:3-7:1.2
		  │ │   ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-7/3-7:1.2/0003:0B05:19AF.0002
		  │ │   │ hid:0003:0B05:19AF.0002
		  │ │   │ └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-7/3-7:1.2/0003:0B05:19AF.0002/hidraw/hidraw1
		  │ │   │   hidraw:hidraw1
		  │ │   └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-7/3-7:1.2/usbmisc/hiddev0
		  │ │     usbmisc:hiddev0
		  │ └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8
		  │   usb:3-8
		  │   ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.1
		  │   │ usb:3-8.1
		  │   │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.1/3-8.1:1.0/0003:046D:C31C.0003/input/input4
		  │   │ │ input:input4 "Logitech USB Keyboard"
		  │   │ │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.1/3-8.1:1.0/0003:046D:C31C.0003/input/input4/input4::capslock
		  │   │ │ │ leds:input4::capslock
		  │   │ │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.1/3-8.1:1.0/0003:046D:C31C.0003/input/input4/input4::compose
		  │   │ │ │ leds:input4::compose
		  │   │ │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.1/3-8.1:1.0/0003:046D:C31C.0003/input/input4/input4::kana
		  │   │ │ │ leds:input4::kana
		  │   │ │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.1/3-8.1:1.0/0003:046D:C31C.0003/input/input4/input4::numlock
		  │   │ │ │ leds:input4::numlock
		  │   │ │ └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.1/3-8.1:1.0/0003:046D:C31C.0003/input/input4/input4::scrolllock
		  │   │ │   leds:input4::scrolllock
		  │   │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.1/3-8.1:1.1/0003:046D:C31C.0004/input/input5
		  │   │ │ input:input5 "Logitech USB Keyboard Consumer Control"
		  │   │ └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.1/3-8.1:1.1/0003:046D:C31C.0004/input/input6
		  │   │   input:input6 "Logitech USB Keyboard System Control"
		  │   └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.2
		  │     usb:3-8.2
		  │     └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.2/3-8.2:1.2/0003:046D:C52B.0007/0003:046D:4082.0009/input/input32
		  │       input:input32 "Logitech MX Master 3"
		  │       ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.2/3-8.2:1.2/0003:046D:C52B.0007/0003:046D:4082.0009/input/input32/input32::capslock
		  │       │ leds:input32::capslock
		  │       ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.2/3-8.2:1.2/0003:046D:C52B.0007/0003:046D:4082.0009/input/input32/input32::compose
		  │       │ leds:input32::compose
		  │       ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.2/3-8.2:1.2/0003:046D:C52B.0007/0003:046D:4082.0009/input/input32/input32::kana
		  │       │ leds:input32::kana
		  │       ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.2/3-8.2:1.2/0003:046D:C52B.0007/0003:046D:4082.0009/input/input32/input32::numlock
		  │       │ leds:input32::numlock
		  │       └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-8/3-8.2/3-8.2:1.2/0003:046D:C52B.0007/0003:046D:4082.0009/input/input32/input32::scrolllock
		  │         leds:input32::scrolllock
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb4
		  │ usb:usb4
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:0c.0/0000:6a:00.0/usb5
		  │ usb:usb5
		  │ └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:0c.0/0000:6a:00.0/usb5/5-2/5-2:1.2/0003:2548:1002.0001/input/input3
		  │   input:input3 "Pulse-Eight CEC Adapter"
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:0c.0/0000:6a:00.0/usb6
		  │ usb:usb6
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/i2c-10
		  │ i2c:i2c-10 "AMDGPU DM i2c hw bus 1"
		  │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/i2c-10/i2c-dev/i2c-10
		  │   i2c-dev:i2c-10 "AMDGPU DM i2c hw bus 1"
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/i2c-11
		  │ i2c:i2c-11 "AMDGPU DM i2c hw bus 2"
		  │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/i2c-11/i2c-dev/i2c-11
		  │   i2c-dev:i2c-11 "AMDGPU DM i2c hw bus 2"
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/i2c-9
		  │ i2c:i2c-9 "AMDGPU DM i2c hw bus 0"
		  │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/i2c-9/i2c-dev/i2c-9
		  │   i2c-dev:i2c-9 "AMDGPU DM i2c hw bus 0"
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.3/usb7
		  │ usb:usb7
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.3/usb8
		  │ usb:usb8
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.4/usb10
		  │ usb:usb10
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.4/usb9
		  │ usb:usb9
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.6/sound/card2
		  │ sound:card2 "Generic_1"
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.6/sound/card2/input22
		  │ │ input:input22 "HD-Audio Generic Front Mic"
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.6/sound/card2/input23
		  │ │ input:input23 "HD-Audio Generic Rear Mic"
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.6/sound/card2/input24
		  │ │ input:input24 "HD-Audio Generic Line"
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.6/sound/card2/input25
		  │ │ input:input25 "HD-Audio Generic Line Out"
		  │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.6/sound/card2/input26
		  │   input:input26 "HD-Audio Generic Front Headphone"
		  ├─/sys/devices/pci0000:00/0000:00:08.3/0000:6e:00.0/usb11
		  │ usb:usb11
		  ├─/sys/devices/pci0000:00/0000:00:08.3/0000:6e:00.0/usb12
		  │ usb:usb12
		  ├─/sys/devices/pci0000:00/0000:00:14.0/i2c-14
		  │ i2c:i2c-14 "SMBus PIIX4 adapter port 0 at 0b00"
		  │ └─/sys/devices/pci0000:00/0000:00:14.0/i2c-14/i2c-dev/i2c-14
		  │   i2c-dev:i2c-14 "SMBus PIIX4 adapter port 0 at 0b00"
		  ├─/sys/devices/pci0000:00/0000:00:14.0/i2c-15
		  │ i2c:i2c-15 "SMBus PIIX4 adapter port 2 at 0b00"
		  │ └─/sys/devices/pci0000:00/0000:00:14.0/i2c-15/i2c-dev/i2c-15
		  │   i2c-dev:i2c-15 "SMBus PIIX4 adapter port 2 at 0b00"
		  ├─/sys/devices/pci0000:00/0000:00:14.0/i2c-16
		  │ i2c:i2c-16 "SMBus PIIX4 adapter port 1 at 0b20"
		  │ └─/sys/devices/pci0000:00/0000:00:14.0/i2c-16/i2c-dev/i2c-16
		  │   i2c-dev:i2c-16 "SMBus PIIX4 adapter port 1 at 0b20"
		  ├─/sys/devices/platform/AMDI0010:00/i2c-0
		  │ i2c:i2c-0 "Synopsys DesignWare I2C adapter"
		  │ └─/sys/devices/platform/AMDI0010:00/i2c-0/i2c-dev/i2c-0
		  │   i2c-dev:i2c-0 "Synopsys DesignWare I2C adapter"
		  ├─/sys/devices/platform/asus-nb-wmi/input/input14
		  │ input:input14 "Asus WMI hotkeys"
		  ├─/sys/devices/platform/eeepc-wmi/input/input13
		  │ input:input13 "Eee PC WMI hotkeys"
		  ├─/sys/devices/platform/pcspkr/input/input12
		  │ input:input12 "PC Speaker"
		  ├─/sys/devices/virtual/mem/port
		  │ mem:port
		  └─/sys/devices/virtual/misc/rfkill
		    misc:rfkill

$ loginctl seat-status seat-tv
seat-tv
	Sessions: *1
	 Devices:
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1
		  │ [MASTER] drm:card1
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-DP-3
		  │ │ [MASTER] drm:card1-DP-3
		  │ │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-DP-3/i2c-12
		  │ │   i2c:i2c-12 "AMDGPU DM aux hw bus 1"
		  │ │   └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-DP-3/i2c-12/i2c-dev/i2c-12
		  │ │     i2c-dev:i2c-12 "AMDGPU DM aux hw bus 1"
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-DP-4
		  │ │ [MASTER] drm:card1-DP-4
		  │ │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-DP-4/i2c-13
		  │ │   i2c:i2c-13 "AMDGPU DM aux hw bus 2"
		  │ │   └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-DP-4/i2c-13/i2c-dev/i2c-13
		  │ │     i2c-dev:i2c-13 "AMDGPU DM aux hw bus 2"
		  │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-HDMI-A-3
		  │   [MASTER] drm:card1-HDMI-A-3
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/graphics/fb1
		  │ graphics:fb1 "amdgpudrmfb"
		  └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.1/sound/card1
		    sound:card1 "Generic"
		    ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.1/sound/card1/input19
		    │ input:input19 "HD-Audio Generic HDMI/DP,pcm=3"
		    ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.1/sound/card1/input20
		    │ input:input20 "HD-Audio Generic HDMI/DP,pcm=7"
		    └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.1/sound/card1/input21
		      input:input21 "HD-Audio Generic HDMI/DP,pcm=8"

$ loginctl session-status 4
4 - INSERT_USERNAME_HERE (1000)
	   Since: Tue 2023-07-25 18:05:45 EEST; 1min 44s ago
	  Leader: 1493 (lightdm)
	    Seat: seat0; vc8
	 Display: :0
	 Service: lightdm; type wayland; class user
	 Desktop: plasmawayland
	   State: active
	    Idle: no
	    Unit: session-4.scope
		  ├─1493 lightdm --session-child 17 25
		  ├─1869 /usr/bin/kwalletd5 --pam-login 3 9
		  └─1870 /usr/bin/startplasma-wayland

jūl 25 18:05:45 oak systemd[1]: Started Session 4 of User INSERT_USERNAME_HERE.
jūl 25 18:05:45 oak lightdm[1868]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket

$ loginctl session-status 1
1 - kodi (981)
	   Since: Tue 2023-07-25 18:05:36 EEST; 2min 7s ago
	  Leader: 1199 (lightdm)
	    Seat: seat-tv
	 Display: :1
	 Service: lightdm-autologin; type x11; class user
	 Desktop: kodi
	   State: active
	    Idle: no
	    Unit: session-1.scope
		  ├─1199 lightdm --session-child 14 17
		  ├─1217 /bin/sh /usr/bin/kodi-standalone
		  ├─1228 /bin/sh /usr/bin/kodi --standalone
		  └─1233 /usr/lib/kodi/kodi.bin --standalone

jūl 25 18:05:36 oak systemd[1]: Started Session 1 of User kodi.

The fun thing was that now keyboard & mouse worked in plasma wayland session in multi-seat.

@yuwata
Copy link
Member

yuwata commented Jul 25, 2023

Could you try several times on multi-seat setup? And if you observe the issue again, then could you show the loginctl results again?

@bluca
Copy link
Member

bluca commented Jul 27, 2023

Could you try several times on multi-seat setup? And if you observe the issue again, then could you show the loginctl results again?

@nl6720 did you have a chance to try this?

@nl6720
Copy link
Contributor Author

nl6720 commented Jul 27, 2023

Sorry, I didn't have the time yesterday.

Today, two times it worked fine, but the third time I triggered the issue again. This is with login then logout not by rebooting.
I got the logs while connected via SSH.

$ loginctl seat-status seat0
seat0
	Sessions: *13
	 Devices:
		  ├─/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
		  │ input:input1 "Power Button"
		  ├─/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:20/LNXVIDEO:00/input/input2
		  │ input:input2 "Video Bus"
		  ├─/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
		  │ input:input0 "Power Button"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0
		  │ [MASTER] drm:card0
		  │ ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-DP-1
		  │ │ [MASTER] drm:card0-DP-1
		  │ │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-DP-1/i2c-7
		  │ │   i2c:i2c-7 "AMDGPU DM aux hw bus 0"
		  │ │   └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-DP-1/i2c-7/i2c-dev/i2c-7
		  │ │     i2c-dev:i2c-7 "AMDGPU DM aux hw bus 0"
		  │ ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-DP-2
		  │ │ [MASTER] drm:card0-DP-2
		  │ │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-DP-2/i2c-8
		  │ │   i2c:i2c-8 "AMDGPU DM aux hw bus 1"
		  │ │   └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-DP-2/i2c-8/i2c-dev/i2c-8
		  │ │     i2c-dev:i2c-8 "AMDGPU DM aux hw bus 1"
		  │ ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-HDMI-A-1
		  │ │ [MASTER] drm:card0-HDMI-A-1
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/drm/card0/card0-HDMI-A-2
		  │   [MASTER] drm:card0-HDMI-A-2
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/graphics/fb0
		  │ graphics:fb0 "amdgpudrmfb"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-1
		  │ i2c:i2c-1 "AMDGPU SMU 0"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-1/i2c-dev/i2c-1
		  │   i2c-dev:i2c-1 "AMDGPU SMU 0"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-2
		  │ i2c:i2c-2 "AMDGPU SMU 1"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-2/i2c-dev/i2c-2
		  │   i2c-dev:i2c-2 "AMDGPU SMU 1"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-3
		  │ i2c:i2c-3 "AMDGPU DM i2c hw bus 0"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-3/i2c-dev/i2c-3
		  │   i2c-dev:i2c-3 "AMDGPU DM i2c hw bus 0"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-4
		  │ i2c:i2c-4 "AMDGPU DM i2c hw bus 1"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-4/i2c-dev/i2c-4
		  │   i2c-dev:i2c-4 "AMDGPU DM i2c hw bus 1"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-5
		  │ i2c:i2c-5 "AMDGPU DM i2c hw bus 2"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-5/i2c-dev/i2c-5
		  │   i2c-dev:i2c-5 "AMDGPU DM i2c hw bus 2"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-6
		  │ i2c:i2c-6 "AMDGPU DM i2c hw bus 3"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/i2c-6/i2c-dev/i2c-6
		  │   i2c-dev:i2c-6 "AMDGPU DM i2c hw bus 3"
		  ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0
		  │ sound:card0 "HDMI"
		  │ ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input15
		  │ │ input:input15 "HDA ATI HDMI HDMI/DP,pcm=3"
		  │ ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input16
		  │ │ input:input16 "HDA ATI HDMI HDMI/DP,pcm=7"
		  │ ├─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input17
		  │ │ input:input17 "HDA ATI HDMI HDMI/DP,pcm=8"
		  │ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input18
		  │   input:input18 "HDA ATI HDMI HDMI/DP,pcm=9"
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb13
		  │ usb:usb13
		  │ └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb13/13-2
		  │   usb:13-2
		  │   ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb13/13-2/13-2.1
		  │   │ usb:13-2.1
		  │   │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb13/13-2/13-2.1/13-2.1:1.0/0003:046D:C31C.0029/input/input49
		  │   │ │ input:input49 "Logitech USB Keyboard"
		  │   │ │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb13/13-2/13-2.1/13-2.1:1.0/0003:046D:C31C.0029/input/input49/input49::capslock
		  │   │ │ │ leds:input49::capslock
		  │   │ │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb13/13-2/13-2.1/13-2.1:1.0/0003:046D:C31C.0029/input/input49/input49::compose
		  │   │ │ │ leds:input49::compose
		  │   │ │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb13/13-2/13-2.1/13-2.1:1.0/0003:046D:C31C.0029/input/input49/input49::kana
		  │   │ │ │ leds:input49::kana
		  │   │ │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb13/13-2/13-2.1/13-2.1:1.0/0003:046D:C31C.0029/input/input49/input49::numlock
		  │   │ │ │ leds:input49::numlock
		  │   │ │ └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb13/13-2/13-2.1/13-2.1:1.0/0003:046D:C31C.0029/input/input49/input49::scrolllock
		  │   │ │   leds:input49::scrolllock
		  │   │ ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb13/13-2/13-2.1/13-2.1:1.1/0003:046D:C31C.002A/input/input50
		  │   │ │ input:input50 "Logitech USB Keyboard Consumer Control"
		  │   │ └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb13/13-2/13-2.1/13-2.1:1.1/0003:046D:C31C.002A/input/input51
		  │   │   input:input51 "Logitech USB Keyboard System Control"
		  │   └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb13/13-2/13-2.2
		  │     usb:13-2.2
		  │     └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb13/13-2/13-2.2/13-2.2:1.2/0003:046D:C52B.002D/0003:046D:4082.002E/input/input52
		  │       input:input52 "Logitech MX Master 3"
		  │       ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb13/13-2/13-2.2/13-2.2:1.2/0003:046D:C52B.002D/0003:046D:4082.002E/input/input52/input52::capslock
		  │       │ leds:input52::capslock
		  │       ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb13/13-2/13-2.2/13-2.2:1.2/0003:046D:C52B.002D/0003:046D:4082.002E/input/input52/input52::compose
		  │       │ leds:input52::compose
		  │       ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb13/13-2/13-2.2/13-2.2:1.2/0003:046D:C52B.002D/0003:046D:4082.002E/input/input52/input52::kana
		  │       │ leds:input52::kana
		  │       ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb13/13-2/13-2.2/13-2.2:1.2/0003:046D:C52B.002D/0003:046D:4082.002E/input/input52/input52::numlock
		  │       │ leds:input52::numlock
		  │       └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb13/13-2/13-2.2/13-2.2:1.2/0003:046D:C52B.002D/0003:046D:4082.002E/input/input52/input52::scrolllock
		  │         leds:input52::scrolllock
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb14
		  │ usb:usb14
		  │ └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:01.0/0000:10:00.0/0000:11:02.0/0000:12:00.0/usb14/14-1
		  │   usb:14-1
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:02.0/0000:3b:00.0/usb1
		  │ usb:usb1
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:04.0/0000:0d:00.0/0000:0e:02.0/0000:3b:00.0/usb2
		  │ usb:usb2
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3
		  │ usb:usb3
		  │ └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-7
		  │   usb:3-7
		  │   ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-7/3-7:1.0
		  │   │ usb:3-7:1.0
		  │   └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-7/3-7:1.2
		  │     usb:3-7:1.2
		  │     ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-7/3-7:1.2/0003:0B05:19AF.0002
		  │     │ hid:0003:0B05:19AF.0002
		  │     │ └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-7/3-7:1.2/0003:0B05:19AF.0002/hidraw/hidraw1
		  │     │   hidraw:hidraw1
		  │     └─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb3/3-7/3-7:1.2/usbmisc/hiddev0
		  │       usbmisc:hiddev0
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:68:00.0/usb4
		  │ usb:usb4
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:0c.0/0000:6a:00.0/usb5
		  │ usb:usb5
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:0c.0/0000:6a:00.0/usb6
		  │ usb:usb6
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/i2c-10
		  │ i2c:i2c-10 "AMDGPU DM i2c hw bus 1"
		  │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/i2c-10/i2c-dev/i2c-10
		  │   i2c-dev:i2c-10 "AMDGPU DM i2c hw bus 1"
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/i2c-11
		  │ i2c:i2c-11 "AMDGPU DM i2c hw bus 2"
		  │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/i2c-11/i2c-dev/i2c-11
		  │   i2c-dev:i2c-11 "AMDGPU DM i2c hw bus 2"
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/i2c-9
		  │ i2c:i2c-9 "AMDGPU DM i2c hw bus 0"
		  │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/i2c-9/i2c-dev/i2c-9
		  │   i2c-dev:i2c-9 "AMDGPU DM i2c hw bus 0"
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.3/usb7
		  │ usb:usb7
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.3/usb8
		  │ usb:usb8
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.4/usb10
		  │ usb:usb10
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.4/usb9
		  │ usb:usb9
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.6/sound/card2
		  │ sound:card2 "Generic_1"
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.6/sound/card2/input22
		  │ │ input:input22 "HD-Audio Generic Front Mic"
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.6/sound/card2/input23
		  │ │ input:input23 "HD-Audio Generic Rear Mic"
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.6/sound/card2/input24
		  │ │ input:input24 "HD-Audio Generic Line"
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.6/sound/card2/input25
		  │ │ input:input25 "HD-Audio Generic Line Out"
		  │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.6/sound/card2/input26
		  │   input:input26 "HD-Audio Generic Front Headphone"
		  ├─/sys/devices/pci0000:00/0000:00:08.3/0000:6e:00.0/usb11
		  │ usb:usb11
		  ├─/sys/devices/pci0000:00/0000:00:08.3/0000:6e:00.0/usb12
		  │ usb:usb12
		  ├─/sys/devices/pci0000:00/0000:00:14.0/i2c-14
		  │ i2c:i2c-14 "SMBus PIIX4 adapter port 0 at 0b00"
		  │ └─/sys/devices/pci0000:00/0000:00:14.0/i2c-14/i2c-dev/i2c-14
		  │   i2c-dev:i2c-14 "SMBus PIIX4 adapter port 0 at 0b00"
		  ├─/sys/devices/pci0000:00/0000:00:14.0/i2c-15
		  │ i2c:i2c-15 "SMBus PIIX4 adapter port 2 at 0b00"
		  │ └─/sys/devices/pci0000:00/0000:00:14.0/i2c-15/i2c-dev/i2c-15
		  │   i2c-dev:i2c-15 "SMBus PIIX4 adapter port 2 at 0b00"
		  ├─/sys/devices/pci0000:00/0000:00:14.0/i2c-16
		  │ i2c:i2c-16 "SMBus PIIX4 adapter port 1 at 0b20"
		  │ └─/sys/devices/pci0000:00/0000:00:14.0/i2c-16/i2c-dev/i2c-16
		  │   i2c-dev:i2c-16 "SMBus PIIX4 adapter port 1 at 0b20"
		  ├─/sys/devices/platform/AMDI0010:00/i2c-0
		  │ i2c:i2c-0 "Synopsys DesignWare I2C adapter"
		  │ └─/sys/devices/platform/AMDI0010:00/i2c-0/i2c-dev/i2c-0
		  │   i2c-dev:i2c-0 "Synopsys DesignWare I2C adapter"
		  ├─/sys/devices/platform/asus-nb-wmi/input/input14
		  │ input:input14 "Asus WMI hotkeys"
		  ├─/sys/devices/platform/eeepc-wmi/input/input13
		  │ input:input13 "Eee PC WMI hotkeys"
		  ├─/sys/devices/platform/pcspkr/input/input12
		  │ input:input12 "PC Speaker"
		  ├─/sys/devices/virtual/mem/port
		  │ mem:port
		  └─/sys/devices/virtual/misc/rfkill
		    misc:rfkill

$ loginctl seat-status seat-tv
seat-tv
	Sessions: *1
	 Devices:
		  ├─/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:0c.0/0000:6a:00.0/usb5/5-2/5-2:1.2/0003:2548:1002.0001/input/input3
		  │ input:input3 "Pulse-Eight CEC Adapter"
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1
		  │ [MASTER] drm:card1
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-DP-3
		  │ │ [MASTER] drm:card1-DP-3
		  │ │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-DP-3/i2c-12
		  │ │   i2c:i2c-12 "AMDGPU DM aux hw bus 1"
		  │ │   └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-DP-3/i2c-12/i2c-dev/i2c-12
		  │ │     i2c-dev:i2c-12 "AMDGPU DM aux hw bus 1"
		  │ ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-DP-4
		  │ │ [MASTER] drm:card1-DP-4
		  │ │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-DP-4/i2c-13
		  │ │   i2c:i2c-13 "AMDGPU DM aux hw bus 2"
		  │ │   └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-DP-4/i2c-13/i2c-dev/i2c-13
		  │ │     i2c-dev:i2c-13 "AMDGPU DM aux hw bus 2"
		  │ └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/drm/card1/card1-HDMI-A-3
		  │   [MASTER] drm:card1-HDMI-A-3
		  ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.0/graphics/fb1
		  │ graphics:fb1 "amdgpudrmfb"
		  └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.1/sound/card1
		    sound:card1 "Generic"
		    ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.1/sound/card1/input19
		    │ input:input19 "HD-Audio Generic HDMI/DP,pcm=3"
		    ├─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.1/sound/card1/input20
		    │ input:input20 "HD-Audio Generic HDMI/DP,pcm=7"
		    └─/sys/devices/pci0000:00/0000:00:08.1/0000:6d:00.1/sound/card1/input21
		      input:input21 "HD-Audio Generic HDMI/DP,pcm=8"

$ loginctl session-status 13
13 - INSERT_USERNAME_HERE (1000)
	   Since: Thu 2023-07-27 15:18:43 EEST; 1min 42s ago
	  Leader: 32921 (lightdm)
	    Seat: seat0; vc8
	 Display: :0
	 Service: lightdm; type wayland; class user
	 Desktop: plasmawayland
	   State: active
	    Idle: no
	    Unit: session-13.scope
		  ├─32921 lightdm --session-child 17 25
		  ├─32952 /usr/bin/kwalletd5 --pam-login 3 9
		  └─32953 /usr/bin/startplasma-wayland

jūl 27 15:18:43 oak systemd[1]: Started Session 13 of User INSERT_USERNAME_HERE.
jūl 27 15:18:43 oak lightdm[32951]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
$ loginctl session-status 1
1 - kodi (981)
	   Since: Tue 2023-07-25 18:05:36 EEST; 1 day 21h ago
	  Leader: 1199 (lightdm)
	    Seat: seat-tv
	 Display: :1
	 Service: lightdm-autologin; type x11; class user
	 Desktop: kodi
	   State: active
	    Idle: no
	    Unit: session-1.scope
		  ├─1199 lightdm --session-child 14 17
		  ├─1217 /bin/sh /usr/bin/kodi-standalone
		  ├─1228 /bin/sh /usr/bin/kodi --standalone
		  └─1233 /usr/lib/kodi/kodi.bin --standalone

jūl 25 18:05:36 oak systemd[1]: Started Session 1 of User kodi.

Just to note, the USB CEC adapter is now in seat-tv because I run a loginctl attach command two days ago. Here's the udev rule for reference:

==> /etc/udev/rules.d/72-seat-input-pci-0000_6a_00_0-usb-0_2_1_2.rules <==
TAG=="seat", ENV{ID_FOR_SEAT}=="input-pci-0000_6a_00_0-usb-0_2_1_2", ENV{ID_SEAT}="seat-tv

But this may not be relevant since it was there all three times I tried logging in today.

@yuwata
Copy link
Member

yuwata commented Jul 27, 2023

Hmm. I have no idea.
@nl6720 Could you report the issue to plasma + wayland team attaching with the link to this page? We do not know much about how they enumerate input devices. To solve the issue we need their support.
At least, I cannot find anything spurious in the journal, output of udevadm, and loginctl.

@bluca
Copy link
Member

bluca commented Jul 27, 2023

Given we need more time and external help, moving to the next milestone

@bluca bluca modified the milestones: v254, v255 Jul 27, 2023
@nl6720
Copy link
Contributor Author

nl6720 commented Jul 28, 2023

https://bugs.kde.org/show_bug.cgi?id=472736

@nl6720
Copy link
Contributor Author

nl6720 commented Sep 19, 2023

The KDE issue was closed and a new issue was created for libinput: https://gitlab.freedesktop.org/libinput/libinput/-/issues/936 👀

@yuwata yuwata removed this from the v255 milestone Oct 1, 2023
@poettering
Copy link
Member

OK, let's close this here then, as this is apparently not a systemd problem, but somewhere between kde/libinput/kernel/hardware.

@nl6720
Copy link
Contributor Author

nl6720 commented Mar 12, 2024

The issue seems to have disappeared after upgrading Plasma to 6.0.1. 🤷

@mrc0mmand mrc0mmand added login and removed logind labels Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Programming errors, that need preferential fixing login needs-reporter-feedback ❓ There's an unanswered question, the reporter needs to answer udev
Development

No branches or pull requests

5 participants