[ltp] ibm-acpi : No such device

Jäggi Roger linux-thinkpad@linux-thinkpad.org
Mon, 5 Sep 2005 16:02:13 +0200


Use this patch:
https://sourceforge.net/tracker/index.php?func=detail&aid=1276701&gro=
up_id=117042&atid=676747
and you should be able to compile without problems.

But I'm still not able to load it afterwards.. (error message see below).

-- Roger

-----Original Message-----
From: linux-thinkpad-admin@linux-thinkpad.org on behalf of Leon Brokken
Sent: Mon 9/5/2005 3:56 PM
To: linux-thinkpad@linux-thinkpad.org
Subject: Re: [ltp] ibm-acpi : No such device
 
Jean Feltrin wrote:

> Hi all.. can you paste here the messages returned while compiling 
> ibm_acpi-0.11 with kernel 2.6.13, I got some errors while compiling if
> your is the same I found a solution.

Thanks Jean, I somehow forgot that ibm-acpi wouldn't even compile
correctly.... Looking forward to see the solution!

bash-3.00# make
make -C /lib/modules/2.6.13/build SUBDIRS=/home/leon/build/ibm-acpi-0.11
modules
make[1]: Entering directory `/home/leon/build/linux-2.6.13'
  CC [M]  /home/leon/build/ibm-acpi-0.11/ibm_acpi.o
/home/leon/build/ibm-acpi-0.11/ibm_acpi.c:1756: error: conflicting types
for `device_add'
include/linux/device.h:326: error: previous declaration of `device_add'
make[2]: *** [/home/leon/build/ibm-acpi-0.11/ibm_acpi.o] Error 1
make[1]: *** [_module_/home/leon/build/ibm-acpi-0.11] Error 2
make[1]: Leaving directory `/home/leon/build/linux-2.6.13'
make: *** [default] Error 2
bash-3.00#


>
>
> On 9/5/05, *Leon Brokken* <leon.brokken@utu.fi
> <mailto:leon.brokken@utu.fi>> wrote:
>
>     Roger wrote:
>
>     > I have a A31 running a 2.6.13 kernel.
>     > I compiled the ibm-acpi driver successfully (version 0.11), but =
I am
>     > not able to load the module:
>     >
>     > A31:/proc/acpi# modprobe ibm_acpi
>     > FATAL: Error inserting ibm_acpi
>     > (/lib/modules/2.6.13/acpi/ibm_acpi.ko): No such device
>     >
>     > A31:/proc/acpi# dmesg
>     > [...]
>     > ibm_acpi: IBM ThinkPad ACPI Extras v0.11
>     > ibm_acpi: http://ibm-acpi.sf.net/
>     > ibm_acpi: acpi_install_notify_handler(hotkey) failed: 7
>     >
>     > The same error occurs if I use 'modprobe ibm_acpi
>     > hotkey=enable,0xffff' or I compile the kernel with ibm-acpi
>     support.
>     >
>     > Thanks,
>     > Roger
>
>     Has anyone else encountered this problem? I get the same on my T41
>     when
>     I boot the 2.6.13 kernel. 2.6 .12.* worked well.
>     The latest kernel has soma some acpi features added (generic =
hotkey
>     support), but I haven't been able to compile it such that ibm-acpi
>     would
>     still work (or even get loaded).
>
>     Does anyone have 2.6.13 working well with ibm-acpi v0.11?
>
>     Cheers, Leon.
>     --
>     The linux-thinkpad mailing list home page is at:
>     http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>
>

-- 
Leon J.S. Brokken
Dept. of Anatomy, Inst. of Biomedicine, University of Turku
Tykistökatu 6 A, 20520 Turku, Finland
Tel. +358(0)405845063, Fax +358(0)22502610
--
GnuPG: 0x3C0E8DAE | 1EE8 511D A6D3 9F9C 2F43 EB6E 8387 B051 3C0E 8DAE
--