Personal tools
You are here: Home Hardware Sensors W83793 sensor kernel module for CentOS v5.x

W83793 sensor kernel module for CentOS v5.x

Building RHEL5/CentOS5/EL5 binary kernel module packages for the Winbond W83793 sensor.

[Sept 2009 ]IMPORTANT: Consider elrepo.org as an alternative.

The w83973 kernel module has been present in the kernel for a while, but after the EL5 2.6.18 kernel. There are patches to backport this driver into the EL5 2.6.18 kernel, but are not planned to be included until the EL v5.5 release. Thus until it is in the release kernel this provides a simple workaround.

Prerequisites

Install the development tools as required:
# yum install gcc make rpm-build

 Install the ATRPM macros for building kernel module ('kmdl') packages. If the build machine has ATRPMs repository installed then:

# yum install atrpms-rpm-config

Otherwise, given that only a single RPM is required, it can be installed directly:

# rpm -Uvh http://dl.atrpms.net/all/atrpms-rpm-config-184-1.noarch.rpm

Building binary packages for a specific kernel

Install the kernel development package with the kernel include files and the configuration file.

# yum install kernel-devel-<version>.<arch>
Building against a specific kernel version:
# rpmbuild --rebuild --define 'kmdl_kernelsrcdir /usr/src/kernels/2.6.18-128.7.1.el5-x86_64' \
    rpmbuild/SRPMS/w83793-1.0-1.RHL5.src.rpm

 

Links

 

 

Document Actions