Results 1 to 6 of 6

Thread: Laptop keyboard not working after resume from sleep/suspend.

  1. #1
    Join Date
    Jul 2011
    Location
    Alpharetta, Georgia, USA
    Posts
    289

    Default Laptop keyboard not working after resume from sleep/suspend.

    Hello,

    I have been running OpenSUSE on a System 76 Darter laptop for the last several years on OpenSUSE 13.1, 13.2 and now Leap 42.1. I have never had a problem and everything has worked perfectly until last week when the keyboard stopped working properly after resuming from sleep/suspend (probably because of a software update). Something wonky is going on with the keyboard, however, I am able to get the keyboard to start working properly by pressing the Num Lock key twice. Pressing the Num Lock key once puts the keyboard into Num Lock mode and pressing it again turns Num Lock off and goes back to "regular" mode. It appears that the only keys affected by this are the Num Lock character keys such as I, J, K, M, etc. As best as I can tell, those keys appear to be generating an escaped sequence following resume from suspend until I press the Num Lock key twice. My login screen is presented upon resume from suspend and so I cannot determine what characters these keys are generating. Very odd....

    So, any ideas on how to fix this? I think that systemd will execute a script on resume from suspend if you put the script in /usr/lib/systemd/system-sleep. Therefore, I created the following script as /usr/lib/systemd/system-sleep/numlock.sh:

    Code:
    #! /bin/sh
    numlockx on
    numlockx off
    I set the file to be executable with chmod a+x, however, it doesn't work to fix this problem. Any suggestions would be appreciated.

    Thanks,

    Gordon
    Laptop #1: OpenSUSE Leap 15.0 (x86_64) | HP ZBook 17 G2 (17")
    Laptop #2: OpenSUSE Leap 15.0 (x86_64) | System76 Darter (14")

  2. #2

    Default Re: Laptop keyboard not working after resume from sleep/suspend.

    follow those steps:
    1- sudo gedit /etc/default/grub
    2- find "GRUB_CMDLINE_LINUX_RECOVERY=single" then press enter after that past this "GRUB_CMDLINE_LINUX_DEFAULT="quiet splash atkbd.reset"
    [IMG][/IMG]

    3-then apply this command to update your grub configuration sudo grub2-mkconfig -o /boot/grub2/grub.cfg
    4- reboot your laptop.

  3. #3
    Join Date
    Jul 2011
    Location
    Alpharetta, Georgia, USA
    Posts
    289

    Default Re: Laptop keyboard not working after resume from sleep/suspend.

    Hi elia,

    Thanks very much for your suggestion, however, that did not fix the problem. Let me know if you or anybody else has any other suggestions.

    Thanks again,

    Gordon
    Laptop #1: OpenSUSE Leap 15.0 (x86_64) | HP ZBook 17 G2 (17")
    Laptop #2: OpenSUSE Leap 15.0 (x86_64) | System76 Darter (14")

  4. #4
    Join Date
    Jun 2009
    Location
    Mangfall, Germany
    Posts
    1,507

    Default Re: Laptop keyboard not working after resume from sleep/suspend.

    hi,

    not sure if this its related

    after latest update, its not possible to login after Suspend or Hibernate

    after several attempts the screen states its impossible to login directly
    advises cmd
    ctl-alt-f1 for a terminal
    then after logging as user, use cmd
    sudo loginctl unlock-sessions
    then ctl-alt-f7 for the gui (which works)

    not sure if this is a bug or the system is hacked

    cheers

    config, grub2, sddm, kwin, kde

  5. #5
    Join Date
    Jul 2011
    Location
    Alpharetta, Georgia, USA
    Posts
    289

    Default Re: Laptop keyboard not working after resume from sleep/suspend.

    OK, I figured out what the problem is. Its a new kernel that doesn't work with my hardware for resuming from suspend. The new kernel that does not work is 4.1.31-30-default whereas the previous kernel works which is 4.1.27-27-default. In fact, all previous kernels have worked since I purchased the System76 Darter laptop almost 3 years ago. I believe that the new 4.1.31-30-default kernel was added within the last 2 weeks. So, I will be filing a bug report on that kernel version.

    FYI,

    Gordon
    Laptop #1: OpenSUSE Leap 15.0 (x86_64) | HP ZBook 17 G2 (17")
    Laptop #2: OpenSUSE Leap 15.0 (x86_64) | System76 Darter (14")

  6. #6
    Join Date
    Jul 2011
    Location
    Alpharetta, Georgia, USA
    Posts
    289

    Default Re: Laptop keyboard not working after resume from sleep/suspend.

    I created a bug for this problem here:

    https://bugzilla.opensuse.org/show_bug.cgi?id=1001785

    The problem is fixed with the 4.1.33-3.1 kernel-default which I installed from this repo:
    http://download.opensuse.org/reposit...42.1/standard/

    The maintainer has stated that this fix will be released in the standard Leap 42.1 repos sometime in October.

    FYI,

    Gordon
    Laptop #1: OpenSUSE Leap 15.0 (x86_64) | HP ZBook 17 G2 (17")
    Laptop #2: OpenSUSE Leap 15.0 (x86_64) | System76 Darter (14")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •