[ltp] Re: Help compiling ibm-acpi

Jaime Iniesta linux-thinkpad@linux-thinkpad.org
Sat, 1 Oct 2005 18:16:18 +0200


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

Thanks for the reply. The ibm-acpi I have (from the debian package) is
0.8so I'll have to compile it to get the latest version... but I get
the errors
I described before...

Bye,
Jaime


2005/10/1, Konstantin Filtschew <konstantin.filtschew@gmail.com>:
>
> hi,
>
> try to load it this way:
>
> modprobe ibm-acpi experimental=3D1
>
> You need ibm-acpi 0.11 or later
>
> modpinfo ibm-acpi
> will tell you this or
> cat /proc/acpi/ibm/driver
>
> Greetz
>
> Konstantin Filtschew
>
>
>
> On Sat, 2005-10-01 at 16:46 +0200, Jaime Iniesta wrote:
> > I downloaded a debian package from
> > http://debian.isg.ee.ethz.ch/public/ (sarge version) and installed it
> > with dpkg. Then I load the module with modprobe -i ibm_acpi and it
> > appears listed on modprobe -l | grep ibm
> >
> > Anyway, the fan script listed on
> > http://thinkwiki.org/wiki/ACPI_fan_control_script doesn't work because
> > of two errors:
> >
> > 1.- Temperature on my machine can be read
> > from /proc/acpi/thermal_zone/THM0/temperature but not
> > from /proc/acpi/ibm/thermal as thermal doesn't exist on
> > the /proc/acpi/ibm folder
> >
> > 2.- Fan can not be controlled echoing commands to /proc/acpi/ibm/fan
> > as "fan" doesn't exist on that folder neither. I do have
> > a /proc/acpi/fan folder which is empty so sending commands there
> > doesn't work.
> >
> > So I'm clueless about how to make the fan control script work on R52
> > +Ubuntu Hoary.
> >
> > Do I have to recompile the kernel to make ibm-acpi work?
> >
> > Thanks,
> > Jaime
> >
> >
> >
> > 2005/10/1, Jaime Iniesta <capitanplaneta@gmail.com>:
> > Hello, I am trying to compile ibm-acpi on my R52, on Ubuntu
> > 5.04. I get this error when I use the "make" command:
> >
> > jaime@zimpa:~/sources/ibm-acpi/ibm-acpi-0.11$ sudo make
> > make -C /lib/modules/2.6.10-5-386/build
> > SUBDIRS=3D/home/jaime/sources/ibm-acpi/ibm-acpi-0.11 modules
> > make: *** /lib/modules/2.6.10-5-386/build: No existe el
> > fichero o el directorio. Alto.
> > make: *** [default] Error 2
> >
> > That is, it says that the /lib/modules/2.6.10-5-386/build
> > folder doesn't exist. It doesn't exist, indeed. I do have
> > a /lib/modules/2.6.10-5-386 folder but no "build" folder
> > inside.
> >
> > Any help will be appreciated.
> >
> > Thanks !
> >
> > --
> >
> > Jaime Iniesta AKA Capit=E1n planeta
> > email: capitanplaneta ARROBA gmail PUNTO com
> > jabber: capitanplaneta ARROBA jabberes PUNTO org
> > webs: http://capitanplaneta.blogspot.com/
> >
> >
> >
> > --
> >
> > Jaime Iniesta AKA Capit=E1n planeta
> > email: capitanplaneta ARROBA gmail PUNTO com
> > jabber: capitanplaneta ARROBA jabberes PUNTO org
> > webs: http://capitanplaneta.blogspot.com/
> --
> Building an operation system without source code,
> is like buying a self assemble space shuttle without
> instructions.
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
>
> iD8DBQBDPrMexHXMYglFk4ARAoA0AKCJPClxn6cM/lOhZl9zyXFVeKtcQwCeOIy2
> jaUGhLrTssLWuT2igqhH7qM=3D
> =3DrrTM
> -----END PGP SIGNATURE-----
>
>
>


--

Jaime Iniesta AKA Capit=E1n planeta
email: capitanplaneta ARROBA gmail PUNTO com
jabber: capitanplaneta ARROBA jabberes PUNTO org
webs: http://capitanplaneta.blogspot.com/

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

