Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #174118 > unrolled thread
| Started by | Laurent Debian <laurent.debian@gmail.com> |
|---|---|
| First post | 2016-11-01 14:30 +0100 |
| Last post | 2016-11-08 14:20 +0100 |
| Articles | 5 — 3 participants |
Back to article view | Back to linux.debian.user
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
| From | Laurent Debian <laurent.debian@gmail.com> |
|---|---|
| Date | 2016-11-01 14:30 +0100 |
| Subject | how to turn off backlight in console (without any X server) |
| Message-ID | <syHix-MM-9@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
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 ? > 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. Any way to turn off the backlight without installing X woudl be greatly appreciated. Cheers, Laurent.
[toc] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2016-11-01 14:50 +0100 |
| Message-ID | <syHBT-Ty-11@gated-at.bofh.it> |
| In reply to | #174118 |
-----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-----
[toc] | [prev] | [next] | [standalone]
| From | Laurent Debian <laurent.debian@gmail.com> |
|---|---|
| Date | 2016-11-08 12:00 +0100 |
| Message-ID | <sBcid-8hA-3@gated-at.bofh.it> |
| In reply to | #174119 |
[Multipart message — attachments visible in raw view] — view raw
Hi and thanks for your ideas Unfortunately there is no directory /sys/class/backlight on my system. After a > locate backlight > I juste had the following files as seemingly relevant. > /var/lib/systemd/backlight/pci-0000:02:00.0:backlight:nv_backlight > /var/lib/systemd/backlight/platform-applesmc.768:leds:smc::kbd_backlight > Which were both at 100 but an echo 0 > .... had no effect on the backlight (tough it tuned to 0 the value of in the files ) Any ideas where I should start to look at ? Cheers, 2016-11-01 14:49 GMT+01:00 <tomas@tuxteam.de>: > -----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----- > >
[toc] | [prev] | [next] | [standalone]
| From | tomas@tuxteam.de |
|---|---|
| Date | 2016-11-08 14:10 +0100 |
| Message-ID | <sBek1-1kJ-1@gated-at.bofh.it> |
| In reply to | #174339 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Nov 08, 2016 at 11:49:40AM +0100, Laurent Debian wrote: > Hi and thanks for your ideas > > Unfortunately there is no directory /sys/class/backlight on my system. > After a > > > locate backlight > > > I juste had the following files as seemingly relevant. > > > /var/lib/systemd/backlight/pci-0000:02:00.0:backlight:nv_backlight > > /var/lib/systemd/backlight/platform-applesmc.768:leds:smc::kbd_backlight > > > Which were both at 100 but an echo 0 > .... had no effect on the backlight > (tough it tuned to 0 the value of in the files ) > Any ideas where I should start to look at ? Hm Sorry. Are you able to change backlight under X? Perhaps there are clues to be extracted from that? regards - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlghzOsACgkQBcgs9XrR2ka24wCdEyqFQGiC9Zs93zdJW1BmeGfb MocAn0qQrgpo1XOc8IiLI0ZCRhL7uRkt =qHBJ -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | Laurent Debian <laurent.debian@gmail.com> |
|---|---|
| Date | 2016-11-08 14:20 +0100 |
| Message-ID | <sBetH-1nU-25@gated-at.bofh.it> |
| In reply to | #174345 |
[Multipart message — attachments visible in raw view] — view raw
I did not install X on this machine since the screen is half broken. (i just use it as a server and acces it via ssh but screen consume power for nothing so i want somehow to turn it off). I can install x and then try again xbacklight. This will be my next try... Thanks again, Laurent. 2016-11-08 14:02 GMT+01:00 <tomas@tuxteam.de>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tue, Nov 08, 2016 at 11:49:40AM +0100, Laurent Debian wrote: > > Hi and thanks for your ideas > > > > Unfortunately there is no directory /sys/class/backlight on my system. > > After a > > > > > locate backlight > > > > > I juste had the following files as seemingly relevant. > > > > > /var/lib/systemd/backlight/pci-0000:02:00.0:backlight:nv_backlight > > > /var/lib/systemd/backlight/platform-applesmc.768:leds: > smc::kbd_backlight > > > > > Which were both at 100 but an echo 0 > .... had no effect on the > backlight > > (tough it tuned to 0 the value of in the files ) > > Any ideas where I should start to look at ? > > Hm Sorry. Are you able to change backlight under X? Perhaps there are clues > to be extracted from that? > > regards > - -- t > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.12 (GNU/Linux) > > iEYEARECAAYFAlghzOsACgkQBcgs9XrR2ka24wCdEyqFQGiC9Zs93zdJW1BmeGfb > MocAn0qQrgpo1XOc8IiLI0ZCRhL7uRkt > =qHBJ > -----END PGP SIGNATURE----- >
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web