How does power management work under Arch?

So, my Arch install doesn't have Suspend to RAM working. While trying to fix it, I was trying to understand the application chain that deals with power events such as lid close. I have read
https://wiki.archlinux.org/index.php/Acpid
https://wiki.archlinux.org/index.php/Laptop_Mode_Tools
https://wiki.archlinux.org/index.php/Po … CPI_events
Now, I have XFCE4 with its default power manager installed. I'm quite confused as to what it is that I need along with that to get things to work.
In short, which of the following configurations is *correct*, in the sense that it will work without manual configuration out of the box, or with minimal configuration, and has a graphical front-end controllable from XFCE?
- xfce4-power-manager
- systemd -> xfce4-power-manager
- systemd -> acpid
- systemd -> acpid -> xfce4-power-manager
Also, if I want to use laptop-tools, then does this change?
Lastly, how do I diagnose the suspend to RAM issue? How do I check whether suspend or resume from suspend is failing?

ashrj wrote:So, my Arch install doesn't have Suspend to RAM working. While trying to fix it, I was trying to understand the application chain that deals with power events such as lid close. I have read
Lastly, how do I diagnose the suspend to RAM issue? How do I check whether suspend or resume from suspend is failing?
If you are using Xfce you don't need acpid and instead of laptop-tools try TLP which enabled successful suspend to ram on an older laptop I had, with Xfce on it.

