Bug#524344: gnome-power-manager: adjusting brightness kills AltGr key behaviour

Norbert Preining preining at logic.at
Thu Apr 16 17:13:09 UTC 2009


Hi Josselin,

(adding you Cc, not sure if you get these emails after the reassignment,
if you want to be taken off please let me know)

On Do, 16 Apr 2009, preining wrote:
> > My guess would be gnome-settings-daemon or one of the libraries it uses
> > (libgnomekbd or libxklavier). Could you catch the keycode of Fn+F5/F6
> > with xev, with gnome-settings-daemon running, and without it?
> 
> with g-s-d running:
> 
> MappingNotify event, serial 49, synthetic NO, window 0x0,
>     request MappingKeyboard, first_keycode 8, count 248
> 
> MappingNotify event, serial 49, synthetic NO, window 0x0,
>     request MappingKeyboard, first_keycode 8, count 247
> 
> (serial value is increasing every time it happens)
> 
> Killing the g-s-d always restarts it immediately, no chance to collect
> the data.

Ok, it is even more mysterious.

I have now logged into a xterm failsafe and have started one by one the
various gnome thingies, g-p-m, g-s-d, gnome-panel, and still everything
works.

Only if I log into my normal gnome session it breaks.

Ahhhhh.

I have attached the ps ax output of the two: gnome-session.psax where it
breaks, and failsafe-and-gnome-progs.psax where it works.

I really do not understand that ...

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining at logic.at>        Vienna University of Technology
Debian Developer <preining at debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
I teleported home one night
With Ron and Sid and Meg.
Ron stole Meggie's heart away
And I got Sidney's leg.
                 --- A poem about matter transference beams.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy
