Hello all, I have a brand new laptop, yet the battery monitor and some other things are not working. I have acpi turned on, and klaptop complains of an incomplete acpi setup for the kernel. Also, I have a radeon mobility u1 card...SaX doesn't detect it, and when I try to use the radeon driver and test the setup, I get this error: (WW) Open APM failed (/dev/apm_bios) (No such device) (EE) No devices detected. I'm using the updated 2.4.19 kernel from SuSE, and when I try booting with the options "apm=on acpi=off" and then type "rcapmd status", it says unused. So I try "rcapmd start" it says "apmd not supported by kernel". Is this going to require a kernel compilation? And if so, how do I compile a kernel so that it still uses the SuSE bootscreen and bootsplash and all those pretty bouncing icons? :) BTW: SuSE 8.1 Thanks in advance! Mike S.
On Saturday 08 March 2003 07:24, Michael Sacco wrote:
Hello all,
I have a brand new laptop, yet the battery monitor and some other things are not working. I have acpi turned on, and klaptop complains of an incomplete acpi setup for the kernel.
the answer is ..... well, in suse sdb http://sdb.suse.de/en/sdb/html/81_apm.html -- Emcek emcek@poczta.onet.pl --------------r-e-k-l-a-m-a----------------- Szukasz banku bez prowizji ? mBank - zaloz konto http://epieniadze.onet.pl/mbank
On Saturday 08 March 2003 02:44 am, Emcek wrote:
On Saturday 08 March 2003 07:24, Michael Sacco wrote:
Hello all,
I have a brand new laptop, yet the battery monitor and some other things are not working. I have acpi turned on, and klaptop complains of an incomplete acpi setup for the kernel.
the answer is ..... well, in suse sdb http://sdb.suse.de/en/sdb/html/81_apm.html
-- Emcek emcek@poczta.onet.pl
As you could read from my earlier email, I have tried what the DB says, with no avail. I placed "acpi=off apm=on" in the /boot/grub/menu.lst file for options on boot. This only renders my wireless nic useless, and doesn't enable apm. I still get the message when I type "rcapmd", "Starting apmd not supported by kernel"
On Saturday 08 March 2003 17:06, Michael Sacco wrote:
As you could read from my earlier email, I have tried what the DB says, with no avail. I placed "acpi=off apm=on" in the /boot/grub/menu.lst file for options on boot.
whoops, sorry Michael. i had the same problem with my laptop and the advise from sdb was appropriate for me. i'm sure original suse kernel has compiled apm support in (see /boot/vlinuz.config). i do not use grub (just after 8.1 installation i've replaced grub by well known by me lilo). maybe these option are not transferred to kernel? have you tried manually write append="acpi=off" during boot? my /etc/lilo.conf: # Modified by YaST2. Last modification on Sun Mar 2 10:08:11 2003 boot = /dev/hda change-rules reset read-only menu-scheme = Wb:kw:Wb:Wb lba32 prompt timeout = 80 message = /boot/message image = /boot/vmlinuz label = linux root = /dev/hda2 vga = 791 initrd = /boot/initrd append = "acpi=off" password = xxx restricted -- Emcek emcek@poczta.onet.pl --------------r-e-k-l-a-m-a----------------- Szukasz banku bez prowizji ? mBank - zaloz konto http://epieniadze.onet.pl/mbank
Ok, I found out that it does use acpi, and I need to have the battery and ac modules loaded. Is there anyway I can load these at system startup, instead of having to log in and type "modprobe ac && modprobe battery" ? On Saturday 08 March 2003 01:28 pm, Emcek wrote:
On Saturday 08 March 2003 17:06, Michael Sacco wrote:
As you could read from my earlier email, I have tried what the DB says, with no avail. I placed "acpi=off apm=on" in the /boot/grub/menu.lst file for options on boot.
whoops, sorry Michael.
i had the same problem with my laptop and the advise from sdb was appropriate for me. i'm sure original suse kernel has compiled apm support in (see /boot/vlinuz.config).
i do not use grub (just after 8.1 installation i've replaced grub by well known by me lilo). maybe these option are not transferred to kernel? have you tried manually write append="acpi=off" during boot?
my /etc/lilo.conf: # Modified by YaST2. Last modification on Sun Mar 2 10:08:11 2003
boot = /dev/hda change-rules reset read-only menu-scheme = Wb:kw:Wb:Wb lba32 prompt timeout = 80 message = /boot/message
image = /boot/vmlinuz label = linux root = /dev/hda2 vga = 791 initrd = /boot/initrd append = "acpi=off" password = xxx restricted
-- Emcek emcek@poczta.onet.pl
--------------r-e-k-l-a-m-a-----------------
Szukasz banku bez prowizji ? mBank - zaloz konto http://epieniadze.onet.pl/mbank
Michael Sacco wrote:
Ok, I found out that it does use acpi, and I need to have the battery and ac modules loaded. Is there anyway I can load these at system startup, instead of having to log in and type "modprobe ac && modprobe battery" ?
You could either add those modules to your initrd (or edit /etc/sysconfig/kernel), or add those lines to boot.local. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
Klaptop did not work when I installed 8.2 on a Toshiba Satellite 1135-S155. I modified grub to boot with apm on, acpi off, and added modprobe ac && modprobe battery to boot.local. Now Klaptop shows the battery icon, properly, for power cord plugged in and not plugged in. BUT it always shows 0:00 minutes left!!!!!!! Anyone got a clue? On Saturday 08 March 2003 08:06, Michael Sacco wrote:
On Saturday 08 March 2003 02:44 am, Emcek wrote:
On Saturday 08 March 2003 07:24, Michael Sacco wrote:
Hello all,
I have a brand new laptop, yet the battery monitor and some other things are not working. I have acpi turned on, and klaptop complains of an incomplete acpi setup for the kernel.
the answer is ..... well, in suse sdb http://sdb.suse.de/en/sdb/html/81_apm.html
-- Emcek emcek@poczta.onet.pl
As you could read from my earlier email, I have tried what the DB says, with no avail. I placed "acpi=off apm=on" in the /boot/grub/menu.lst file for options on boot. This only renders my wireless nic useless, and doesn't enable apm. I still get the message when I type "rcapmd", "Starting apmd not supported by kernel"
On Tuesday 17 June 2003 20:59, Rob Tow wrote:
Klaptop did not work when I installed 8.2 on a Toshiba Satellite 1135-S155.
I modified grub to boot with apm on, acpi off, and added modprobe ac && modprobe battery to boot.local.
Now Klaptop shows the battery icon, properly, for power cord plugged in and not plugged in.
BUT it always shows 0:00 minutes left!!!!!!!
Anyone got a clue?
On most modern laptops acpi is NOT OPTIONAL, and you should disable apm in favor of acpi. The SuSE kernel in 8.2 will do this automatically if your bios date is later than January 2001 (I think that is the date, maybe it was 2000). The important bit is it generally does it correctly all by itself. Klaptop started working correctly on my 8.2 laptop ONLY after I upgraded to kde 3.1.2, but the bug was always with klaptop and not with the absence of APM. You can use akpi (google for it) instead of Klaptop OR you can upgrade your klaptop. But the solution of killing off acpi in favor of apm is seldom correct on any laptop made in the last two years. They are virtually all acpi machines these days. Personally, I recommend this approach which was posted by Mike Sacco a week of 7 ago to update all of kde as it solves a bunch of problems... ----begin paste--- Open up YaST and go to Change Source of Installation. Add an ftp one, such as this: ftp.suse.com/pub/suse/i386/supplementary/KDE/update_for_8.2/yast-source Use the 'up' button to make sure this is at the top of the list. Then, back at the main window of YaST, choose system update, and and select only update installed packages. There is a details button that shows what is going to be updated, so you can check it out yourself. Since I'm already running 8.2, this didn't update anything except all the kde and related rpms to 3.1.2. ---end HTH, -- _____________________________________ John Andersen
John Andersen wrote:
On most modern laptops acpi is NOT OPTIONAL, and you should disable apm in favor of acpi. The SuSE kernel in 8.2 will do this automatically if your bios date is later than January 2001 (I think that is the date, maybe it was 2000). The important bit is it generally does it correctly all by itself.
I recently installed 8.2 on my Sony Vaio - ACPI support was installed but not configured to start at any run level and I had to manually enable the ACPI daemon (YaST, System, Run level editor, enable acpid) It works fine now, but quite why the installation doesn't automatically start acpid I don't know. sjb
On Wednesday 18 June 2003 00:17, sjb wrote:
John Andersen wrote:
On most modern laptops acpi is NOT OPTIONAL, and you should disable apm in favor of acpi. The SuSE kernel in 8.2 will do this automatically if your bios date is later than January 2001 (I think that is the date, maybe it was 2000). The important bit is it generally does it correctly all by itself.
I recently installed 8.2 on my Sony Vaio - ACPI support was installed but not configured to start at any run level and I had to manually enable the ACPI daemon (YaST, System, Run level editor, enable acpid)
It works fine now, but quite why the installation doesn't automatically start acpid I don't know.
sjb
Yes, I agree its sort of wierd... Also be aware that on some Vaios shutting down acpid may cause a kernel panic, so the best advice is to over-ride the automatic run level selection for acpid and set it to start at B (boot) only, and not select any other run level. -- _____________________________________ John Andersen
On Wednesday 18 June 2003 00:17, sjb wrote:
John Andersen wrote:
On most modern laptops acpi is NOT OPTIONAL, and you should disable apm in favor of acpi. The SuSE kernel in 8.2 will do this automatically if your bios date is later than January 2001 (I think
sorry for the stupid question, I'm kind of new to many terms... but what's ACPI??? ----- Original Message ----- From: "John Andersen" <jsa@pen.homeip.net> To: "sjb" <ottaky@ottaky.com> Cc: <suse@tauzero.com>; <suse-linux-e@suse.com> Sent: Thursday, June 19, 2003 3:13 PM Subject: Re: [SLE] apm for laptop that
is the date, maybe it was 2000). The important bit is it generally does it correctly all by itself.
I recently installed 8.2 on my Sony Vaio - ACPI support was installed but not configured to start at any run level and I had to manually enable the ACPI daemon (YaST, System, Run level editor, enable acpid)
It works fine now, but quite why the installation doesn't automatically start acpid I don't know.
sjb
Yes, I agree its sort of wierd... Also be aware that on some Vaios shutting down acpid may cause a kernel panic, so the best advice is to over-ride the automatic run level selection for acpid and set it to start at B (boot) only, and not select any other run level.
-- _____________________________________ John Andersen
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Wednesday 18 June 2003 23:06, Juan C. Gallardo wrote:
sorry for the stupid question, I'm kind of new to many terms... but what's ACPI???
http://searchwin2000.techtarget.com/sDefinition/0,,sid1_gci213657,00.html -- _____________________________________ John Andersen
I re-installed 8.2. I enabled ACPI in YaST, run-level 5. I know get a battery icon, that shows charging, unplugged, etc. It show the amount of charge remaining graphicly accurately. BUT it always says 0:00 minutes left! And gives spurious warnings on login about no charge remaining, even tho the icon show s battery with lots of charge. How to fix THAT? On Wednesday 18 June 2003 01:17, sjb wrote:
John Andersen wrote:
On most modern laptops acpi is NOT OPTIONAL, and you should disable apm in favor of acpi. The SuSE kernel in 8.2 will do this automatically if your bios date is later than January 2001 (I think that is the date, maybe it was 2000). The important bit is it generally does it correctly all by itself.
I recently installed 8.2 on my Sony Vaio - ACPI support was installed but not configured to start at any run level and I had to manually enable the ACPI daemon (YaST, System, Run level editor, enable acpid)
It works fine now, but quite why the installation doesn't automatically start acpid I don't know.
sjb
Rob Tow wrote:
BUT it always says 0:00 minutes left! And gives spurious warnings on login about no charge remaining, even tho the icon show s battery with lots of charge.
How to fix THAT?
Umm. Assuming you've either rebooted or started the ACPI daemon ("rcacpid start") .. First thing to check is that the required ACPI modules have been loaded. Try a "lsmod" in a terminal and look for entries like these .. button 2380 0 (unused) thermal 6020 0 (unused) battery 5600 0 (unused) processor 8184 0 [thermal] fan 1472 0 (unused) If that seems ok, try cat /proc/acpi/battery/BAT1/state present: yes capacity state: ok charging state: charging present rate: 4851 mW remaining capacity: 19060 mWh present voltage: 12600 mV What do you see? sjb
On Thursday 19 June 2003 14:06, sjb wrote:
Rob Tow wrote:
BUT it always says 0:00 minutes left! And gives spurious warnings on login about no charge remaining, even tho the icon show s battery with lots of charge.
How to fix THAT?
Umm. Assuming you've either rebooted or started the ACPI daemon ("rcacpid start") ..
First thing to check is that the required ACPI modules have been loaded. Try a "lsmod" in a terminal and look for entries like these ..
button 2380 0 (unused) thermal 6020 0 (unused) battery 5600 0 (unused) processor 8184 0 [thermal] fan 1472 0 (unused)
If that seems ok, try
cat /proc/acpi/battery/BAT1/state
present: yes capacity state: ok charging state: charging present rate: 4851 mW remaining capacity: 19060 mWh present voltage: 12600 mV
What do you see?
sjb
The modules are all there. BUT the "present rate" is zero!!! both when plugged in and when not plugged in. What does thsat imply? linux:/home/musashi # cat /proc/acpi/battery/BAT1/state present: yes capacity state: ok charging state: charging present rate: 0 mA remaining capacity: 3680 mAh present voltage: 14800 mV linux:/home/musashi # !! cat /proc/acpi/battery/BAT1/state present: yes capacity state: ok charging state: discharging present rate: 0 mA remaining capacity: 3640 mAh present voltage: 14800 mV
Rob Tow wrote:
BUT the "present rate" is zero!!!
both when plugged in and when not plugged in.
What does thsat imply?
Could be a broken BIOS (DSDT) ...? I don't know exactly, but I'd suggest you report the problem to the ACPI guys - they may be able to help. https://lists.sourceforge.net/lists/listinfo/acpi-devel The good news is that the "remaining capacity" is working, so at least you know how much juice you have left. The "rate" reading only helps when calculating how much longer the battery will last, or how long it will take to reach full charge. (Don't know how that would affect klaptop, if you're using it - since that reacts to time left, which is probably dependant on knowing what the rate of discharge is ...) sjb
participants (7)
-
Emcek
-
Joe Morris (NTM)
-
John Andersen
-
Juan C. Gallardo
-
Michael Sacco
-
Rob Tow
-
sjb