[ltp] ibm-acpi : No such device

Leon Brokken linux-thinkpad@linux-thinkpad.org
Mon, 05 Sep 2005 16:56:13 +0300


This is a multi-part message in MIME format.

--Boundary_(ID_XumZS7nDanYdyZBs8XFvWQ)
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8BIT

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
--


--Boundary_(ID_XumZS7nDanYdyZBs8XFvWQ)
Content-type: text/html; charset=ISO-8859-1
Content-transfer-encoding: 7BIT

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Jean Feltrin wrote:
<blockquote cite="mida2f679690509050648d451df@mail.gmail.com"
 type="cite">Hi all.. can you paste here the messages returned while
compiling&nbsp;
ibm_acpi-0.11 with kernel 2.6.13, I got some errors while compiling if
your is the same I found a solution.<br>
</blockquote>
Thanks Jean, I somehow forgot that ibm-acpi wouldn't even compile
correctly.... Looking forward to see the solution!<br>
<br>
bash-3.00# make<br>
make -C /lib/modules/2.6.13/build
SUBDIRS=/home/leon/build/ibm-acpi-0.11 modules<br>
make[1]: Entering directory `/home/leon/build/linux-2.6.13'<br>
&nbsp; CC [M]&nbsp; /home/leon/build/ibm-acpi-0.11/ibm_acpi.o<br>
/home/leon/build/ibm-acpi-0.11/ibm_acpi.c:1756: error: conflicting
types for `device_add'<br>
include/linux/device.h:326: error: previous declaration of `device_add'<br>
make[2]: *** [/home/leon/build/ibm-acpi-0.11/ibm_acpi.o] Error 1<br>
make[1]: *** [_module_/home/leon/build/ibm-acpi-0.11] Error 2<br>
make[1]: Leaving directory `/home/leon/build/linux-2.6.13'<br>
make: *** [default] Error 2<br>
bash-3.00# <br>
<br>
<br>
<blockquote cite="mida2f679690509050648d451df@mail.gmail.com"
 type="cite"><br>
  <br>
  <div><span class="gmail_quote">On 9/5/05, <b class="gmail_sendername">Leon
Brokken</b> &lt;<a href="mailto:leon.brokken@utu.fi">leon.brokken@utu.fi</a>&gt;
wrote:</span>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Roger
wrote:<br>
    <br>
&gt; I have a A31 running a 2.6.13 kernel.<br>
&gt; I compiled the ibm-acpi driver successfully (version 0.11), but I
am<br>
&gt; not able to load the module:<br>
&gt;<br>
&gt; A31:/proc/acpi# modprobe ibm_acpi
    <br>
&gt; FATAL: Error inserting ibm_acpi<br>
&gt; (/lib/modules/2.6.13/acpi/ibm_acpi.ko): No such device<br>
&gt;<br>
&gt; A31:/proc/acpi# dmesg<br>
&gt; [...]<br>
&gt; ibm_acpi: IBM ThinkPad ACPI Extras v0.11<br>
&gt; ibm_acpi: <a href="http://ibm-acpi.sf.net/">http://ibm-acpi.sf.net/</a><br>
&gt; ibm_acpi: acpi_install_notify_handler(hotkey) failed: 7<br>
&gt;<br>
&gt; The same error occurs if I use 'modprobe ibm_acpi<br>
&gt; hotkey=enable,0xffff' or I compile the kernel with ibm-acpi
support.
    <br>
&gt;<br>
&gt; Thanks,<br>
&gt; Roger<br>
    <br>
Has anyone else encountered this problem? I get the same on my T41 when<br>
I boot the 2.6.13 kernel. 2.6 .12.* worked well.<br>
The latest kernel has soma some acpi features added (generic hotkey
    <br>
support), but I haven't been able to compile it such that ibm-acpi would<br>
still work (or even get loaded).<br>
    <br>
Does anyone have 2.6.13 working well with ibm-acpi v0.11?<br>
    <br>
Cheers, Leon.<br>
--<br>
The linux-thinkpad mailing list home page is at:
    <br>
    <a
 href="http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad">http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad</a><br>
  </blockquote>
  </div>
  <br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Leon J.S. Brokken
Dept. of Anatomy, Inst. of Biomedicine, University of Turku
Tykist&ouml;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
--
</pre>
</body>
</html>

--Boundary_(ID_XumZS7nDanYdyZBs8XFvWQ)--