Results 1 to 5 of 5

Thread: Dell laptop will not reboot or shutdown if lid is closed

  1. #1
    Join Date
    Jul 2018
    Location
    Loma Linda, Mo
    Posts
    563

    Default Dell laptop will not reboot or shutdown if lid is closed

    Since upgrading from 15.2 to 15.3 none of my Dell 7490 laptops will reboot/shutdown it the lid is shut.
    You have to raise the lid and the command starts only then.

    Does not matter if you "shutdown" or "init 0" or "reboot" or "init 6"

    I vnc into these laptops to work on them.

    ssh into them to reboot/shutdown makes no difference.
    OpenSUSE 15.3 with VirtualBox VM's (XP, 10, Ubuntu MATE 20.04, OpenSUSE 15.3, Tumbleweed)
    Pi4 with Ubuntu MATE 20.04
    Unix since 1974 (pdp-11, Interdata, AT&T, Tandy, Convergent, Sun, IBM, NCR, and HP)
    Linux since 1995 (Mandrake, Fedora, CentOS, OpenSUSE)

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,478
    Blog Entries
    15

    Default Re: Dell laptop will not reboot or shutdown if lid is closed

    Quote Originally Posted by larryr View Post
    Since upgrading from 15.2 to 15.3 none of my Dell 7490 laptops will reboot/shutdown it the lid is shut.
    You have to raise the lid and the command starts only then.

    Does not matter if you "shutdown" or "init 0" or "reboot" or "init 6"

    I vnc into these laptops to work on them.

    ssh into them to reboot/shutdown makes no difference.
    Hi
    Look at the logind configuration (/etc/systemd/logind.conf) as it will suspend on lid closure. You will need to adjust as required, I prefer to set to ignore this on my laptops...
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Jul 2018
    Location
    Loma Linda, Mo
    Posts
    563

    Default Re: Dell laptop will not reboot or shutdown if lid is closed

    What do you set to fix it - all mine are # out

    remove the # on this line ?

    #LidSwitchIgnoreInhibited=yes

    that made no difference
    OpenSUSE 15.3 with VirtualBox VM's (XP, 10, Ubuntu MATE 20.04, OpenSUSE 15.3, Tumbleweed)
    Pi4 with Ubuntu MATE 20.04
    Unix since 1974 (pdp-11, Interdata, AT&T, Tandy, Convergent, Sun, IBM, NCR, and HP)
    Linux since 1995 (Mandrake, Fedora, CentOS, OpenSUSE)

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,478
    Blog Entries
    15

    Default Re: Dell laptop will not reboot or shutdown if lid is closed

    Quote Originally Posted by larryr View Post
    What do you set to fix it - all mine are # out

    remove the # on this line ?

    #LidSwitchIgnoreInhibited=yes

    that made no difference
    Hi
    The remmed out statements are default, so you unrem and changed to desired options, or create your own overrides in /etc/systemd/logind.conf.d/ (see man logind.conf)


    For my laptops, I use;

    Code:
    #HandleLidSwitch=suspend
    
    HandleLidSwitch=ignore
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5
    Join Date
    Jul 2018
    Location
    Loma Linda, Mo
    Posts
    563

    Default Re: Dell laptop will not reboot or shutdown if lid is closed

    That was the magic bullet - thank you
    OpenSUSE 15.3 with VirtualBox VM's (XP, 10, Ubuntu MATE 20.04, OpenSUSE 15.3, Tumbleweed)
    Pi4 with Ubuntu MATE 20.04
    Unix since 1974 (pdp-11, Interdata, AT&T, Tandy, Convergent, Sun, IBM, NCR, and HP)
    Linux since 1995 (Mandrake, Fedora, CentOS, OpenSUSE)

Posting Permissions

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