Skip to contentSkip to conversation

no acpi event for ac_adapter?

2.6.1-rc1 Jan De Luyck 2 participants 2 messages Jan 8, 2004 3 messages not in the archive ACPI

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 20040108125732.1dadfa7d.mike-Z92qn3yYq0hWk0Htik3J/[email protected]

#2 lore raw
Quoted 5 lines · Michael Guntsche

Hi, I have the same notebook as you have, albeit a little different model 800LCi.
I am not getting AC-adapter events as well if I unplug the ac-adapter, BUT I am getting events for both batteries. Do you get them as well?

Yup. That works.

Quoted 3 lines

On a side note. Can you tell me how you got the radeonfb driver working with your card.

I just took the radeonfb patch from mm1 (on kernel.org), applied it to my tree, compiled it in the kernel, and rebooted. After the switch to graphics mode there's some garbage on top of the screen, but after that it works perfectly.

Jan

Signature · 11 lines
Forgetfulness, n.:
	A gift of God bestowed upon debtors in compensation for
	their destitution of conscience.



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 8 lines · On Thu, 8 Jan 2004 13:43:30 +0100 Jan De Luyck…
Quoted 5 lines · Michael Guntsche

Hi, I have the same notebook as you have, albeit a little different model 800LCi.
I am not getting AC-adapter events as well if I unplug the ac-adapter, BUT I am getting events for both batteries. Do you get them as well?

Yup. That works.

Good. If you want to do something if you unplug the AC-Adapter you only have to wait for a battery event and then check "/proc/acpi/ac_adapter/ACAD/state". It's not as simple as waiting for an ac-adapter event, but it works too.

Quoted 5 lines

I just took the radeonfb patch from mm1 (on kernel.org), applied it to my tree, compiled it in the kernel, and rebooted. After the switch to graphics mode there's some garbage on top of the screen, but after that it works perfectly.

Thanks a lot, with this patch my FB actually works again.

-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html