Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Inspiron 1100 and ACPI Events
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
madCoder|GN
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2003
Posts: 80

PostPosted: Sun Dec 14, 2003 8:13 am    Post subject: Inspiron 1100 and ACPI Events Reply with quote

I have a Dell Inspiron 1100, with kernel 2.6.0-test11, and ACPI works in the sense that /proc/acpi/* shows current, and correct, status information. What isn't working are ACPI events. ie: closing the lid does not generate an ACPI event that acpid can handle. /var/log/acpid shows absolutely nothing but a cycle of:
Code:
[Sun Dec 14 01:14:01 2003] starting up
[Sun Dec 14 01:14:02 2003] 1 rule loaded
[Sun Dec 14 01:55:07 2003] exiting
which repeats for every time acpid is restarted. It never logs any events such as a lid close, or unplugging the ac adapter. if acpid is stopped, and I run
Code:
cat /proc/acpi/event
it looks as though it's cat'ing the file, and if something were to happen, it would display it, but none of the common events show up when I do that (lid/ac adapter, etc).

That leads me to believe the problem is either in the kernel or the BIOS. I don't want to have to patch the kernel to use the acpi.sf.net DSDT's because /proc/acpi/ *works*, and from what I've read, those tables fix ACPI from not working at all, and since it does work partially, I dont want to go through that if I'm not totally sure that it would fix the events.

/proc/acpi/dsdt is there, but I don't know how to compare it to anything to know if it's correct (I made the mistake of doing cat /proc/acpi/dsdt :P).

So, if it ACPI is "partially" working, what can I do to get the events to work? I've seen some nice ACPI event handling scripts on the forums, and I would really love for acpid to work properly to use those scripts, but nothing is ever received :( Any ideas?
_________________
madCoder <madCoder@gamesurge.net>
Abuse Manager
http://www.gamesurge.net/
Back to top
View user's profile Send private message
Bellrang QT
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2003
Posts: 81

PostPosted: Mon Aug 30, 2004 6:33 pm    Post subject: Reply with quote

What version of the 1100 BIOS are you running? I've updated to the latest and am having no luck either. Rumor has it that those with the A23 BIOS have working events.

I'm just curious as to what others with this laptop are seeing. I've got 2.6.8.1 (vanilla) and don't get the events. :(
_________________
I <3 forums.gentoo.org
Back to top
View user's profile Send private message
madCoder|GN
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2003
Posts: 80

PostPosted: Tue Aug 31, 2004 4:44 am    Post subject: Reply with quote

I don't have my laptop with me at the moment so I can't check, but I do recall checking the dell website for BIOS updates when I was having this problem, and I recall not finding a newer version than what I already had.

The strange thing is, there has been like once or twice that I will see a log entry in the acpi log file, showing an event (LID iirc) being triggered, but I can't seem to figure out what makes it trigger, since it is apparently not the lid closing that does it... Weird stuff. I'll check my BIOS and get back with you. I might also try updating the kernel (it's running 2.6.0-test11 :p)
_________________
madCoder <madCoder@gamesurge.net>
Abuse Manager
http://www.gamesurge.net/
Back to top
View user's profile Send private message
Bellrang QT
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2003
Posts: 81

PostPosted: Fri Jan 07, 2005 6:28 pm    Post subject: Reply with quote

Any better lucky lately?

Dell released A32 back on 10/21/2004. I haven't upgraded (just found the update while at work today and the laptop is at home). Anybody have it? Better results?

For those interested: Dell BIOS Update Page
_________________
I <3 forums.gentoo.org
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10732
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Apr 05, 2006 6:46 pm    Post subject: Reply with quote

I am running BIOS A32 and have the same issues with ACPI. I can't recall the reason, but, I needed to upgrade the BIOS as part of my Gentoo install, so you might want to go ahead. I can report that the A32 BIOS does work well with Gentoo.

Unfortunately, this issue is related to a long-standing kernel bug in interrupt handling or setup. See this kernel bug report that was filed (at this writing) over two years ago. Although this bug is about the Inspiron 5150, I have verified that the root symptom is the same on the Inspiron 1100, to wit, ACPI interrupts are not firing properly. However, most of the ACPI subsystem is working properly because all of the little sys-power/powermgmt-base utilities like on_ac_power are working properly.

One of the temporary, kludgy workarounds mentioned in the bug report is to boot your kernel with the irqpoll option. This works for me but I hate it because it means that things that should be interrupt driven are being polled by the kernel in the timer interrupt, which causes extra overhead. I haven't properly assessed the performace hit, but rest assured there is one, and, besides, it just isn't right. My kernel boot line in /boot/grub/grub.conf is:
Code:
root (hd0,0)
kernel /vmlinuz ro udev irqpoll root=/dev/hdc3
(I'm intentionally leaving out all of my splash screen nonsense.)

I'll post again here as I learn more.

- John
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum