[1] 2 3 4 >>> Archiv / MLD 3.x / General / Sensors, Um Drehzahl Auszulesen
 

Offline Matthias

  • Expert Member
  • *****
  • Posts: 2006
    • View Profile
Sensors, Um Drehzahl Auszulesen
« on: May 22, 2012, 12:15:06 »
Ich würde gerne über das Systeminfo Addon mir im OSD oder auch per SSH die Lüfterdrehzahlen anzeigen lassen (Asus M3n78 Pro)
sensors ist installiert und sensors-detect hat folgende Module in die /etc/modules eingetragen:
Code: [Select]
# Generated by sensors-detect on Tue May 22 11:31:27 2012
# Chip drivers
it87
k8temp

Wenn ich mir den Beitrag im Easyvdr Portal anschauen, ist das soweit auch richtig und sollte, neben den Temperaturen, auch die Lüfterdrehzahlen anzeigen.
Tuts aber nicht, ich sehe nur die Temperaturwerte:
[code]

MLD> sensors
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:   +55.0
Produktiv System:
SAT over IP -> OctopusNet mit Unicable LNB: Inverto IDLU-24UL40-UNMOO-OPP
MLD 5.5 unstable/64Bit , Intel NUC BOXNUC6CAYH, 1 x 128 GB SSD, 8GB RAM + 1 x 3 TB HD per NFS (Synology),  Samsung UE32ES6300, Onkyo TX-8270, Nubert Nuline

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20313
    • View Profile
    • ClausMuus.de
Sensors, Um Drehzahl Auszulesen
« Reply #1 on: May 22, 2012, 13:17:21 »
Soweit ich mich erinnere gibt's für Sensors eine Konfig Datei in der eingetragen ist, welche Sensorwerte bei welcher Hardware was bedeuten. Die Dürfte für Deine Hardware unvollständig sein und müsste von Dir erweitert werden.
Im OSD kannst Du Dir das dann per sysinfo-Addon anzeigen lassen.

Claus
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline Matthias

  • Expert Member
  • *****
  • Posts: 2006
    • View Profile
Sensors, Um Drehzahl Auszulesen
« Reply #2 on: May 22, 2012, 14:08:53 »
Das wirds nicht sein bzw. soweit bin ich ja noch gar nicht das ich micht mit dem sysinfo Addon beschäftigen kann.
Erstmal scheitere ich da daran das sensors-detect die richtigen Sensoren erkennt und auch in die modules einträgt, aber bei Aufruf von sensors per Terminal bekomme ich nur die Temperaturwerte angezeigt.
Sysinfo macht ja auch nur ein grep der Ausgabe von sensors die nicht vollständig ist.
Also sowas:
Code: [Select]
/usr/bin/systeminfo.sh:
    7) # temperature of CPU and mainboard
        CPU=$(sensors | grep -i 'temp1' | /usr/bin/tr -s ' ' | cut -d' ' -f 2)
        MB=$( sensors | grep -i 'temp2' | /usr/bin/tr -s ' ' | cut -d' ' -f 2)
        echo -ne "Temperatures:tCPU: "$CPU"tMB: "$MB
           ;;
Produktiv System:
SAT over IP -> OctopusNet mit Unicable LNB: Inverto IDLU-24UL40-UNMOO-OPP
MLD 5.5 unstable/64Bit , Intel NUC BOXNUC6CAYH, 1 x 128 GB SSD, 8GB RAM + 1 x 3 TB HD per NFS (Synology),  Samsung UE32ES6300, Onkyo TX-8270, Nubert Nuline

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20313
    • View Profile
    • ClausMuus.de
Sensors, Um Drehzahl Auszulesen
« Reply #3 on: May 22, 2012, 15:17:04 »
Also in der /etc/sonsors.conf steht, dass dort nur einige typische Zuordnungen vorgenommen sind (so wie ich vorhin schon geschrieben hatte) und Hardware spezifische Einstellungen unter /etc/sonsors.d konfiguriert werden müssen.
Du wirst also wohl nicht drum hin kommen da Hand anzulegen. Am einfachsten wär's natürlich wenn Du ne passende Konfiguration finden würdest.

Claus
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline Andy

  • Profi Member
  • ****
  • Posts: 393
  • Windows is great! I used it to download Linux.
    • View Profile
Sensors, Um Drehzahl Auszulesen
« Reply #4 on: May 24, 2012, 18:00:35 »
Moin
Gibt es hier etwas neues...interessiere mich auch dafür weil ich auch ein ähnliches Board hab.
Ist im Prinzip sehr ähnlich.

Ein "sensors" in der Konsole spuckt auch nur das...
MLD> sensors
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:   +30.0°C
Core0 Temp:   +36,0°C
Core1 Temp:   +30.0°C
Core1 Temp:   +37.0°C

...raus.

Was mich wundert, ist irgendwo stand das man das Modul it87 einmal laden sollte....da bekomme ich aber diese...

modprobe: cant't load module it87 (kernel/drivers/hwmon/it87.ko): Device or resource busy

...Meldung.

Hab auch schon eine sensors.conf aus meiner vorherigen Distri (...da wurden alle Werte angezeigt), nach /etc kopiert bzw. mit sensors3.conf verlinkt.
Hat aber nix gebracht.
Hat jemand noch ne Idee ?

PS Die besagte sensors.conf häng ich mal an.

MFG
Andre
Meine VDR's (show / hide)

Offline Matthias

  • Expert Member
  • *****
  • Posts: 2006
    • View Profile
Sensors, Um Drehzahl Auszulesen
« Reply #5 on: May 29, 2012, 12:31:11 »
Andy und ich haben das gleiche Boardlayout und die gleichen Sensoren.
Bei uns beiden liefert Sensors nur die Ausgaben der Temperatursensoren, nicht aber die Drehzahlen der Lüfter. Die nötigen Sensoren werden aber scheinbar erkannt:
Code: [Select]
# Generated by sensors-detect on Tue May 22 11:31:27 2012
# Chip drivers
it87
k8tem

Ausgabe messages bei /etc/init.d/sensors restart:
Code: [Select]
user.info kernel: it87: Found IT8716F chip at 0x290, revision 3
 (none) user.warn kernel: ACPI Warning: 0x00000295-0x00000296 SystemIO conflicts with Region IP__ 1 (20120111/utaddress-251)
(none) user.warn kernel: ACPI Warning: 0x00000295-0x00000296 SystemIO conflicts with Region _SB_.PCI0.ASOC.HWRE 2 (20120111/utaddress-251)
May 29 10:23:20 (none) user.info kernel: ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver

Andy hat mit den gleichen conf Dateien unter easyvdr die Möglichkeit die Drehzahlen auszulesen. Insofern stellt sich die Frage wo der Unterschied ist bzw. fehlt der MLD etwas?
« Last Edit: May 29, 2012, 12:31:38 by Matthias »
Produktiv System:
SAT over IP -> OctopusNet mit Unicable LNB: Inverto IDLU-24UL40-UNMOO-OPP
MLD 5.5 unstable/64Bit , Intel NUC BOXNUC6CAYH, 1 x 128 GB SSD, 8GB RAM + 1 x 3 TB HD per NFS (Synology),  Samsung UE32ES6300, Onkyo TX-8270, Nubert Nuline

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20313
    • View Profile
    • ClausMuus.de
