[ltp] ibm-acpi : No such device

Jean Feltrin linux-thinkpad@linux-thinkpad.org
Mon, 5 Sep 2005 11:24:16 -0300


------=_Part_18133_7369641.1125930256639
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

https://sourceforge.net/tracker/download.php?group_id=3D117042&atid=3D67674=
7&file_id=3D147532&aid=3D1276701

use the one that *J=E4ggi Roger recommended .. *

On 9/5/05, Jean Feltrin <kfreak@gmail.com> wrote:
>=20
> just go to the ibm_acpi dir:
> root@toptop:~/ibm-acpi-0.11#=20
> root@toptop:~/ibm-acpi-0.11# patch -p0 < *ibm_acpi-v0.11-2613.patch
>=20
> and after
> *
> root@toptop:~/ibm-acpi-0.11# make
> root@toptop:~/ibm-acpi-0.11# make install=20
> ;)
>=20
>=20
> On 9/5/05, Jean Feltrin <kfreak@gmail.com> wrote:
> >=20
> > here are my patch..
> > check.. worked with.. I hope it helps you.
> >=20
> >=20
> > On 9/5/05, J=E4ggi Roger <jaeggir@student.ethz.ch > wrote:
> > >=20
> > > Use this patch:
> > > https://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1276701=
&group_id=3D117042&atid=3D676747=20
> > >=20
> > > and you should be able to compile without problems.
> > >=20
> > > But I'm still not able to load it afterwards.. (error message see=20
> > > below).
> > >=20
> > > -- Roger
> > >=20
> > > -----Original Message-----
> > > From: linux-thinkpad-admin@linux-thinkpad.org on behalf of Leon=20
> > > Brokken
> > > Sent: Mon 9/5/2005 3:56 PM
> > > To: linux-thinkpad@linux-thinkpad.org
> > > Subject: Re: [ltp] ibm-acpi : No such device=20
> > >=20
> > > Jean Feltrin wrote:
> > >=20
> > > > 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=
=20
> > > if
> > > > your is the same I found a solution.=20
> > >=20
> > > Thanks Jean, I somehow forgot that ibm-acpi wouldn't even compile
> > > correctly.... Looking forward to see the solution!
> > >=20
> > > bash-3.00# make
> > > make -C /lib/modules/2.6.13/build SUBDIRS=3D/home/leon/build/ibm-
> > > acpi-0.11=20
> > > 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=20
> > > types
> > > for `device_add'=20
> > > include/linux/device.h:326: error: previous declaration of=20
> > > `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#
> > >=20
> > >=20
> > > >
> > > >
> > > > 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=
=20
> > > am=20
> > > > > 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=20
> > > > >
> > > > > A31:/proc/acpi# dmesg
> > > > > [...]
> > > > > ibm_acpi: IBM ThinkPad ACPI Extras v0.11
> > > > > ibm_acpi: http://ibm-acpi.sf.net/=20
> > > > > ibm_acpi: acpi_install_notify_handler(hotkey) failed: 7
> > > > >
> > > > > The same error occurs if I use 'modprobe ibm_acpi
> > > > > hotkey=3Denable,0xffff' or I compile the kernel with ibm-acpi=20
> > > > 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).=20
> > > >
> > > > 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
> > > >
> > > >
> > >=20
> > > --
> > > Leon J.S. Brokken
> > > Dept. of Anatomy, Inst. of Biomedicine, University of Turku
> > > Tykist=F6katu 6 A, 20520 Turku, Finland=20
> > > Tel. +358(0)405845063, Fax +358(0)22502610
> > > --
> > > GnuPG: 0x3C0E8DAE | 1EE8 511D A6D3 9F9C 2F43 EB6E 8387 B051 3C0E 8DAE
> > > --
> > >=20
> > >=20
> > > --
> > > The linux-thinkpad mailing list home page is at:
> > > http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
> > >=20
> >=20
> >=20
> >=20
>

