Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Performing ACPI calls
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
flint338
n00b
n00b


Joined: 17 Dec 2004
Posts: 13

PostPosted: Mon Dec 26, 2005 9:29 pm    Post subject: Performing ACPI calls Reply with quote

This is a slightly odd question, but is there any easy way to do ACPI calls, instead of loading a module to do it?

Specifically, I need to write something to ACPI to enable or disable my wireless antenna on my laptop. It appears I just need to send 0x000 or 0x001 to _SB_.LAN._PSW. There are no ways doing this via the proc interface that I know of.

It appears it can be done from acpi_evaluate_object(), however there seems to be no documentation on the subject that I could readily find. Or what I link a program against, what headers, etc..

I'm kind of a beginner in C programming, so if anyone has any kind of examples that would be helpful! :)

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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