Sensors, Um Drehzahl Auszulesen
« Reply #6 on: May 29, 2012, 14:24:37 »
Und wie sieht das mit dem Ordner /etc/sonsors.d aus? War der bei der anderen Distri (bei der's funktioniert hat) leer? Gibt's eventuell noch andere Orte wo man Confs findet?

Claus
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline Andy

  • Profi Member
  • ****
  • Posts: 393
  • Windows is great! I used it to download Linux.
    • View Profile
Sensors, Um Drehzahl Auszulesen
« Reply #7 on: May 29, 2012, 17:14:20 »
Hallo
Also nochmal langsam...hab dazu jetzt nochmal meine easy-Platte dran gestöpselt.
Das gibt sensors bei easyvdr raus...
easyVDR:~# sensors
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:   +5.0°C
Core0 Temp:  +11.0°C
Core1 Temp:   +7.0°C
Core1 Temp:  +10.0°C

it8712-isa-0290
Adapter: ISA adapter
in0:         +1.33 V  (min =  +0.00 V, max =  +4.08 V)
in1:         +4.08 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
in2:         +3.23 V  (min =  +0.00 V, max =  +4.08 V)
in3:         +4.08 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
in4:         +3.14 V  (min =  +0.00 V, max =  +4.08 V)
in5:         +1.57 V  (min =  +0.00 V, max =  +4.08 V)
in6:         +4.08 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
in7:         +4.08 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
Vbat:        +3.09 V
fan1:          0 RPM  (min =    0 RPM)
fan2:       2213 RPM  (min =    0 RPM)
fan3:          0 RPM  (min =    0 RPM)
temp1:       +35.0°C  (low  =  -1.0°C, high = +127.0°C)  sensor = thermistor
temp2:       +39.0°C  (low  =  -1.0°C, high =  -9.0°C)  sensor = thermistor
temp3:      -128.0°C  (low  =  -1.0°C, high = +127.0°C)  sensor = disabled
cpu0_vid:   +1.550 V

...Unter /etc/modules steht das...
easyVDR:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a "#", and everything on the line after them are ignored.

ide-cd
ide-detect
ide-disk
psmouse
smbus-arp
uhci-hcd
ohci-hcd
ehci-hcd
usb-storage
i2c-viapro
i2c-isa
eeprom
parport_pci
# added by sensors-detect:
it87

...komischerweise gibt es hier auch kein k8temp, mmhhh...
Bei easy gibt es unter /etc eine sensors3.conf und eine sensors.conf.(Hab ich unten nochmal angehängt.)
Sollte hier schon der Fehler liegen, weil in meinem MLDHD gibt es nur eine sensors3.conf, aber keine sensors.conf ???
...hab ich jetzt noch garnicht ausprobiert bei MLDHD, eine sensors.conf unter /etc anzulegen.

Anbei noch die systeminfo.sh die in easy werkelt. Da ist auch einiges anders....statt Fans -> Lüfter, usw. aber das sind nur Kleinigkeiten.

Mmhhh, ich kann hier ja nur eine Datei anhängen....die sensors3.conf/sensors.conf/systeminfo.sh hab ich dann mal als zip gepackt, sollte jeder entpacken können;-)

@claus
Sorry eine sensors.d konnte ich bei easyvdr und bei MLDHD nicht unter /etc finden.

@Matthias
Soll ich jetzt noch immer die easy-sensors.conf per E-Mail verschicken ?
Sie hängt 2 Beiträge höher und in diesem doch schon an.

MFG
Andre
« Last Edit: May 29, 2012, 17:23:07 by Andy »
Meine VDR's (show / hide)

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20313
    • View Profile
    • ClausMuus.de
Sensors, Um Drehzahl Auszulesen
« Reply #8 on: May 29, 2012, 17:25:54 »
Also laut Docu wird zuerst nach ner sensors3.conf gesucht und wenn die nicht da ist, ne sensors.conf genommen. Du solltest mal die sensors3.conf und die sensors.conf_standard auf den MLD PC unter /etc/sensors3.conf ablegen und mit beiden testen ob's hilft.

Claus
« Last Edit: May 29, 2012, 17:26:20 by clausmuus »
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline Andy

  • Profi Member
  • ****
  • Posts: 393
  • Windows is great! I used it to download Linux.
    • View Profile
Sensors, Um Drehzahl Auszulesen
« Reply #9 on: May 29, 2012, 17:45:33 »
Ok, hab die sensors.conf_standard als sensors.conf unter /etc abgelegt - reboot...leider kein Erfolg.
...es ist zum Haare raufen...

MFG
Andre
Meine VDR's (show / hide)

Offline Matthias

  • Expert Member
  • *****
  • Posts: 2006
    • View Profile
Sensors, Um Drehzahl Auszulesen
« Reply #10 on: May 29, 2012, 17:51:42 »
Quote

