LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-04-2004, 05:13 AM   #1
atheist
Member
 
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331

Rep: Reputation: 30
Exclamation ACPI on laptops (Linux vs Windows)


I just recently bought a new Acer laptop (TravelMate 8002LCiB)

I've been able to set up Linux on it (Debian) but to be able to boot I have to disable acpi. If I don't, I get a "Edge Level set to Trigger" error, which I found no documentation on.

Windows runs ACPI just fine. So my question is this: Can it be that the BIOS supports ACPI for Windows exclusively and I won't be able to use it on Linux?

The laptop is kind of useless to me running Linux when I have around four times the battary life on Windows. So I would appreciate any comments on this.

Thanks.
 
Old 11-04-2004, 12:41 PM   #2
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
i don't get the
Quote:
"Edge Level set to Trigger"
error, but I also have problems with acpi, and I can't run apm. I guess I'm just posting this to say you're not alone
 
Old 11-04-2004, 02:57 PM   #3
quarry_06
Member
 
Registered: Oct 2004
Posts: 77

Rep: Reputation: 15
I am running a debian on a dell inspiron 1150, and acpi works only partially, but still my battery life is pretty good. But I cannot use klaptop to monitor the battery life. I have heard about the possibility to compile a .dsdt patch onto the kernel, that would fix the acpi support.

try knoppix on your system, the knoppix on my system did fully work with acpi. if knoppix does acpi with your machine, at least you know its possible. --> downright klaptop symbol. if not, then it's not that good.

perhaps some more advanced users can give us the info about how to do the kernel patching...

when I do
dmesg | grep ACPI

I get following:

ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:1f.6[B] -> GSI 7 (level, low) -> IRQ 7

does that mean errors?

Last edited by quarry_06; 11-04-2004 at 02:58 PM.
 
Old 11-04-2004, 08:18 PM   #4
atheist
Member
 
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331

Original Poster
Rep: Reputation: 30
Thanks for the information.

I forgot to mention that APM doesn't work. It doesn' prevent the computer from booting... it just doesn't work.

I'll give Knoppix a try, then. Thanks for that idea. If that doesn't work I'll do some research on the dsdt thing you mentioned.

A crazy thought that just occured to me... Do you think this could be distribution dependant? I've been trying to use Debian 3.1. Should I give Gentoo or something a try and see if that works? I don't know why it should and I don't think it should... any thoughts on this, though? I'm pretty desperate.

Thanks.
 
Old 11-05-2004, 02:46 AM   #5
TLV
Member
 
Registered: Jun 2004
Distribution: Ubuntu
Posts: 185

Rep: Reputation: 30
atheist,

Unfortunately, ACPI is still a little shakey in Linux. The problem is that laptop manufacturers (and desktop?) have buggy implementation of ACPI in their BIOS. Since Windows has the big mass, they can afford to create special workarounds for specific BIOSs.

My recommendation to you would be:

1. Try APM. Pass the kernel parameters "acpi=off apm=on" in your bootloader (Lilo or Grub). Make sure you have apmd installed. If you can't run APM, or if it doesn't run satisfactory, or if you just want to try different things, read on...

2. Upgrade to latest BIOS. You would have to get this from the manufacturer. Maybe they have updated the ACPI code...
3. Download the latest kernel and apply the latest ACPI patch from http://acpi.sourceforge.net. Depending on how distro-specific your kernel-source is, it may be easier to just go for a vanilla kernel (I can't apply the patch to Debian's kernel souce).
4. Compile the kernel without any APM in it.
5. If you can boot now, you are on your way... Make sure you have acpid installed and running. You may want to look into CPUFreq too. Expect some problems with S3 suspend mode (suspend-to-ram), they are probably fixable...

Quote:
A crazy thought that just occured to me... Do you think this could be distribution dependant?
I'm pretty sure it's a kernel issue.

Good luck,
/TLV
 
Old 11-05-2004, 08:29 AM   #6
kater
Member
 
Registered: Feb 2003
Location: Switzerland, Berne
Distribution: Slackware 9.0
Posts: 186

Rep: Reputation: 30
I'm running Slackware 10 on a HP ZE4375ea laptop with ACPI and CPUfreq without problems.
 
Old 11-05-2004, 09:17 AM   #7
Post-Prof
LQ Newbie
 
Registered: Oct 2004
Distribution: SUSE 9.1 Pro
Posts: 11

Rep: Reputation: 0
SUSE Linux 9.1 Pro

I'm currently using SUSE Linux 9.1 Pro with my Compaq Presario notebook with full ACPI support
and no problems. Give a try.

