Skip to content

Dell XPS 9510 and the linux experience #14

Closed

Description

@utterances-bot

Dell XPS 9510 and the linux experience | Ben Mezger

I’ve recently decided to migrate back to Linux after some years of using a MacBook. I haven’t distanced myself from Linux while using the Mac, as I had a Thinkpad x320 by my side all the time running Archlinux.
I wanted something much more powerful than the Macbook, along with a lightweight design and something that would last for the next five years.
I’ve got myself a Dell XPS, with the following specification:

https://benmezger.github.io/notes/dell_xps_9510_and_the_linux_experience/

Activity

  1. dannycoulombe commented on May 14, 2022

    @dannycoulombe

    Any luck with the hibernate/suspend issue?

  2. dannycoulombe commented on May 15, 2022

    @dannycoulombe

    I found the root cause of the issue (at least on my XPS 9510). Closing the lid while having bluetooth enabled was somehow waking the computer, so I managed to test a fix of the issue just by disabling bluetooth in Gnome. Closing the lid now enter in S3 deep sleep.

    So I wrote a script to disable bluetooth and reenable it whenever I close/open the lid.

    1. Create a script with the following command rfkill block bluetooth and make it executable : chmod +x YOUR_SCRIPT_NAME
    1. Create a service
    [Unit]
    Description=User suspend actions
    Before=suspend.target
    
    [Service]
    User=%I
    ExecStart=/home/YOUR_USERNAME/YOUR_SCRIPT_NAME
    
    [Install]
    WantedBy=sleep.target
    
    1. Enable service
      sudo systemctl enable suspend@YOUR_USERNAME

    2. Create service

    [Unit]
    Description=User suspend actions
    Before=suspend.target
    
    [Service]
    User=%I
    ExecStart=/home/YOUR_USERNAME/YOUR_SCRIPT_NAME
    
    [Install]
    WantedBy=suspend.target
    
    1. Enable service
      sudo systemctl enable resume@YOUR_USERNAME
  3. benmezger commented on Jun 17, 2022

    @benmezger
    Owner

    @dannycoulombe I managed to get it working days before my XPS decided to die, so I couldn't get this post updated. I use LUKS with an encrypted swap partition, and it turns out I didn't enable the resume [1] hook in my mkinitcpio config and some other things. These are the file changes I needed to do.

  4. Repository owner deleted a comment from arielfernandes on Jun 17, 2022
  5. Repository owner locked and limited conversation to collaborators on Jun 19, 2026
  6. converted this issue into a discussion #32 on Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions