Howto integrate s2ram with KDE Powerdevil?

Hi,
I have a Sony VGN-FW53GF which runs Arch incredibly well. The only thing I would like to get going is suspend to ram/disk when I close the lid.
At the moment if I suspend to ram, it does, but on resume black screen ... have to reboot.
I installed  "pacman -S uswsusp" so that I could use the user space s2ram utility .... and that works great, I just do a "s2ram -f" and it suspends/resumes
just great .. doesn't even break my wireless or sound (I have to add the -f parameter because my laptop is not on the "whitelist" ...yet).
My question is: How do I get KDE Powerdevil manager to use s2ram instead of whatever it uses to suspend.
Is there a script someplace that I can plugin a call to s2ram?
I have searched the forum to no avail.
Thanks,

With either resume or uresume, it makes no difference
You have to use the uresume hook with uswsusp and remove the resume one and resume kernel parameter, that's how it is, do it.
Yes Sir! Already did that, not that thick! ...:mad:
.. if you are really using uswsusp and this powerdevil thing is not pulling your nose. I can't even be certain you are using uswsusp (or using it properly) so I will stop wandering in the dark.
Play a detective. Suspend with s2ram. Then enable uswsusp in pm-utils and suspend with pm-suspend. Then if that works go to powerdevil...
Yes, I am using uswsusp properly, how else did you thing I could do a successful  "s2ram -f" from the console ..
The issue is: If powerdevil uses pm- utils, and pm-utils calls "s2ram --force" in it's script, why is it not working just as running it from the console .... that is the only issue I have ..
are we clear?
EDIT: Update, pm-suspend has the same problem ... black screen ...
/etc/pm/config.d/config =
SLEEP_MODULE="uswsusp"
S2RAM_OPTS="-f"
Last edited by bmentink (2010-01-05 00:25:06)

