LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having 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

Reply
 
Search this Thread
Old 12-01-2012, 10:22 AM   #1
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,267

Rep: Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540
How much can be done with acpi?


What I have working
*Brightness up & down, & suspend.

Wish list:
1. I have a battery event recognized by acpi, and running a script, and would love to be able to charge this $@%! thing, It starts charging when turned on: "Battery 3%; charged in 34 hours 10 minutes." But it stops charging when off, suspended, or hibernating. I suspect a hardware issue.

2. I have a video switchmode event recognised as an acpi event. At startup, it selects internal/external monitors or occasionally both. When the radeon module is loaded, both outputs go on, if there's a monitor attached. X dogmatically only drives what's there at boot. It would be nice to be able to trigger the external monitor without dropping out of X to do it.

Any ideas where to research that sort of stuff?
 
Old 12-01-2012, 06:58 PM   #2
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,964
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
What I have working
*Brightness up & down, & suspend.

Wish list:
1. I have a battery event recognized by acpi, and running a script, and would love to be able to charge this $@%! thing, It starts charging when turned on: "Battery 3%; charged in 34 hours 10 minutes." But it stops charging when off, suspended, or hibernating. I suspect a hardware issue.

2. I have a video switchmode event recognised as an acpi event. At startup, it selects internal/external monitors or occasionally both. When the radeon module is loaded, both outputs go on, if there's a monitor attached. X dogmatically only drives what's there at boot. It would be nice to be able to trigger the external monitor without dropping out of X to do it.

Any ideas where to research that sort of stuff?
Did some Goggling for you Mate-

It appears; based on the complaints I found online that you are not the only member with this issue.
I bet it's frustrating and I hope that one or some of these articles I found helps.

You mentioned that you suspect a hardware issue. Depending on the age of your computer that could make one suspicious of hardware issue's too. If you have time you could run Memtest to see what it produces within the readout of the output.

If not; I've tried to help with a sincere heart

http://doc.opensuse.org/documentatio...a.pmanage.html
http://forums.bodhilinux.com/index.p...n-battery-low/
http://www.linuxtopia.org/online_boo...ower_mgmt.html
http://unix.stackexchange.com/questi...e-from-suspend
https://www.google.com/#hl=en&sugexp...w=1366&bih=666
 
Old 12-02-2012, 03:01 AM   #3
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,267

Original Poster
Rep: Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540
Thanks very much Ztcoracat, I just came across dismal failures and complaints.

I'll examine each of those links as soon as I can. As for the hardware issue, I am suspicious of hardware. This box is from 2008, and it sprung this charging problem suddenly, which makes one suspect charging hardware. Otherwise, it's fine.

I got the Slackware-14.0 "default" event out of /etc/acpi/events, and was thrown back on my own scripts again. There is a suspend button (Never knew that) which works, and there's a battery button which pokes xfce's power manager and it wakes up and says "Battery charging." The time goes down from 24 hours to 2 hours, but the difference to charging is squat.
 
Old 12-02-2012, 10:23 PM   #4
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,964
Blog Entries: 1

Rep: Reputation: Disabled
Business_Kidd:


You are very Welcome!

I certainly hope you find the remedy/fix-
I wonder if the battery needs replaced and if that's even possible and or applicable at this point?
 
Old 12-03-2012, 03:47 AM   #5
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,267

Original Poster
Rep: Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540
It's not the battery - the old one did degenerate into a PP3, so I replaced it with a long life one from ebay and that works.
I'm now at 5% - and it says "Charged in 18 hours 46 minutes." If I press the acpi "battery" button, It will say "Charged in 2 hours" but that's a lie as it stops charging.
 
Old 12-03-2012, 10:00 AM   #6
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,964
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
It's not the battery - the old one did degenerate into a PP3, so I replaced it with a long life one from ebay and that works.
I'm now at 5% - and it says "Charged in 18 hours 46 minutes." If I press the acpi "battery" button, It will say "Charged in 2 hours" but that's a lie as it stops charging.
Hmm-
Not sure why it just stops charging. It seems a little bizarre; especially since you replaced the battery-

I wish you the best and a resolution to this
 
Old 12-03-2012, 12:48 PM   #7
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,267

Original Poster
Rep: Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540
I finally got to those links. There's 2 feeds to the main system. The 19V power supply, and the 10.8V battery.
mains ----- box
______|---- battery
OR
Battery ----- system.
The voltage difference between psu and battery makes me think there's a transistor setup in there. It used to be very good, then it stopped charging while powered off in any way. When the mains supply is connected and the box is on, the battery rises in charge quite slowly, but it rises. At the same time as the battery charging went funny, the behaviour of the charging led changed also. I think my psu ------battery circuit is AWOL.
I get a status of "Unknown" in /sys/class/power_supply/C1ED/status at times. I think acpi _should_know_ what's going on.

