Workaround for bug (ACPI, Power supply)

Hi.
I'm using Arch on Samsung 530U and there is bug in handling with power supply. It is reported for example here: https://bugs.launchpad.net/bugs/971061, https://bugs.launchpad.net/bugs/1027798 etc.
Samsung's replies on my urgents to fix it are: "Use windows..."
In short - problem is that system remember if the battery is charging/discharging only at boot (I guess when acpi starts) and since than it is frozen. But the recognition of pluging/unpluging power supply works fine.
Here is what is does, when cable was plugged at start:
Battery is fully charged and adapter is connected:
~$ acpi -V
Battery 0: Unknown, 80%
Battery 0: design capacity 6100 mAh, last full capacity 6100 mAh = 100%
Adapter 0: on-line
~$ cat /sys/class/power_supply/BAT1/status
Unknown
~$ cat /sys/class/power_supply/ADP1/online
1
When the adapter is disconnected:
Battery 0: Charging, 80%, charging at zero rate - will never fully charge.
Battery 0: design capacity 6100 mAh, last full capacity 6100 mAh = 100%
Adapter 0: off-line
~$ cat /sys/class/power_supply/BAT1/status
Charging
~$ cat /sys/class/power_supply/ADP1/online
0
You can see that adapter is recognized well, but the battery still "thinks" it has been charging. I can't see how much time is remaining etc.
When I manually try 'sudo echo "Discharging" >> /sys/class/power_supply/BAT1/status' I get permission denied.
Any ideas or workaround?
Thanks
Last edited by Kotrfa (2013-04-16 08:38:10)

Hi.
I'm using Arch on Samsung 530U and there is bug in handling with power supply. It is reported for example here: https://bugs.launchpad.net/bugs/971061, https://bugs.launchpad.net/bugs/1027798 etc.
Samsung's replies on my urgents to fix it are: "Use windows..."
In short - problem is that system remember if the battery is charging/discharging only at boot (I guess when acpi starts) and since than it is frozen. But the recognition of pluging/unpluging power supply works fine.
Here is what is does, when cable was plugged at start:
Battery is fully charged and adapter is connected:
~$ acpi -V
Battery 0: Unknown, 80%
Battery 0: design capacity 6100 mAh, last full capacity 6100 mAh = 100%
Adapter 0: on-line
~$ cat /sys/class/power_supply/BAT1/status
Unknown
~$ cat /sys/class/power_supply/ADP1/online
1
When the adapter is disconnected:
Battery 0: Charging, 80%, charging at zero rate - will never fully charge.
Battery 0: design capacity 6100 mAh, last full capacity 6100 mAh = 100%
Adapter 0: off-line
~$ cat /sys/class/power_supply/BAT1/status
Charging
~$ cat /sys/class/power_supply/ADP1/online
0
You can see that adapter is recognized well, but the battery still "thinks" it has been charging. I can't see how much time is remaining etc.
When I manually try 'sudo echo "Discharging" >> /sys/class/power_supply/BAT1/status' I get permission denied.
Any ideas or workaround?
Thanks
Last edited by Kotrfa (2013-04-16 08:38:10)