------=_Part_18133_7369641.1125930256639
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<a href=3D"https://sourceforge.net/tracker/download.php?group_id=3D117042&a=
mp;atid=3D676747&amp;file_id=3D147532&amp;aid=3D1276701">https://sourceforg=
e.net/tracker/download.php?group_id=3D117042&amp;atid=3D676747&amp;file_id=
=3D147532&amp;aid=3D1276701
</a><br>
<br>
use the one that <b>J=E4ggi  Roger recommended .. </b><br><br><div><span cl=
ass=3D"gmail_quote">On 9/5/05, <b class=3D"gmail_sendername">Jean Feltrin</=
b> &lt;<a href=3D"mailto:kfreak@gmail.com">kfreak@gmail.com</a>&gt; wrote:<=
/span>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">just go to the ib=
m_acpi dir:<br>
root@toptop:~/ibm-acpi-0.11# <br>
root@toptop:~/ibm-acpi-0.11# patch -p0 &lt; <b>ibm_acpi-v0.11-2613.patch<br=
>
<br>
and after<br>
</b><br>
root@toptop:~/ibm-acpi-0.11#&nbsp; make<br>
root@toptop:~/ibm-acpi-0.11# make install <br>
;)<div><span class=3D"e" id=3D"q_10626a96692a8ffa_1"><br>
<br><br><div><span class=3D"gmail_quote">On 9/5/05, <b class=3D"gmail_sende=
rname">Jean Feltrin</b> &lt;<a href=3D"mailto:kfreak@gmail.com" target=3D"_=
blank" onclick=3D"return top.js.OpenExtLink(window,event,this)">kfreak@gmai=
l.com
</a>&gt; wrote:</span><blockquote class=3D"gmail_quote" style=3D"border-lef=
t: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1=
ex;">
here are my patch..<br>
check.. worked with.. I hope it helps you.<div><span><br>
<br><br><div><span class=3D"gmail_quote">On 9/5/05, <b class=3D"gmail_sende=
rname">J=E4ggi  Roger</b> &lt;<a href=3D"mailto:jaeggir@student.ethz.ch" ta=
rget=3D"_blank" onclick=3D"return top.js.OpenExtLink(window,event,this)">ja=
eggir@student.ethz.ch
</a>&gt; wrote:</span><blockquote class=3D"gmail_quote" style=3D"border-lef=
t: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1=
ex;">
Use this patch:<br><a href=3D"https://sourceforge.net/tracker/index.php?fun=
c=3Ddetail&amp;aid=3D1276701&amp;group_id=3D117042&amp;atid=3D676747" targe=
t=3D"_blank" onclick=3D"return top.js.OpenExtLink(window,event,this)">https=
://sourceforge.net/tracker/index.php?func=3Ddetail&amp;aid=3D1276701&amp;gr=
oup_id=3D117042&amp;atid=3D676747
</a><br>and you should be able to compile without problems.<br><br>But I'm =
still not able to load it afterwards.. (error message see below).<br><br>--=
 Roger<br><br>-----Original Message-----<br>From: <a href=3D"mailto:linux-t=
hinkpad-admin@linux-thinkpad.org" target=3D"_blank" onclick=3D"return top.j=
s.OpenExtLink(window,event,this)">


linux-thinkpad-admin@linux-thinkpad.org</a> on behalf of Leon Brokken<br>Se=
nt: Mon 9/5/2005 3:56 PM<br>To: <a href=3D"mailto:linux-thinkpad@linux-thin=
kpad.org" target=3D"_blank" onclick=3D"return top.js.OpenExtLink(window,eve=
nt,this)">

linux-thinkpad@linux-thinkpad.org</a><br>Subject: Re: [ltp] ibm-acpi : No s=
uch device
<br><br>Jean Feltrin wrote:<br><br>&gt; Hi all.. can you paste here the mes=
sages returned while compiling<br>&gt; ibm_acpi-0.11 with kernel 2.6.13, I =
got some errors while compiling if<br>&gt; your is the same I found a solut=
ion.
<br><br>Thanks Jean, I somehow forgot that ibm-acpi wouldn't even compile<b=
r>correctly.... Looking forward to see the solution!<br><br>bash-3.00# make=
<br>make -C /lib/modules/2.6.13/build SUBDIRS=3D/home/leon/build/ibm-acpi-0=
.11