@Matthias
Soll ich jetzt noch immer die easy-sensors.conf per E-Mail verschicken ?
Sie hängt 2 Beiträge höher und in diesem doch schon an.

 
Ja, bitte per Mail. Wenn ich im Firefox den Anhang öffne sehe ich nur unformatieren Müll
Produktiv System:
SAT over IP -> OctopusNet mit Unicable LNB: Inverto IDLU-24UL40-UNMOO-OPP
MLD 5.5 unstable/64Bit , Intel NUC BOXNUC6CAYH, 1 x 128 GB SSD, 8GB RAM + 1 x 3 TB HD per NFS (Synology),  Samsung UE32ES6300, Onkyo TX-8270, Nubert Nuline

Offline Matthias

  • Expert Member
  • *****
  • Posts: 2006
    • View Profile
Sensors, Um Drehzahl Auszulesen
« Reply #11 on: May 29, 2012, 17:52:53 »
Quote
Ok, hab die sensors.conf_standard als sensors.conf unter /etc abgelegt - reboot...leider kein Erfolg.
...es ist zum Haare raufen...

MFG
Andre
Du brauchst kein Reboot machen. /etc/init.d/sensors restart sollte reichen
Produktiv System:
SAT over IP -> OctopusNet mit Unicable LNB: Inverto IDLU-24UL40-UNMOO-OPP
MLD 5.5 unstable/64Bit , Intel NUC BOXNUC6CAYH, 1 x 128 GB SSD, 8GB RAM + 1 x 3 TB HD per NFS (Synology),  Samsung UE32ES6300, Onkyo TX-8270, Nubert Nuline

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20313
    • View Profile
    • ClausMuus.de
Sensors, Um Drehzahl Auszulesen
« Reply #12 on: May 29, 2012, 21:11:24 »
Du musst die unter /etc/sensors3.conf speichern, nicht als sensors.conf. Ansonsten musst Du die sensors3.conf löschen.

Claus
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline Andy

  • Profi Member
  • ****
  • Posts: 393
  • Windows is great! I used it to download Linux.
    • View Profile
Sensors, Um Drehzahl Auszulesen
« Reply #13 on: May 29, 2012, 21:44:22 »
Ja,ja, hab ich auch schon jemacht...nix, bin noch am suchen...

MFG
Andre
Meine VDR's (show / hide)

Offline Andy

  • Profi Member
  • ****
  • Posts: 393
  • Windows is great! I used it to download Linux.
    • View Profile
Sensors, Um Drehzahl Auszulesen
« Reply #14 on: May 29, 2012, 21:48:05 »
ehh, was soll mir denn das sagen...
MLD> sensors
Error: File /etc/sensors.conf, line 278: Parse error in chip name
Error: File /etc/sensors.conf, line 283: Label statement before first chip statement
Error: File /etc/sensors.conf, line 284: Label statement before first chip statement
Error: File /etc/sensors.conf, line 285: Label statement before first chip statement
Error: File /etc/sensors.conf, line 286: Label statement before first chip statement
Error: File /etc/sensors.conf, line 287: Label statement before first chip statement
Error: File /etc/sensors.conf, line 288: Label statement before first chip statement
Error: File /etc/sensors.conf, line 289: Label statement before first chip statement
Error: File /etc/sensors.conf, line 322: Compute statement before first chip statement
Error: File /etc/sensors.conf, line 323: Compute statement before first chip statement
Error: File /etc/sensors.conf, line 324: Compute statement before first chip statement
Error: File /etc/sensors.conf, line 325: Compute statement before first chip statement
Error: File /etc/sensors.conf, line 1074: Parse error in chip name
Error: File /etc/sensors.conf, line 1095: Parse error in chip name
Error: File /etc/sensors.conf, line 1105: Parse error in chip name
Error: File /etc/sensors.conf, line 1115: Parse error in chip name
Error: File /etc/sensors.conf, line 1125: Parse error in chip name
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:   +28.0°C
Core0 Temp:   +30.0°C
Core1 Temp:   +29.0°C
Core1 Temp:   +36.0°C

Andre
Meine VDR's (show / hide)

[1] 2 3 4 >>> Archiv / MLD 3.x / General / Sensors, Um Drehzahl Auszulesen
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.