Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Patching kernel 2.4.23 to install I2c 2.8.1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Fri Dec 12, 2003 8:31 am    Post subject: Patching kernel 2.4.23 to install I2c 2.8.1 Reply with quote

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
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Fri Dec 12, 2003 6:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum