• 16ago
    Categories: Hardware & Software Commenti disabilitati

    Two small steps to fix the problems had in suspending and resuming, which can be noticed using Fedora on many Sony VAIO:

    1. System hangs after suspend/hybernate
    2. The keyboard is not responding after resume/thaw

    1. Avoid hang
    UPDATE 2010/12/13: As of Fedora 14,  a built in script will deal with the deactivation and subsequent reactivation of problematic modules. It's name is /usr/lib/pm-utils/sleep.d/75modules.

    It only needs to be setup by creating a configuration file:
    sudo nano /etc/pm/config.d/modules

    If you wish to know how to identify the problematic modules, fedoraproject wiki is the place to go. In my case SD card reader turned out to be the cause of the hang, so I specified the following content:

    2. Rebind keyboard

    Recently a kernel parameter was introduced to rebind keyboard after resume, putting the word end to this long term bug. So all you have to do is (UPDATE 2012/04/18 for grub2)

    sudo nano /etc/default/grub

    and append  atkbd.reset to the kernel line, like this:

    GRUB_CMDLINE_LINUX="... atkbd.reset"
    Don't forget to run grub2-mkconfig. Consequently, the system will take care of resetting the driver on resume.


Comments are closed.