-------------- next part --------------
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:01 init [2]  
    2 ?        S<     0:00 [kthreadd]
    3 ?        S<     0:00 [migration/0]
    4 ?        S<     0:00 [ksoftirqd/0]
    5 ?        S<     0:00 [migration/1]
    6 ?        S<     0:00 [ksoftirqd/1]
    7 ?        S<     0:00 [events/0]
    8 ?        S<     0:00 [events/1]
    9 ?        S<     0:00 [work_on_cpu/0]
   10 ?        S<     0:00 [work_on_cpu/1]
   11 ?        S<     0:00 [khelper]
  164 ?        S<     0:00 [kblockd/0]
  165 ?        S<     0:00 [kblockd/1]
  167 ?        S<     0:00 [kacpid]
  168 ?        S<     0:00 [kacpi_notify]
  250 ?        S<     0:00 [ata/0]
  251 ?        S<     0:00 [ata/1]
  252 ?        S<     0:00 [ata_aux]
  254 ?        S<     0:00 [ksuspend_usbd]
  259 ?        S<     0:00 [khubd]
  262 ?        S<     0:00 [kseriod]
  268 ?        S<     0:00 [kmmcd]
  276 ?        S<     0:00 [btaddconn]
  277 ?        S<     0:00 [btdelconn]
  335 ?        S      0:00 [pdflush]
  336 ?        S      0:00 [pdflush]
  337 ?        S<     0:00 [kswapd0]
  338 ?        S<     0:00 [aio/0]
  339 ?        S<     0:00 [aio/1]
  499 ?        S<     0:00 [scsi_eh_0]
  502 ?        S<     0:00 [scsi_eh_1]
  505 ?        S<     0:00 [scsi_eh_2]
  508 ?        S<     0:00 [scsi_eh_3]
  511 ?        S<     0:00 [scsi_eh_4]
  514 ?        S<     0:00 [scsi_eh_5]
  537 ?        S<     0:00 [pccardd]
  594 ?        S<     0:00 [wusbd]
  610 ?        S<     0:00 [kpsmoused]
  625 ?        S<     0:00 [kondemand/0]
  626 ?        S<     0:00 [kondemand/1]
  655 ?        S<     0:00 [kmemstick]
  661 ?        S<     0:00 [hid_compat]
 1457 ?        D<     0:02 [kjournald]
 1562 ?        S<s    0:00 udevd --daemon
 2386 ?        S<     0:00 [sony-laptop]
 2453 ?        S<     0:01 [iwlagn/0]
 2455 ?        S<     0:01 [iwlagn/1]
 2457 ?        S<     0:00 [phy0]
 2513 ?        S<     0:00 [hd-audio0]
 2770 ?        S<     0:00 [kstriped]
 2846 ?        Ss     0:00 /sbin/mount.ntfs-3g /dev/sda2 /xp -o rw,efaults,umask=000,fmask=000,dmask=000
 2855 ?        S<     0:00 [loop0]
 3352 ?        Sl     0:00 /usr/sbin/rsyslogd -c3
 3366 ?        Ss     0:00 /usr/sbin/acpid
 3376 ?        Ss     0:02 /usr/bin/dbus-daemon --system
 3390 ?        Ss     0:00 /usr/sbin/sshd
 3442 ?        S      0:00 /bin/sh /usr/bin/mysqld_safe
 3481 ?        Sl     0:04 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
 3482 ?        S      0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
 3964 ?        Ss     0:00 /usr/sbin/exim4 -bd -q30m
 4016 ?        S      0:00 /usr/sbin/hddtemp -d -l 127.0.0.1 -p 7634 -s | /dev/sg0 /dev/sda
 4044 ?        Ss     0:00 /usr/sbin/ifplugd -i eth0 -b -q -f -u0 -d10 -w -I
 4047 ?        Ss     0:00 /usr/sbin/incrond -f /etc/incron.conf
 4058 ?        Ss     0:00 /usr/sbin/inetd
 4072 ?        Ss     0:00 /usr/sbin/privoxy --pidfile /var/run/privoxy.pid --user privoxy /etc/privoxy/config
 4087 ?        Ss     0:01 /usr/sbin/nmbd -D
 4125 ?        Ss     0:00 /usr/sbin/smbd -D
 4135 ?        S      0:00 /usr/sbin/smbd -D
 4153 ?        S      0:00 /usr/sbin/smartd --pidfile /var/run/smartd.pid
 4179 ?        S      0:06 python /usr/share/wicd/wicd-daemon.py
 4192 ?        Ss     0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -u 110:120 -g
 4206 ?        Ss     0:01 /usr/sbin/hald
 4211 ?        Ssl    0:00 /usr/sbin/console-kit-daemon
 4274 ?        S      0:00 hald-runner
 4311 ?        S      0:00 /usr/lib/hal/hald-addon-rfkill-killswitch
 4314 ?        S      0:01 hald-addon-input: Listening on /dev/input/event9 /dev/input/event4 /dev/input/event0 /dev/input/event7 /dev/input/event3 /dev/input/event1 /dev/input/event8
 4350 ?        S      0:00 /usr/lib/hal/hald-addon-generic-backlight
 4369 ?        S      0:00 hald-addon-storage: polling /dev/sr0 (every 2 sec)
 4371 ?        S      0:00 /usr/lib/hal/hald-addon-cpufreq
 4373 ?        S      0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
 4384 ?        Ss     0:00 /usr/sbin/hcid -x -s
 4396 ?        S<     0:00 [krfcommd]
 4413 ?        Ss     0:00 /usr/sbin/gdm
 4422 ?        S      0:00 /usr/sbin/gdm
 4433 ?        Ss     0:00 /usr/sbin/cupsd
 4472 ?        Ss     0:00 /usr/sbin/atd
 4497 ?        Ss     0:00 /usr/sbin/cron
 4529 ?        S      0:01 python /usr/share/wicd/monitor.py
 4539 ?        Ss     0:00 /usr/sbin/apache2 -k start
 4654 ?        S      0:00 /usr/sbin/apache2 -k start
 4655 ?        S      0:00 /usr/sbin/apache2 -k start
 4657 ?        S      0:00 /usr/sbin/apache2 -k start
 4658 ?        S      0:00 /usr/sbin/apache2 -k start
 4659 ?        S      0:00 /usr/sbin/apache2 -k start
 4661 ?        S      0:00 /usr/bin/timidity -Os -iAD
 4672 tty1     Ss+    0:00 /sbin/getty 38400 tty1
 4673 tty2     Ss+    0:00 /sbin/getty 38400 tty2
 4674 tty3     Ss+    0:00 /sbin/getty 38400 tty3
 4675 tty4     Ss+    0:00 /sbin/getty 38400 tty4
 4676 tty5     Ss+    0:00 /sbin/getty 38400 tty5
 4677 tty6     Ss+    0:00 /sbin/getty 38400 tty6
 4746 ?        Ss     0:00 /sbin/dhclient eth0
 5180 ?        Ss     0:00 /usr/bin/system-tools-backends
 5233 ?        S      0:00 /usr/bin/perl /usr/share//system-tools-backends-2.0/scripts/SystemToolsBackends.pl -m Platform
