You are not logged in.

#1 2016-02-23 08:25:40

tomgco
Member
Registered: 2016-02-23
Posts: 6

TTY freeze on lid close

The problem starts when the Lid on the laptop is closed, what happens is that the screen fails to update and logs do not even get written. It is like some kind of hard crash that doesn't kernel panic.

I have no login display manager and boot straight to a virtual tty and work from here / run startx.

The output of

/etc/systemd/logind.conf

is:

#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See logind.conf(5) for details.

[Login]
HandleLidSwitch=ignore

As far as I can tell I have no udev rule and acpid will not fire off handle.sh when the lid is shut (as far as I can tell).

As a side note `systemctl suspend` sleeps the machine fine and it also wakes up no problem with keyboard input.

acpid
auto-xflux
autoconf
automake
awesome
baobab
bash
binutils
bumblebee
bzip2
cargo
clang
cmake
coreutils
cower
cpupower
cryptsetup
dconf-editor
device-mapper
dhcpcd
dialog
diffutils
e2fsprogs
efibootmgr
eog
ethtool
evince
evtest
fakeroot
file
filesystem
findutils
fprintd
gawk
gcc
gcc-libs
gdb
gettext
git
glibc
gnome-keyring
gnome-system-monitor
gnome-user-share
gnu-netcat
go
google-chrome
grep
grilo-plugins
groff
grub
gvfs-afc
gvfs-goa
gvfs-google
gvfs-gphoto2
gvfs-mtp
gvfs-nfs
gvfs-smb
gzip
htop
inetutils
intel-ucode
iproute2
iputils
jfsutils
less
libfprint
libtool
licenses
light
linux
linux-headers
linux-tools-meta
lm_sensors
logrotate
lsof
lvm2
lxterminal
m4
make
man-db
man-pages
mdadm
mousetweaks
nano
net-tools
netctl
network-manager-applet
notification-daemon
openssh
os-prober
package-query
pacman
pacmatic
pactray
patch
pciutils
pcmciautils
pcurses
perl
physlock
pkg-config
pkgfile
polkit
ponymix
powertop
procps-ng
psmisc
pstate-frequency
pulseaudio-alsa
pulseaudio-ctl
reiserfsprogs
rust
s-nail
sed
shadow
slack-desktop
smartmontools
spotify-beta
strace
sudo
sushi
sysdig
sysfsutils
syslog-ng
systemd-sysvcompat
tar
terminus-font
texinfo
thermald
thunar
tlp
tmux
tracker
trash-cli
ttf-roboto
usbutils
util-linux
vi
vim
vino
which
wpa_supplicant
wrk
wrk2-git
xbindkeys
xbrightness
xdg-user-dirs-gtk
xf86-input-libinput
xf86-video-intel
xf86-video-nouveau
xfsprogs
xorg-server
xorg-setxkbmap
xorg-xbacklight
xorg-xdpyinfo
xorg-xinit
xorg-xinput
xscreensaver
xterm
yaourt
yelp
zsh

I have also attached all the packages I have installed.

Anyone have any ideas?

Last edited by tomgco (2016-02-23 08:26:37)

Offline

#2 2016-02-23 08:28:31

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: TTY freeze on lid close

SysReq? SSH in?

Not a Sysadmin issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-02-23 10:12:08

tomgco
Member
Registered: 2016-02-23
Posts: 6

Re: TTY freeze on lid close

Sorry for the wrong sub-forum.

SysReq does not respond, neither does SSH.

The machine pretty much stops responding altogether (no keyboard, sound loops if was playing at the time, display freezes tty and x, no mouse, no usb).
For example, if I was running

watch -n 1 date

the date would stop incrementing after the lid is closed and then opened.

Offline

#4 2016-02-23 15:48:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: TTY freeze on lid close

Have you tried playing with other kernels? LTS, for example?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2016-02-24 09:56:48

tomgco
Member
Registered: 2016-02-23
Posts: 6

Re: TTY freeze on lid close

So I have just tried `Mainline` and had no luck, but just switched to LTS and found out that the issue isn't present. However with LTS my graphic drivers do not work and I am unable to start x.

I have a theory as the machine that I am using is Intel Skylake and I believe that LTS does not support that IIRC.

Offline

#6 2016-02-24 10:11:42

tomgco
Member
Registered: 2016-02-23
Posts: 6

Re: TTY freeze on lid close

Actually, just read the wiki and added

i915.preliminary_hw_support=1

to my kernel parameters and the problem has seems to have gone away, not sure how to proceed with fixing this on 4.4?

Offline

#7 2016-04-07 17:33:06

hellwalker
Member
Registered: 2011-05-13
Posts: 8

Re: TTY freeze on lid close

I got the same problem here.

Offline

#8 2016-04-08 09:17:36

tomgco
Member
Registered: 2016-02-23
Posts: 6

Re: TTY freeze on lid close

I have managed to get this working on the 4.4 Kernel by adding `intel_pstate=no_hwp` to my kernel options.

Offline

Board footer

Powered by FluxBB