Announcement

Collapse
No announcement yet.

Ksensors won't show fan speed!

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Ksensors won't show fan speed!

    Hello!
    I have installed lm-sensors, run sensors-detect and sensors -s.
    When I type "sensors" in Konsole it shows all the sensors detected, including a fan sensor that was showing only zero until I fixed it. But Ksensors still shows this fan sensor as zero! I use superkaramba and in any theme I use I get the same result of Ksensors.

    If anyone can help.

    Thanks

    #2
    Re: Ksensors won't show fan speed!

    What -- Ksensors runs on your Kubuntu system? I didn't know it would run anywhere! It's dead as a doornail on mine -- I have to use Ksysguard or gkrellm to see my sensor outputs. Ksensors puts up a blank background with little "Ksensors" logos all over it. But "Configure" won't do anything.

    Comment


      #3
      Re: Ksensors won't show fan speed!

      What -- Ksensors runs on your Kubuntu system? I didn't know it would run anywhere!
      Hmm - there is only one bug report in the Bugs in ksensors in ubuntu
      https://launchpad.net/ubuntu/+source/ksensors/+bugs

      => Bug #109472 in ksensors
      Ksensors still not working with hddtemp for normal users
      https://bugs.launchpad.net/ubuntu/+s...rs/+bug/109472

      Here ksensors is working fine (it even shows hddtemp data - dpkg-reconfigure hdtemp -> suid set).



      When I type "sensors" in Konsole it shows all the sensors detected, including a fan sensor that was showing only zero until I fixed it. But Ksensors still shows this fan sensor as zero! I use superkaramba and in any theme I use I get the same result of Ksensors.
      => Maybe it is time to do bug report.


      About superkaramba

      You can edit what SK reads/shows.

      Link
      Superkaramba
      http://netdragon.sourceforge.net/ssuperkaramba.html
      Before you edit, BACKUP !

      Why there are dead links ?
      1. Thread: Please explain how to access old kubuntu forum posts
      2. Thread: Lost Information

      Comment


        #4
        Re: Ksensors won't show fan speed!

        Small Superkaramba example:

        Small Monitor
        http://www.kde-look.org/content/show...?content=30890

        Small monitor consist:

        smallmonitor.theme (text file)
        pixmap folder:
        backward.png
        bg.png
        forward.png


        In the smallmonitor.theme:
        #Cpu FAN

        bar x=604 y=3 path=pixmaps/backward.png sensor=sensor type=fan1 format=%v max=4300
        text x=604 y=-2 color=255,255,255 font "verdana" value="Cpu fan :"
        text x=657 y=2 sensor=sensor type=fan1 format=%v interval=1000 color=255,255,255 font="verdana" align=left
        Kubuntu doesn't understand:
        sensor=sensor type=fan1
        Using lmsensors (sensors): lm-sensors + grep + awk

        man grep
        NAME
        grep, egrep, fgrep, rgrep - print lines matching a pattern

        SYNOPSIS
        grep [options] PATTERN [FILE...]
        grep [options] [-e PATTERN | -f FILE] [FILE...]
        man awk
        NAME
        gawk - pattern scanning and processing language
        and
        awk, a program that you can use to select particular records in a file and perform operations upon them.
        CPU fans rpm's are in the line that has text "CPU Fan" and it is the third column =>
        Code:
        :~$ sensors | grep "CPU Fan" | awk '{print $3}'
        or
        Code:
        :~$ sensors | awk '/CPU Fan/ {print $3}'
        => So with that

        #Cpu FAN

        bar x=604 y=3 path=pixmaps/backward.png sensor=program program="sensors | grep 'CPU Fan' | awk '{print $3}'" format=%v max=5000
        text x=604 y=-2 color=255,255,255 font "verdana" value="Cpu fan :"
        text x=657 y=2 sensor=program program="sensors | grep 'CPU Fan' | awk '{print $3}'" format=%v interval=1000 color=255,255,255 font="verdana" align=left
        in the smallmonitor.theme, Small Monitor has CPU fan rpm's in the Kubuntu.


        More:
        Topic: No Folders or Files Under /proc/acpi/thermal_zone
        http://kubuntuforums.net/forums/inde...opic=3089934.0


        Link:

        The GNU Awk User's Guide
        http://www.gnu.org/software/gawk/manual/gawk.html
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment

        Working...
        X