#667091 xfce4-settings: Keyboard autorepeat delay and rate are lost after waking up from suspend

Package:
xfce4-settings
Source:
xfce4-settings
Description:
graphical application for managing Xfce settings
Submitter:
Sven Marnach
Date:
2013-12-06 19:51:05 UTC
Severity:
normal
#667091#5
Date:
2012-04-03 22:17:38 UTC
From:
To:
I configured the keyboard autorepeat rate and delay via the
xfce4-keyboard-settings dialogue.  This works fine, but the settings
are lost after waking up from sleep (ACPI state S3, if that matters).
After a reboot, the keyboard is configured correctly.

I've got no idea which package this bug should be assigned to, so I
assigned it to the one containing the xfce4-keyboard-settings
executable.

Cheers,
    Sven

#667091#10
Date:
2012-07-25 18:44:52 UTC
From:
To:
I have the same problem, also with xfce.

In my case, the hibernate command (version 2.0+15+g88d54a8-1),
unloads/reloads ehci_hcd on suspend/resume, which is what my keyboard is
attached to.

In /etc/hibernate/blacklisted-modules it says
ehci_hcd	2.6.0	2.6.14

Even though I use a newer kernel (3.2.0-3-amd64), it still does this.
After commenting out this line, the keyboard autorepeat settings are
preserved after suspend/resume.

The autorepeat settings are still lost when hot unplugging/replugging
the keyboard, which IMO, in that case, should be reapplied by xfce or
other. But that is a matter of opinion.

I assume (at least in my case) it is also a bug in hibernate, which
maybe can't parse the new Linux 3.x version format. But I leave it to
someone else to judge that.

#667091#15
Date:
2012-07-25 19:24:47 UTC
From:
To:
Sorry to disturb you xfce people, but for completeness sake, the (in my case related) bug report to hibernate is #682797.
#667091#20
Date:
2013-05-17 13:49:40 UTC
From:
To:
I am still suffering from this bug.

The problem seems to be because when a keyboard is plugged in, X configures
it, but xfce does not.

gnome-settings-daemon had to fix a similar bug, see here:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/427168

at the moment, I have to always run xset after plugging in my keyboard, as
xfce will not adjust the settings until you move the little slider-dragger
thing.

I'm using Wheezy-xfce4

cheers,
Paul

#667091#25
Date:
2013-12-06 19:46:41 UTC
From:
To:
I installed stock Ubuntu 13.04 and afterward installed Xfce. I'm still
affected by this bug, where resuming from suspend will reset the keyboard
repeat rate and delay.

Does anyone have a workaround? Running an xset script on
resume-from-suspend or something?