Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317847 - x11-base/xorg-server-1.7.6, xset -r settings are forgotten after a suspend/resume
Summary: x11-base/xorg-server-1.7.6, xset -r settings are forgotten after a suspend/re...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-29 23:25 UTC by Raphaël Barrois
Modified: 2010-05-19 08:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raphaël Barrois 2010-04-29 23:25:47 UTC
I manually (in my .xinitrc) disable keyboard auto repeat for some keys.

After a suspend/resume, those settings are lost.

Reproducible: Always

Steps to Reproduce:
1. xset -r 24 # disables auto-repeat for key 'a'
2. Make sure auto-repeat is disabled
3. Suspend to ram : echo -n 'mem' > /sys/power/state
4. Resume system : autorepeat for key 'a' is on again

Actual Results:  
keyboard auto-repeat settings are forgotten

Expected Results:  
keyboard auto-repeat should be remembered across a system suspend/resume

I am using fluxbox, launched through a custom xinit script. The problem still appears when doing it "manually" in a shell.
I ran an emerge -e system xorg-server two days ago.

Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7-xelway x86_64)                                                                     
=================================================================                                                                                                                  
                        System Settings                                                                                                                                            
=================================================================                                                                                                                  
System uname: Linux-2.6.32-gentoo-r7-xelway-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-1.12.13                                                                  
Timestamp of tree: Sun, 25 Apr 2010 20:00:01 +0000                                                                                                                                 
distcc 3.1 x86_64-pc-linux-gnu [enabled]                                                                                                                                           
ccache version 2.4 [enabled]                                                                                                                                                       
app-shells/bash:     4.0_p37                                                                                                                                                       
dev-java/java-config: 2.1.10                                                                                                                                                       
dev-lang/python:     2.6.4-r1                                                                                                                                                      
dev-util/ccache:     2.4-r7                                                                                                                                                        
dev-util/cmake:      2.6.4-r3                                                                                                                                                      
sys-apps/baselayout: 1.12.13                                                                                                                                                       
sys-apps/sandbox:    1.6-r2                                                                                                                                                        
sys-devel/autoconf:  2.13, 2.63-r1                                                                                                                                                 
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1                                                                                                                                      
sys-devel/binutils:  2.18-r3                                                                                                                                                       
sys-devel/gcc:       4.3.4                                                                                                                                                         
sys-devel/gcc-config: 1.4.1                                                                                                                                                        
sys-devel/libtool:   2.2.6b                                                                                                                                                        
virtual/os-headers:  2.6.30-r1                                                                                                                                                     
ACCEPT_KEYWORDS="amd64"                                                                                                                                                            
ACCEPT_LICENSE="* -@EULA @FREE dlj-1.1 skype-eula PUEL"                                                                                                                            
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                                       
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --ask"
FEATURES="assume-digests ccache distcc distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr en en_GB en_US"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/xelnor /usr/local/portage/layman/binet_reseau /usr/local/portage/layman/xelnor /usr/local/portage/layman/binet_reseau /usr/local/portage /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 bash-completion berkdb bluetooth branding bzip2 cairo calendar cdr cli consolekit cracklib crypt cups cvs cxx dbus doc documentation dri dts dv dvb dvd dvdr emboss encode examples exif fam ffmpeg firefox flac fortran gdbm gif git gpm gtk hal hddtemp iconv ieee1394 imap ipod ipv6 java jpeg kerberos lcms ldap libcaca libnotify lm_sensors logrotate mad matroska mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nntp nptl nptlonly ogg opengl openmp pam pango pcre pdf perl php png ppds pppd python qt3support qt4 quicktime readline reflection resolvconf rtsp samba sdl session socks5 spell spl sse sse2 ssl startup-notification subversion svg sysfs tcpd threads tiff truetype unicode usb v4l v4l2 vcd vhosts vim-pager vim-syntax vorbis x264 xanim xcb xcomposite xinerama xml xorg xosd xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en en_GB en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

x11-base/xorg-server-1.7.6 was built with the following:
USE="hal ipv6 (multilib) nptl sdl xorg -debug -dmx -kdrive -minimal -tslib"
LDFLAGS="-Wl,-O1 -Wl,-z,lazy"
Comment 1 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-05-05 09:44:07 UTC
Please paste your "emerge -pv xset" output. 
Comment 2 Raphaël Barrois 2010-05-05 10:15:15 UTC
(In reply to comment #1)
> Please paste your "emerge -pv xset" output. 
> 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-apps/xset-1.1.0  USE="-debug" 0 kB

emerge --info xset (package part) :
=================================================================
                        Package Settings
=================================================================

x11-apps/xset-1.1.0 was built with the following:
USE="(multilib) -debug"
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2010-05-19 08:28:30 UTC
This sounds like a core-code bug. Please file a bug upstream [1] and paste the URL so we can track the issue directly.

Thanks

[1] https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2010-05-19 08:28:40 UTC
reopening