Cheers,

Post-Prof
 
Old 11-05-2004, 11:03 AM   #8
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
ok, i'll download the new BIOS flash, but if ACPI doesn't still work, is there a way to use CPUfreqd on apm? Also on my computer it gives me the error
Quote:
apm bios not found
 
Old 11-05-2004, 05:32 PM   #9
TLV
Member
 
Registered: Jun 2004
Distribution: Ubuntu
Posts: 185

Rep: Reputation: 30
Yes.

It also appears as if your laptop can't do APM. APM is being replaced by ACPI. What exatly is not working with ACPI?

/TLV
 
Old 11-05-2004, 08:18 PM   #10
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
it just won't boot, it gets past the powernow loading, then gives me the error message
Quote:
IRQ7
or something along those lines. I really would like to have ACPI working on my laptop, since right now, it's useless as a laptop under linux
 
Old 11-06-2004, 03:06 AM   #11
TLV
Member
 
Registered: Jun 2004
Distribution: Ubuntu
Posts: 185

Rep: Reputation: 30
/var/log/dmesg contains the bootmessages, it would be very useful to se the messages you get during the failed ACPI-boot. The same (similar?!) information can be found in /var/log/kern.log or /var/log/messages. Please post the info.

Are you using your own compiled kernel or a distro stock kernel? What about the latest Knoppix, does it work with ACPI?

It could also be that the IRQs have some conflict. Perhaps you can twiddle with them in BIOS. I'd assume that 99% of the time you can go with BIOS default (automatic assignment?), but sometimes you may have to change them yourself.

/TLV
 
Old 11-06-2004, 07:27 AM   #12
quarry_06
Member
 
Registered: Oct 2004
Posts: 77

Rep: Reputation: 15
I am gettin these messages (/var/log/messages):

Oct 2 02:27:45 localhost kernel: ACPI: IRQ9 SCI: Edge set to Level Trigger.
Oct 2 02:27:45 localhost kernel: checking if image is initramfs...it isn't (ungzip failed); looks like an initrd
Oct 2 02:27:45 localhost kernel: Freeing initrd memory: 4316k freed
Oct 2 02:27:45 localhost kernel: NET: Registered protocol family 16
Oct 2 02:27:45 localhost kernel: EISA bus registered
Oct 2 02:27:45 localhost kernel: PCI: PCI BIOS revision 2.10 entry at 0xfcfae, last bus=2
Oct 2 02:27:45 localhost kernel: PCI: Using configuration type 1
Oct 2 02:27:45 localhost kernel: mtrr: v2.0 (20020519)
Oct 2 02:27:45 localhost kernel: ACPI: Subsystem revision 20040326
Oct 2 02:27:45 localhost kernel: ACPI: Interpreter enabled
Oct 2 02:27:45 localhost kernel: ACPI: Using PIC for interrupt routing
Oct 2 02:27:45 localhost kernel: ACPI: PCI Root Bridge [PCI0] (00:00)
Oct 2 02:27:45 localhost kernel: PCI: Probing PCI hardware (bus 00)
Oct 2 02:27:45 localhost kernel: PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
Oct 2 02:27:45 localhost kernel: PCI: Transparent bridge - 0000:00:1e.0
Oct 2 02:27:45 localhost kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 9 10 *11)
Oct 2 02:27:45 localhost kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7) *11
Oct 2 02:27:45 localhost kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 9 10 *11)
Oct 2 02:27:45 localhost kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 9 10 *11)
Oct 2 02:27:45 localhost kernel: ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
Oct 2 02:27:45 localhost kernel: ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
Oct 2 02:27:45 localhost kernel: Linux Plug and Play Support v0.97 (c) Adam Belay
Oct 2 02:27:45 localhost kernel: PnPBIOS: Scanning system for PnP BIOS support...
Oct 2 02:27:45 localhost kernel: PnPBIOS: Found PnP BIOS installation structure at 0xc00fe2d0
Oct 2 02:27:45 localhost kernel: PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xe2f4, dseg 0x40
Oct 2 02:27:45 localhost kernel: pnp: 00:01: ioport range 0x800-0x85f has been reserved
Oct 2 02:27:45 localhost kernel: pnp: 00:01: ioport range 0x860-0x87f has been reserved
Oct 2 02:27:45 localhost kernel: pnp: 00:01: ioport range 0x880-0x8bf has been reserved
Oct 2 02:27:45 localhost kernel: pnp: 00:01: ioport range 0x8c0-0x8ff has been reserved
Oct 2 02:27:45 localhost kernel: pnp: 00:01: ioport range 0xf400-0xf4fe has been reserved
Oct 2 02:27:45 localhost kernel: PnPBIOS: 11 nodes reported by PnP BIOS; 11 recorded by driver
Oct 2 02:27:45 localhost kernel: PCI: Using ACPI for IRQ routing
Oct 2 02:27:45 localhost kernel: ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
Oct 2 02:27:45 localhost kernel: ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 11 (level, low) -> IRQ 11
Oct 2 02:27:45 localhost kernel: ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 11 (level, low) -> IRQ 11
Oct 2 02:27:45 localhost kernel: ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
Oct 2 02:27:45 localhost kernel: ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 11 (level, low) -> IRQ 11
Oct 2 02:27:45 localhost kernel: ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
Oct 2 02:27:45 localhost kernel: ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 11 (level, low) -> IRQ 11
Oct 2 02:27:45 localhost kernel: ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
Oct 2 02:27:45 localhost kernel: ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 11 (level, low) -> IRQ 11
Oct 2 02:27:45 localhost kernel: ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 11 (level, low) -> IRQ 11
Oct 2 02:27:45 localhost kernel: ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 7
Oct 2 02:27:45 localhost kernel: ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 7 (level, low) -> IRQ 7
Oct 2 02:27:45 localhost kernel: ACPI: PCI interrupt 0000:00:1f.6[B] -> GSI 7 (level, low) -> IRQ 7
Oct 2 02:27:45 localhost kernel: ACPI: PCI interrupt 0000:02:01.0[A] -> GSI 7 (level, low) -> IRQ 7
Oct 2 02:27:45 localhost kernel: ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 11 (level, low) -> IRQ 11
Oct 2 02:27:45 localhost kernel: ACPI: PCI interrupt 0000:02:04.0[A] -> GSI 11 (level, low) -> IRQ 11

