You are not logged in.
Update:
It has been fixed in systemd 221-2. The problematic rules have been removed from systemd. Updated systems no longer have this problem.
After plugged in the keyboard, it works for a few seconds. After a sudden it stops working.
I noticed that systemd-221 comes with a new libgudev package. However, I have no idea why it fails.
Forgot to mention. My machine is a Thinkpad X220 with 64-bit Archlinux.
Update:
Solution: Manually fix this issue by editing /usr/lib/udev/rules.d/42-usb-hid-pm.rules according to this commit that introduced the problem: https://github.com/systemd/systemd/comm … 920a751fb1
just replace three occurrence of "ATTR{../removable}" with "ATTRS{removable}".
journalctl -r:
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: (II) systemd-logind: releasing fd for 13:71
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: Failed to close file descriptor: Could not close fd 15
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 16 paused 1
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: (**) HID 05f3:0007: Applying InputClass "evdev keyboard catchall"
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: (II) config/udev: Adding input device HID 05f3:0007 (/dev/input/event7)
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) Option "xkb_layout" "us"
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) Option "xkb_model" "pc104"
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) Option "xkb_rules" "evdev"
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) XINPUT: Adding extended input device "HID 05f3:0007" (type: KEYBOARD, id 15)
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2.2/2-1.2.2:1.1/0003:05F3:0007.000A/input/input27/
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) evdev: HID 05f3:0007: Configuring as keyboard
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (--) evdev: HID 05f3:0007: Found keys
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (--) evdev: HID 05f3:0007: Vendor 0x5f3 Product 0x7
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) evdev: HID 05f3:0007: Device: "/dev/input/event8"
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) HID 05f3:0007: always reports core events
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) Using input driver 'evdev' for 'HID 05f3:0007'
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 35 paused 0
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) HID 05f3:0007: Applying InputClass "evdev keyboard catchall"
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) config/udev: Adding input device HID 05f3:0007 (/dev/input/event8)
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) Option "xkb_layout" "us"
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) Option "xkb_model" "pc104"
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: (II) systemd-logind: releasing fd for 13:72
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: Failed to close file descriptor: Could not close fd 15
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 16 paused 1
Jun 23 10:48:21 think dbus-daemon[298]: Failed to close file descriptor: Could not close fd 39
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) Option "xkb_rules" "evdev"
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) XINPUT: Adding extended input device "HID 05f3:0007" (type: KEYBOARD, id 10)
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2.2/2-1.2.2:1.0/0003:05F3:0007.0009/input/input26/
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) evdev: HID 05f3:0007: Configuring as keyboard
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (--) evdev: HID 05f3:0007: Found keys
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (--) evdev: HID 05f3:0007: Vendor 0x5f3 Product 0x7
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) evdev: HID 05f3:0007: Device: "/dev/input/event7"
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) HID 05f3:0007: always reports core events
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) Using input driver 'evdev' for 'HID 05f3:0007'
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 34 paused 0
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: (**) HID 05f3:0007: Applying InputClass "evdev keyboard catchall"
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: (II) config/udev: Adding input device HID 05f3:0007 (/dev/input/event8)
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) HID 05f3:0007: Applying InputClass "evdev keyboard catchall"
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) config/udev: Adding input device HID 05f3:0007 (/dev/input/event7)
Jun 23 10:48:21 think kernel: hid-generic 0003:05F3:0007.000A: input,hidraw2: USB HID v1.00 Device [HID 05f3:0007] on usb-0000:00:1d.0-1.2.2/input1
Jun 23 10:48:21 think kernel: input: HID 05f3:0007 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2.2/2-1.2.2:1.1/0003:05F3:0007.000A/input/input27
Jun 23 10:48:21 think kernel: hid-generic 0003:05F3:0007.0009: input,hidraw1: USB HID v1.00 Keyboard [HID 05f3:0007] on usb-0000:00:1d.0-1.2.2/input0
Jun 23 10:48:21 think kernel: input: HID 05f3:0007 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2.2/2-1.2.2:1.0/0003:05F3:0007.0009/input/input26
Jun 23 10:48:21 think kernel: usb 2-1.2.2: new full-speed USB device number 14 using ehci-pci
Jun 23 10:48:21 think kernel: hub 2-1.2:1.0: 4 ports detected
Jun 23 10:48:21 think kernel: hub 2-1.2:1.0: USB hub found
Jun 23 10:48:20 think kernel: usb 2-1.2: new full-speed USB device number 13 using ehci-pciLast edited by wuxb (2015-06-28 02:53:07)
Offline
I can confirm the same behavior - Kinesis Advantage keyboard failing after upgrade to systemd-221. Downgrading all dependent packages and systemd to 219 is my current workaround. Regular USB Keyboard without built-in hub works with systemd-221.
Last edited by rbellamy (2015-06-23 15:02:06)
Offline
Please test if the file attached to this comment fixes the issue:
Offline
Yes it works. Thanks!
Please test if the file attached to this comment fixes the issue:
Offline
[edit]
I just realized, that my problem had nothing to do with this thread and the error was rather random.
Please disregard this post.
[/edit]
Last edited by spunkhart (2015-06-23 20:13:32)
Offline
After plugged in the keyboard, it works for a few seconds. After a sudden it stops working.
I noticed that systemd-221 comes with a new libgudev package. However, I have no idea why it fails.Forgot to mention. My machine is a Thinkpad X220 with 64-bit Archlinux.
Update:
Solution: Manually fix this issue by editing /usr/lib/udev/rules.d/42-usb-hid-pm.rules according to this commit that introduced the problem: https://github.com/systemd/systemd/comm … 920a751fb1just replace three occurrence of "ATTR{../removable}" with "ATTRS{removable}".
journalctl -r:
Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: (II) systemd-logind: releasing fd for 13:71 Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: Failed to close file descriptor: Could not close fd 15 Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 16 paused 1 Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: (**) HID 05f3:0007: Applying InputClass "evdev keyboard catchall" Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: (II) config/udev: Adding input device HID 05f3:0007 (/dev/input/event7) Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) Option "xkb_layout" "us" Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) Option "xkb_model" "pc104" Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) Option "xkb_rules" "evdev" Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) XINPUT: Adding extended input device "HID 05f3:0007" (type: KEYBOARD, id 15) Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2.2/2-1.2.2:1.1/0003:05F3:0007.000A/input/input27/ Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) evdev: HID 05f3:0007: Configuring as keyboard Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (--) evdev: HID 05f3:0007: Found keys Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (--) evdev: HID 05f3:0007: Vendor 0x5f3 Product 0x7 Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) evdev: HID 05f3:0007: Device: "/dev/input/event8" Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) HID 05f3:0007: always reports core events Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) Using input driver 'evdev' for 'HID 05f3:0007' Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 35 paused 0 Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) HID 05f3:0007: Applying InputClass "evdev keyboard catchall" Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) config/udev: Adding input device HID 05f3:0007 (/dev/input/event8) Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) Option "xkb_layout" "us" Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) Option "xkb_model" "pc104" Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: (II) systemd-logind: releasing fd for 13:72 Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: Failed to close file descriptor: Could not close fd 15 Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 16 paused 1 Jun 23 10:48:21 think dbus-daemon[298]: Failed to close file descriptor: Could not close fd 39 Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) Option "xkb_rules" "evdev" Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) XINPUT: Adding extended input device "HID 05f3:0007" (type: KEYBOARD, id 10) Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2.2/2-1.2.2:1.0/0003:05F3:0007.0009/input/input26/ Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) evdev: HID 05f3:0007: Configuring as keyboard Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (--) evdev: HID 05f3:0007: Found keys Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (--) evdev: HID 05f3:0007: Vendor 0x5f3 Product 0x7 Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) evdev: HID 05f3:0007: Device: "/dev/input/event7" Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) HID 05f3:0007: always reports core events Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) Using input driver 'evdev' for 'HID 05f3:0007' Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 34 paused 0 Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: (**) HID 05f3:0007: Applying InputClass "evdev keyboard catchall" Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[380]: (II) config/udev: Adding input device HID 05f3:0007 (/dev/input/event8) Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (**) HID 05f3:0007: Applying InputClass "evdev keyboard catchall" Jun 23 10:48:21 think /usr/lib/gdm/gdm-x-session[5999]: (II) config/udev: Adding input device HID 05f3:0007 (/dev/input/event7) Jun 23 10:48:21 think kernel: hid-generic 0003:05F3:0007.000A: input,hidraw2: USB HID v1.00 Device [HID 05f3:0007] on usb-0000:00:1d.0-1.2.2/input1 Jun 23 10:48:21 think kernel: input: HID 05f3:0007 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2.2/2-1.2.2:1.1/0003:05F3:0007.000A/input/input27 Jun 23 10:48:21 think kernel: hid-generic 0003:05F3:0007.0009: input,hidraw1: USB HID v1.00 Keyboard [HID 05f3:0007] on usb-0000:00:1d.0-1.2.2/input0 Jun 23 10:48:21 think kernel: input: HID 05f3:0007 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2.2/2-1.2.2:1.0/0003:05F3:0007.0009/input/input26 Jun 23 10:48:21 think kernel: usb 2-1.2.2: new full-speed USB device number 14 using ehci-pci Jun 23 10:48:21 think kernel: hub 2-1.2:1.0: 4 ports detected Jun 23 10:48:21 think kernel: hub 2-1.2:1.0: USB hub found Jun 23 10:48:20 think kernel: usb 2-1.2: new full-speed USB device number 13 using ehci-pci
I followed your instructions and now my external usb-keyboard is working properly! Thankyou for posting this!
Offline
Had the same problem after upgrading to 221 (with both Kinesis Advantage and Das Keyboard), just touched /etc/udev/rules.d/42-usb-hid-pm.rules to disable powermanagement rules from it.
Offline
For me this did the job while I wait for a fix:
# echo -1 > /sys/module/usbcore/parameters/autosuspendOffline
Have had the keyboard for 3 days, so obviously I never suspected it was the OS. ( this was my shot in the dark).
Last edited by caotic (2015-06-24 18:46:36)
Offline
Please test if the file attached to this comment fixes the issue:
This fixed my problem with my Logitech G11. My problem was that input would freeze at what seemed like random intervals. It would unfreeze after I had hit the keys a few times, but only recognize the keystrokes received after input unfroze. I figured it was a bug in relation to the program I was using, but then I started noticing it happening more and more often in various other programs. The only update I received recently was the new systemd, so that is where I started looking. My search led me here. Thank you for this patch.
Offline
Please test if the file attached to this comment fixes the issue:
This fixes this issue for me too, thanks!
Offline
The systemd 221 upgrade makes PS/2 fail, not just USB. One PC here is all PS/2 and we've tried 3 different brands of mice, multiple reboots, no luck. The PS/2 keyboard works under console, but not X. The same hardware all ran reliably before now. Something in software is wrong. It's systemd 221 and/or recent X11 stuff.
Offline