Page 15 of 48 FirstFirst ... 5131415161725 ... LastLast
Results 141 to 150 of 478

Thread: HOW TO: Install and configure lm-sensors

  1. #141
    Join Date
    Dec 2006
    Beans
    10

    Re: HOW TO: Install and configure lm-sensors

    Just as a follow up to my above post, GkrellM works perfect. My advice to anyone who gets that error is to continue modprobing and finish the install per this guide. Everything works and there are no problems. I'm still curious but it doesn't bother me that much.

  2. #142
    Join Date
    Oct 2006
    Beans
    2

    Re: HOW TO: Install and configure lm-sensors

    Argh. A lot of people get the same problem: ((Sorry, no chips were detected. )) when u run sensors detect (even with sudo). The fun thing is that i've got an HP NX8220 and in another post in this thread a guy got another answer. Why? Really there must be someone that has an answer to this problem. What i can understand there is alot of people having this problem. Is it just that simple that our laptops isn't supported yet even thou i've had mine for a long time, 8 months...

  3. #143
    Join Date
    Oct 2005
    Beans
    5

    Re: HOW TO: Install and configure lm-sensors

    Quote Originally Posted by scotte View Post
    I finally got my sensors working again in edgy, and hopefully this tip helps others who had sensors working fine in dapper, but are no longer working with edgy. This particular issue is not directly related to anything done in Ubuntu.

    For the background, I've got an intel 801 based motherboard on this particular box, and everything was working just fine with my former Gentoo install. Likewise, all was good when I installed Ubuntu dapper. After the upgrade to edgy, sensors stopped working. I tried compiling the latest lm-sensors, but that didn't help either.

    A key piece of information is that dapper was on kernel 2.6.15 and edgy uses 2.6.17. With some research and perusal of drivers/pci/quirks.c, there are a number of systems where the SMBus is hidden by default (see asus_hides_smbus in quirks.c).

    At any rate, I discovered there was a patch applied to quirks.c in 2.6.16 which effectively disables unhiding the SMBus when ACPI_SLEEP is enabled.

    My solution was to build a custom kernel without ACPI_SLEEP support. I'm now running 2.6.19, but this should work equally well for 2.6.17 or .18.

    Here's the supporting documentation:
    http://bugzilla.kernel.org/show_bug.cgi?id=6449
    http://www.kernel.org/git/?p=linux/k...s/pci/quirks.c
    http://www.kernel.org/git/?p=linux/k...7a3b3221813932

    Hope this helps!
    Thanks for the tip! I will try this. Can you post your kernel .config ?

  4. #144
    Join Date
    Oct 2005
    Beans
    5

    Re: HOW TO: Install and configure lm-sensors

    .

  5. #145
    Join Date
    Jan 2007
    Beans
    22

    Re: HOW TO: Install and configure lm-sensors

    I'm using the 2.6.19.2 kernel, which doesn't have i2c-sensors as a module.

    loaded modules are as follows

    # Generated by sensors-detect on Fri Feb 2 22:36:27 2007
    it87
    # I2C adapter drivers
    i2c-nforce2
    i2c-isa
    # I2C chip drivers
    eeprom
    # Warning: the required module it87 is not currently installed on your system.
    # For status of 2.6 kernel ports see http://secure.netroedge.com/~lm78/supported
    .html
    # If driver is built-in to the kernel, or unavailable, comment out the following
    line.
    When I run sensors -s I get the following output:
    root@rob-desktop:/home/rob# sensors -s
    it8712-isa-0d00: Can't access procfs/sysfs file for writing;
    Run as root?
    I had a feeling sysfs was deprecated in favour of udev, but my /sys folder is there. I have built and rub mkdev.sh.

    When I run sensors and I get the following output:
    it8712-isa-0d00
    Adapter: ISA adapter
    VCore 1: +1.65 V (min = +1.42 V, max = +1.57 V) ALARM
    VCore 2: +1.57 V (min = +2.40 V, max = +2.61 V) ALARM
    +3.3V: +2.58 V (min = +3.14 V, max = +3.47 V) ALARM
    +5V: +2.47 V (min = +4.76 V, max = +5.24 V) ALARM
    +12V: +13.12 V (min = +11.39 V, max = +12.61 V) ALARM
    -12V: -5.02 V (min = -12.63 V, max = -11.41 V) ALARM
    -5V: -1.24 V (min = -5.26 V, max = -4.77 V) ALARM
    Stdby: +5.05 V (min = +4.76 V, max = +5.24 V)
    VBat: +4.08 V
    fan1: 4299 RPM (min = 0 RPM, div = 2)
    fan2: 2109 RPM (min = 2986 RPM, div = 4) ALARM
    ERROR: Can't get FAN3 data!
    M/B Temp: +51°C (low = +15°C, high = +40°C) sensor = diode
    CPU Temp: -1°C (low = +15°C, high = +45°C) sensor = disabled
    Temp3: -1°C (low = +15°C, high = +45°C) sensor = disabled
    How do I enable the CPU and Temp3 sensors?

    Thanks,
    Rob.
    Last edited by sputnik2012; February 4th, 2007 at 04:17 PM. Reason: added modules listing

  6. #146
    Join Date
    Sep 2006
    Beans
    8

    Re: HOW TO: Install and configure lm-sensors

    Quote Originally Posted by jczucco View Post
    Thanks for the tip! I will try this. Can you post your kernel .config ?
    All I did was copy /boot/config-2.6.17-10-generic to the new kernel .config, did a "make oldconfig", disabled ACPI_SLEEP, then proceeded normally from there...
    Last edited by scotte; February 9th, 2007 at 08:52 PM.

  7. #147
    Join Date
    Sep 2006
    Location
    Florida
    Beans
    45
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOW TO: Install and configure lm-sensors

    Great HowTo! =D>
    Even simpler than expected as the Sensor detect install the modules automatically!
    D201GLY2A SiS662; Celeron 220; Ubuntu Server 8.04 64bits
    A8V Deluxe; ATI Radeon 9550; AMD64 3800; Ubuntu 8.04 / XP
    GA-MA78GM-S2H; AMD LE-1620; Ubuntu 8.04 MythTV Front end
    Registered Linux User number 439576

  8. #148
    Join Date
    Feb 2007
    Beans
    37

    Angry Re: HOW TO: Install and configure lm-sensors

    i can't quite get it to work..
    I followed the howto and running sensors works after I have loaded the modules manually using sudo modprobe..

    but I can't get them to load automatically during boot.
    I think I need to be root to load some of the modules, and that's why they don't load properly..

    these are the modules I need to load in order to get lm-sensors to work.

    Code:
    #----cut here----
    # I2C adapter drivers
    # modprobe unknown adapter NVIDIA i2c adapter 0 at 1:00.0
    # modprobe unknown adapter NVIDIA i2c adapter 1 at 1:00.0
    # modprobe unknown adapter NVIDIA i2c adapter 2 at 1:00.0
    i2c-sis96x
    i2c-isa
    # I2C chip drivers
    eeprom
    w83627hf
    #----cut here----
    they are also added to my /etc/modules file.
    but after boot up sensors does not work and I get this error message:

    Code:
    morgan@morgan-desktop:~$ sensors
    Can't access procfs/sysfs file
    Unable to find i2c bus information;
    For 2.6 kernels, make sure you have mounted sysfs and libsensors
    was compiled with sysfs support!
    For older kernels, make sure you have done 'modprobe i2c-proc'!
    if I then run sudo modprobe on all the modules listed above it works..
    if I run modprobe without sudo one of them tells me that I am not allowed to do that..(sorry, I don't remember which one it is)

    So, my guess is that I need to load those modules during boot but I need to have sudo rights in order to do that..
    Is there a way to do that or is there a completely different way to get lm-sensors to work
    thank you in advance.

  9. #149
    Join Date
    Oct 2004
    Location
    Paradise Island, Bahamas
    Beans
    361
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOW TO: Install and configure lm-sensors

    Since Dapper, I have found that sensors-detect can automaticly make all the changes required to your system. For example, on Ubuntu 6.06.1 you can see below where sensors-detect did the following:

    #/etc/modules:
    # Generated by sensors-detect on Fri Feb 3 11:24:54 2006
    # I2C adapter drivers
    i2c-i801
    i2c-isa
    # I2C chip drivers
    eeprom
    w83627hf

    e.p.
    linxos.com hllug.org bubbasgeek.com
    100% Linux/BSD @Home: Ubuntu -hp6810,Desktop,Server,MythTV. hpdm4. M0n0WALL -fw/router.

  10. #150
    Join Date
    Feb 2007
    Beans
    37

    Re: HOW TO: Install and configure lm-sensors

    yes it does make the changes and adds the modules in /etc/modules but I still have to run them "manually" after each reboot in order for the "sensors" command to work..
    Anyone know why this is?

Page 15 of 48 FirstFirst ... 5131415161725 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •