You are not logged in.

#1 2025-01-23 06:47:53

unseeing
Member
Registered: 2025-01-23
Posts: 1

Laptop will not shut down

Someone was going to throw away a Dell Inspiron 15 5567 that had Windows on it. They said the laptop didn't work. I decided to install Arch using archinstall. I was hardwired. Everything worked. I had a couple hiccups as a new linux user such as installing a browser after installation, getting the touchpad to click on tap, etc.

I have another laptop that's an Acer Aspire v5-571p from 2011 or 12 with an i5, 8gb ram, upgraded ssd, that I also ran archinstall on after having success on the Dell. This one doesn't have an RJ45 socket, so I figured out how to do the wireless process with iwctl. Everything installed and works fine, except when I try to shut down the machine. It acts like it reboots, coming back on 3-4 seconds after the screen and keyboard lights turn off.

I downloaded the iso from the downloads page of this site. It's the 2025.01.01.

I ran the checksum and it matched.

The only additional packages I have added are: brightnessctl, firefox, networkmanager, xf86-input-libinput, dmidecode.

Shutdown, poweroff, power button, shutdown now, shutdown -h now, systemctl poweroff all act as a 'reboot', meaning, it goes through the shutdown process, the screen and keyboard turn off, then 3-4 seconds later, the screen and keyboard illuminate and it starts the booting process.

Here's what I have tried:
sudo pacman -Syu - system is up to date

BIOS/UEFI - Network boot and Wake on LAN are disabled. Fast boot is disabled. I tried switching from UEFI to legacy and had to reinstall lol

/etc/systemd/login.conf - HandlePowerKey=poweroff and HandleSuspendKey=ignore

/boot/loader/entries/2025-01-17_06-18-03_linux.conf - options - acpi=force, noacpi, acpi=force noacpi (I tried them separately and together)

systemctl list-units --failed - 0 loaded units listed

Switched to lxqt and went to the 'application menu' and tried shutting down from gui, akin to Windows.

Tried shutdown now, shutdown -h now, poweroff, systemctl poweroff on both accounts. I have a user and admin account.

journalctl -xe | grep -i acpi - I have several ACPI warnings. I forgot I ran this command. I did it on the previous install. I need to see what those warnings are about.

Don't remember why I ran this one, but sudo systemctl status systemd-logind returned:
systemd-logind.service - User Login Management
Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static)
Active: active (running) since Tue 2025-01-21 21:04:24 CST; 11min ago
Invocation: f233ce5719b74506ada5bad0216833b2
Docs: man:sd-login(3)
man:systemd-logind.service(8)
man:logind.conf(5)
Main PID: 447 (systemd-logind)
Status: "Processing requests..."
Tasks: 1 (limit: 6762)
FD Store: 2 (limit: 768)
Memory: 2M (peak: 3.3M)
CPU: 146ms
CGroup: /system.slice/systemd-logind.service
447 /usr/lib/systemd/systemd-logind
Jan 21 21:04:24 archlinux systemd-logind[447]: Watching system buttons on /dev/input/event3 (AT Translated Set 2 keyboard)
Jan 21 21:04:24 archlinux systemd-logind[447]: Watching system buttons on /dev/input/event6 (Acer WMI hotkeys)
Jan 21 21:04:24 archlinux systemd[1]: Started User Login Management.
Jan 21 21:04:25 archlinux systemd-logind[447]: New session c1 of user sddm.
Jan 21 21:04:26 archlinux systemd-logind[447]: New session 1 of user sddm.
Jan 21 21:07:09 archlinux systemd-logind[447]: New session 2 of user archminbtw.
Jan 21 21:07:09 archlinux systemd-logind[447]: Session c1 logged out. Waiting for processes to exit.
Jan 21 21:07:09 archlinux systemd-logind[447]: Removed session c1.
Jan 21 21:07:09 archlinux systemd-logind[447]: New session 3 of user archminbtw.
Jan 21 21:07:19 archlinux systemd-logind[447]: Removed session 1.

sudo systemctl status systemd-hibernate
systemd-hibernate.service - System Hibernate
Loaded: loaded (/usr/lib/systemd/system/systemd-hibernate.service; static)
Active: inactive (dead)
Docs: man:systemd-hibernate.service(8)

cat /proc/acpi/wakeup - used this to view enabled devices, then I disabled them one by one by creating a service at /etc/systemd/system/disable-wakeup.service.
[Unit]
Description=Disable wakeup for DEVICE

[Service]
Type=oneshot
ExecStart=/bin/sh -c 'echo DEVICE > /proc/acpi/wakeup'

[Install]
WantedBy=multi-user.target

DEVICE was changed to each device name...EHC1, EHC2, XHC, LID0, SLPB individually. I saved changes and ran sudo systemctl enable disable-wakeup.service and then sudo systemctl start disable-wakeup.service. Sometimes I had to run systemctl daemon-reload when the laptop came back on after running poweroff to test the current device.

dmidecode -t system | grep -P '\tWake-up Type\: ' - returned PCI PME#

I might have a couple of the steps out of the actual order I attempted them.

I made a post on Reddit that had less steps than what I had here and I was told I should use Linux Mint. Earlier in this post I mentioned I ran a command on a previous installation. I installed Linux Mint Debian Edition and when I tried to shut down, it did the same thing I am experiencing in Arch. I just wanted to test another distro to see what happened. One other thing I forgot to mention that I tried is trying shutdown while in the live environment of Arch. When I do that, the laptop shuts down as expected. I did not think to try it with LMDE until just now. Will try after I post this as I am using the laptop I've been referring to.

I am a new to linux. I would appreciate any help. I would also appreciate any refrain from suggesting any other distro. I want to use Arch. I don't mind the steep learning curve. I'm using this laptop to learn linux/browse the internet. I don't need a distro with a one-size-fits-most preconfiguration. As I have previously mentioned, I have a shutdown issue in more than one distro.

Offline

Board footer

Powered by FluxBB