View previous topic :: View next topic |
Author |
Message |
MasterX Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 26 Jun 2003 Posts: 1165
|
Posted: Fri Dec 12, 2003 8:31 am Post subject: Patching kernel 2.4.23 to install I2c 2.8.1 |
|
|
Has anyone done it.
I went to the site of lm_sensors, and they say that in order to install I2c 2.8.1 we need to patch the kernel.
Can someone tell me how to do this. I tried
patch -p1 <patch.file> and nothing happened
I also tried patch -d /usr/src/linux-2.4.23 <patch-file? but again nothing happened.
Has anyone tried to install I2c 2.8.1? After you patch/compile the kernel what is the procedure? Do you need to install I2c 2.8.1?
Thank you |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
steveb Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1198140199438f3db8ee800.gif)
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Fri Dec 12, 2003 6:48 pm Post subject: |
|
|
just install it from the portage: Code: | emerge /usr/portage/sys-apps/i2c/i2c-2.8.1.ebuild && emerge /usr/portage/sys-apps/lm-sensors/lm-sensors-2.8.1.ebuild |
just keep in mind, that this release is not supporting bttv: Code: | * *****************************************************************
*
* This ebuild assumes your *current* kernel is >=2.4.9 && < 2.5+
*
* For 2.5+ series kernels, use the support already in the kernel
* under 'Character devices' -> 'I2C support'.
*
* To cross-compile, 'export LINUX="/lib/modules/<version>/build"'
* or symlink /usr/src/linux to another kernel.
*
* *****************************************************************
* *****************************************************************
*
* WARNING: This i2c support is not recommended for things such as
* WARNING: BTTV
*
* *****************************************************************
*
* http://www2.lm-sensors.nu/~lm78/cvs/browse.cgi/lm_sensors2/README
*
* 35 ADDITIONALLY, i2c-2.8.0 is not API compatible to earlier i2c
* 36 releases due to struct changes; therefore you must NOT ENABLE
* 37 any other i2c drivers (e.g. bttv) in the kernel.
* 38 Do NOT use lm-sensors 2.8.0 or i2c-2.8.0 if you require bttv.
*
* Please try out http://www.ensicaen.ismra.fr/~delvare/devel/i2c/
* for a kernel patch which will fix this problem. Please note that
* nor the lm_sensors team nor the package maintainers will be able
* to support you if you encounter problems with I2C when using
* other modules with requirements on I2C...
*
* ***************************************************************** |
cheers
SteveB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|