Slack 10.1 e lm-sensors (again)

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
Avatar utente
Burroughs
Linux 4.x
Linux 4.x
Messaggi: 1076
Iscritto il: mer 15 dic 2004, 0:00
Nome Cognome: Andrea Lutri
Kernel: 3.16.0
Desktop: KDE SC 4.13.3
Distribuzione: Arch Linux
Località: Glasgow
Contatta:

Slack 10.1 e lm-sensors (again)

Messaggio da Burroughs »

Salve a tutti!
So bene di riaprire un thread già trattato più volte in questo forum, ma visto che non riesco a venir fuori dall'impiccio in cui mi trovo e che i post letti non mi hanno aiutato, provo a riproporre il problema.
Allora, utilizzo un portatile Acer TravelMate con su una Slack 10.1 (kernel 2.6.10 precompilato); volendo monitorare la temperatura della mia CPU ho pensato di ricorrere a lm-sensors.
Dopo averne scaricato l'ultima versione, la 2.9.2, ho
compilato i sorgenti, con un "make user;make user_install",
poi... beh, eccovi l'output della shell:

--------------------------------------------------
--------------------------------------------------

root@andy:/usr/src/lm_sensors-2.9.2# sensors-detect # sensors-detect
revision 1.393 (2005/08/30 18:51:18)

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): y
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 00:1f.3: Intel 82801DB ICH4
Probe succesfully concluded.

We will now try to load each adapter module in turn.
Module `i2c-i801' already loaded.
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): y
Module loaded succesfully.

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).

Next adapter: SMBus I801 adapter at 1400
Do you want to scan it? (YES/no/selectively): y
Client found at address 0x50
Probing for `SPD EEPROM'... Success!
(confidence 8, driver `eeprom')
Probing for `DDC monitor'... Failed!
Probing for `Maxim MAX6900'... Failed!
Client found at address 0x51
Probing for `SPD EEPROM'... Success!
(confidence 8, driver `eeprom')
Client found at address 0x69

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. This is usually safe though.

Do you want to scan the ISA bus? (YES/no): y
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 W83627EHF'
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 IT8712F'
Trying address 0x0290... Failed!
Probing for `ITE IT8705F / 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. This is usually safe though.

Do you want to scan for Super I/O sensors? (YES/no): y
Probing for `ITE 8702F Super IO Sensors'
Failed! (skipping family)
Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
Failed! (skipping family)
Probing for `SMSC 47B27x Super IO Fan Sensors'
Failed! (skipping family)
Probing for `VT1211 Super IO Sensors'
Failed! (skipping family)
Probing for `Winbond W83627EHF/EHG Super IO Sensors'
Failed! (skipping family)

Do you want to scan for secondary Super I/O sensors? (YES/no): y
Probing for `ITE 8702F Super IO Sensors'
Failed! (skipping family)
Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
Failed! (skipping family)
Probing for `SMSC 47B27x Super IO Fan Sensors'
Failed! (skipping family)
Probing for `VT1211 Super IO Sensors'
Failed! (skipping family)
Probing for `Winbond W83627EHF/EHG Super IO Sensors'
Failed! (skipping family)

Now follows a summary of the probes I have just done.
Just press ENTER to continue:

Driver `eeprom' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 1400'
Busdriver `i2c-i801', I2C address 0x50
Chip `SPD EEPROM' (confidence: 8)
* Bus `SMBus I801 adapter at 1400'
Busdriver `i2c-i801', I2C address 0x51
Chip `SPD EEPROM' (confidence: 8)


I will now generate the commands needed to load the I2C modules.
Sometimes, a chip is available both through the ISA bus and an I2C bus.
ISA bus access is faster, but you need to load an additional driver module
for it. If you have the choice, do you want to use the ISA bus or the
I2C/SMBus (ISA/smbus)? smbus

To make the sensors modules behave correctly, add these lines to
/etc/modules.conf:

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----

To load everything that is needed, add this to some /etc/rc* file:

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
# I2C chip drivers
modprobe eeprom
# sleep 2 # optional
/usr/local/bin/sensors -s # recommended
#----cut here----

WARNING! If you have some things built into your kernel, the list above
will contain too many modules. Skip the appropriate ones! You really should
try these commands right now to make sure everything is working properly.
Monitoring programs won't work until it's done.

Do you want to generate /etc/sysconfig/lm_sensors? (YES/no): y
Copy prog/init/lm_sensors.init to /etc/rc.d/init.d/lm_sensors
for initialization at boot time.
--------------------------------------------------
--------------------------------------------------

Beh, al successivo riavvio, se lancio "sensors -s", mi si risponde: "No
sensors found!".
I moduli relativi ad i2c, però, vengono caricati:

root@andy:~# lsmod |grep 'i2c'
i2c_sensor 3072 1 eeprom
i2c_i801 7692 0
i2c_core 17680 3 eeprom,i2c_sensor,i2c_i801

Come pensate si possa risolvere???

Burroughs.

Avatar utente
aLe46
Linux 2.x
Linux 2.x
Messaggi: 257
Iscritto il: gio 10 feb 2005, 0:00
Contatta:

Messaggio da aLe46 »

Qui volendo trovavi il tgz della 2.9.2 :
http://www.linuxpackages.net/search_vie ... r&ver=10.2


Che chipset hai ?

Hai copiato alias char-major-89 i2c-dev in modules.conf e il resto in rc.modules ?

Avatar utente
falappas
Linux 0.x
Linux 0.x
Messaggi: 44
Iscritto il: gio 30 giu 2005, 0:00
Slackware: 12.0
Località: Filottrano (AN)
Contatta:

Messaggio da falappas »

Io ho un Acer Travelmate 291LMi, forse è molto simile al tuo!
Io per ora riesco a vedere solo la temeperatura del harddisk (S.M.A.R.T. credo). ha un manuale ho visto che nella scheda madre dovrebbe esserci un chip tipo ADM1032 che è supportato dal driver LM90... comunque anche se carico il modulo LM90 a mano non succede nulla!
Ma tu su windows la puoi vedere la temperatura del sistema? perchè io no, e stò pensando che il sensore c'è (per avviare la ventola), ma non è possibile visualizzare il suo valore!
Fammi sapere...

Avatar utente
Burroughs
Linux 4.x
Linux 4.x
Messaggi: 1076
Iscritto il: mer 15 dic 2004, 0:00
Nome Cognome: Andrea Lutri
Kernel: 3.16.0
Desktop: KDE SC 4.13.3
Distribuzione: Arch Linux
Località: Glasgow
Contatta:

Messaggio da Burroughs »

Anch'io ho un TravelMate 291 LMi e, proprio come nel tuo caso, se da Windows installo un programma di diagnostica qualunque, questo mi restituisce solo le informazioni relative all'hard disk, compresa la temperatura.
Adesso farò qualche altra prova con lm-sensors, ma non penso che ne caverò fuori qualcosa.
Ah, per caso, hai abilitato la sospensione sul tuo notebook?
Se sì, hai riscontrato particolari problemi?

Burroughs.

Avatar utente
falappas
Linux 0.x
Linux 0.x
Messaggi: 44
Iscritto il: gio 30 giu 2005, 0:00
Slackware: 12.0
Località: Filottrano (AN)
Contatta:

Messaggio da falappas »

Si, utilizzo la sospensione e funziona senza problemi.
Il Software Suspend invece funziona solo da consol e c'è qualche piccolo problema con l'usb.

Rispondi