Similar Messages

  • Looking for Apple TV power supply - any ideas?

    Hi folks,
    My out of warranty Apple TV has an obvious power supply problem (it's totally dead, no power up whatsoever).
    There are a few websites that have tutorials on replacing the power supply (or hard drive, etc...).
    The problem is I can't find a place to purchase a replacement power supply.
    It's a Delta Electronics ADP-36BF, Apple part # 614-0395 (http://s1.guide-images.ifixit.com/igi/HGslJDZeqPnKlFVD.huge)
    Any ideas on where to find one?
    If I can't get it myself to replace it, I'll probably just wait for the Boxee Box to replace it.
    Thanks.

    I'm in the exact same boat -- I've looked everywhere and can't find anything. I've even called Delta Electronics about the part and they said they can only sell them to Apple. If you find anything out please let me know! Thanks.

  • Correct part number for G4 MDD power supply

    I am in the process of replacing my old Power Mac G4/350 with a G4 MDD 1.0 ghz DP.
    The power supply is missing from the MDD unit. Does anyone know what the correct
    part number for this power supply? 

    http://natramelec.com/g4powersupply/
    Part Number: 661-2816, 661-2816-R, 661-2725
    Manufacturer part: API1PC36
    Apple assembly: 614-0224, 614-0183
    Product EEE Code: NS3, P0V, P0W
    http://www.welovemacs.com/6612816r.html

  • SEARCHING FOR TUNSTEN E POWER SUPPLY REPLACEMENT

    I am working here in Baghdad, Iraq and need to know where to purchase a replacement AC adapter.
    Type is PalmOne  SAC MODEL R3W005-500
    PALM PIN:  163-5877A-US
    INPUT:  120VAC  60HZ  100MA
    OUTPUT:  5.5VDC 500MA
    ITE power supply    I think the power supply was plugged in to 220 by accident.  However, I do have a universal which works some but only charges at 4.5 volts. I would like to replace old one. But do not know where to go.  I am sure I will have to purchase online.
    Post relates to: Tungsten E

    Hello and thank you for using the Palm Help Forums!
    I was unable to locate a charger on our website but I was able to locate the charger you need on a different website. http://www.gethightech.com/Merchant2/merchant.mvc?Screen=PROD&Product_Code=CL-920&Category_Code=CC
    This is for the Tungsten E device you currently own. I hope this resolves your issue.
    -Pat

  • Looking for software driver for HP 6655A Power Supply with Labview 5.1

    Hi, trying to control an HP 6655a Power Supply but the version of Labview in the PC is the old Labview 5.1.
    I don't want to upgrade it for fear that the program will no longer function. Does anyone have the driver for the HP6655a that will work with labview 5.1?

    Hi demo,
    Try the drivers directly from Agilent.
    Here is a couple of links:
    http://we.home.agilent.com/cgi-bin/bvpub/agilent/editorial/cp_MiscEditorial.jsp?OID=536913992&NAV_ID=-536891584.536882066.03&LANGUAGE_CODE=eng&COUNTRY_CODE=ZZ
    Click on> Driver: 665xA Series Instrument Drivers
    Maybe this one is better... it's older...
    http://we.home.agilent.com/cgi-bin/bvpub/agilent/editorial/cp_MiscEditorial.jsp?OID=536917365&NAV_ID=-536891585.536880265.03&LANGUAGE_CODE=eng&COUNTRY_CODE=ZZ
    Click On > Driver: DC Power Supply Instrument Driver (1.13 MB)
    You may have to import the instrument driver after you install the libraries. This is done by selecting from the pull down menu:
    Tools > Instrumentation > Import CVI Instrument Driver
    JLV

  • IMAC 27" goes black, won't run or boot up for hours. Power supply?

    and then suddenly be able to boot. But when you shut it back down, it won't boot again. Is this a power supply issue? I've cleaned it and tried multiple power outlets around my house, but the only cure seems to be to sit for a few hours. I use it with a Thunderbolt monitor on the side, but it doesn't seem to make any difference whether it's part of the equation or not.

    Hello ... I start to have the exactly same issue with my 21" after a shutdown or sleep mode ... ... I have to wait some time until I can boot again. If I try to boot after 5m or so I can ear the Hard drive and fans but it doesn't start (no screen, no startup sound or keyboard access). Any sugestion?
    Thanks in advanced,
    Jorge
    PS: I have already OS X 10.8.1 (12B19) version and this is a ( late 2009 iMac 21" 3.06 GHz Intel Core 2 Duo)

  • Labview drivers for sorensen dlm power supply

    I am looking for a LabVIEW driver for a Sorensen DLM 150-4 power supply.  I am using ethernet to communicate with it.  Can anyone help me?
    Thanks.

    Sorensen probably changed the firmware to more compliant with LXI specs. It's nice that they finally adopted SCPI but it's too bad they didn't maintain backward compatability to their older models. I wonder what they are telling their customers with an installed base of the GPIB instruments that might want to buy the new model. In theory, I suppose you could use the existing driver as a starting point and replace the old commands with the SCPI ones. I only have GPIB models so I can't be of much help there. Have you checked with Sorensen to see if they have a new driver? If you do create a new driver, please post it so others can benefit.

  • Want references for using ATX power supply with MDD.

    There are references all over the place to adapting an ATX power supply for a MDD/FW800. But it would be nice to have links to as many useful ones as possible in one thread -- this one -- without too much superfluous verbiage.
    Please post links with brief descriptive comments or, if you have some hard information that's not easily linked to, please post it as concisely as possible. Hopefully, the resulting thread will be useful to many people, and not just to me.

    Watch these great YouTube videos
    http://www.youtube.com/watch?v=xICg592xJTg
    http://www.youtube.com/watch?v=j7RDGy34tjU&feature=fvw
    Look at these links.
    http://efeion.blogspot.com/2007/12/power-supply-fun-part-2.html
    http://www.applefritter.com/node/23857
     Cheers, Tom

  • Guide for Selecting a Power Supply

    Mod may want to make this a STICKY.
    Here's a general guide on how to select a PSU for your HP desktop.  The majority of standard ATX powersupply (PSU) should fit inside an HP case.  The exception would be a slim line case or the esoteric Blackbird. 
    Look for an 80+ certification on the PSU to save electricity.  A PC will normally idle or run at low load 75% of the time.  Therefore, look for a PSU that's more efficient in the 50-90W range.  An 80+ 350W PSU reaches the 80% efficiency level at 70W output (20% of rated output).  The output must be greater than 140W to achieve the same level of efficiency from an equivalent 80+ 700W PSU.  So picking a PSU that is rated 25% higher than the maximum ACTUAL load of the rig will save you more $ on electricity. 
    A modern PSU is designed to achieve peak efficiency between 20 and 80% of the rated output.  Running a PSU above the 80% load level will result in excessive heat, noise, and premature failure.
    An Nvidia rig with GeForce GTX 280 (1024MB on board RAM) will draw about 350W max from the wall.  If we factor in the efficiency of a 80+ PSU, then the actual load on the PSU is only 280W (350 x 0.80).  To calculate the required PSU, multiply the actual load by 1.25 (25% margin).  In this case we only need a 350W PSU (280 x 1.25) to run this GPU.
    Let's apply what we know to a Radeon HD 4870 (512MB on board RAM) rig.  290W max from the wall.  Actual load is 290W x 0.80 or 230W.  Now apply the 25% margin rule and we arrive at a PSU requirement of 290W (230W x 1.25).  Even if we apply a 50% safety margin, the power requirement is still under 350W (230W x 1.50).
    There is no need to overspec the PSU by 50% unless you run your PC at full load 24/7.  Keep in mind that there is a huge variation in PSU quality and rating.  A cheap 500W PSU may not be able to deliver as much power as a quality 350W.  Antec Earthwatts/NeoPower/TruePower, Corsair, and Seasonic are quality units widely available at many US retailers.
    Many high-end PSUs will need additional power from the PSU in the form of one or two 6/8 pin GPU power plug.  You can purchase an adaptor to convert a 4-pin molex to 6-pin GPU power plug.
    http://www.tomshardware.com/reviews/geforce-radeon-power,2122-3.html
    This question was solved.
    View Solution.

    Found a review of the Corsair 400W (Seasonic-built power supply) that I've been recommending on this forum.  This ATX power supply should fit inside most HP case (minus Slimline).  It has ample power to drive a modern quad core plus Radeon 4870 or GTX280 video card. 
    At 100% load, we see a 2.5% drop in the +12VDC rail, which is still within spec and does not affect the performance of any component inside the PC.  +12VDC regulation at 82% load is a superb 0.5% with 45C case temperature.  Note that the power output and efficiency decrease with higher temperature. 
    Cheap power supplies are rated at 25C.  When these units are subjected to higher case temperature, the output can drop 10-20%.
    Again, we discover the sweet spot of a good PSU is 20-80%.  A good 400W PSU is more than adequate for many PC users.  This Corsair is only $30 after a $10 rebate.  That's a great price for a quality/quiet PSU that won't put a huge dent in your wallet.
    http://enthusiast.hardocp.com/article.html?art=MTYwOSw1LCxoZW50aHVzaWFzdA==
    http://www.newegg.com/Product/Product.aspx?Item=N82E16817139008&Tpk=corsair%20400w
    Additional 20% off w/ promo code "Mar20", ends 3/31
    Message Edited by RoyalSerpent on 03-08-2009 11:40 AM
    Message Edited by RoyalSerpent on 03-08-2009 11:42 AM
    Message Edited by RoyalSerpent on 03-08-2009 11:45 AM

  • Temp Workaround for Bug CSCun19415 - SPA 504G Transfer stopped by incoming calls

    We have found that if you turn the CW Setting (User, Supplementary Services, CW Setting) to "No", then this provides a workaround for this issue. Obviously, there is a loss of functionality of the Call Waiting feature on all lines since this is a macro setting for the phone. However, until a bug fix for this issue (it is NOT an enhancement) comes out this does provide a good workaround. This also provides a workaround for the discussion on this support forum labeled "SPA 504G Transfer stopped by incoming calls".
    Bob Conner

    At least in our case this is not a valid workaround, for we need our operator (only one person) to know how many calls are waiting.
    I agree completely: it is a bug, and not an enhancement. The second incoming call interrupts and aborts the transfer process associated to the previous call. It is amazing that so many firmware upgrades has been released since this behaviour was detected, and it is still here unresolved.
    My only workaround is using an old Linksys SPA942 (which works as expected) or another brand's model.
    My need: A multi-line SIP terminal for an operator to distribute the calls. And, as bizarre as it may sound, this cannot be addressed with CISCO (at least with 50x series).
    Paul

  • Is there any workaround for Bug 6644652 ?

    Hi
    This issue is documented in DBAppTables GTC Connector at Known issues:
    "Bug 6644652
    Reconciliation of account deletion is not supported. In other words, if a record is
    deleted from the target database, then this deletion is not reconciled into Oracle
    Identity Manager"
    Is there any workaround that can be used ?
    Thank You in advanced,
    Ionut

    EHLO!
    Today I ALMOST finalized my delete-recon (is for AD objects, but I think it may work in many contexts). As the pals said, you have to use the createDeleteReconciliationEvent method from the operations API.
    I had a big problem: I spent a day looking for a NullPointerException that was raised just when this method is called. I realized that there is not a problem itself, the exception was raised because I was launching from the Eclipse project! So, instead of develop all the stuff and then pass it to OIM, I had to maje the jar, put it into the ScheduleTask folder, and execute it with the Task Scheduler from the Design Console, or from the Admin Console.
    For a brief:
    1) make a class that extends com.thortech.xl.scheduler.tasks.SchedulerBaseTask
    2) implement the execute() method
    3) for creating the operator, you can call (tcReconciliationOperationsIntf)getUtility("Thor.API.Operations.tcReconciliationOperationsIntf") (getUility is inherited from SchedulerBaseTask)
    4) Make some Map object, with key/value pairs. Keys have to be the same as they appear in the Reconciliation Fields of the Resource Object, and at least you have to put the required ones. Call the method, the first parameter is a String with the RO ("Xellerate User", "AD User", "Exchange", etc).
    For example, you can make something like this:
                   HashMap hm = new HashMap();
                   hm.put("User ID", "drldap");
                   hm.put("objectGUID", "12345679");
                   try {
                        reconOps.createDeleteReconciliationEvent("AD User", hm);
                   catch(Exception e) {
                        e.printStackTrace(System.out);
    Hope it was helpful. Enjoy!
    DrLDAP!

  • Is there a workaround for bug 6648001 ?

    In the evaluation part of the description of the bug a "suggested fix" is mentioned. But what is this fix? I currently have an Applet which tries to access a password protected resource. If I click cancel in the password dialog, leave the page and go back to it the applet and the whole browser hangs. The taskmanager is needed to close the browser. With 1.6u10 the problem is fixed. But not everyone has this version installed...

    I guess, I'm of no help here.. I can crop and transform like crazy - no issues
    I also tried your 'special' method, to crop/transform the main storyline (=what I wouldn't do)  ...  but the attached other clips appear without problems:
    and after that 'arrangement', another one - no issues:
    tsphillips wrote:
    … Perhaps an interesting experiment would be to see what it takes to make a clip render outside of it's crop box.
    here you lost me - in translation, sorry:
    a clip OUTside its crop??
    outside a crop is nothing, that's what a crop is for… shouldn't it?
    cropping means; cutting-off parts of the pic, that icon is a passépartout..
    so, outside a crop is … nothing to see here, Sir..
    Sorry, of being no help here......
    Would be interesting, what Cupertino will andswer you..........

  • Can't create blank signature as workaround for bug

    Many other threads have discussed the bug where checking "place signature above quoted text" does not do so when no default signature is chosen. If one wants to have no signature as default, but have signatures placed above quoted text, the workaround is apparently to make a blank signature and use that as a default. Problem is, I can't make a blank signature. No matter what combination of whitespace I try to use as a signature (newlines, spaces, tabs), the signature reverts to the last non-whitespace input I had in the field. Anyone else have this problem?

    Yes I had the same problem. However I have found another solution that at least works on my computer, even if I have those "workarounds". So maybe It might help you.
    In Mail Pref in "Signatures"
    - unchecked "Always match my default message font"
    - Choose signature "None" selected
    - checked "Place signature above quoted text"
    In Mail Pref in "Composing"
    - Message format "Rich Text" selected. THIS IS THE ESSENTIAL ON MY COMPUTER. Having Plain there the signature will always end up on the very bottom of the mail
    - Responding UNCHECKED. THIS IS ALSO ESSENTIAL, BECAUSE REPLYING A PLAIN MAIL WILL MAKE THE REPLY PLAIN THEN AGAIN SENDING THE SIGNATURE TO ****...
    In Mail Prefs in "Fonts and colors"
    - I have Message font and Fixed-Width font both "Courier 12" because I want mails to look plain, even if they now are no longer plain...

  • Workaround for Bug ID 4532517:shouldYieldFocus does not allow side effects

    The work-around for this bug is to set the InputVerifier for the component to null, show the dialog, then set the InputVerifier back to the component. However, the behaviour is still not consistent with the Java 1.3 behaviour. The act of clicking in the currently active JTextField, causes the shouldYieldFocus method to be called, even though focus is not being changed to another component. Is there anyway to avoid this behaviour with the work-around (a work-around for the work-around)? Thanks.

    Thanky you for the fast reply!
    I meant what the author "xxx..@x..." means with "See comment section.". Which comment section is he referencing to?
    Greets Alexander

  • Applied Workaround for BUG:5871305, unable to deploy ear file

    Hi,
    I have upgraded Oracle 10g AS from 10.1.3.1 to 10.1.3.3.I am using admin_client.jar to deploy the ear file. After deployment, application gave error during start. The errors were related to apache.commons.logging. I applied the workaround provided on metalink note: 460448.1. I applied the changes in orion-application.xml file:
    <imported-shared-libraries>
              <remove-inherited name="apache.commons.logging" />
         </imported-shared-libraries>
    Now, upon deploying the ear file with the changes, its giving error during deployment:
    oracle.oc4j.admin.deploy.api.J2EEDeploymentException: Operation failed with error:
    Error parsing orion-application.xml at /u00/app/ora10gas/product/10.1.3.1/OracleAS_1/j2ee/main/application-deployments/coverzones: Fatal error at line 90 offset 25 in file:/u00/app/ora10gas/product/10.1.3.1/OracleAS_1/j2ee/main/applications/coverzones/: .<Line 90, Column 25>: XML-20201: (Fatal Error) Expected name instead of =.
    I have searched a lot on metalink and on google about this error and have not got any pointers to look for root cause.
    Oracle App Server Gurus, kindly help on this
    regards
    Raj

    HI Jaap,
    I checked the orion-application.xml file and I didn't found any typo error or syntax error in the specific xml tag for <imported-shared-libraries>. Below is the xml tag snippet:
    <library path="ivjejb35.jar" /> <!-- needed for access beans in oc4j -->
              <library path="wsdl4j.jar" />
              <library path="CoverZones_DataBeans.jar"/>
              <library path="CoverZones_Session_EJBClient.jar"/>
              <library path="CoverZones_Request_Processors.jar" />
         <imported-shared-libraries>
              <remove-inherited name="apache.commons.logging" />
         </imported-shared-libraries>
    <principals path="principals.xml" />
    The same ear file without the above changes has worked in another Ora10gAS 10.1.3.3 cluster setup and the application works successfully.
    regards
    Raj

Maybe you are looking for