Skip to content

Instantly share code, notes, and snippets.

View deimi's full-sized avatar

Matthias Deimbacher deimi

View GitHub Profile
@deimi
deimi / psmouse.md
Last active July 27, 2021 21:00
Dell XPS15 9500 fix keyboard unresponsive after suspend

https://www.reddit.com/r/XPS/comments/nnsvji/my_experience_with_dell_xps_9500_manjaro_i3_linux/

On Linux, another issue that I've had is that after waking up from suspend, I couldn't use mouse and keyboard for about 3-6 seconds, even though system was awake. Running command: sudo rmmod psmouse fixed that issue for me. Now keyboard and mouse is instantly available after wake.

Blacklist module

For a permanent solution

echo "# Fix for 5sec unresponsive keyboard after suspend
@deimi
deimi / fan_control.txt
Last active November 10, 2022 07:20
Dell XPS15 9500 fan control
See also original https://www.kulik.io/2020/07/07/dell-xps-15-9500-fan-control/
-----------------------------------------------------------------------------------
Dell XPS 15 9500 fan control
René Kulik on 07.07.2020
A few days ago I bought a new generation Dell XPS 15 9500. My first impression is very positive. The build quality is decent and I had no problems installing and running Linux (Ubuntu 20.04.1) on it.
Still there was one thing which bothered me a lot. When running Ubuntu, the fans constantly turned on and off again in a 3 seconds interval. Regardless of whether something was processed or the laptop was idling.
  1. apt install bbswitch
  2. /etc/modprobe.d/bbswitch.conf
        options bbswitch load_state=0 unload_state=1
    To run bbswitch without bumblebeed on system startup, do not forget to add bbswitch to /etc/modules-load.d.
    nano /etc/modules-load.d
        bbswitch
@deimi
deimi / Propoint Linux Settings.md
Last active January 15, 2023 09:49
My personal Swiftpoint ProPoint settings

Buttons

Temporary change

xinput list
xinput set-button-map *id* 1 3 2 4 5 6 7 9 8 10

Permanent change

Add a custom X11 configuration

sudo su -