2
+-

HTML ezBlock

Bluestar Linux - Overview

 

Bluestar is a GNU/Linux operating system, built to provide the following features:

 

  • Up-to-date Kernel version - 4.8.x
  • Fast (optimized for performance)
  • Wide Variety of Applications - Always Current Versions
  • Full Development / Desktop / Multimedia Environment
  • Arch Linux Based Distribution
  •  

    Sourceforge.net

    Open Invention Network

    Facebook Page

     

    Live Media Default User Accounts

    Screenshot


    UserBox

    Welcome, Guest.
    Please login or register.
     
     
     
    Forgot your password?
     

    Suspend/Resume To Blank Screen
    Submitted By: admin Date: June 06, 2013, 12:35:43 AM Views: 1549

    There are a good many reports of systems resuming from suspension/sleep to a blank screen. Most often this is associated with power management settings related to lid closure. This is one method of resolving this issue. There are certainly other methods of resolving this issue, so if this one doesn;t work, you may have to do more research on your own.

    1. Make sure that vbetool, pm-utils and acpid are installed:

    Code: [Select]
    pacman -S vbetool pm-utils acpid
    2. Open your KDE Power Management settings and, under Energy Saving, set "Button events handling -> When laptop lid closed" to "Do nothing".

    3. Enable acpid

    Code: [Select]
    systemctl enable acpid
    4. Edit /etc/acpi/handler.sh, find or add the following case to the handler, and make the following modification (tagged with the comment):

    Code: [Select]
        button/lid)
            case "$3" in
                close)
                    logger 'LID closed'
                    # LINE ADDED HERE
                    pm-suspend
                    ;;
                open)
                    logger 'LID opened'
                    ;;
                *)
                    logger "ACPI action undefined: $3"
                    ;;
        esac
        ;;

    As I mentioned above, this is only one of several ways to resolve this issue. If pm-suspend doesn;t work properly when called from the command-line, it won;t work in this instance either. It could also be that you'll need to pass one of the "quirks" parameters to the pm-suspend command, for which you will need to install the pm-quirks package and understand what the parameter actually does. If you discover that you need to pass a quirks parameter, this can be automated by creating a config file under /etc/pm/config.d that contains a line that auto-adds the parameter to pm-suspend (e.g. ADD_PARAMETER='--quirk-vbemode-restore --quirk-vbe-post'). You may need to do some research to figure out which parameter(s) you need.


    Update

    Somewhere between kernel version 3.9.6 and 3.10.5, changes to the kernel-level gma500 driver broke resuming from a suspend (video). The change was that the gma500 driver is now a modesetting driver which means it's ignored by pm-utils. Modesetting drivers are supposed to be able to save/restore their own state, and the fact that the gma500 modesetting driver is not doing this properly implies that either the driver is buggy or incomplete. If you're seeing this issue, you can try this ugly hack that might get your resume working again, but it's rather hit-and-miss at best.

    The hack is to edit /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler, adding back the quirks needed to make it work.

    Make the following change:

    1. go to line 361 - the code block should look like this:

    Code: [Select]
            elif using_kms; then
                # Using kernel modesetting?  No quirks, and do not change vts.
                remove_parameters $possible_video_quirks
                add_parameters --quirk-no-chvt
                echo "Kernel modesetting video driver detected, not using quirks."

    Modify the add_parameters call, concatenating the following to the end of the line:

    Code: [Select]
    --quirk-vbe-post --quirk-dpms-on --quirk-dpms-suspend --quirk-vbestate-restore --quirk-vbemode-restore
    Other video drivers may require other quirks, like --quirk-s3-bios.

    Apparently this issue has been filed as a bug, but until it gets fixed, I recommend that you save off the modified version somewhere safe in case pm-utils is updated, is still broken, and you lose the changes.

    Rating: This article has not been rated yet.
    Comments


    Powered By SMF Articles
    Powered by EzPortal