[ltp] Re: Help compiling ibm-acpi

Konstantin Filtschew linux-thinkpad@linux-thinkpad.org
Sat, 01 Oct 2005 18:02:38 +0200


--=-6LvEjlDHq1r7Osdijkh2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

hi,

try to load it this way:

modprobe ibm-acpi experimental=3D1

You need ibm-acpi 0.11 or later

modpinfo ibm-acpi=20
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
>=20
> Anyway, the fan script listed on
> http://thinkwiki.org/wiki/ACPI_fan_control_script doesn't work because
> of two errors:
>=20
> 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
>=20
> 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.
>=20
> So I'm clueless about how to make the fan control script work on R52
> +Ubuntu Hoary.
>=20
> Do I have to recompile the kernel to make ibm-acpi work?
>=20
> Thanks,
> Jaime
>=20
>=20
>=20
> 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:
>        =20
>         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
>        =20
>         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.
>        =20
>         Any help will be appreciated.
>        =20
>         Thanks !
>        =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
>=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.

--=-6LvEjlDHq1r7Osdijkh2
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)

iD8DBQBDPrMexHXMYglFk4ARAoA0AKCJPClxn6cM/lOhZl9zyXFVeKtcQwCeOIy2
jaUGhLrTssLWuT2igqhH7qM=
=rrTM
-----END PGP SIGNATURE-----

--=-6LvEjlDHq1r7Osdijkh2--