Comment 47 for bug 173652

Revision history for this message
Petr Menšík (pihhan) wrote : Re: unable to adjust screen brightness on recent Sony Vaio notebooks

My last post was not related to acpi. I wanted to know, if nvclock does need working Xserver to operate. I tried basic things on my geforce card, but it does not support what i want to try. So.

Please test this command in terminal:

sudo su
# make sure you do not have full backlight, you want to increase it
/usr/bin/nvclock -S +10
# report if that did wrote anything, and if that changed backlight. It should
/usr/bin/nvclock -S -10
# did it lower backlight again? Did it write some error?
export DISPLAY="" HOME=/root
# now we dont have access to X server
/usr/bin/nvclock -S +10
# does it still work? does it print some error now?
exit

If all does work, try ctrl+alt+f1, and login there as user. then make it from sudo su to exit again from text console, and see if it does still work.

please try one command after one by hand, and see what it does. You have mapped it well to acpi event. If you changed event files in /etc/acpi/events with DISPLAY sudo ..., please put back there what i wrote about 5 post before. It does execute right thing, but it is crashing. I think you should create bug report for nvclock package, as it did Segmentation fault. It should work and do not crash.