Similar Messages

  • Howto integrate rman 9 with legato networker 6

    Hi,
    I have the following on one node:
    SUN os 5.9
    Legato Networker 6.1.3 (client)
    oracle server 9.2.0.5
    How can I integrate rman with legato networker? Which is the library needed?
    thanks in advance,
    Fernando

    Hi,
    many thanks for the info. I've created the symbolic link, but when I make a backup to sbt, rman says:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of allocate command on T1 channel at 12/15/2008 14:42:01
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27211: Failed to load Media Management Library
    Additional information: 2
    I also tried with sbttest:
    The sbt function pointers are loaded from libobk.so library.
    -- sbtinit succeeded
    -- sbtinit (2nd time) succeeded
    sbtinit: Media manager supports SBT API version 2.0
    sbtinit: vendor description string=BMO v3.0
    sbtinit: allocated sbt context area of 536 bytes
    sbtinit: Media manager is version 3.0.0.0
    sbtinit: proxy copy is supported
    sbtinit: maximum concurrent proxy copy files is 0
    -- sbtinit2 succeeded
    -- regular_backup_restore starts ................................
    sbterror failed for function sbtbackup
    It seems that rman cannot connect to legato's libraries.
    any clue?
    thanks in advance,
    Fernando

  • Acer d250 sleep | How can I use s2ram in kde menu?

    Hey everyone,
    My first post ; )
    I am running kdemod on my acer aspire one d250-1165, I am having an issue with stock kde suspend-to-ram, after resuming from a suspend-to-ram the system comes back aparently normal, everything seems to be working, but the screen flickers once in a while, and will eventually freeze the screen.
    s2ram works fine with -f -a 1 parameters, but I can not figure out how to integrate this in kde, I do not know which method kde uses to suspend, Is there a way to make it set the acpi_sleep parameter?
    I need some pointers to figure this out. Thanks for your atention.
                        Gui
    Last edited by guiprada (2010-01-23 05:24:19)

    I have the following line in my .xinitrc:
    /usr/bin/xmodmap -e "keycode 133 = F30" &
    ...where keycode 133 is my win key. I assign it to F30 (it can be any number besides 1-12, I guess), and then it's just a matter of configuring escape key (in your case, it'll be kde start menu) to F30.

  • Org.kde.powerdevil.backlighthelper: QDBusConnection: system D-Bus...

    Hello,
    I didn't find any answer with Google for mine problem:
    The kde isn't starting, I get me error with dbus system:
    org.kde.powerdevil.backlighthelper: QDBusConnection:
    system D-Bus connection created before QCoreApplication. Application may
    misbehave.
    I use systemd. How I need to configure?
    Please help me.

    Agent pid 1925
    startkde: Starting up...
    Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    kbuildsycoca4 running...
    kbuildsycoca4(1944) KBuildSycoca::checkTimestamps: checking file timestamps
    kbuildsycoca4(1944) KBuildSycoca::checkTimestamps: timestamps check ok
    kbuildsycoca4(1944) kdemain: Emitting notifyDatabaseChanged ()
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    No outputs have backlight property
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.6'
    kded(1943)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    >>> 0x9ad590 created Job Job
    >>> 0x9afc30 created JobFactory
    >>> 0x9af730 created JobFactory
    >>> 0x9aecd0 created Job Job
    >>> 0x9ae030 created Job Job
    >>> 0x9af730 deleted JobFactory
    >>> 0x9afc30 deleted JobFactory
    >>> 0x9ad590 deleted Job Job
    >>> 0x9aecd0 deleted Job Job
    >>> 0x9ae030 deleted Job Job
    kded(1943) PowerDevilUPowerBackend::brightness: org.kde.powerdevil.backlighthelper.brightness failed
    kded(1943) PowerDevilUPowerBackend::brightness: org.kde.powerdevil.backlighthelper.brightness failed
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    kwin(1966): ""fsrestore1" - conversion of "0,0,0,0" to QRect failed"
    kwin(1966): ""fsrestore2" - conversion of "0,0,0,0" to QRect failed"
    kwin(1966): ""fsrestore3" - conversion of "0,0,0,0" to QRect failed"
    OpenGL vendor string: nouveau
    OpenGL renderer string: Gallium 0.4 on NVC3
    OpenGL version string: 3.0 Mesa 8.0.4
    OpenGL shading language version string: 1.30
    Driver: Nouveau
    GPU class: Unknown
    OpenGL version: 3.0
    GLSL version: 1.30
    Mesa version: 8.0.4
    X server version: 1.12.4
    Linux kernel version: 3.5.3
    Direct rendering: yes
    Requires strict binding: yes
    GLSL shaders: yes
    Texture NPOT support: yes
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    plasma-desktop: cannot connect to X server :0
    plasma-desktop(1974): Communication problem with "plasma-desktop" , it probably crashed.
    Error message was: "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    kaccess: cannot connect to X server :0
    unnamed app(1976): Communication problem with "kaccess" , it probably crashed.
    Error message was: "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "
    xrdb: Connection refused
    xrdb: Can't open display ':0'
    kdeinit4: Fatal IO error: client killed
    kdeinit4: sending SIGHUP to children.
    klauncher: Exiting on signal 1
    kdeinit4: sending SIGTERM to children.
    kdeinit4: Exit.
    kwin: Fatal IO error: client killed
    kglobalaccel: Fatal IO error: client killed
    kdeinit4: Fatal IO error: client killed
    kdeinit4: sending SIGHUP to children.
    QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
    Qt-subapplication: Fatal IO error: client killed
    KCrash: Application 'ksmserver' crashing...
    KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
    Warning: connect() failed: : Nincs ilyen fájl vagy könyvtár
    KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi directly
    QThreadStorage: Thread 0x1d8fc40 exited after QThreadStorage 14 destroyed
    QThreadStorage: Thread 0x1d8fc40 exited after QThreadStorage 13 destroyed
    QThreadStorage: Thread 0x1d8fc40 exited after QThreadStorage 12 destroyed
    kded4: Fatal IO error: client killed
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    No protocol specified
    drkonqi: cannot connect to X server :0
    kdeinit4: sending SIGTERM to children.
    kdeinit4: Exit.
    Hello, this is a code, What is a problem?
    Could you help me?
    Please

  • [extra:editors] nvu 1.0 with KDE mimetypes

    Introduction
    The Nvu WYSIWYG web editor is available on two flavors:  the standard build which do not require KDE, and another one which use KDE to provide mimetypes icons on the Site Manager. This thread supports only the KDE mimetypes version.  For the non KDE version, look here.
    Below is a comparison picture of both Site Managers so you can compare and decide then which version do you want to install.
    Note: Both packages share the same directory structure, which means only one of them can be installed at the same time. That's the reason a conflict restriction exists between them.
    Pre Install Notes
    1. If upgrading from 0.80 or earlier, remove the .nvu dir in your home folder.  Already have 0.90 or later?  Can keep your dir and settings.
    2. Look the Change Log at the botton for a summary of the changes.
    Installation
    1. Grab a gziped tar from on AUR site here, or the splited files below:
    a. PKGBUILD
    b. mozconfig
    c. nvu.desktop
    d. mozilla-1.7.3-ft2.patch or get it from /var/abs/network/mozilla-firefox (or mozilla-thunderbird)
    e. nvu-0.70-domainfix.patch
    f. launcher.patch
    g. mozilla-ext
    h. nvu-browser-ext
    i. nvu-1.0PR-kdesitemanager.patch
    j. nvu-nonroot.tar.gz
    2. Create the folder to store the files with the name nvu-kde on your abs/local folder
    $ mkdir /var/abs/local/nvu-kde
    3. Put the files on that directory
    $ cp * /var/abs/local/nvu-kde
    4. Change to /var/abs/local/nvu-kde dir and build the package
    # cd /var/abs/local/nvu-kde && makepkg
    5. Install the package
    # pacman -U nvu-kde-1.0-1.pkg.tar.gz (Upgrading a previous version installed, or)
    # pacman -A nvu-kde-1.0-1.pkg.tar.gz (Adding or installing a new program)
    Post Installation & Enhancements
    After installing Nvu and recommended prior to its first execution, but can be done anytime, visit this link which allow the normal user to add themes & extensions to Nvu and in fact, to all mozilla product line installed on your computer.
    This step will not be included on the package until the changes explained on that HOWTO became adopted by other Arch mozilla packages.
    Troubleshooting:
    Click the icon and doesn't run:  Run it from the console, and if you got a loop message with the phrase "Loading the extensions datasource", then as root type:
    $ nvu -register
    and run nvu again as a user, and report your sucess or failure here.
    Loading the extensions datasource message on shell:  Look above for the workaround.
    FAQ
    1. Browse button and help hyperlinks open mozilla-firefox and I would like to open another browser. Edit your /opt/mozilla/bin/mozilla-ext, comment the line exec $MOZILLA_FIVE_HOME/firefox $url and uncomment one of the other lines.  Currently you can choose between firefox, mozilla, opera and konqueror.
    Current Issues
    Nothing at the moment
    TODO
    Nothing at the moment
    Change Log
    Doc modified 2005-07-01: Updated info.
    Files modified in 2005-06-31:  PKGBUILD, nvu-nonroot.tar.gz
    2005-07-01 (1.0-1) Upgraded to 1.0, smaller nonroot patch.
    2005-04-15 (1.0PR-1) Upgrade to 1.0PR, return to nonroot patch so Gnome users can compile without root.
    2005-03-11 (0.90-1) Upgrade to 0.90.
    2005-02-13 (0.81-1) Upgraded to 0.81, nonroot patch replaced by nvu -register, new script to activate browse button and help hyperlinks. Locale dirs of win and mac removed.
    2005-02-05 (0.80-1) Updated to 0.80.
    2005-01-19 (0.70-2) Freetype2 fix, file structure matches other mozilla apps. Mozilla-common dependency added.
    2005-01-12 (0.70-1) First version with KDE mimetypes support.
    Hope you enjoy it.

    New package for the 0.81 version. 
    In addition to the updated version, I made the following enhancements or changes to the package:
    1. Remove some locale directories bundle with nvu which belongs to mac and windows architectures.
    2. Added a mozilla-ext script which is execute a predefined browser either when the browse button is pressed or a hyperlink from the help menu entries is clicked.  Previous versions do nothing on those actions.  The default browser is firefox, but the file can be edited if your current browser is other.  Just edit /opt/mozilla/bin/mozilla-ext, comment the first browser which is firefox, and uncomment the one you want to use.
    3. The most important in terms of usage and future package maintenance is the replacement of the nonroot.tar.gz file with  the -register option.  That change takes out the most difficult and time consuming patch  of the package.  That means faster releases.
    Since many changes were done to the package, please test it and post any success or failure.

  • Problem with kde and sound

    Hi!
    I've a problem with KDE and sound.
    When KDE shows a alert the alert's sound sounds with delay. 3-5 seconds.
    Same happens with kde start.
    Can anybody help me?
    Thanks!

    Pilli wrote:
    Hi!
    I've a problem with KDE and sound.
    When KDE shows a alert the alert's sound sounds with delay. 3-5 seconds.
    Same happens with kde start.
    Can anybody help me?
    Thanks!
    Change the player to mplayer or something in the control panel (Sound and Multimedia - System notifications - Player Settings).

  • Steps to integrate ATG with siebel.

    What are Steps to integrate ATG with siebel?

    Refer to this thread on the same topic
    ATG Siebel Integration

  • How to Configure and Integrate EP with CRM

    Hi Everybody,
    I want to integrate EP with CRM.
    I am using SAP WAS Server.I have installed Portal.
    I downloaded CRM Business packages.
    1)How to integrate and configure in the EP with SAP R/3(CRM Module).
    2)What are the prerequisities.
    Plaese prove the exact help and documents.

    Hello,
    I think this <a href="http://help.sap.com/bp_epv260/EP_EN/documentation/EP/N12_Scen_InstallGuide_EN_US.doc">Scenario Installation Guide</a> from the <a href="http://help.sap.com/bp_epv260/EP_EN/index.htm">SAP Best Practices for Enterprise Portal V2.60</a> can help you.
    Regards
    Gregor

  • Is it possible to Integrate dos with Java to create a sample compiler?

    Is it possible to Integrate dos with Java to create a sample compiler, or do I have to write the compiler from scratch? In theory, I would like to have users enter sample code in a java text field, hit a java button that would compile/run the code, by calling a dos command prompt that would run it, and display any error messages back to the java text field. Does anyone know if this is possible? Any help would be greatly appreciated.
    Tflav23

    There is a Compiler class you might be able to use also:
    C:\jdk1.3.1_01\docs\api\java\lang\Compiler.html
    So perhaps there is no need to create a process to compile code. But I don't know if you can get information about compiler errors.

  • How to integrate DRM with third party tool for loading metadata in SQL table

    Experts,
    I am new to DRM and I have a requirement in which we want to integrate DRM with third party tool(lets say SQL table) as target and load metadata from DRM (Parent node, name , alias etc) to SQL table (same column name)
    Is there any way we can integrate DRM to export the same to table directly instead to files. If yes what are the steps we have to follow.
    Is there anyway we can customize DRM to execute queries or run batch
    Can I have a basic example please.
    Thanks in advance,
    Regards,

    1. Use DRM Export to Table option, for that create an External Connection first for the Target Database and select the respective Tables to which you wish to Export the Hierarchy information.
    2. You can perform most of the DRM Actions via the DRM_BATCH_CLIENT.exe.
        Please refer to Using the Data Relationship Management Batch Client of DRM User guide.
    let me know if you have any issues.

  • How to integrate iReceivables with third party payment system?

    Hi,
    My requirement is to integrate iReceivables with third party payment system.
    Can anyone guide me to achieve this.
    Thanks & Regards,
    Sunita

    Hello Prasad,
    <b>Connection with an External Payroll System</b>
    Payroll Outsourcing functionality allows you to compile master data or payroll data in the SAP system to submit to a third-party service provider in an electronic format. The Outsourcing solution available in the United States and Canada provides a generic interface which writes data into an IDoc (Intermediate Document) for transport to a third-party system. In order to transport data into and out of the SAP system, you must set up a logical system, partner definition, and outsourcing ports.
    If you have built your own payroll interface, using the Interface Toolbox, for example, you can use the Import section of this scenario. The Export section applies only to the transport of IDocs.
    For more information regarding outsourcing, refer to the SAP Library, Human Resources  -> PY Payroll  -> PY-US United States Payroll or PY-CA Canada Payroll  -> Outsourcing.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/af/f4ea3444e9c47fe10000009b38f83b/frameset.htm
    Import Payroll Results from a Third-Party System
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/0a/e62481feaf11d1a5500060087832f8/frameset.htm
    regards
    Prasad
    Message was edited by:
            prasad chintala

  • Want to integrate JavaFX with JSF

    Hi all,
    I am developing a web application in JSF. I want to integrate it with JavaFX. Is it possible to do so? If possible then how can I achieve it?
    Thanks in advance,
    JSF GEEKS

    Actually I found the same code for integrating JavaFX with JSF, which you have linked, but I show it afterwards. Anyways, thanks for your kind support.
    The other interesting thing I found is, interaction between JavaFX and JSF.
    You can interact between JavaFX and JSF like the following way.
    You just give the id in the script in which you have defined the parameters of applet to run in browser with JSF or any language like this;
    <ui:script id="js" type="text/javascript">
        javafx(
                  archive: "Your_JAR_File.jar",
                  draggable: true,
                  width: 550,
                  height: 370,
                  code: "package_name.Main",
                  name: "Name_of_Application/package_name",
    id: "myJavaFX"
        </ui:script>Then uin the header part of your page (acually in <head>), you write another script something like below;
    <script language="javascript" type="text/javascript">
    function changeColor() {
    myJavaFX.script.line1=myJavaFX.Packages.javafx.scene.paint.Color.WHITE;
    myJavaFX.script.line2=myJavaFX.Packages.javafx.scene.paint.Color.LIGHTBLUE;
    </script>Here line1+ & line2 are the variables of JavaFX script/program. So here, by this example I am changing the value of variables of JavaFX script to change the colors. myJavaFX {color:#333333} {color}is the id of the applet which I have given in the first script to generate and run the applet in browser.
    so here I give you what I understood. Hope it helps.
    Thanks,
    JSF GEEKS
    Edited by: jsfgeeks on Sep 17, 2009 10:59 AM
    Edited by: jsfgeeks on Sep 17, 2009 11:02 AM
    Edited by: jsfgeeks on Sep 17, 2009 11:03 AM
    Edited by: jsfgeeks on Sep 17, 2009 11:04 AM

  • Problems with kde 4

    hi. sorry for my bad english.. mm i have some troubles with kde 4. in my desktop, a square appear and i have no idea about it. but it occur sometimes, not always.
    what could be?

    https://bbs.archlinux.org/viewtopic.php?pid=857506

  • How to integrate workflow with files?

    Hi,I know I must configurate workflow before intetgrate
    workflow with files.But ,there are some problems! when i configurate workflow ,there is no confirmation window when it finished. so when i configurate files with workflow,the system say there is no workflow scheme, so i can't integrate workflow with files.!
    anybody any idea(in detail)? thanks a lot!
    2003-7-29

    Hi,
    When workflow has been installed, it should definitely say that it was installed successfully.
    Also for WF to integrate with files successfully there are several additional languages that need to be installed.
    I have a good set of install notes for workflow. Email me at [email protected] and i will send them to you.
    Thanks and Best Regards
    Lynne

  • Integrate Essbase with third party s/w (ETL)

    Hi Experts,
    I would like to integrate Essbase with third party s/w (ETL) which i am not sure have essbase adopters like DIM/ODI adopters available at e-delivery.
    Essbase Version: 9.3.1
    Third party ETL : CostIron (from IBM)
    Any help will be highly appreciated
    Regards
    Kumar

    Thanks John,
    We would like to use CostIron which is ingegration solution (connect, transform and load) and claim that it requires no coding but configuration.
    it means we should not require ODI for integrating essbase with Oracle EBS.
    Please advice as you have deep insight in Hyperion.
    Thanks and Regards
    Kumar

Maybe you are looking for

  • SMS doesn't work with T-Mobile CZ and Palm Pre

    Hi, there is my problem: I bought Palm Pre from Germany. Everything works fine, but there is problem with sending messages. I tried to ask in Czech forums, PreCentral or my Carrier and no answer solved this problem. So I'm asking the core of the prob

  • Free trial download Photoshop Elements 10, won't open

    Hi, I downloaded and installed the trial version of Photoshop Elements 10, it all installed fine, but when I click on the icon to launch the program I get this error: The operation can't be completed because the original item for "Adobe Photoshop Ele

  • How to begin

    Hello there. I'm starting with the Oracle Database Lite, reading the documentation and so on. I want to develop a java cdc program that run on a pda with windows mobile. Do anyone know that is a tutorial or something that could help me with Oracle Li

  • Resize JTable Columns without Column Header

    Hi all. I have a JTable that doesn't display a column header. I would like to allow the user to resize the columns by dragging a mouse at the column edges at any point down the table. It is not obvious how I can accomplish this. Does anyone have any

  • Wireless OOB - Users remains in Quarantine VLAN after posture

    We are getting ready to deploy wireless NAC OOB in an existing environment.  Everything seems to work fine, however once the user has passed posture assessment the WLC reports the user is still in the quarantine VLAN.  When I look at the core switch