so what does that mean?

thanks alot

quarry
 
Old 11-06-2004, 08:08 AM   #13
TLV
Member
 
Registered: Jun 2004
Distribution: Ubuntu
Posts: 185

Rep: Reputation: 30
So the computer just hangs at:

Oct 2 02:27:45 localhost kernel: ACPI: PCI interrupt 0000:02:04.0[A] -> GSI 11 (level, low) -> IRQ 11

every time you boot with ACPI??

There are a couple of things I would try, all with the intent of being able to at least boot with ACPI and then work from there:

1) Check what devices corresponds to what addresses. lspci will give you a list of the addresses (e.g., 0000:02:04.0) and their corresponding devices. Chances are that it's the device 0000:02:04.0 that is causing the freeze.

1a) Try another kernel.
1b) See if the IRQs can be reassigned in BIOS

2) Boot with Knoppix (and ACPI). Does it work? Try other LiveCDs, there are quite a few of them... :-/

3) Compile a kernel with minimal bells and whistles as far as devices go (no USB, PCMCIA) etc. but with ACPI.

4) Check http://tuxmobil.org/acer.html to see if someone else is running Linux on the same or similar computer, and try to extract some experience from them.

5) Keep on searching Google using some of the messages generated...

It's a tricky problem and I don't envy you...

/TLV
 
Old 11-07-2004, 09:18 PM   #14
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
i get this error message when I try to boot with any kernel with ACPI enabled
[quote]
ACPI: Susbsystem revision 20040326
ACPI: IRQ7 SCI: Level Trigger
 
Old 11-08-2004, 01:56 AM   #15
TLV
Member
 
Registered: Jun 2004
Distribution: Ubuntu
Posts: 185

Rep: Reputation: 30
I would still investigate what devices that are on IRQ7. SCI stands for "Serial Communication Interfaces", it may have something to do with USB.

If no Live-CD with ACPI is working and if there's nothing to do in BIOS, I would try to recompile a kernel and just keeping the bare essentials (no sound, no network, no APM, no ACPI, etc. Definetly no USB nor serial port support), and then try to add ACPI and see what happens.

But, I think I have emptied my pool of suggestions here... Sorry.

/TLV
 
  


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
Problem with ACPI for Acer Laptops 1680 serire (1681WLCi) DEFINITIVELY RESOLVED iacopo_i Linux - Laptop and Netbook 5 12-03-2005 12:50 AM
laptops without windows tax in Australia blue penguin General 4 11-19-2005 05:51 PM
Laptops ACPI problem solved - read this Jakkin Linux - Laptop and Netbook 2 03-20-2004 08:18 PM
Linux Laptops MaxStation Linux - General 2 12-05-2001 12:53 PM
linux on laptops starlight Linux - General 3 11-11-2001 01:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 06:37 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration