Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Sensors & 2.6.7 kernel

  • 13-07-2004 1:01am
    #1
    Technology & Internet Moderators Posts: 28,830 Mod ✭✭✭✭


    Another Gentoo question for y'all:

    I'm running a 2.6.7 kernel, and I'd like to be able to monitor the mobo's sensors. I tried to emerge lm-sensors, but it depends on i2c, which won't build because it's designed for a 2.4 kernel.

    Is there a way of using the built-in i2c functionality of the 2.6.7 kernel to monitor the mobo - preferably before I melt down my CPU? ;)

    Relevant kernel config settings (from "grep I2C .config"):

    # I2C support
    CONFIG_I2C=y
    CONFIG_I2C_CHARDEV=y

    # I2C Algorithms
    CONFIG_I2C_ALGOBIT=y

    # I2C Hardware Bus support
    CONFIG_I2C_ISA=y
    CONFIG_I2C_VIA=y
    CONFIG_I2C_VIAPRO=y
    CONFIG_I2C_SENSOR=y


Comments

  • Registered Users, Registered Users 2 Posts: 188 ✭✭slartibardfast


    the latest package doesn't need i2c(as its already in 2.6.7) but it is hard-masked for x86 at the moment.

    quick way round this is to specify the ebuild directly :-)
    emerge /usr/portage/sys-apps/lm-sensors/lm-sensors-2.8.6.ebuild

    then later you can add:
    sys-apps/lm-sensors -x86
    to your /etc/portage/package.keywords
    (this is for hastle(and -U) free emerge system/world)


  • Registered Users, Registered Users 2 Posts: 1,569 ✭✭✭maxheadroom


    Originally posted by slartibardfast
    then later you can add:
    sys-apps/lm-sensors -x86
    to your /etc/portage/package.keywords
    (this is for hastle(and -U) free emerge system/world)

    Will this work? I thought you could only specify ~ARCH in package.keywords? What I did was copied /usr/portage/sys-apps/lm-sensors/lm-sensors-2.8.6.ebuild to /usr/local/portage/sys-apps/lm-sensors/lm-sensors-2.8.6.ebuild

    and edited the ebuild in my overlay. Must try your way and see what happens :)

    EDIT: Also, if you sepcify emerge =/full/path/to/ebuild then it won't get recorded in the world file.


  • Registered Users, Registered Users 2 Posts: 188 ✭✭slartibardfast


    indeed it doesn't work! also it's no longer hard-masked as -x86 atm

    correct entries for /etc/portage/package.keywords are now
    sys-apps/i2c ~x86
    sys-apps/lm-sensors ~x86

    i2c seems strange but on emerge all that happens is:
    * Non-2.4 kernel detected; doing nothing...
    Originally posted by maxheadroom
    if you sepcify emerge =/full/path/to/ebuild then it won't get recorded in the world file.
    cheers, had forgotten that :eek:


  • Technology & Internet Moderators Posts: 28,830 Mod ✭✭✭✭oscarBravo


    Bingo! Got it installed, only to find that the vt1211 module hasn't been ported to 2.6.x yet. :rolleyes: Ah well...


Advertisement