Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346811 - app-laptop/ibam-0.5..2-r1: unable to see ACPI on newer kernels
Summary: app-laptop/ibam-0.5..2-r1: unable to see ACPI on newer kernels
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-26 02:03 UTC by Simeon Maryasin
Modified: 2011-03-20 15:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ibam acpi patch (ibam-acpi.patch,676 bytes, patch)
2010-11-26 02:04 UTC, Simeon Maryasin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simeon Maryasin 2010-11-26 02:03:45 UTC
When I installed ibam and tried to launch it, it said:
No apm data available.
Strace shown that ibam tries to read /etc/acpi/info, but I haven't this file, and according to [URL] it is deprecated.
So i made a patch for ibam to use /sys/module/acpi/parameters/acpica_version instead of /etc/acpi/info, and it works (although I sure it is ugly).

$ uname -a
Linux nee 2.6.36-gentoo #1 SMP PREEMPT Sat Nov 6 17:24:46 MSK 2010 i686 Intel(R) Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux


Reproducible: Always

Steps to Reproduce:
Comment 1 Simeon Maryasin 2010-11-26 02:04:23 UTC
Created attachment 255453 [details, diff]
ibam acpi patch
Comment 2 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-03-20 15:17:14 UTC
I have tested the patch with kernel 2.6.37-r2. It's OK.
Comment 3 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-03-20 15:37:29 UTC
Fixed with 0.5.2-r2. Thank you for the report and the patch!