20493 tty7     Ss+    0:02 /usr/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
20514 ?        S      0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
20529 ?        Ssl    0:00 /usr/bin/gnome-session
20651 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/seahorse-agent --execute /usr/bin/gnome-session
20657 ?        Ss     0:00 /usr/bin/dbus-daemon --fork --print-pid 6 --print-address 9 --session
20659 ?        S      0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/seahorse-agent --execute /usr/bin/gnome-session
20684 ?        Ss     0:00 /usr/bin/seahorse-agent --execute /usr/bin/gnome-session
20698 ?        S      0:00 /usr/lib/gvfs/gvfsd
20710 ?        S      0:00 /usr/lib/libgconf2-4/gconfd-2
20716 ?        Ssl    0:00 gnome-settings-daemon
20729 ?        S      0:00 /usr/bin/metacity --sm-client-id=default0
20730 ?        S      0:00 gnome-panel --sm-client-id default1
20734 ?        S      0:00 nautilus --no-default-window --sm-client-id default2
20738 ?        Ss     0:00 gnome-screensaver
20740 ?        Ssl    0:00 /usr/lib/bonobo-activation/bonobo-activation-server --ac-activate --ior-output-fd=17
20747 ?        S      0:00 /usr/bin/python /usr/bin/smart-notifier
20753 ?        S      0:00 gnome-obex-server
20764 ?        S      0:00 /usr/lib/vino/vino-server --sm-disable
20765 ?        S      0:00 python /usr/share/wicd/wicd-client.py
20770 ?        S      0:00 bluetooth-applet --singleton
20785 ?        S      0:00 /usr/bin/python /usr/bin/system-config-printer-applet
20787 ?        S      0:00 /usr/bin/perl /usr/share//system-tools-backends-2.0/scripts/SystemToolsBackends.pl -m SMBConfig
20790 ?        Sl     0:00 /usr/lib/gvfs/gvfs-hal-volume-monitor
20791 ?        S      0:00 /usr/bin/perl /usr/share//system-tools-backends-2.0/scripts/SystemToolsBackends.pl -m NFSConfig
20799 ?        S      0:00 /usr/bin/perl /usr/bin/signify --kill --fifo=/tmp/.signature-preining
20804 ?        Sl     0:00 touchfreeze
20806 ?        S      0:00 gnome-power-manager
20812 ?        S      0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
20820 ?        S      0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.1 /org/gtk/gvfs/exec_spaw/0
20825 ?        Ss     0:00 /usr/lib/gnome-volume-manager/gnome-volume-manager --sm-disable
20844 ?        S      0:00 /usr/lib/gnome-applets/gnome-keyboard-applet --oaf-activate-iid=OAFIID:GNOME_KeyboardApplet_Factory --oaf-ior-fd=20
20862 ?        S      0:00 /usr/lib/gvfs/gvfsd-burn --spawner :1.1 /org/gtk/gvfs/exec_spaw/1
20868 ?        S      0:00 /usr/lib/gnome-applets/cpufreq-applet --oaf-activate-iid=OAFIID:GNOME_CPUFreqApplet_Factory --oaf-ior-fd=21
20878 ?        Sl     0:00 gnome-terminal
20881 ?        S      0:00 gnome-pty-helper
20882 pts/0    Ss     0:00 bash
20925 pts/0    R+     0:00 ps ax
-------------- next part --------------
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:01 init [2]  
    2 ?        S<     0:00 [kthreadd]
    3 ?        S<     0:00 [migration/0]
    4 ?        S<     0:00 [ksoftirqd/0]
    5 ?        S<     0:00 [migration/1]
    6 ?        S<     0:00 [ksoftirqd/1]
    7 ?        S<     0:00 [events/0]
    8 ?        S<     0:00 [events/1]
    9 ?        S<     0:00 [work_on_cpu/0]
   10 ?        S<     0:00 [work_on_cpu/1]
   11 ?        S<     0:00 [khelper]
  164 ?        S<     0:00 [kblockd/0]
  165 ?        S<     0:00 [kblockd/1]
  167 ?        S<     0:00 [kacpid]
  168 ?        S<     0:01 [kacpi_notify]
  250 ?        S<     0:00 [ata/0]
  251 ?        S<     0:00 [ata/1]
  252 ?        S<     0:00 [ata_aux]
  254 ?        S<     0:00 [ksuspend_usbd]
  259 ?        S<     0:00 [khubd]
  262 ?        S<     0:00 [kseriod]
  268 ?        S<     0:00 [kmmcd]
  276 ?        S<     0:00 [btaddconn]
  277 ?        S<     0:00 [btdelconn]
  335 ?        S      0:00 [pdflush]
  336 ?        S      0:00 [pdflush]
  337 ?        S<     0:00 [kswapd0]
  338 ?        S<     0:00 [aio/0]
  339 ?        S<     0:00 [aio/1]
  499 ?        S<     0:00 [scsi_eh_0]
  502 ?        S<     0:01 [scsi_eh_1]
  505 ?        S<     0:00 [scsi_eh_2]
  508 ?        S<     0:00 [scsi_eh_3]
  511 ?        S<     0:00 [scsi_eh_4]
  514 ?        S<     0:00 [scsi_eh_5]
  537 ?        S<     0:00 [pccardd]
  594 ?        S<     0:00 [wusbd]
  610 ?        S<     0:00 [kpsmoused]
  625 ?        S<     0:00 [kondemand/0]
  626 ?        S<     0:00 [kondemand/1]
  655 ?        S<     0:00 [kmemstick]
  661 ?        S<     0:00 [hid_compat]
 1457 ?        S<     0:02 [kjournald]
 1562 ?        S<s    0:00 udevd --daemon
 2386 ?        S<     0:00 [sony-laptop]
 2453 ?        S<     0:01 [iwlagn/0]
 2455 ?        S<     0:01 [iwlagn/1]
 2457 ?        S<     0:00 [phy0]
 2513 ?        S<     0:00 [hd-audio0]
 2770 ?        S<     0:00 [kstriped]
 2846 ?        Ss     0:00 /sbin/mount.ntfs-3g /dev/sda2 /xp -o rw,efaults,umask=000,fmask=000,dmask=000
 2855 ?        S<     0:00 [loop0]
 3352 ?        Sl     0:00 /usr/sbin/rsyslogd -c3
 3366 ?        Ss     0:00 /usr/sbin/acpid
 3376 ?        Ss     0:02 /usr/bin/dbus-daemon --system
 3390 ?        Ss     0:00 /usr/sbin/sshd
 3442 ?        S      0:00 /bin/sh /usr/bin/mysqld_safe
 3481 ?        Sl     0:04 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
 3482 ?        S      0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
 3964 ?        Ss     0:00 /usr/sbin/exim4 -bd -q30m
 4016 ?        S      0:00 /usr/sbin/hddtemp -d -l 127.0.0.1 -p 7634 -s | /dev/sg0 /dev/sda
 4044 ?        Ss     0:00 /usr/sbin/ifplugd -i eth0 -b -q -f -u0 -d10 -w -I
 4047 ?        Ss     0:00 /usr/sbin/incrond -f /etc/incron.conf
 4058 ?        Ss     0:00 /usr/sbin/inetd
 4072 ?        Ss     0:00 /usr/sbin/privoxy --pidfile /var/run/privoxy.pid --user privoxy /etc/privoxy/config
 4087 ?        Ss     0:01 /usr/sbin/nmbd -D
 4125 ?        Ss     0:00 /usr/sbin/smbd -D
 4135 ?        S      0:00 /usr/sbin/smbd -D
 4153 ?        S      0:00 /usr/sbin/smartd --pidfile /var/run/smartd.pid
 4179 ?        S      0:07 python /usr/share/wicd/wicd-daemon.py
 4192 ?        Ss     0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -u 110:120 -g
 4206 ?        Ss     0:01 /usr/sbin/hald
 4211 ?        Ssl    0:00 /usr/sbin/console-kit-daemon
 4274 ?        S      0:00 hald-runner
 4311 ?        S      0:00 /usr/lib/hal/hald-addon-rfkill-killswitch
 4314 ?        S      0:01 hald-addon-input: Listening on /dev/input/event9 /dev/input/event4 /dev/input/event0 /dev/input/event7 /dev/input/event3 /dev/input/event1 /dev/input/event8
 4350 ?        S      0:00 /usr/lib/hal/hald-addon-generic-backlight
 4369 ?        S      0:00 hald-addon-storage: polling /dev/sr0 (every 2 sec)
 4371 ?        S      0:00 /usr/lib/hal/hald-addon-cpufreq
 4373 ?        S      0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
 4384 ?        Ss     0:00 /usr/sbin/hcid -x -s
 4396 ?        S<     0:00 [krfcommd]
 4413 ?        Ss     0:00 /usr/sbin/gdm
 4422 ?        S      0:00 /usr/sbin/gdm
 4433 ?        Ss     0:00 /usr/sbin/cupsd
 4472 ?        Ss     0:00 /usr/sbin/atd
 4497 ?        Ss     0:00 /usr/sbin/cron
 4529 ?        S      0:01 python /usr/share/wicd/monitor.py
 4539 ?        Ss     0:00 /usr/sbin/apache2 -k start
 4654 ?        S      0:00 /usr/sbin/apache2 -k start
 4655 ?        S      0:00 /usr/sbin/apache2 -k start
 4657 ?        S      0:00 /usr/sbin/apache2 -k start
 4658 ?        S      0:00 /usr/sbin/apache2 -k start
 4659 ?        S      0:00 /usr/sbin/apache2 -k start
 4661 ?        S      0:00 /usr/bin/timidity -Os -iAD
 4672 tty1     Ss+    0:00 /sbin/getty 38400 tty1
 4673 tty2     Ss+    0:00 /sbin/getty 38400 tty2
 4674 tty3     Ss+    0:00 /sbin/getty 38400 tty3
 4675 tty4     Ss+    0:00 /sbin/getty 38400 tty4
 4676 tty5     Ss+    0:00 /sbin/getty 38400 tty5
 4677 tty6     Ss+    0:00 /sbin/getty 38400 tty6
 4746 ?        Ss     0:00 /sbin/dhclient eth0
 5180 ?        Ss     0:00 /usr/bin/system-tools-backends
 5233 ?        S      0:00 /usr/bin/perl /usr/share//system-tools-backends-2.0/scripts/SystemToolsBackends.pl -m Platform
