You are not logged in.

#1 2015-06-23 14:51:21

wuxb
Member
Registered: 2012-09-13
Posts: 29

Kinesis Advantage keyboard fails after upgrading to systemd-221

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-pci

Last edited by wuxb (2015-06-28 02:53:07)

Offline

#2 2015-06-23 15:01:31

rbellamy
Member
Registered: 2012-11-30
Posts: 17

Re: Kinesis Advantage keyboard fails after upgrading to systemd-221

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

#3 2015-06-23 15:50:21

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: Kinesis Advantage keyboard fails after upgrading to systemd-221

Please test if the file attached to this comment fixes the issue:

https://bugs.archlinux.org/task/45427#comment136621

Offline

#4 2015-06-23 17:30:44

wuxb
Member
Registered: 2012-09-13
Posts: 29

Re: Kinesis Advantage keyboard fails after upgrading to systemd-221

Yes it works. Thanks!

foutrelis wrote:

Please test if the file attached to this comment fixes the issue:

https://bugs.archlinux.org/task/45427#comment136621

Offline

#5 2015-06-23 19:04:34

spunkhart
Member
Registered: 2015-06-23
Posts: 1

Re: Kinesis Advantage keyboard fails after upgrading to systemd-221

[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

#6 2015-06-24 03:44:22

cable
Member
Registered: 2015-05-14
Posts: 5

Re: Kinesis Advantage keyboard fails after upgrading to systemd-221

wuxb wrote:

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-pci

I followed your instructions and now my external usb-keyboard is working properly! Thankyou for posting this!

Offline

#7 2015-06-24 12:35:54

grossws
Member
Registered: 2015-06-24
Posts: 3

Re: Kinesis Advantage keyboard fails after upgrading to systemd-221

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

#8 2015-06-24 18:36:12

geo909
Member
Registered: 2008-09-07
Posts: 309

Re: Kinesis Advantage keyboard fails after upgrading to systemd-221

For me this did the job while I wait for a fix:

# echo -1 > /sys/module/usbcore/parameters/autosuspend

Source:
https://osdir.com/ml/general/2015-06/msg34124.html

Offline

#9 2015-06-24 18:46:20

caotic
Member
Registered: 2009-09-23
Posts: 11

Re: Kinesis Advantage keyboard fails after upgrading to systemd-221

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

#10 2015-06-24 19:25:11

archuser26
Member
Registered: 2015-06-24
Posts: 2

Re: Kinesis Advantage keyboard fails after upgrading to systemd-221

foutrelis wrote:

Please test if the file attached to this comment fixes the issue:

https://bugs.archlinux.org/task/45427#comment136621

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

#11 2015-06-25 02:51:36

kdt3rd
Member
Registered: 2015-06-25
Posts: 1

Re: Kinesis Advantage keyboard fails after upgrading to systemd-221

foutrelis wrote:

Please test if the file attached to this comment fixes the issue:

https://bugs.archlinux.org/task/45427#comment136621

This fixes this issue for me too, thanks!

Offline

#12 2015-06-25 21:34:52

ForumVoice
Member
Registered: 2015-03-04
Posts: 5

Re: Kinesis Advantage keyboard fails after upgrading to systemd-221

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

Board footer

Powered by FluxBB