MX-17.1 on Dell XPS 13

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
User avatar
Jerry3904
Administrator
Posts: 21940
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-17.1 on Dell XPS 13

#21 Post by Jerry3904 »

Pfeifend sauber:

Code: Select all

$ sudo update-grub
[sudo] password for jb: 
Generating grub configuration file ...
using custom appearance settings
Found background image: /usr/share/backgrounds/MXLinux/grub/MX-Gold1080P.png
Found linux image: /boot/vmlinuz-4.18.0-14.1-liquorix-amd64
Found initrd image: /boot/initrd.img-4.18.0-14.1-liquorix-amd64
Found linux image: /boot/vmlinuz-4.15.0-1-amd64
Found initrd image: /boot/initrd.img-4.15.0-1-amd64
Found memtest86+ image: /boot/memtest86+.bin
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
done
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
fehlix
Developer
Posts: 10375
Joined: Wed Apr 11, 2018 5:09 pm

Re: MX-17.1 on Dell XPS 13

#22 Post by fehlix »

Jerry3904 wrote: Sun Oct 28, 2018 12:47 pm Pfeifend sauber:

Code: Select all

$ sudo update-grub
[sudo] password for jb: 
Generating grub configuration file ...
using custom appearance settings
Found background image: /usr/share/backgrounds/MXLinux/grub/MX-Gold1080P.png
Found linux image: /boot/vmlinuz-4.18.0-14.1-liquorix-amd64
Found initrd image: /boot/initrd.img-4.18.0-14.1-liquorix-amd64
Found linux image: /boot/vmlinuz-4.15.0-1-amd64
Found initrd image: /boot/initrd.img-4.15.0-1-amd64
Found memtest86+ image: /boot/memtest86+.bin
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
done
Hmm, something is missing:
Can you check x-bit of/etc/grub.d/30_uefi-firmware

Code: Select all

ls -al  /etc/grub.d/30_uefi-firmware
And if unset, do

Code: Select all

sudo chmod +x /etc/grub.d/30_uefi-firmware
sudo update-grub
Reason: 30_uefi-firmware errored, in some UEFI's and would not allow to boot in into MX after installation.
Thanks
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Jerry3904
Administrator
Posts: 21940
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-17.1 on Dell XPS 13

#23 Post by Jerry3904 »

Code: Select all

-rwxr-xr-x 1 root root 1416 Oct 15 08:37 /etc/grub.d/30_uefi-firmware
Remember that I needed to use grub2dos, since no grub would launch after installation.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
fehlix
Developer
Posts: 10375
Joined: Wed Apr 11, 2018 5:09 pm

Re: MX-17.1 on Dell XPS 13

#24 Post by fehlix »

Jerry3904 wrote: Sun Oct 28, 2018 1:11 pm

Code: Select all

-rwxr-xr-x 1 root root 1416 Oct 15 08:37 /etc/grub.d/30_uefi-firmware
Remember that I needed to use grub2dos, since no grub would launch after installation.
OK, last one, would this reading of UEFI-firmware produce any value

Code: Select all

printf %x \'"$(sudo cat /sys/firmware/efi/vars/OsIndicationsSupported-8be4df61-93ca-11d2-aa0d-00e098032b8c/data | cut -b1)"
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Jerry3904
Administrator
Posts: 21940
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-17.1 on Dell XPS 13

#25 Post by Jerry3904 »

Code: Select all

$ printf %x \'"$(sudo cat /sys/firmware/efi/vars/OsIndicationsSupported-8be4df61-93ca-11d2-aa0d-00e098032b8c/data | cut -b1)"
[sudo] password for jb: 
cat: /sys/firmware/efi/vars/OsIndicationsSupported-8be4df61-93ca-11d2-aa0d-00e098032b8c/data: No such file or directory
BTW: with this kernel the laptop suspends correctly, and comes out of it with no residual problems as far as I can see.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
fehlix
Developer
Posts: 10375
Joined: Wed Apr 11, 2018 5:09 pm

Re: MX-17.1 on Dell XPS 13

#26 Post by fehlix »

Jerry3904 wrote: Sun Oct 28, 2018 1:36 pm cat: /sys/firmware/efi/vars/OsIndicationsSupported-8be4df61-93ca-11d2-aa0d-00e098032b8c/data: No such file or directory
[/code]
Ok, thanks. So the DELL UEFI-fw does not provide an option to boot into fw-setup from Grub,
and in this case was not the issue for not booting into MX in the first place.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Stevo
Developer
Posts: 12837
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX-17.1 on Dell XPS 13

#27 Post by Stevo »

Can you see any difference in the battery life between the Debian backported 4.15 kernel and the Liquorix one?

I can't really see any myself, though it's said that the Liquorix should use more power overall, due to its lower latency and because it uses cpufreq instead of p_state for CPU power control. (Install indicator-cpufreq if you want to have fine-grained control over the CPU speeds with the Liquorix kernel.)

User avatar
piperdan
Posts: 12
Joined: Wed Jun 06, 2018 5:11 pm

Re: MX-17.1 on Dell XPS 13

#28 Post by piperdan »

Jerry3904 wrote: Fri Oct 26, 2018 8:13 am
caprea wrote: Sun Oct 21, 2018 1:24 pm If you want to disable the touchpad only while typing on the keyboard, you could also try syndaemon
syndaemon -i 1 -d
The one is one second locking time
Possible to put it into startup,
I ended up using this, as other solutions seemed unreliable. Thanks.
This has worked well for me:

Create a bash script "touchpadt.sh"

Code: Select all

cat>touchpadt.sh

Code: Select all

#!/bin/bash

read TPdevice <<< $( xinput | sed -nre '/TouchPad/s/.*id=([0-9]*).*/\1/p' )
state=$( xinput list-props "$TPdevice" | grep "Device Enabled" | grep -o "[01]$" )

if [ "$state" -eq '1' ];then
    xinput --disable "$TPdevice" && notify-send -i emblem-nowrite "Touchpad" "Disabled"
else
    xinput --enable "$TPdevice" && notify-send -i input-touchpad "Touchpad" "Enabled"
fi
Make it executable:

Code: Select all

chmod +x touchpadt.sh
I copied it over to the /usr/bin/ directory, then went to settings > keyboard > application shortcuts to create a new shortcut key that matches my keyboard for the touchpad (F5 in my case).

User avatar
fehlix
Developer
Posts: 10375
Joined: Wed Apr 11, 2018 5:09 pm

Re: MX-17.1 on Dell XPS 13

#29 Post by fehlix »

piperdan wrote: Sun Oct 28, 2018 4:00 pm This has worked well for me...
Yes, it works, if you have only one touchpad device listed by xinput. For more than one it would need to loop through those attached devices.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Jerry3904
Administrator
Posts: 21940
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-17.1 on Dell XPS 13

#30 Post by Jerry3904 »

I finally figured out that F5 (which here means pressing Fn-F5) was already set up OOTB as a toggle for the touchpad.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

Post Reply

Return to “Tips & Tricks by users”