My power button no longer does anything

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Domojestic
Level 2
Level 2
Posts: 91
Joined: Tue Jan 03, 2023 5:32 pm

My power button no longer does anything

Post by Domojestic »

Okay, it does one thing: if I hold it for long enough, it'll do a forced shutdown.

But aside from that, it does not power on nor power off my laptop (that is, suspend it), it does not ask for any of the 4 power-off options (I'm including "cancel" here), and I've tried changing the logind.conf file, as well as double-checking to make sure I had my Power Management settings correct, which incidentally also made me realize that closing my lid doesn't do anything either, even when I have it set to something like "shut down immediately." It's like Mint doesn't even recognize that the power button and lid are even there anymore.

How can I fix this? It's incredibly tedious to have to go to the power-off settings from the menu every single time, especially if I'm on campus and just using my trackpad. There's no way this is expected behavior. I only installed Mint, like, a week ago and this is driving me up the wall.

I've asked this question in the "Beginner's" section thinking it might be common (previous thread: viewtopic.php?f=90&t=389216), but more Googling has yielded zero results, so I'm hoping this part of the forum might be able to help. Also, I'm very new to all things Linux, so if there are file-modifying directions, I ask that you direct me on where to locate such files; thank you in advance!
Last edited by LockBot on Mon Jul 17, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Pastebin of my system info: https://pastebin.com/Vb59DJRW
gittiest personITW
Level 12
Level 12
Posts: 4286
Joined: Tue May 28, 2019 4:27 pm

Re: My power button no longer does anything

Post by gittiest personITW »

A couple of things to try.
Can you boot into Live Mint and see if you get the same behaviour.
Can you make another User and see if the same thing happens. (can be deleted after the problem is fixed)

In your reply, it wouldn't hurt to follow number 5 in the following link:
viewtopic.php?f=17&t=83444
Domojestic
Level 2
Level 2
Posts: 91
Joined: Tue Jan 03, 2023 5:32 pm

Re: My power button no longer does anything

Post by Domojestic »

gittiest personITW wrote: Tue Jan 17, 2023 1:21 pm In your reply, it wouldn't hurt to follow number 5 in the following link:
viewtopic.php?f=17&t=83444
Just realized I didn't mention architecture! 64-bit. My inxii report is in my signature. I'll try your tips out, but for now I have to head to lectures, so I'll have to do them later tonight.

Also, when you say "live mint," do you mean a USB drive with the ISO flashed onto it? Just to be sure I'm aware of correct terminology.
Pastebin of my system info: https://pastebin.com/Vb59DJRW
gittiest personITW
Level 12
Level 12
Posts: 4286
Joined: Tue May 28, 2019 4:27 pm

Re: My power button no longer does anything

Post by gittiest personITW »

Yes - the installation media.

That way we can see if it is your system or just the settings in your installation.
Domojestic
Level 2
Level 2
Posts: 91
Joined: Tue Jan 03, 2023 5:32 pm

Re: My power button no longer does anything

Post by Domojestic »

gittiest personITW wrote: Tue Jan 17, 2023 1:21 pm Can you make another User and see if the same thing happens. (can be deleted after the problem is fixed)
Gotta find my boot drive, but this didn't work at least. In the other thread I linked, I mentioned that what I think happened (in horribly inexperienced language) is that, for some reason, after my Mint installation, Mint sort of "forgot" to talk to my power button, and now doesn't even know where it is. However, this still doesn't explain why shutting the lid also does nothing. I'll still have to try out the Live Mint approach and get back to you.

I should also mention, in case relevant: my power button has a fingerprint sensor, and a few days ago I tried following this viewtopic.php?f=90&t=353342 thread in order to set it up, until eventually I decided it was far more trouble than it was worth. Maybe that setup affected things? It still doesn't explain the lid, but I'm the newbie here, so I assume more information is appreciated, if perhaps unnecessary.
Pastebin of my system info: https://pastebin.com/Vb59DJRW
gittiest personITW
Level 12
Level 12
Posts: 4286
Joined: Tue May 28, 2019 4:27 pm

Re: My power button no longer does anything

Post by gittiest personITW »

So could it simply be the settings have been changed?
If it isn't in system settings but a bit deeper and you aren't sure exactly what has been done, could you do a Timeshift restore?
Domojestic
Level 2
Level 2
Posts: 91
Joined: Tue Jan 03, 2023 5:32 pm

Re: My power button no longer does anything

Post by Domojestic »

gittiest personITW wrote: Wed Jan 18, 2023 12:15 pm So could it simply be the settings have been changed?
If it isn't in system settings but a bit deeper and you aren't sure exactly what has been done, could you do a Timeshift restore?
Perhaps, but I have no idea how to actually do that, or what that really does. Will my files/themes be saved? And also, I don't know if my Timeshifts are old enough for it to be any different.
Pastebin of my system info: https://pastebin.com/Vb59DJRW
Domojestic
Level 2
Level 2
Posts: 91
Joined: Tue Jan 03, 2023 5:32 pm

Re: My power button no longer does anything

Post by Domojestic »

Also, I’ve just tried with my bootable drive, and the power button still doesn’t work. Looks like it stopped working ever since I switched.
Pastebin of my system info: https://pastebin.com/Vb59DJRW
gittiest personITW
Level 12
Level 12
Posts: 4286
Joined: Tue May 28, 2019 4:27 pm

Re: My power button no longer does anything

Post by gittiest personITW »

Bit hard to say as you haven't posted any info about your system - number 5 in the following link:
viewtopic.php?f=17&t=83444
Domojestic
Level 2
Level 2
Posts: 91
Joined: Tue Jan 03, 2023 5:32 pm

Re: My power button no longer does anything

Post by Domojestic »

gittiest personITW wrote: Thu Jan 19, 2023 2:10 pm Bit hard to say as you haven't posted any info about your system - number 5 in the following link:
viewtopic.php?f=17&t=83444
Ah, sorry, I started this before I got into the habit:

Code: Select all

[code]
System:
  Kernel: 5.15.0-58-generic x86_64 bits: 64 compiler: gcc v: 11.3.0 Desktop: Cinnamon 5.6.7
    tk: GTK 3.24.33 wm: muffin dm: LightDM Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: LENOVO product: 81YK v: IdeaPad 5 15IIL05 serial: <superuser required>
    Chassis: type: 10 v: IdeaPad 5 15IIL05 serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: <superuser required> UEFI: LENOVO
    v: DPCN45WW date: 07/06/2020
Battery:
  ID-1: BAT0 charge: 40.6 Wh (100.0%) condition: 40.6/45.0 Wh (90.3%) volts: 12.4 min: 11.1
    model: Celxpert L19C3PF4 serial: <filter> status: Full
  Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard serial: <filter>
    charge: 55% (should be ignored) status: Discharging
CPU:
  Info: quad core model: Intel Core i7-1065G7 bits: 64 type: MT MCP arch: Ice Lake rev: 5 cache:
    L1: 320 KiB L2: 2 MiB L3: 8 MiB
  Speed (MHz): avg: 3283 high: 3785 min/max: 400/3900 cores: 1: 3785 2: 2917 3: 3465 4: 3505
    5: 3506 6: 3492 7: 2587 8: 3012 bogomips: 23961
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Iris Plus Graphics G7 vendor: Lenovo driver: i915 v: kernel ports:
    active: HDMI-A-1,eDP-1 empty: DP-1,DP-2 bus-ID: 00:02.0 chip-ID: 8086:8a52
  Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo bus-ID: 3-5:3
    chip-ID: 13d3:56ff
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting unloaded: fbdev,vesa
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3520x1428 s-dpi: 96
  Monitor-1: HDMI-1 mapped: HDMI-A-1 pos: primary,top-left model: Samsung C24F390 res: 1920x1080
    dpi: 94 diag: 598mm (23.5")
  Monitor-2: eDP-1 pos: primary,bottom-r res: 1600x900 dpi: 118 diag: 395mm (15.5")
  OpenGL: renderer: Mesa Intel Iris Plus Graphics (ICL GT2) v: 4.6 Mesa 22.0.5
    direct render: Yes
Audio:
  Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Lenovo driver: sof-audio-pci-intel-icl
    bus-ID: 00:1f.3 chip-ID: 8086:34c8
  Sound Server-1: ALSA v: k5.15.0-58-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Ice Lake-LP PCH CNVi WiFi driver: iwlwifi v: kernel bus-ID: 00:14.3
    chip-ID: 8086:34f0
  IF: wlp0s20f3 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-10:5 chip-ID: 8087:0026
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 3.0 lmp-v: 5.2
    sub-v: 237e
Drives:
  Local Storage: total: 476.94 GiB used: 83.24 GiB (17.5%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN530 SDBPMPZ-512G-1101 size: 476.94 GiB
    speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 32.9 C
Partition:
  ID-1: / size: 467.89 GiB used: 83.23 GiB (17.8%) fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 511 MiB used: 5.2 MiB (1.0%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 1 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 3-1:2 info: Logitech Unifying Receiver type: Keyboard,Mouse
    driver: logitech-djreceiver,usbhid rev: 2.0 speed: 12 Mb/s chip-ID: 046d:c534
  Device-2: 3-5:3 info: IMC Networks Integrated Camera type: Video driver: uvcvideo rev: 2.0
    speed: 480 Mb/s chip-ID: 13d3:56ff
  Device-3: 3-7:4 info: Elan Micro ELAN:Fingerprint type: <vendor specific> driver: N/A rev: 2.0
    speed: 12 Mb/s chip-ID: 04f3:0c58
  Device-4: 3-10:5 info: Intel AX201 Bluetooth type: Bluetooth driver: btusb rev: 2.0
    speed: 12 Mb/s chip-ID: 8087:0026
  Hub-4: 4-0:1 info: Super-speed hub ports: 6 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
Sensors:
  System Temperatures: cpu: 78.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: apt: 2447
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https: //dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/nordvpn.list
    1: deb https: //repo.nordvpn.com//deb/nordvpn/debian stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //mirror.scd31.com/mint vera main upstream import backport
    2: deb http: //archive.ubuntu.mirror.rafal.ca/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.mirror.rafal.ca/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.mirror.rafal.ca/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/slgobinath-gcalendar-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/slgobinath-gcalendar-jammy.gpg] https: //ppa.launchpadcontent.net/slgobinath/gcalendar/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http: //repository.spotify.com stable non-free
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64,arm64,armhf] http: //packages.microsoft.com/repos/code stable main
Info:
  Processes: 285 Uptime: 22m Memory: 11.38 GiB used: 2.59 GiB (22.8%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.3.0 alt: 11 Client: Unknown python3.10 client inxi: 3.3.13
I should also mention, the power button on my EXTERNAL keyboard DOES work. I think it might be an issue with the laptop hardware; the power button was also the fingerprint sensor when this thing had Windows 10 on it, so I think that might have muddied up the functionality when I made the switch.
Pastebin of my system info: https://pastebin.com/Vb59DJRW
User avatar
KentC
Level 1
Level 1
Posts: 23
Joined: Wed Nov 12, 2014 12:13 am

Re: My power button no longer does anything

Post by KentC »

Good morning,
I don't know if this will be helpful, and you may have already tried this, but I recently installed Mint on a newly acquired Lenovo ThinkPad X260, and the power button behaved a bit differently than I was used to on my older Lenovo IdeaPad. On the X260 I now have to hold the power button down for 2-3 seconds before I get the shut down window. On the IdeaPad I got the shut down prompt immediately after pushing the power button. Have you tried holding down the power button for an additional second or two to see if you then get the shut down window?
Again, sorry if this seems obvious, and if you have already tried this, never mind. But I was surprised by this button behavior and thought I would mention it.
Good luck!
gittiest personITW
Level 12
Level 12
Posts: 4286
Joined: Tue May 28, 2019 4:27 pm

Re: My power button no longer does anything

Post by gittiest personITW »

As a workaround,
Could you go to Menu/System Settings/Keyboard/Shortcuts/System.
Make a keyboard shortcut for shutdown/suspend.
Personally, I use CTRL+SHIFT+TAB for suspend.
Works nicely and is very convenient.
Domojestic
Level 2
Level 2
Posts: 91
Joined: Tue Jan 03, 2023 5:32 pm

Re: My power button no longer does anything

Post by Domojestic »

gittiest personITW wrote: Sun Jan 29, 2023 5:43 pm As a workaround,
Could you go to Menu/System Settings/Keyboard/Shortcuts/System.
Make a keyboard shortcut for shutdown/suspend.
Personally, I use CTRL+SHIFT+TAB for suspend.
Works nicely and is very convenient.
Yeah, this is sorta what I went with, only my shortcut of choice was Super+Del. I might label this as "closed" to showcase that I kinda came to my own conclusion, but I'll hold off on that for a little bit until I'm sure I've exhausted every other option.
Pastebin of my system info: https://pastebin.com/Vb59DJRW
mikeflan
Level 17
Level 17
Posts: 7152
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: My power button no longer does anything

Post by mikeflan »

it does not power on nor power off my laptop
Just wondering - how have you been turning on this machine?
Domojestic
Level 2
Level 2
Posts: 91
Joined: Tue Jan 03, 2023 5:32 pm

Re: My power button no longer does anything

Post by Domojestic »

mikeflan wrote: Tue Jan 31, 2023 4:19 pm
it does not power on nor power off my laptop
Just wondering - how have you been turning on this machine?
Spacebar. Any keyboard key will do, but that's the one I've settled into a routine with.

Honestly, that parts the least annoying, all things considered. When I had windows the thing just booted up when I'd open the lid, which was awful. Yet another reason to be happy for having switched, I suppose! Haha.
Pastebin of my system info: https://pastebin.com/Vb59DJRW
Locked

Return to “Hardware Support”