DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 31st July 2023
hulten hulten is offline
Port Guard
 
Join Date: Dec 2014
Posts: 34
Question power button does not shutdown ThinkPad

I have two ThinkPads (X200 w/ Libreboot and P14s with newest official Lenovo BIOS), both running OpenBSD-current. Neither shutdown when shortly pressing the power button.

Furthermore,

Code:
machdep.pwraction=1
hw.allowpowerdown=1
Of course, shutdown -p works nicely (especially after addition of _shutdown group), but is inconvenient as my .xsession needs to do something additional after the window manager closes. Pressing the power button is the most convenient. Why does this not work?
Reply With Quote
  #2   (View Single Post)  
Old 31st July 2023
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,989
Default

My Thinkpad X450 will shutdown and power off, but it requires more than a momentary press of the power button. Two seconds worked. It took the system another several seconds to begin the sequence.
Reply With Quote
  #3   (View Single Post)  
Old 3rd August 2023
hulten hulten is offline
Port Guard
 
Join Date: Dec 2014
Posts: 34
Default

Ah, right. On my X200 it takes about 1 s before it starts a shutdown.

However, on the P14s this does not work. I tried adding a second at every try, until it powers off instantly. That's no good. I now run
Code:
shutdown -p +1
and then logout, because it has to run a task before power down (and I do not want to login on a vc just to power down).

It's fine. It is a new laptop. Maybe this will get fixed at some point.

dmesg of P14s here
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
9 Button mouse mafkees1233 OpenBSD General 2 4th May 2019 12:52 AM
Soft power button doesn't power down ffonz OpenBSD General 4 11th May 2015 02:55 PM
Shutdown/power off the machine? cravuhaw2C OpenBSD Installation and Upgrading 14 13th July 2014 08:18 AM
Thinkpad T61 and middle button of the mousepad miggel13 OpenBSD Packages and Ports 15 17th August 2011 04:58 PM
Power button - nicely switch down the computer? Malinda OpenBSD General 5 14th June 2008 01:57 PM


All times are GMT. The time now is 05:48 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick