Macbook console turn off display?

monty0

New Member

Reaction score: 1
Messages: 8

I just set up an old 2008 macbook to run FreeBSD 11 and netatalk so it can be my time machine server. I notice that the laptop screen is always on. Is there a way from the command line to turn it off? I have not installed any GUI. My google searches didn't turn up anything, maybe I'm using the wrong terminology?
 
OP
OP
monty0

monty0

New Member

Reaction score: 1
Messages: 8

Actually, would there be a way to have it boot up without turning on the display at all? I can already ssh in, I don't need any console access at the machine.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 7,089
Messages: 29,244

As it's a laptop, just close the lid?
 
OP
OP
monty0

monty0

New Member

Reaction score: 1
Messages: 8

Good idea, but unfortunately the display stays on when I close the lid. I'd like to save the power and not burn in the screen.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 7,089
Messages: 29,244

Ah, that's a shame. I was hoping the laptop would automatically switch off the screen. I don't have a MacBook to verify but found a Wiki page for it: https://wiki.freebsd.org/AppleMacbook. It's fairly old (made for FreeBSD 8) but should still give some valid pointers.

Maybe you can have a look at those SMC sysctl(8), maybe there's one to switch off the screen.
 
Top