# Dell XPS 15 9520 Archlinux Compatability Modifications

I'll update this list regularly, so I have a history of personalization I make to my OS in case I ever need a fresh install.

* **Enable S3 Deep Sleep**
    
    * BIOS
        
        * Disable TPM, SGX, SMM, and
            
        * Absolute On the Power =- lid turns on machine
            
        * disable early sign of life
            
* /etc/default/grub
    
    ```bash
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ibt=off  mem_sleep_defualt=deep intel_pstate=active"
    ```
    
* /etc/bluetooth/main.conf
    
    * `Experimental=true`
        

### Software

```bash
libinput xorg-xinput xf86-input-libinput xdotool
```

* powertop
    
    * `powertop --calibrate`
        
* `cpupower` as service
    
* AURs
    
    * mkinitcpio-firmware
        
        * get rid of the annoying 'WARNING: Possibly missing firmware for module:' messages
            
    * v4l2-ctl
        
        * webcam
            
* KDE
    
    * add a 5 second delay to the .desktop file of all applications that autostart
        
        * `Exec=sleep 5 && /usr/bin/protonmail-bridge`
            

### Notes

"`Kernels between 5.17 and 5.18.3 (included) can not suspend properly when Bluetooth is enabled`" - "Bug fixed in linux-5.19.2" [link](https://bugzilla.kernel.org/show_bug.cgi?id=215768)
