|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Jun 2003
Città: Genova
Messaggi: 5676
|
lm_sensors su 2.6
ho installato gli ultimi lmsensors con i2c messo nel kernel come modulo.
il programma sensors-detect però da quest'output ![]() Codice:
This program will help you determine which I2C/SMBus modules you need to load to use lm_sensors most effectively. You need to have i2c and lm_sensors installed before running this program. Also, you need to be `root', or at least have access to the /dev/i2c-* files, for most things. If you have patched your kernel and have some drivers built in, you can safely answer NO if asked to load some modules. In this case, things may seem a bit confusing, but they will still work. We can start with probing for (PCI) I2C or SMBus adapters. You do not need any special privileges for this. Do you want to probe now? (YES/no): Probing for PCI bus adapters... Use driver `i2c-nforce2' for device 00:01.1: nVidia Corporation nForce2 SMBus (MCP) Probe succesfully concluded. We will now try to load each adapter module in turn. Load `i2c-nforce2' (say NO if built into your kernel)? (YES/no): Loading failed... skipping. Do you now want to be prompted for non-detectable adapters? (yes/NO): Load `i2c-elektor' (say NO if built into your kernel)? (YES/no): Loading failed... skipping. Load `i2c-elv' (say NO if built into your kernel)? (YES/no): Module loaded succesfully. Load `i2c-philips-par' (say NO if built into your kernel)? (YES/no): Loading failed... skipping. Load `i2c-velleman' (say NO if built into your kernel)? (YES/no): Loading failed... skipping. To continue, we need module `i2c-dev' to be loaded. If it is built-in into your kernel, you can safely skip this. i2c-dev is not loaded. Do you want to load it now? (YES/no): Loading failed, expect problems later on. We are now going to do the adapter probings. Some adapters may hang halfway through; we can't really help that. Also, some chips will be double detected; we choose the one with the highest confidence value in that case. If you found that the adapter hung after probing a certain address, you can specify that address to remain unprobed. That often includes address 0x69 (clock chip). Some chips are also accessible through the ISA bus. ISA probes are typically a bit more dangerous, as we have to write to I/O ports to do this. Do you want to scan the ISA bus? (YES/no): Probing for `National Semiconductor LM78' Trying address 0x0290... Failed! Probing for `National Semiconductor LM78-J' Trying address 0x0290... Failed! Probing for `National Semiconductor LM79' Trying address 0x0290... Failed! Probing for `Winbond W83781D' Trying address 0x0290... Failed! Probing for `Winbond W83782D' Trying address 0x0290... Failed! Probing for `Winbond W83627HF' Trying address 0x0290... Failed! Probing for `Winbond W83697HF' Trying address 0x0290... Failed! Probing for `Silicon Integrated Systems SIS5595' Trying general detect... Failed! Probing for `VIA Technologies VT82C686 Integrated Sensors' Trying general detect... Failed! Probing for `VIA Technologies VT8231 Integrated Sensors' Trying general detect... Failed! Probing for `ITE IT8705F / IT8712F / SiS 950' Trying address 0x0290... Failed! Probing for `IPMI BMC KCS' Trying address 0x0ca0... Failed! Probing for `IPMI BMC SMIC' Trying address 0x0ca8... Failed! Some Super I/O chips may also contain sensors. Super I/O probes are typically a bit more dangerous, as we have to write to I/O ports to do this. Do you want to scan for Super I/O sensors? (YES/no): Probing for `ITE 8712F Super IO Sensors' Failed! (0x8708) Probing for `SMSC 47M10x Super IO Fan Sensors' Failed! Probing for `SMSC 47M14x Super IO Fan Sensors' Failed! Probing for `VT1211 Super IO Sensors' Failed! (0x87) Probing for `Winbond W83627HF Super IO Sensors' Failed! (0x87) Probing for `Winbond W83627THF Super IO Sensors' Failed! (0x87) Probing for `Winbond W83637HF Super IO Sensors' Failed! (0x87) Probing for `Winbond W83697HF Super IO Sensors' Failed! (0x87) Probing for `Winbond W83697UF Super IO PWM' Failed! (0x87) Sorry, no chips were detected. Either your sensors are not supported, or they are connected to an I2C bus adapter that we do not support. See doc/FAQ, doc/lm_sensors-FAQ.html, or http://www2.lm-sensors.nu/~lm78/cvs/...nsors-FAQ.html (FAQ #4.24.3) for further information. If you find out what chips are on your board, see http://secure.netroedge.com/~lm78/newdrivers.html for driver status. ![]() ciao |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Sep 2002
Città: Monza (MI)
Messaggi: 1031
|
http://forum.hwupgrade.it/showthread...hreadid=625518
Come hai fatto a compilare i2c se il kernel 2.6.X non lo supporta? |
![]() |
![]() |
![]() |
#3 | |
Senior Member
Iscritto dal: Jun 2003
Città: Genova
Messaggi: 5676
|
Quote:
ho aperto un altro 3d perchè ora lm_sensors si compila (anche se solo in user space, altrimenti mi dà errore), ma il riconoscimento dei sensori non funzia a dovere! ciao |
|
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Jun 2003
Città: Genova
Messaggi: 5676
|
se può essere utile l'errore che mi dà se non faccio make user ma solo il classico make è questo:
Codice:
echo '#endif' >> kernel/include/sensors.h gcc -M -MG -I. -Ikernel/include -I/usr/local/include -Wall -O2 prog/sensors/chips.c | \ sed -e 's@^\(.*\)\.o:@prog/sensors/chips.rd prog/sensors/chips.ro: Makefile '`dirname prog/sensors/chips.rd`/Module.mk' @' > prog/sensors/chips.rd gcc -M -MG -I. -Ikernel/include -I/usr/local/include -Wall -O2 lib/proc.c | \ sed -e 's@^\(.*\)\.o:@lib/proc.ad lib/proc.ao: Makefile '`dirname lib/proc.ad`/Module.mk' @' > lib/proc.ad gcc -M -MG -I. -Ikernel/include -I/usr/local/include -Wall -O2 lib/chips.c | \ sed -e 's@^\(.*\)\.o:@lib/chips.ad lib/chips.ao: Makefile '`dirname lib/chips.ad`/Module.mk' @' > lib/chips.ad gcc -M -MG -I. -Ikernel/include -I/usr/local/include -fpic -Wall -O2 lib/proc.c | \ sed -e 's@^\(.*\)\.o:@lib/proc.ld lib/proc.lo: Makefile '`dirname lib/proc.ld`/Module.mk' @' > lib/proc.ld gcc -M -MG -I. -Ikernel/include -I/usr/local/include -fpic -Wall -O2 lib/chips.c | \ sed -e 's@^\(.*\)\.o:@lib/chips.ld lib/chips.lo: Makefile '`dirname lib/chips.ld`/Module.mk' @' > lib/chips.ld make: *** No rule to make target `linux/i2c-proc.h', needed by `kernel/chips/vt1211.d'. Stop. |
![]() |
![]() |
![]() |
#5 |
Senior Member
Iscritto dal: Jun 2003
Città: Genova
Messaggi: 5676
|
azz come và giù veloce
![]() non c'è nessuno?? mi sento come la particella di sodio ![]() ![]() ![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Iscritto dal: Jul 2002
Messaggi: 4334
|
Ma che sensore monta la tua mb?
|
![]() |
![]() |
![]() |
#7 | |
Senior Member
Iscritto dal: Jun 2003
Città: Genova
Messaggi: 5676
|
Quote:
non lo dice, dice solo che è supportato da lm_sensors>2.8 e da i2c del kerenl >2.6 so solo che con il 2.4funziava tutto ![]() ciao |
|
![]() |
![]() |
![]() |
#8 |
Senior Member
Iscritto dal: Jul 2002
Messaggi: 4334
|
E che modulo caricava con il 2.4? Prova a caricare lo steso modulo a mano
|
![]() |
![]() |
![]() |
#9 |
Senior Member
Iscritto dal: Jun 2003
Città: Genova
Messaggi: 5676
|
non esiste più.
la spiegazione credo sia questa: Codice:
Can't access procfs/sysfs file Unable to find i2c bus information; For 2.6 kernels, make sure you have mounted sysfs! For older kernels, make sure you have done 'modprobe i2c-proc'! |
![]() |
![]() |
![]() |
#10 |
Registered User
Iscritto dal: Nov 2000
Messaggi: 9315
|
ma hai compilto tutti i moduli del kernel relativi ai sensori?
sys in fstab ce l'hai? se si dovresti vedere le temp in /sys/bus/i2c/device o qualcosa del genere..io non ho installato assolutamente niente di esterno al kernel!! ![]() |
![]() |
![]() |
![]() |
#11 | |
Senior Member
Iscritto dal: Jan 2001
Città: Genova
Messaggi: 977
|
Quote:
mkdir /sys mount -t sysfs sysfs /sys
__________________
AsRock 939Dual,Venice 3200+@260*10,KingMax 2x512Mb @216,GeForce 6800le@gt,Seagate 250GB & 200GB all Powered by ArchLinux ![]() |
|
![]() |
![]() |
![]() |
#12 |
Registered User
Iscritto dal: Nov 2000
Messaggi: 9315
|
o meglio... fai prima....
su fstab: none /sys sysfs defaults 0 0 |
![]() |
![]() |
![]() |
#13 | |
Senior Member
Iscritto dal: Jun 2003
Città: Genova
Messaggi: 5676
|
Quote:
ora però dice no sensors found ![]() |
|
![]() |
![]() |
![]() |
#14 | |
Registered User
Iscritto dal: Nov 2000
Messaggi: 9315
|
Quote:
am che te ne fai di lmsensosr! /sys/devices/legacy/i2c-0/0-0290 sono qua le temp! |
|
![]() |
![]() |
![]() |
#15 |
Senior Member
Iscritto dal: Jan 2001
Città: Genova
Messaggi: 977
|
Il problema è che non tutti i driver per i chip sono stati portati nel kernel 2.6, alcuni devono essere riscritti/riveduti (io dovrei rivedere il w83627hf che non è stato ancora portato nel 2.6 (ma si può usare il modulo per w83781d)).
Tu dovresti avere il w83l785ts-s (se non ricordo male) che è supportato, controlla quindi di avere attivato nel kernel i moduli i2c-dev, isa-bus e nforce2 e w83l785ts-s da quello che ti dice sensors-detect non li hai compilati (loading i2c-nforce2..... failed)
__________________
AsRock 939Dual,Venice 3200+@260*10,KingMax 2x512Mb @216,GeForce 6800le@gt,Seagate 250GB & 200GB all Powered by ArchLinux ![]() |
![]() |
![]() |
![]() |
#16 |
Senior Member
Iscritto dal: Jun 2003
Città: Genova
Messaggi: 5676
|
non li carica perchè ho provato a metterli nel kernel staticamente
![]() ciao |
![]() |
![]() |
![]() |
#17 |
Senior Member
Iscritto dal: Jan 2001
Città: Genova
Messaggi: 977
|
ok, mettili come moduli, rifai il sensors-detect e posta output
__________________
AsRock 939Dual,Venice 3200+@260*10,KingMax 2x512Mb @216,GeForce 6800le@gt,Seagate 250GB & 200GB all Powered by ArchLinux ![]() |
![]() |
![]() |
![]() |
#18 |
Senior Member
Iscritto dal: Jan 2001
Città: Genova
Messaggi: 977
|
Che versione di kernel e lm_sensors usi? per la tua serve almeno 2.6.2 per il kernel e lm_sensors 2.8.3 (ma c'è il 2.8.4)
__________________
AsRock 939Dual,Venice 3200+@260*10,KingMax 2x512Mb @216,GeForce 6800le@gt,Seagate 250GB & 200GB all Powered by ArchLinux ![]() |
![]() |
![]() |
![]() |
#19 |
Senior Member
Iscritto dal: Jun 2003
Città: Genova
Messaggi: 5676
|
2.8.4 e kernel 2.6.2 (ora sto compilando il 2.6.3)
ciao |
![]() |
![]() |
![]() |
#20 |
Senior Member
Iscritto dal: Jun 2003
Città: Genova
Messaggi: 5676
|
non è che il fatto che mi dà un errore in fase di compilazione di lm_sensors può essere un indizio?
mi sembra strano di dover fare make user... ciao |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 14:06.