Advice needed on how to troubleshoot a video problem when resuming from sleep
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
/sys/class/backlight/samsung is actually a symbolic link to /sys/devices/platform/samsung/backlight/samsung. There are several files in there: the backlight-specific ones are brightness, max_brightness, actual_brightness, and bl_power. Brightness is editable: the default levels seem to be 1 for battery operation and 8 for AC power. Actual_brightness is read-only and always equal to brightness. Max_brightness is 8 and also read-only as you would expect. I have no idea what bl_power does, but the value when the system is on charge is 0.
Edit: I just googled and found this:
# Turn off backlight
echo 1 | sudo tee /sys/class/backlight/*/bl_power
# Turn on backlight
echo 0 | sudo tee /sys/class/backlight/*/bl_power
I think file /sys/devices/platform/samsung/backlight/samsung/brightness should be monitored closely. It is the equivalent file which I use to change brightness in the tty's for intel_backlight. If this does not work I really don't know any other way.
Yeah, was a nice theory though. Have to rule out solving it using backlight values then. Maybe it's something deeply rooted in viafb.
That's why I'll now have to try out all the combinations of video quirks that pm-utils provides. But it's disheartening, repetitive work so I can only do it in small sessions. If I find a combo that works, I'll post it here.
Meanwhile I have found a new riddle, so expect another thread.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.