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 5th September 2014
akts's Avatar
akts akts is offline
bloke
 
Join Date: Jul 2014
Location: /dev/null
Posts: 3
Default Laptop lid close = stuck

I finally managed to install OpenBSD on my laptop. One problem that comes up is when I close the lid and open it back, the machine doesn't respond. I have to manually restart it. Any ideas on what the problem is??
Reply With Quote
  #2   (View Single Post)  
Old 5th September 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,889
Default

Hello, and welcome!

From your description, your hardware configuration is unable to resume from a suspend. To disable suspending the system upon lid close, set the sysctl machdep.lidsuspend to zero. You can either edit the sysctl.conf file or append the setting, such as:

# echo machdep.lidsuspend=0 >> /etc/sysctl.conf

Then either reboot, or just set it manually.

# sysctl machdep.lidsuspend=0
Reply With Quote
  #3   (View Single Post)  
Old 5th September 2014
akts's Avatar
akts akts is offline
bloke
 
Join Date: Jul 2014
Location: /dev/null
Posts: 3
Default

Thankyou jggimi

I only want the screensaver to come up and lock the session anyway, when I close the lid. So, that entry does it for me
Reply With Quote
  #4   (View Single Post)  
Old 1 Week Ago
hulten hulten is offline
Port Guard
 
Join Date: Dec 2014
Posts: 25
Default

This setting is renamed in OpenBSD 6.2 to machdep.lidaction, so you now need to use
Code:
echo machdep.lidaction=0 >> /etc/sysctl.conf
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
Filesystem /var "stuck" at 105% full daneric OpenBSD General 2 18th October 2012 06:18 PM
any consequences to moving a laptop-based installed disk to another different laptop daemonfowl OpenBSD General 7 2nd August 2012 04:29 PM
Experts: We're stuck with passwords – and maybe they're best J65nko News 1 17th January 2012 03:08 AM
FreeBSD 7.2@amd64 atheros problem ath0: stuck beacon; resetting (bmiss count 4) asmo FreeBSD General 0 6th June 2009 11:02 AM
apache: data stuck in socket? goertzenator FreeBSD General 8 16th February 2009 04:01 PM


All times are GMT. The time now is 06:56 AM.


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