Thanks for the reply. The ibm-acpi I have (from the debian package) is
0.8 so I'll have to compile it to get the latest version... but I get
the errors I described before...<br>
<br>
Bye,<br>
Jaime<br>
<br><br><div><span class=3D"gmail_quote">2005/10/1, Konstantin Filtschew &l=
t;<a href=3D"mailto:konstantin.filtschew@gmail.com">konstantin.filtschew@gm=
ail.com</a>&gt;:</span><blockquote class=3D"gmail_quote" style=3D"border-le=
ft: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: =
1ex;">
hi,<br><br>try to load it this way:<br><br>modprobe ibm-acpi experimental=
=3D1<br><br>You need ibm-acpi 0.11 or later<br><br>modpinfo ibm-acpi<br>wil=
l tell you this or<br>cat /proc/acpi/ibm/driver<br><br>Greetz<br><br>Konsta=
ntin Filtschew
<br><br><br><br>On Sat, 2005-10-01 at 16:46 +0200, Jaime Iniesta wrote:<br>=
&gt; I downloaded a debian package from<br>&gt; <a href=3D"http://debian.is=
g.ee.ethz.ch/public/">http://debian.isg.ee.ethz.ch/public/</a> (sarge versi=
on) and installed it
<br>&gt; with dpkg. Then I load the module with modprobe -i ibm_acpi and it=
<br>&gt; appears listed on modprobe -l | grep ibm<br>&gt;<br>&gt; Anyway, t=
he fan script listed on<br>&gt; <a href=3D"http://thinkwiki.org/wiki/ACPI_f=
an_control_script">
http://thinkwiki.org/wiki/ACPI_fan_control_script</a> doesn't work because<=
br>&gt; of two errors:<br>&gt;<br>&gt; 1.- Temperature on my machine can be=
 read<br>&gt; from /proc/acpi/thermal_zone/THM0/temperature but not<br>
&gt; from /proc/acpi/ibm/thermal as thermal doesn't exist on<br>&gt; the /p=
roc/acpi/ibm folder<br>&gt;<br>&gt; 2.- Fan can not be controlled echoing c=
ommands to /proc/acpi/ibm/fan<br>&gt; as &quot;fan&quot; doesn't exist on t=
hat folder neither. I do have
<br>&gt; a /proc/acpi/fan folder which is empty so sending commands there<b=
r>&gt; doesn't work.<br>&gt;<br>&gt; So I'm clueless about how to make the =
fan control script work on R52<br>&gt; +Ubuntu Hoary.<br>&gt;<br>&gt; Do I =
have to recompile the kernel to make ibm-acpi work?
<br>&gt;<br>&gt; Thanks,<br>&gt; Jaime<br>&gt;<br>&gt;<br>&gt;<br>&gt; 2005=
/10/1, Jaime Iniesta &lt;<a href=3D"mailto:capitanplaneta@gmail.com">capita=
nplaneta@gmail.com</a>&gt;:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp; Hello, I am trying to compile ibm-acpi on my R52, on Ubuntu
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5.04. I get this e=
rror when I use the &quot;make&quot; command:<br>&gt;<br>&gt;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; jaime@zimpa:~/sources/ibm-acpi/ibm-acpi-=
0.11$ sudo make<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mak=
e -C /lib/modules/2.6.10-5-386/build<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; SUBDIRS=3D/home/jaime/sources/ibm-acpi/ibm-
acpi-0.11 modules<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m=
ake: *** /lib/modules/2.6.10-5-386/build: No existe el<br>&gt;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fichero o el directorio.&nbsp;&nbsp;Alt=
o.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; make: *** [defau=
lt] Error 2<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 That is, it says that the /lib/modules/2.6.10-5-386/build
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; folder doesn't exi=
st. It doesn't exist, indeed. I do have<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; a /lib/modules/2.6.10-5-386 folder but no &quot;build&=
quot; folder<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inside=
.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Any help =
will be appreciated.
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks !<b=
r>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --<br>&gt;<b=
r>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jaime Iniesta AKA Ca=
pit=E1n planeta<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ema=
il: capitanplaneta ARROBA gmail PUNTO com<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; jabber: capitanplaneta ARROBA jabberes PUNTO org
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webs: <a href=3D"h=
ttp://capitanplaneta.blogspot.com/">http://capitanplaneta.blogspot.com/</a>=
<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt;<br>&gt; Jaime Iniesta AKA Capit=
=E1n planeta<br>&gt; email: capitanplaneta ARROBA gmail PUNTO com
<br>&gt; jabber: capitanplaneta ARROBA jabberes PUNTO org<br>&gt; webs: <a =
href=3D"http://capitanplaneta.blogspot.com/">http://capitanplaneta.blogspot=
.com/</a><br>--<br>Building an operation system without source code,<br>is =
like buying a&nbsp;&nbsp;self assemble space shuttle without
<br>instructions.<br><br><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuP=
G v1.4.2 (GNU/Linux)<br><br>iD8DBQBDPrMexHXMYglFk4ARAoA0AKCJPClxn6cM/lOhZl9=
zyXFVeKtcQwCeOIy2<br>jaUGhLrTssLWuT2igqhH7qM=3D<br>=3DrrTM<br>-----END PGP =
SIGNATURE-----
<br><br><br></blockquote></div><br><br clear=3D"all"><br>-- <br><br>Jaime I=
niesta AKA Capit=E1n planeta<br>email: capitanplaneta ARROBA gmail PUNTO co=
m<br>jabber: capitanplaneta ARROBA jabberes PUNTO org<br>webs: <a href=3D"h=
ttp://capitanplaneta.blogspot.com/">
http://capitanplaneta.blogspot.com/</a>

------=_Part_7880_27243537.1128183378906--