My read of it now is that
According to those links, ACPI isn't really up for my wishlist, or if it is, nobody knows how it's done.
1. According to my analysis, the acpi "Battery Button" sets charging on - which turns it off in my case because the hardware is congenitally knackered.
2. As far as the video switchmode stuff goes, that's grabbed by the bios, the X server, the Kernel KMS modules and who knows what else, and acpi developers wisely stayed clear.

I'll go googling in the linux-laptop and acpi-devel lists - there's history there.
 
Old 12-04-2012, 04:47 AM   #8
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,267

Original Poster
Rep: Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540
Quote:
2. As far as the video switchmode stuff goes, that's grabbed by the bios, the X server, the Kernel KMS modules and who knows what else, and acpi developers wisely stayed clear.
Interestingly since the recent BIOS update, I do have function on the videomode stuff. The test of booting & starting X with no external monitor, connecting one when X is running and pressing the videomode button(s) does bring up a picture - not the left/right stuff, but a direct copy. What it does with screen size seems to be linked to how X is set up. So the acpi guys were right to leave this alone.
 
Old 12-04-2012, 03:25 PM   #9
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,964
Blog Entries: 1

Rep: Reputation: Disabled
After reading this:

First released in December 1996, ACPI defines platform-independent interfaces for hardware discovery, configuration, power management and monitoring. The specification is central to Operating System-directed configuration and Power Management (OSPM), a system implementing ACPI, which removes device management responsibilities from legacy firmware interfaces.

I sat back in my chair and remembered that you said ACPI isn't on your wishlist and that the
acpi guys were right to leave this alone.

(If) I understand it sounds like the power supply your (19 volt) could be slipping or in other words is done for-

Now what? Buy a new computer or a new power supply for it?
Just curious what you may consider-

Last edited by Ztcoracat; 12-04-2012 at 03:33 PM. Reason: Additional question
 
Old 12-05-2012, 06:00 AM   #10
jerry31love
LQ Newbie
 
Registered: Dec 2012
Location: Melbourne,Victoria,Australia
Posts: 2

Rep: Reputation: Disabled
I don’t have enough knowledge on ACPI, but I think the best thing you can do to resolve your problem is to check the guidebook with the mechanics on charging battery. Actually, this should not be a problem as assumed by many. The problem may not be due to the battery, but due to other systems of your gadget.

Last edited by jerry31love; 12-05-2012 at 06:05 AM.
 
Old 12-05-2012, 10:02 AM   #11
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,267

Original Poster
Rep: Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540
Guys, don't worry about me and the Electronics.
I was repairing factory machinery & Industrial Electronics for 17 years, I've meters, an oscilloscope, soldering & desoldering irons, Lab Power Supply, even a BGA Rework station, and I know how to use them. ATM I'm between 2nd & 3rd year of an Electronic Engineering Degree. I can slap a meter on the PSU, or even a load and a meter. The supply shows 19.89V.

I'm not bothered opening up such an old laptop over a power supply thing, because I've done that sort of thing too often, and know the pain involved. I also grew to hate repairing things a lot. The loathing is wearing off now, and I fix what I have to, but it's still not my idea of fun.

As for the HP Guidebook - It's mainly "How to shine," :-/. They do show you how to get the keyboard off, which is neat, because it lets you in at the motherboard. Only a dozen screws and 2 clips.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ACPI: I/O resources 0000:00:1f.3 [0x1048-0x185f] conflicts with ACPI region SMBI ashu_ky Linux - Enterprise 3 01-25-2012 05:14 PM
[SOLVED] ACPI: I/O resource piix4_smbus [0x1040-0x1047] conflicts with ACPI region SMB_ [0x104 KillaSmooth Red Hat 1 12-26-2011 12:41 AM
ACPI: I/O resource piix4_smbus [0x1040-0x1047] conflicts with ACPI region SMB_ [0x104 litianzhi Red Hat 0 01-07-2011 01:56 AM
Power Issues, vanilla ubuntu kernel, (acpi etc) acpi -V outputs etc jamescondron Linux - Laptop and Netbook 1 02-16-2009 10:48 AM
Linux ACPI and BIOS ACPI - problem to understand and giving out bugs marisdembovskis Linux - Software 3 09-20-2007 10:22 PM


All times are GMT -5. The time now is 05:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration