Welcome!
Important information
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.1 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

MX-17.1 on Dell XPS 13

Just as the name says, here is where you can post tips and tricks to share with other users of MEPIS.
User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 24072
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-17.1 on Dell XPS 13

#21

Post by Jerry3904 » 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
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 3121
Joined: Wed Apr 11, 2018 5:09 pm

Re: MX-17.1 on Dell XPS 13

#22

Post by fehlix » Sun Oct 28, 2018 1:01 pm

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
Forum Veteran
Forum Veteran
Posts: 24072
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-17.1 on Dell XPS 13

#23

Post by Jerry3904 » 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.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 3121
Joined: Wed Apr 11, 2018 5:09 pm

Re: MX-17.1 on Dell XPS 13

#24

Post by fehlix » Sun Oct 28, 2018 1:33 pm

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
Forum Veteran
Forum Veteran
Posts: 24072
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-17.1 on Dell XPS 13

#25

Post by Jerry3904 » Sun Oct 28, 2018 1:36 pm

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: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 3121
Joined: Wed Apr 11, 2018 5:09 pm

Re: MX-17.1 on Dell XPS 13

#26

Post by fehlix » Sun Oct 28, 2018 1:40 pm

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
Forum Veteran
Forum Veteran
Posts: 18301
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX-17.1 on Dell XPS 13

#27

Post by Stevo » Sun Oct 28, 2018 3:41 pm

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
Forum Novice
Forum  Novice
Posts: 31
Joined: Wed Jun 06, 2018 5:11 pm

Re: MX-17.1 on Dell XPS 13

#28

Post by piperdan » Sun Oct 28, 2018 4:00 pm

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
Forum Veteran
Forum Veteran
Posts: 3121
Joined: Wed Apr 11, 2018 5:09 pm

Re: MX-17.1 on Dell XPS 13

#29

Post by fehlix » Sun Oct 28, 2018 4:12 pm

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
Forum Veteran
Forum Veteran
Posts: 24072
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-17.1 on Dell XPS 13

#30

Post by Jerry3904 » Sun Oct 28, 2018 4:26 pm

I finally figured out that F5 (which here means pressing Fn-F5) was already set up OOTB as a toggle for the touchpad.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

Post Reply

Return to “Tips&Tricks”