althaser <altha...@gmail.com> writes: > Could you please still reproduce this issue with newer > gnome-settings-daemon version like 3.4.2+git20121218.7c1322-3+deb7u3 or > 3.8.5-2 ?
I upgraded the laptop to Wheezy and the bug no longer occurs. Test A: 1. Disable the touchpad by pressing the touchpad toggle button. The button lights up. 2. echo disk > /sys/power/state 3. Wait until Linux saves the pages to disk and turns the screen off. 4. Wait until the fan turns off and the touchpad toggle button is no longer lit. 5. Press the power button. The touchpad toggle button lights up; the BIOS apparently remembers the touch pad was disabled. 6. Enter the Linux disk encryption passphrase. 7. Wait until GNOME comes back up. The touchpad toggle button stays lit. 8. Try to use the touchpad. It correctly remains disabled. 9. Press the touchpad toggle button. The light goes out, and the onscreen indicator shows the touchpad is enabled. 10. Try to use the touchpad. It works correctly. Test B: 1-5. As in test A. 6. At the passphrase prompt, hold the power button for a few seconds so the laptop turns off. 7. Press the power button again. The touchpad toggle button does not light up. 8. Enter the Linux disk encryption passphrase. 9. Wait until GNOME comes back up. The touchpad toggle button stays dim. 10. Try to use the touchpad. It works correctly. 11. Press the touchpad toggle button. It lights up, and the onscreen indicator shows the touchpad is disabled. 12. Try to use the touchpad. It correctly remains disabled. I can no longer reach the failure mode where the touchpad remains disabled no matter how many times I press the button. How it was fixed: The touchpad toggle button used to generate the XF86TouchpadToggle keysym, but in Wheezy, it instead generates XF86TouchpadOff or XF86TouchpadOn. When gnome-settings-daemon 3.4.2+git20121218.7c1322-3+deb7u3 receives XF86TouchpadOff or XF86TouchpadOn, it shows the new state on the screen but does not save the state anywhere.¹² Support for XF86TouchpadOff or XF86TouchpadOn was first included in GNOME_SETTINGS_DAEMON_2_91_4.³ The experimental Debian package of gnome-settings-daemon 2.91.5.1-1 includes that change. However, I'm not sure it'd be right to mark the bug as having been fixed in that version, because the fix required changes in Linux and in the X server too. All of them are in Wheezy though. ¹ https://git.gnome.org/browse/gnome-settings-daemon/tree/plugins/media-keys/gsd-media-keys-manager.c?h=gnome-3-4&id=7c13221aa9081fff70ab258a5e86a78506cf7359#n1820 ² https://git.gnome.org/browse/gnome-settings-daemon/tree/plugins/media-keys/shortcuts-list.h?h=gnome-3-4&id=7c13221aa9081fff70ab258a5e86a78506cf7359#n91 ³ https://git.gnome.org/browse/gnome-settings-daemon/commit/?h=gnome-3-0&id=1c8f64d1dc6beb7d27a6dce74fa29e27e8c34583
pgpXm4ZDLuzPR.pgp
Description: PGP signature