20799 ?        S      0:00 /usr/bin/perl /usr/bin/signify --kill --fifo=/tmp/.signature-preining
21005 tty7     Ss+    0:06 /usr/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
21156 ?        S      0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
21168 ?        Ss     0:00 /usr/bin/xterm -geometry 80x24-0-0
21278 pts/0    Ss     0:00 bash
21312 pts/0    S      0:00 twm
21315 pts/0    S      0:00 xterm -ls
21316 pts/1    Ss     0:00 -bash
21358 ?        Ssl    0:00 gnome-settings-daemon
21362 ?        S      0:00 dbus-launch --autolaunch 18315cca7c209ca4ccca53bf49e22d7d --binary-syntax --close-stderr
21363 ?        Ss     0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
21365 ?        S      0:00 /usr/lib/libgconf2-4/gconfd-2
21381 ?        Ss     0:00 gnome-screensaver
21384 pts/0    S      0:00 gnome-power-manager
21542 pts/0    S      0:00 gnome-panel
21545 ?        Ssl    0:00 /usr/lib/bonobo-activation/bonobo-activation-server --ac-activate --ior-output-fd=18
21555 ?        S      0:00 /usr/lib/gnome-applets/gnome-keyboard-applet --oaf-activate-iid=OAFIID:GNOME_KeyboardApplet_Factory --oaf-ior-fd=18
21558 ?        S      0:00 /usr/lib/gnome-applets/cpufreq-applet --oaf-activate-iid=OAFIID:GNOME_CPUFreqApplet_Factory --oaf-ior-fd=19
21909 pts/1    S+     0:00 ssh logic
22121 pts/0    R+     0:00 ps ax


More information about the pkg-gnome-maintainers mailing list