[ltp] Re: Help compiling ibm-acpi
Konstantin Filtschew
linux-thinkpad@linux-thinkpad.org
Sat, 01 Oct 2005 19:39:40 +0200
--=-OhLh6COg+Pj2Ll3Cqdwz
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
hi,
I don't know exactly how to install it on ubuntu, but it is similar to
debian.
You need th kernel-headers for your kernel. For better use, install the
kernel-source too.
You can't compile something without the sources of the kernel or at
least the headers. Try to install this packages and recompile this.
Ubuntu has a forum or something similar, there you will find an answer,
try to search for ;)
On debian I would do:
apt-get install kernel-headers kernel-source
Greetz
Konstantin
On Sat, 2005-10-01 at 18:16 +0200, Jaime Iniesta wrote:
> 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...
>=20
> Bye,
> Jaime
>=20
>=20
> 2005/10/1, Konstantin Filtschew <konstantin.filtschew@gmail.com>:
> hi,
> =20
> try to load it this way:
> =20
> modprobe ibm-acpi experimental=3D1
> =20
> You need ibm-acpi 0.11 or later
> =20
> modpinfo ibm-acpi
> will tell you this or
> cat /proc/acpi/ibm/driver
> =20
> Greetz
> =20
> Konstantin Filtschew=20
> =20
> =20
> =20
> 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=20
> > 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=20
> > 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?=20
> >
> > Thanks,
> > Jaime
> >
> >
> >
> > 2005/10/1, Jaime Iniesta <capitanplaneta@gmail.com>:
> > Hello, I am trying to compile ibm-acpi on my R52, on
> Ubuntu=20
> > 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=20
> > 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.=20
> >
> > Thanks !
> >
> > --
> >
> > Jaime Iniesta AKA Capit=E1n planeta
> > email: capitanplaneta ARROBA gmail PUNTO com
> > jabber: capitanplaneta ARROBA jabberes PUNTO org=20
> > webs: http://capitanplaneta.blogspot.com/
> >
> >
> >
> > --
> >
> > Jaime Iniesta AKA Capit=E1n planeta
> > email: capitanplaneta ARROBA gmail PUNTO com=20
> > 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=20
> instructions.
> =20
> =20
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> =20
> iD8DBQBDPrMexHXMYglFk4ARAoA0AKCJPClxn6cM/lOhZl9zyXFVeKtcQwCeOIy2
> jaUGhLrTssLWuT2igqhH7qM=3D
> =3DrrTM
> -----END PGP SIGNATURE-----=20
> =20
> =20
>=20
>=20
>=20
> --=20
>=20
> Jaime Iniesta AKA Capit=E1n planeta
> email: capitanplaneta ARROBA gmail PUNTO com
> jabber: capitanplaneta ARROBA jabberes PUNTO org
> webs: http://capitanplaneta.blogspot.com/
--=20
Building an operation system without source code,
is like buying a self assemble space shuttle without
instructions.
--=-OhLh6COg+Pj2Ll3Cqdwz
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQBDPsncxHXMYglFk4ARAv64AKCmFvKsIr4BuoKZwZErXtDAJSclcgCgkQ2L
1Ay8gtvkCvv5DUkttAuPB90=
=d4Jn
-----END PGP SIGNATURE-----
--=-OhLh6COg+Pj2Ll3Cqdwz--