Similar Messages

  • How does Profile Manager work?

    I am having a heck of a time getting Profile Manager to be consistant.
    The way I have gathered is that the data is stored int the postgresql data base and pushed to the client computers.
    The problem I am seeing is that the data that is pushed is not always the same.  I want the login window to show my family members (network users) and then mount the groups share when logging in.  I also have a small welcome note on the login screen.  I also have parental controls on the kids accounts.  The computer seems to pull or push the date to the Managed Prefrences folder in the Library folder of the client computer and the client will use this data for its settings.  It seems to do it at log in and log out.  I can delete the prefrences and they are rebuilt quickly.
    My main problem is that the rebuilt prefrences are not always correct and not consistant between pushes.  Is this a certificate error?  I doubt it since I just rebuilt the server.  I am using a self signed certificate and using my appleID to get a push certificate.  Could it be some other error?  What should I be looking for in the logs?  I have tried most of the soultions that I have run accross on the forums but none have solved this inconsistancy.
    Thanks
    David

    I am still having this issue.  I have given up on the parental controls and am using the WGM.  It works for that at least.
    For the login window I look at the com.apple.loginwindow.plist under Managed Prefrences folder and it looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>DisableLoginItemsSuppression</key>
      <false/>
    </dict>
    </plist>
    It is supose to look like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
              <key>AdminHostInfo</key>
              <string>HostName</string>
              <key>AdminMayDisableMCX</key>
              <true/>
              <key>AllowList</key>
              <array/>
              <key>DenyList</key>
              <array>
                        <string>9F292449-E93A-481B-9C30-58C6D72EFA21</string>
              </array>
              <key>DisableAutoLoginClient</key>
              <true/>
              <key>DisableConsoleAccess</key>
              <false/>
              <key>EnableExternalAccounts</key>
              <false/>
              <key>HideAdminUsers</key>
              <true/>
              <key>HideLocalUsers</key>
              <false/>
              <key>HideMobileAccounts</key>
              <false/>
              <key>IncludeNetworkUser</key>
              <true/>
              <key>LoginwindowText</key>
              <string>Welcome to the Urbanfamily Network</string>
              <key>RetriesUntilHint</key>
              <integer>3</integer>
              <key>SHOWFULLNAME</key>
              <false/>
              <key>SHOWOTHERUSERS_MANAGED</key>
              <true/>
              <key>ShutDownDisabled</key>
              <false/>
              <key>UseComputerNameForComputerRecordName</key>
              <false/>
    </dict>
    </plist>
    What causes it to change?  what is the string in the deny list.  I do have one user that I dont want showing up on the screen.  could this be the user GUID?  Where is the client computer pulling the information to overwrite the correct file?  Why is it doing this?  Please Help.
    David

  • How does Session Manager work?

    Is anyone else using Session Manager? It is a relatively new tool. I think it came out with TestStand 2.0. It is used to manage instrument handles. At first I thought it would allow us to share handles between Labview and CVI (the documentation hints at this) but after reading the fine print I found that it cannot share handles that run in different processes (i.e. Labview and CVI). It is still useful because it keeps a handle open so that a new handle does not need to be opened everytime TestStand calls a Labview or CVI module. Unfortunately, the only documentation for Session Manager is a help file. There is no reference to it in the TestStand documentation, although there are a couple of examples in the TestStand\Examples directory. I
    find that I need to experiment with Session Manager to figure out how it behaves. In particular, I'm trying to figure out how it works with a mix of Labview and CVI modules being called from TestStand. Does anyone know of any app notes or other documentation explaining the proper use of Session Manager?

    Mark,
    Unfotunately the only help available is the help file of the Session Manager and the TS examples.
    You mentioned that Session Manager cannot share handles between processes. In fact, Session Manager is capable of sharing handles between processes, it is the C DLL drivers that are not capable of sharing their handles between processes. There are some ActiveX instrument drivers out there that are capable of sharing their ActiveX session handles between processes, and more ActiveX instrument drivers are due for release. With these drivers, the Session Manager will be able to manage the instrument handles between different processes.
    Because of the limitation of C style DLL drivers, you cannot create a instrument handle in a VI called by TS and use the handle in a DLL called by TestStand. The VI is executed in a LabVIEW process while the DLL is called in the Sequence Editor or you operator interface process. There are 2 solutions to overcome this limitation. Both are based in running the VI and DLL in the same process:
    1) You can have your operator interface written in LabVIEW. When you build you operator interface into an executable, you can configure the LV adapter in TestStand to use the LV opeator interface to run the VIs that your sequence calls (see NIDZ document "Overview of Distributing TestStand when your Sequences use the LabVIEW Standard Prototype Adapter"). In this case both the DLLs and VIs called by your sequence will be executed in the same process and can share C DLL instrument handles.
    2) You can build your VIs into DLLs using LV 6.0 or later. You can then configure your sequence to call these DLLs instead of calling the VIs. This means rewriting your sequence to use the DLL Flexible adapter to call the LV DLL instead of using the LV adapter to call your VIs. In this case your LV DLLs and other DLLs called by your sequence are executed in the same process and can share C DLL instrument handles.
    Are there specific questions that you have regarding the Session Manager? Perhaps your questions can lead to examples and App Notes. There have not been very many questions regarding to the Session Manager so it is difficult to determine what customers need.

  • How does delivery manager work with concurrent program? URGENT

    Hello all -
    I am trying to fax a PDF document through the rightfax server. Rightfax is setup as a 'printer' and when the conc program is submitted, we specify the rightfax printer as the printer output. Based on the "FCL - Fax command language" constructs within the report, the document gets faxed or emailed as the case may be.
    There seems to be some kind of a problem with this setup. I am trying to use the delivery manager along with XML publisher. I am able to generate the report using a template with no issues using XMLP but how and where do I introduce the delivery manager? Any help is greatly appreciated.
    Thank you very much,
    T.R. Srikanth

    STR Software's AventX Oracle Connector can deliver PDF documents. We are using it to delivery to the AventX UNIX delivery server that connects to FAXCOM. STR supports Right FAX too.
    G. M. Swallow

  • How does one manage these new render setting for previews?

    I placed 4 HD clips from a nested into a sequence 5800 x 768 to mimic 4 side by side monitors for a multi channel video.  Each clip cut from the sequence are at 1280x720 all sitting side by side. However when I rendered the previews, they came look all squished. However when I exported the frame it looks fine in Photoshop. (I changed the uploaded image to what it looks like in Premiere in Photoshop to demonstrate the appearance in Premiere.)
    I imagine that the distortion has to do with the sequence render setting which for some reason comes out to 1918 x 253...or the pixel aspect ratio? How does one manage these new render setting for previews so it looks normal in the monitor? 
      

    Either way, I thought that this format would be a great way to view on the monitor 4 channels at the same time. I may need to place them on a “normal” 1440 x 1080 sequence in a line, bringing them down to 25% scale to make it work in the end. I did just try that. I think it will work...but when I imported and nested the old file, the scratch disks changed from the original set up on a D drive back to the main hard drive so I had to change it agin. Otherwise it works fine...so I’ll go with this for now
    These are the instructions I was given.I attched a screen save of the AE file they asked me to use (They must be on vacation, because I have not been able to get hold of them). I don't know After Effects very well:
    “As you begin creating or adapting work for e4c, you may find an After Effects template developed for this system to be helpful. Attached you'll see a zipped file with two AE templates. There is some detailed information (below) from the artist that developed these for us. In addition, a few bits of information that might help you along are:
    ·        The "Watchout"  playback system can support WMV or a QuickTime files . We like .mov files with H.264 codec best!
    ·        The end resolution of the four screens is 5120 x 720 pixels (1280x720 each).
    ·        If works are four-channel, please provide a separate audio (aiff) file so it doesn't slow any one video down.”
    Thanks for your help!

  • Transfer Rules: How does the mapping work?

    Transfer Rules: How does the mapping work?
    Is there a document out there that explains the following or can someone help clarify it for me. I have some confusion on what is really going on.
    When I create an InfoSource (IS_Test)  as a “Flexible update…”  and then “Assign DataSource”  (DS_Test) and I respond Yes, to the message “DataSource assignment DS_Test to InfoSource IS_Test Save”
    a) <b>Under “Transfer_Structure/Transfer_Rules”</b> in the InfoSource
    1)  the “Transfer Rules” tab, what are the fields found in the right column (Assigned InfObjct-field)? And where do the fields you enter in the left column (<b>Communication Str/</b>Transfer rules) eventually go?
    2)  the “DataSource /Trans. Structure” tab, can I always assume that all the fields in the right column (DataSource) came from DS_Test? The left column (Transfer Structure), in my test was exactly the same as on the right. Where do these fields eventually go?
    b) Under “<b>Communication_Struct.”,</b> in the InfoSource
    3. the right column (ISource Fileds) where from those InfoObjects. if I am now creating my InfoSource. Where did they come from?
    4. The left column is “<b>Communication Structure</b>”, which at this point has no InfoObjects, if I move a couple of InfoObjects from the right to the left, where do these Objects in the left eventually go?
    5. what is the relationship between the “Communication Structure” in 4 and 1? Or any relationship between a) and b) as a whole?
    Thanks.

    Hi Caud,
    As Ashish pointed out, communication structure contains fields (infoobjects) that suppose to go to data targets. Which IO in CS to which IO in the data target will go (and what transformation of data may occur) is determined in URs of the data target.
    The transfer structure is the structure in which the data is transported from the source system into BW:
    http://help.sap.com/saphelp_bw33/helpdata/en/3f/0e503c3c0d563de10000000a114084/frameset.htm
    In “Transfer_Structure/Transfer_Rules” in the IS, DataSource /Trans. Structure” tab, right part shows fields in the Datasource, the left part – fields in the transfer structure. There is also a transfer structure in R/3 for a given DS. Transfer structure in BW is created identical to the TS in R/3 during TRs activation.
    During data load data are transferred 1:1 from TS in R/3 to TS in BW.
    TS in BW corresponds to the PSA table structure.
    How data from PSA are transferred to the CS is determined in TRs.   
    The 3rd column (“Field”) (“Transfer Rules” tab, right part (Assigned InfObjct-field)), contains field names of the DS (TS); and the 1st column shows IO in the CS to which the DS field will go. So, it’s a mapping DS filed -> CS field.
    The left part (“Communication str./Transfer rules”) is always identical to the CS content. But the 4th column (“Tp”) shows possible data transformation during transfer from PSA to CS. If this column contains a yellow triangle then there is no transformation (Value of DS field will go to value of CS field). If there is a red cross, it means that no data for this CS field is supplied from a DS. You can click on this yellow triangle and choose: 1). Another field from a DS; 2). Constant; 3). ABAP routine; 4). Formula. So, here you can determine the data transformation. Moreover, there is a possibility to create a start routine (blank sheet icon at the top).
    And finally, here are the answers on your questions:
    Q:
    a)     Under “Transfer_Structure/Transfer_Rules” in the InfoSource
    1) the “Transfer Rules” tab, what are the fields found in the right column (Assigned InfObjct-field)? And where do the fields you enter in the left column (Communication Str/Transfer rules) eventually go?
    A: Right part shows a mapping between DS and CS fields. Left part shows CS fields and data transformation (TRs) during data transfer from TS (PSA) to the CS. These are fields in the CS that will go to data target and which are fed from a TS (DS).
    Q: 2) the “DataSource /Trans. Structure” tab, can I always assume that all the fields in the right column (DataSource) came from DS_Test?
    A: Yes, you are right.
    Q: The left column (Transfer Structure), in my test was exactly the same as on the right. Where do these fields eventually go?
    A: As I described, left and right parts are identical. These fields will go to CS.
    Q: b) Under “Communication_Struct.”, in the InfoSource
    3. the right column (ISource Fileds) where from those InfoObjects. if I am now creating my InfoSource. Where did they come from?
    A: these are fields from an IS template, the name of this template you can see above this right part.  Actually, during IS (CS) creation you can choose different templates and choose fields from them transferring them into the left part.
    Q: 4. The left column is “Communication Structure”, which at this point has no InfoObjects, if I move a couple of InfoObjects from the right to the left, where do these Objects in the left eventually go?
    A: these are fields of CS (left part) and as I said before they will go to data target.
    Q: 5. what is the relationship between the “Communication Structure” in 4 and 1? Or any relationship between a) and b) as a whole?
    A: CS in 4 just shows IOs that will be transferred to data target. CS in 1 also shows how values for CS IOs are to be fed and transformed.
    Best regards,
    Eugene
    Message was edited by: Eugene Khusainov

  • How does workflow retrieve users under position/job when sending email

    Dear All:
    This question is after my thread before: 'How does workflow retrieve users under an org. unit when sending email", my further question would be how to get users under a position/job.
    I find the evaluation path 'WF_ORGUS' that is delivered by SAP, and I am wondering whether it will cover all my cases: to retrieve users under an org. type including org. unit, position and job.
    Thanks in advance!
    Haifeng Hu

    Hello,
    Okay, I misunderstood. You don't get to specify the evaluation path - if you fill in a Position then SAP fetches the users in that position. It works, so I haven't thought about it any further. Any reason you want to know exactly how it is done?
    regards
    Rick Bakker
    hanabi technology

  • When setting up sync how does sync manage information from two computers? Does it merge the information?

    When setting up sync how does sync manage information from two computers? Does it merge the information?

    Hi!
    Yes, the way Sync works is that it puts all the Bookmarks together and pushes them to all your devices. Same with History.
    You will not loose any information in any of your computers.

  • How does Internet access work once I leave home?

    Do I need to subscribe to a wireless broadband deal- such as BT's Openzone- in order to access the Internet on my macBook when I'm away from home ... or can I depend on dialling my ISP via a phone socket? How does Internet access work once I leave home?

    BT Openzone looks a lot like T-Mobile wireless here in the States. I've got a T-Mobile account and password. When I go into a location that has TM, I open up my MacBook and look under my AirPort menu icon to select the TM network. Then I enter my account name and password and go.
    Of course TM isn't everywhere, just as BT's service isn't. When I'm in a location that doesn't have it, how I connect depends on what does exist. I always travel with an ethernet cable because many hotels don't have wireless but do have ethernet connections. I've not had to resort to modem service is more than 5 years.

  • How do you connect your photoshop elements on your computer to your account online? and how do you create a customized url? how does the gallery work and how do you access it? i have trouble signing in on my program from my computer to connect to the onli

    how do you connect your photoshop elements on your computer to your account online? and how do you create a customized url? how does the gallery work and how do you access it? i have trouble signing in on my program from my computer to connect to the online photoshop, and I really want to create my own customized url and post photos to my gallery and share them with the world, family, and friends, but i need help because i can't figure how to do any of this, would really appreciate feedback and assistance, thanks, - claire conlon

    To add to sig's reply, "calibrating" does not calibrate Lithiu-Ion batteries, it calibrates the charge reporting circuitry.  If you look at the effect of deep discharging Lithium-Ion batteries in the data from the independent test group, Battery University, you will see that doing so shortens the life of the battery significantly. It looks like an optimum balance between use and life is at a discharge level of 50%.

  • How does TimeOut(Sec) works/ behave in FTP Adapter?

    Hi ,
    How does TimeOut(Sec) works/ behave in FTP Adapter?
    Lets Say : If I mention 300 Secs in this . How Should it behave ??
    if a file processing in adapter is taking more then 300 sec , will it also be  terminated ??? what error response i will get in such case.
    Regards
    Prabhat Sharma.

    Hi,
    if there's a network error the channel may hang (for a very long time)
    if you specify 300 secs after that time the channel will reset the connection and you can start pooling again
    for more details:
    Note 849089 - XI 3.0 / PI 7.0 File Adapter: FTP Timeout Handling
    Regards,
    Michal Krawczyk

  • How does SAPscript 'WRITE_FORM' works ?

    Hi
    I have a Z program working fine, it is a SAPM07DR copy and i aggregated some fields to WASCHEIN form.
    But i see when the program (standard or copy) calls the write form, the field values in program have other values (just the previous values) than the values wich appears in the printed form.
    For example: 
    WASCHEIN KOPF Window has the WERKS value:
             Plant:    &*T001W-WERKS&
    But when the write form is called
              CALL FUNCTION 'WRITE_FORM'
                EXPORTING ELEMENT = 'KOPF'
                WINDOW            = 'KOPF'.
    In the program the *T001W-WERKS field has a different value that the value wich appears in the spool, debugging i see that the field has the prevoius value in the program:
    Program
    *T001W-WERKS
    (when Write Form).............Spool
        '     '...................................Plant:  0900
        '0900'.............................Plant:  0901
    I had to do the same logic in my new aggregated fields, but i realy don't know why does the program works in this way.
    Why the print program and sapscript function works in this way ?
    How does WRITE-FORM works, that is where the function take from the values to print ?
    Thanks
    Frank

    Hi Max
    I hope the program works like you said, but it works:
    old_werks = '   '
    T001W-WERKS = '0900'.
    *T001W-WERKS = T001W-WERKS .
    *T001W-WERKS = old_werks.    <-- '   '
    CALL FUNCTION 'WRITE_FORM'
    (form KOPF with *T001W-WERKS)
    old_werks = '0900'
    T001W-WERKS = '0901'.
    *T001W-WERKS = T001W-WERKS .
    *T001W-WERKS = old_werks.    <--  '0900'
    CALL FUNCTION 'WRITE_FORM' 
    (form with *T001W-WERKS)
    But the FM prints 0900 and after 0901, when the *T001W-WERKS values were '    '  and  '0900'   !!!
    (and with the *T001W-NAME1 field occurs in the same way)
    Why does the FM prints that values ??
    Thanks
    Frank

  • How does Media Manager handle Motion Projects within the Sequence being cop

    How does Media Manager handle Motion Projects within the Sequence being copied?
    I've highlighted my sequence, opened Media Manager, and copied it to another drive. When I open up the sequence in it's new project, the rendered Motion Project plays within my sequence but it won't let me go back into this Motion Project to make changes. I tried starting over. This time I highlighted the actual motion sequence and clip that is created within FCP after sending something to Motion and copied those to the new drive. When I went into the newly created 'media' folder and double clicked on the motion project it launched. It looked liked it was going to play but while my crops moves and borders were there, the filmed material is shown as a freeze frame for the duration of the motion project.
    I did this with and without 'including master clips within selection'. Any advice would be appreciated. Thanks.

    Is there anyone who knows the answer to this? Thanks.

  • How does Merged Dimensions Work in WebI created on SAP BI Queries

    Hi,
    I need to know how does Merge dimensions work in WebI when using SAP BI Query as source?
    Below is my understanding when connection is defined for the universe on oracle database:
    1) To get the data in merged dimensions, there must be physical join (Either Direct or vai some other tables) between different tables at backend level (This means  there  must be join between tables in Oracle database.)
    2) we get the UNION of data when dimensions are merged at webI level.
    I dont know how this works in SAP BI.
    Since there is different data model defined for different BI Queries in SAP , and for each BI Query and there is seperate Universe, So how can you get correct data in WebI when there is no connections in DSO's used in different BI queries?
    Can any one suggest me the way data apperas in merged dimensions for WebI created on SAP BI?

    I assume we are only talking about merging dimensions in Web Intelligence here and not on the BW backend. this is a client side mere where you have 2 resultsets.
    if you want to do this on the BI server side it would be a multi-provider combining different InfoProviders - or a InfoSet - depending on the join type you need. MultiProvider is a union, Infoset allows you to choose
    Ingo

  • KPI -How does the periodicity works in SM

    Periodicity is @ Context level only? That means we have to define different contexts for weekly &monthly? That doesnu2019t fly good
    How does the periodicity works in SM..data entry as well as frontend display?

    Hi TR,
    When looking at a scorecard, you should see the status for all objectives and KPIs during the same time period. If you look at Revenue KPIs for just one week and Cost KPIs for the whole month, how can you assess how you performed in that month?
    This doesn't mean that the metrics in PAS cannot have different periodicities. They can! But when looking at data in the scorecard these periodicities will be converted to the scorecard periodicity. For example if you have monthly metrics and you are looking at scorecard data quarterly, the scorecard will show you the value for the 3 months of that quarter. Here, you should take care to define the proper time consolidation properties for the metric (it can be SUM, like in costs or revenue, AVERAGE, LAST, FIRST...).
    Likewise, if you have quarterly metrics and you want to see scorecard data monthly, then PAS does a breakdown of the value per months.
    Anyway, if you are looking to setup a weekly scorecard, that will likely include a different set of metrics that a monthly scorecard would. Weekly scorecards will problably include more operational metrics and will lack the strategic focus of scorecards with a broader time scope.
    Regards!
    Ricardo

Maybe you are looking for

  • Smartforms

    hi experts, i want to display all items of customer means open and closed items. but on which condition we will display. reward points.

  • Select LOV based on value in another table

    Hi all, I have an issue, I have an item with Select list with dynamic query in the dropdown ListofValues. but i want to use a condition like select val1 display_value val2 return_value from table2 where value_in_table1 = username AND table_id1=table_

  • ORA-14402: updating partition key column would cause a partition change

    Hi, When I am trying to execute an update statement where i am tring to update date values emp_det from 11-oct-2010 to 12-nov-2010. Oracle throws an error : ORA-14402 updating partition key column would cause a partition change I think that this is b

  • Problems w/ race conditions when using attachmovie

    Hello,    I'm having a strange problem w/ race conditions when using attachmovie. I have a class linked to a movie clip that I'm attaching to the stage.   The class is fired off when the movie clip is attached but also other classes are getting loade

  • Clearing email addresses using Comcast

    When I begin typing an email address into (Comcast email form) the "To" bar, an "intuitive" box pops up with possible email addresses to select from. Some of these addresses are old, and I want to clear them out. When I go to Safari's Preferences and