Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #174119
| From | <tomas@tuxteam.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: how to turn off backlight in console (without any X server) |
| Date | 2016-11-01 14:50 +0100 |
| Message-ID | <syHBT-Ty-11@gated-at.bofh.it> (permalink) |
| References | <syHix-MM-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Nov 01, 2016 at 02:22:46PM +0100, Laurent Debian wrote: > Hi all, > > I would like to turn off the backlight completly on a mac book pro 2008 > (sid). > I don't have any x server. Does it explains this error ? Most probably yes. "Xbacklight" hints at an X application. RandR is an X server extension. > > xbacklight -set 10 > > RANDR Query Version returned error -1 > > > > the graphic card is > 02:00.0 VGA compatible controller: NVIDIA Corporation C79 [GeForce 9400M] > (rev b1) > nouveau is loaded by the kernel. I'd imagine that xbacklight (and xrandr) try to talk to the X server to do their bidding. > > Any way to turn off the backlight without installing X woudl be greatly > appreciated. Have a look at the files under /sys/class/backlight. For me, this works: sudo bash -c "echo 2 > /sys/class/backlight/acpi_video0/brightness" Enjoy - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlgYnW0ACgkQBcgs9XrR2kb+vQCfaJwwyrg9ZpPdlmLpYkQwhpJ2 fS8An1rsuKp8O8dq3X0NwjKP1mMGS37w =LcrE -----END PGP SIGNATURE-----
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to turn off backlight in console (without any X server) Laurent Debian <laurent.debian@gmail.com> - 2016-11-01 14:30 +0100
Re: how to turn off backlight in console (without any X server) <tomas@tuxteam.de> - 2016-11-01 14:50 +0100
Re: how to turn off backlight in console (without any X server) Laurent Debian <laurent.debian@gmail.com> - 2016-11-08 12:00 +0100
Re: how to turn off backlight in console (without any X server) tomas@tuxteam.de - 2016-11-08 14:10 +0100
Re: how to turn off backlight in console (without any X server) Laurent Debian <laurent.debian@gmail.com> - 2016-11-08 14:20 +0100
csiph-web