You are not logged in.

#1 2007-05-23 11:56:01

Weeks
Member
Registered: 2006-01-26
Posts: 91

acpi problems

I think I'm missing something fundamental here, but I can't work out what it is:

Here are the kernel message:

ACPI: RSDP 000FAD90, 0014 (r0 ACPIAM)
ACPI: RSDT 1F740000, 0034 (r1 A M I  OEMRSDT   5000425 MSFT       97)
ACPI: FACP 1F740200, 0081 (r1 A M I  OEMFACP   5000425 MSFT       97)
ACPI: DSDT 1F7403C0, 4E90 (r1  A0009 A0009000        0 INTL 20030522)
ACPI: FACS 1F750000, 0040
ACPI: ECDT 1F740360, 0054 (r1 A M I  OEMECDT   5000425 MSFT       97)
ACPI: OEMB 1F750040, 0043 (r1 A M I  OEMBIOS   5000425 MSFT       97)
ACPI: SSDT 1F745250, 02D6 (r1    AMI   CPU1PM        1 INTL 20030522)
ATI board detected. Disabling timer routing over 8254.
ACPI: PM-Timer IO Port: 0x808

(...)

ACPI: Interpreter enabled

(...)

(after modprobe asus_acpi)

Asus Laptop ACPI Extras version 0.30
  L4R model detected, supported

So all seems well. A look at /proc, /sys and acpi_listen also yield good results:

# ls /proc/acpi/
ac_adapter  battery  embedded_controller  fan             thermal_zone
alarm       button   event                power_resource  video
asus        dsdt     fadt                 processor       wakeup

# ls /sys/devices/acpi_system\:00/
ACPI0007:00      device:00  path   subsystem   uevent
button_power:00  hid        power  thermal:00

# acpi_listen 
button/lid LID 00000080 00000001
button/lid LID 00000080 00000002
button/lid LID 00000080 00000003
button/lid LID 00000080 00000004
button/power PWRF 00000080 00000001

Yet:

# yacpi
This system does not support ACPI

# acpitool 
 AcpiTool v0.4.7, released 06-Feb-2007
Seems like this system lacks ACPI support or else /proc/acpi is not the place to look for ?

# acpid
acpid: can't open /proc/acpi/event: Device or resource busy

My ACPI is flaky, but ubuntu got it working. I'm using kernel 2.6.21. Any ideas?

Last edited by Weeks (2007-05-23 11:56:32)

Offline

#2 2007-05-23 12:33:53

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: acpi problems

Look into those directories in /proc/acpi. The directories are created when you simply load the modules. But do they include the files?


Mortuus in anima, curam gero cutis

Offline

#3 2007-05-24 10:29:09

Weeks
Member
Registered: 2006-01-26
Posts: 91

Re: acpi problems

Yup:

# ls /proc/acpi/asus/
brn  disp  info  lcd  mled  wled

# cat /proc/acpi/asus/info 
Asus Laptop ACPI Extras Driver 0.30
Model reference    : L4R
SFUN value         : 0x08f7
DSDT length        : 20112
DSDT checksum      : 174
DSDT revision      : 1
OEM id             : A0009
OEM table id       : A0009000
OEM revision       : 0x0
ASL comp vendor id : INTL
ASL comp revision  : 0x20030522


# lsmod

(...)
asus_acpi              15132  0 
button                  6288  0 
battery                 8580  0 
(..)

Actually, I may have solved this; it could be ever-so-wonderful HAL. Will update this later.

Last edited by Weeks (2007-05-24 10:34:49)

Offline

#4 2007-06-23 05:37:35

cry0x
Member
Registered: 2007-04-11
Posts: 91

Re: acpi problems

I am having this same issue on my macbook. It *was* working, but for some reason it just stopped... and I can't think of what changed between then and now. If you come up with a fix, or have anything you'd like to know about my system, let me know smile


Who is this doin' this synthetic type of alpha beta psychedelic funkin'?

Offline

#5 2007-06-23 13:24:44

tanis
Member
From: Poland / Waterloo, ON, Canada
Registered: 2007-04-21
Posts: 259

Re: acpi problems

Weeks:

Run lsof | grep /proc/acpi to see what uses /proc/acpi/events - maybe there is already acpid running?

Also, asus_acpi is the old driver. The new one, that comes with 2.6.21 kernel is called 'asus-laptop'.
Since both drivers are present, you can add MOD_BLACKLIST=(asus_acpi) and 'asus-laptop' to MODULES variable in rc.conf.
Keep in mind that all asus related files were moved from /proc to /sys.

Offline

Board footer

Powered by FluxBB