<br>modules<br>make[1]: Entering directory `/home/leon/build/linux-2.6.13'<=
br>&nbsp;&nbsp;CC [M]&nbsp;&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=
<br>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>mak=
e[1]: *** [_module_/home/leon/build/ibm-acpi-0.11] Error 2<br>make[1]: Leav=
ing directory `/home/leon/build/linux-
2.6.13'<br>make: *** [default] Error 2<br>bash-3.00#<br><br><br>&gt;<br>&gt=
;<br>&gt; On 9/5/05, *Leon Brokken* &lt;<a href=3D"mailto:leon.brokken@utu.=
fi" target=3D"_blank" onclick=3D"return top.js.OpenExtLink(window,event,thi=
s)">

leon.brokken@utu.fi</a><br>&gt; &lt;mailto:<a href=3D"mailto:leon.brokken@u=
tu.fi" target=3D"_blank" onclick=3D"return top.js.OpenExtLink(window,event,=
this)">
leon.brokken@utu.fi</a>&gt;&gt; wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nb=
sp; Roger wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; I have a A31 =
running a 2.6.13 kernel.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; I compiled th=
e ibm-acpi driver successfully (version 0.11), but I am
<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; not able to load the module:<br>&gt;&nbsp=
;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; A31:/proc/acp=
i# modprobe ibm_acpi<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; FATAL: Error inse=
rting ibm_acpi<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; (/lib/modules/2.6.13/ac=
pi/ibm_acpi.ko): No such device
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; =
A31:/proc/acpi# dmesg<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; [...]<br>&gt;&nb=
sp;&nbsp;&nbsp;&nbsp; &gt; ibm_acpi: IBM ThinkPad ACPI Extras v0.11<br>&gt;=
&nbsp;&nbsp;&nbsp;&nbsp; &gt; ibm_acpi: <a href=3D"http://ibm-acpi.sf.net/"=
 target=3D"_blank" onclick=3D"return top.js.OpenExtLink(window,event,this)"=
>

http://ibm-acpi.sf.net/
</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; ibm_acpi: acpi_install_notify_han=
dler(hotkey) failed: 7<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&n=
bsp;&nbsp;&nbsp; &gt; The same error occurs if I use 'modprobe ibm_acpi<br>=
&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; hotkey=3Denable,0xffff' or I compile the =
kernel with ibm-acpi
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; support.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &=
gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Thanks,<br>&gt;&nbsp;&nbsp;&nbsp;&=
nbsp; &gt; Roger<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Has anyone else en=
countered this problem? I get the same on my T41<br>&gt;&nbsp;&nbsp;&nbsp;&=
nbsp; when<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; I boot the 2.6.13

 kernel.=20
2.6 .12.* worked well.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; The latest kernel ha=
s soma some acpi features added (generic hotkey<br>&gt;&nbsp;&nbsp;&nbsp;&n=
bsp; support), but I haven't been able to compile it such that ibm-acpi<br>=
&gt;&nbsp;&nbsp;&nbsp;&nbsp; would<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; still wo=
rk (or even get loaded).
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Does anyone have 2.6.13 working we=
ll with ibm-acpi v0.11?<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Cheers, Leo=
n.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; --<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; The l=
inux-thinkpad mailing list home page is at:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;=
 <a href=3D"http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkp=
ad" target=3D"_blank" onclick=3D"return top.js.OpenExtLink(window,event,thi=
s)">


http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad</a><br>&g=
t;<br>&gt;<br><br>--<br>Leon J.S. Brokken<br>Dept. of Anatomy, Inst. of Bio=
medicine, University of Turku<br>Tykist=F6katu 6 A, 20520 Turku, Finland
<br>
Tel. +358(0)405845063, Fax +358(0)22502610<br>--<br>GnuPG: 0x3C0E8DAE | 1EE=
8 511D A6D3 9F9C 2F43 EB6E 8387 B051 3C0E 8DAE<br>--<br><br><br>--<br>The l=
inux-thinkpad mailing list home page is at:<br><a href=3D"http://mailman.li=
nux-thinkpad.org/mailman/listinfo/linux-thinkpad" target=3D"_blank" onclick=
=3D"return top.js.OpenExtLink(window,event,this)">


http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad</a><br></=
blockquote></div><br>

</span></div><br clear=3D"all"></blockquote></div><br>

</span></div></blockquote></div><br>

------=_Part_18133_7369641.1125930256639--