Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46427 - lm-sensors, i2c and kernel 2.6
Summary: lm-sensors, i2c and kernel 2.6
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-31 17:11 UTC by Prieto
Modified: 2004-04-13 13:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Prieto 2004-03-31 17:11:32 UTC
lm-sensors has i2c as dependency. However, i2c is not needed (and even fails to compile) with a 2.6.x kernel, because it has i2c support built-in.

Reproducible: Always
Steps to Reproduce:
1. emerge lm-sensors (with a 2.6 kernel)
Actual Results:  
  * You are running:- 2.6.4
  * Using kernel in /usr/src/linux:- 2.6.4
  * Kernel version in /usr/src/linux is not 2.4.x
  * Please specify a 2.4.x kernel!



As emerge i2c says:
 * 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'.

workaround:
 emerge -O lm-sensors
Comment 1 Tuan Van (RETIRED) gentoo-dev 2004-03-31 17:23:51 UTC
I have not tried myself, but you don't need lm-sensors with 2.6 kernel either.
http://forums.gentoo.org/viewtopic.php?t=101573&highlight=lmsensor
Comment 2 Prieto 2004-03-31 17:25:25 UTC
What was I thinking about?
Yes, you're right Lang.
Comment 3 Blu3 2004-04-13 13:10:29 UTC
True that you don't need the drivers... but the utilities are nice to have.
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-04-13 13:32:35 UTC
this is only in two ebuilds

lm-sensors-2.7.0-r1.ebuild:DEPEND="~sys-apps/i2c-2.7.0"
lm-sensors-2.8.1.ebuild:DEPEND=">=sys-apps/i2c-2.8.1"