problema lm_sensors

Postate qui per tutte le discussioni legate a Linux in generale.

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 Gnu/Linux in genere, se l'argomento è specifico alla Slackware usate uno dei forum Slackware o Slackware64.
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
sya54M
Master
Master
Messaggi: 1657
Iscritto il: mer 6 giu 2007, 14:44
Nome Cognome: Andrea Peluso
Slackware: 64-current
Kernel: ultimo
Desktop: KDE
Località: (Salerno)
Contatta:

problema lm_sensors

Messaggio da sya54M »

ciao, ho una scheda video col sensore Fintek F75373S che risulta supportato sia dal kernel che da lm_sensors, ma in realtà non vedo le informazioni nell'output del comando sensors.
sensors-detect sembra lo rilevi normalmente:

Codice: Seleziona tutto

bash-4.1# sensors-detect
# sensors-detect revision 5818 (2010-01-18 17:22:07 +0100)
# System: To Be Filled By O.E.M. To Be Filled By O.E.M.
# Board: ASUSTeK Computer Inc. P4C800-E

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): yes
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
Intel Core family thermal sensor...                         No
Intel Atom thermal sensor...                                No
Intel AMB FB-DIMM thermal sensor...                         No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): yes
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               Yes
Found `Winbond W83627THF/THG Super IO Sensors'              Success!
    (address 0x290, driver `w83627hf')
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No

Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no): yes
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (yes/NO): yes
Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): yes
Using driver `i2c-i801' for device 0000:00:1f.3: Intel 82801EB ICH5

Next adapter: SMBus I801 adapter at 0400 (i2c-0)
Do you want to scan it? (YES/no/selectively): yes
Client found at address 0x2f
Probing for `National Semiconductor LM78'...                No
Probing for `National Semiconductor LM79'...                No
Probing for `National Semiconductor LM80'...                No
Probing for `Analog Devices ADT7470'...                     No
Probing for `Winbond W83781D'...                            No
Probing for `Winbond W83782D'...                            No
Probing for `Winbond W83791D'...                            No
Probing for `Winbond W83792D'...                            No
Probing for `Winbond W83793R/G'...                          No
Probing for `Nuvoton W83795G/ADG'...                        No
Probing for `Winbond W83627HF'...                           No
Probing for `Winbond W83627EHF'...                          No
Probing for `Winbond W83627DHG/W83667HG/W83677HG'...        No
Probing for `Asus AS99127F (rev.1)'...                      No
Probing for `Asus AS99127F (rev.2)'...                      No
Probing for `Asus ASB100 Bach'...                           No
Probing for `Winbond W83L786NR/NG/R/G'...                   No
Probing for `Analog Devices ADM9240'...                     No
Probing for `Dallas Semiconductor DS1780'...                No
Probing for `National Semiconductor LM81'...                No
Probing for `Analog Devices ADM1029'...                     No
Probing for `ITE IT8712F'...                                No
Probing for `Fintek custom power control IC'...             No
Probing for `Winbond W83791SD'...                           Yes
    (confidence 3, not a hardware monitoring chip)
Client found at address 0x48
Probing for `National Semiconductor LM75'...                No
Probing for `Dallas Semiconductor DS75'...                  No
Probing for `National Semiconductor LM77'...                No
Probing for `Analog Devices ADT7411'...                     No
Probing for `Dallas Semiconductor DS1621/DS1631'...         No
Probing for `Maxim MAX6650/MAX6651'...                      No
Probing for `National Semiconductor LM73'...                No
Probing for `National Semiconductor LM92'...                No
Probing for `National Semiconductor LM76'...                No
Probing for `Maxim MAX6633/MAX6634/MAX6635'...              No
Client found at address 0x49
Probing for `National Semiconductor LM75'...                No
Probing for `Dallas Semiconductor DS75'...                  No
Probing for `National Semiconductor LM77'...                No
Probing for `Dallas Semiconductor DS1621/DS1631'...         No
Probing for `National Semiconductor LM73'...                No
Probing for `National Semiconductor LM92'...                No
Probing for `National Semiconductor LM76'...                No
Probing for `Maxim MAX6633/MAX6634/MAX6635'...              No
Client found at address 0x51
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Client found at address 0x53
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)

Next adapter: cx88[0] (i2c-1)
Do you want to scan it? (yes/NO/selectively): yes
Client found at address 0x50
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No
Probing for `EDID EEPROM'...                                No

Next adapter: NVIDIA i2c adapter  (i2c-2)
Do you want to scan it? (YES/no/selectively): yes
Client found at address 0x50
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No
Probing for `EDID EEPROM'...                                Yes
    (confidence 8, not a hardware monitoring chip)

Next adapter: NVIDIA i2c adapter  (i2c-3)
Do you want to scan it? (YES/no/selectively): yes

Next adapter: NVIDIA i2c adapter  (i2c-4)
Do you want to scan it? (YES/no/selectively): yes
Client found at address 0x2d
Probing for `Myson MTP008'...                               No
Probing for `National Semiconductor LM78'...                No
Probing for `National Semiconductor LM79'...                No
Probing for `National Semiconductor LM80'...                No
Probing for `National Semiconductor LM85'...                No
Probing for `National Semiconductor LM96000 or PC8374L'...  No
Probing for `Analog Devices ADM1027'...                     No
Probing for `Analog Devices ADT7460 or ADT7463'...          No
Probing for `SMSC EMC6D100 or EMC6D101'...                  No
Probing for `SMSC EMC6D102'...                              No
Probing for `SMSC EMC6D103'...                              No
Probing for `Winbond WPCD377I'...                           No
Probing for `Analog Devices ADT7473'...                     No
Probing for `Analog Devices ADT7476'...                     No
Probing for `Analog Devices ADT7490'...                     No
Probing for `Andigilog aSC7611'...                          No
Probing for `Andigilog aSC7621'...                          No
Probing for `National Semiconductor LM87'...                No
Probing for `Analog Devices ADM1024'...                     No
Probing for `National Semiconductor LM93'...                No
Probing for `Winbond W83781D'...                            No
Probing for `Winbond W83782D'...                            No
Probing for `Winbond W83783S'...                            No
Probing for `Winbond W83791D'...                            No
Probing for `Winbond W83792D'...                            No
Probing for `Winbond W83793R/G'...                          No
Probing for `Nuvoton W83795G/ADG'...                        No
Probing for `Winbond W83627HF'...                           No
Probing for `Winbond W83627EHF'...                          No
Probing for `Winbond W83627DHG/W83667HG/W83677HG'...        No
Probing for `Asus AS99127F (rev.1)'...                      No
Probing for `Asus AS99127F (rev.2)'...                      No
Probing for `Asus ASB100 Bach'...                           No
Probing for `Winbond W83L784R/AR/G'...                      No
Probing for `Winbond W83L785R/G'...                         No
Probing for `Genesys Logic GL518SM'...                      No
Probing for `Genesys Logic GL520SM'...                      No
Probing for `Genesys Logic GL525SM'...                      No
Probing for `Analog Devices ADM9240'...                     No
Probing for `Dallas Semiconductor DS1780'...                No
Probing for `National Semiconductor LM81'...                No
Probing for `Analog Devices ADM1026'...                     No
Probing for `Analog Devices ADM1025'...                     No
Probing for `Philips NE1619'...                             No
Probing for `Texas Instruments AMC6821'...                  No
Probing for `Analog Devices ADM1029'...                     No
Probing for `Analog Devices ADM1030'...                     No
Probing for `Analog Devices ADM1031'...                     No
Probing for `Analog Devices ADM1022'...                     No
Probing for `Texas Instruments THMC50'...                   No
Probing for `VIA VT1211 (I2C)'...                           No
Probing for `ITE IT8712F'...                                No
Probing for `ALi M5879'...                                  No
Probing for `SMSC LPC47M15x/192/292/997'...                 No
Probing for `SMSC DME1737'...                               No
Probing for `SMSC SCH5027D-NW'...                           No
Probing for `Fintek F75373S/SG'...                          Success!
    (confidence 7, driver `f75375s')
Probing for `Fintek F75375S/SP'...                          No
Probing for `Fintek F75387SG/RG'...                         No
Probing for `Winbond W83791SD'...                           No

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

Driver `f75375s':
  * Bus `NVIDIA i2c adapter '
    Busdriver `nvidia', I2C address 0x2d
    Chip `Fintek F75373S/SG' (confidence: 7)

Driver `w83627hf':
  * ISA bus, address 0x290
    Chip `Winbond W83627THF/THG Super IO Sensors' (confidence: 9)

Warning: the required module w83627hf is not currently installed
on your system. If it is built into the kernel then it's OK.
Otherwise, check http://www.lm-sensors.org/wiki/Devices for
driver availability.

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): yes
Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors
for initialization at boot time.
You should now start the lm_sensors service to load the required
kernel modules.
il modulo kernel f75375s è già caricato, ma al comando sensors mi restituisce solo le informazioni del Winbond che sta sulla scheda madre e niente sul fintek della scheda video.

Qualcuno mi può illuminare? grazie mille

Avatar utente
alphamanitine
Linux 1.x
Linux 1.x
Messaggi: 175
Iscritto il: mar 15 feb 2005, 0:00
Slackware: 14
Località: Prato

Re: problema lm_sensors

Messaggio da alphamanitine »

Onestamente non mi sono documentato molto ma di solito mi è capitato di dover rimuovere il modulo i2c-dev e il driver che non funziona (nel tuo caso il f75375s) e ricaricare solo il driver (f75375s).
Non posso fornirti motivi documentati ovviamente è solo prova empirica. Non molto scientifico. Spero che ti possa mettere sulla giusta strada.

Avatar utente
sya54M
Master
Master
Messaggi: 1657
Iscritto il: mer 6 giu 2007, 14:44
Nome Cognome: Andrea Peluso
Slackware: 64-current
Kernel: ultimo
Desktop: KDE
Località: (Salerno)
Contatta:

Re: problema lm_sensors

Messaggio da sya54M »

grazie della risposta, ormai non ci speravo più, ma ho controlato nei moduli compilati e nella configurazione... e questo modulo i2c-dev sembra non esistere proprio...

Avatar utente
alphamanitine
Linux 1.x
Linux 1.x
Messaggi: 175
Iscritto il: mar 15 feb 2005, 0:00
Slackware: 14
Località: Prato

Re: problema lm_sensors

Messaggio da alphamanitine »

Posta allora l'output di lsmod, così, per lo meno, se non io; qualcun'altro potrebbe aiutarti.
Magari chiedi anceh sul canale irc di slacky: irc.syrolnet.org.

Avatar utente
sya54M
Master
Master
Messaggi: 1657
Iscritto il: mer 6 giu 2007, 14:44
Nome Cognome: Andrea Peluso
Slackware: 64-current
Kernel: ultimo
Desktop: KDE
Località: (Salerno)
Contatta:

Re: problema lm_sensors

Messaggio da sya54M »

Codice: Seleziona tutto

Module                  Size  Used by
ppp_deflate             2942  0 
zlib_deflate           17436  1 ppp_deflate
zlib_inflate           14200  1 ppp_deflate
bsd_comp                4376  0 
ppp_async               5528  1 
crc_ccitt               1023  1 ppp_async
ppp_generic            18234  7 ppp_deflate,bsd_comp,ppp_async
slhc                    4431  1 ppp_generic
snd_seq_dummy            991  0 
snd_seq_oss            22008  0 
snd_seq_midi_event      3960  1 snd_seq_oss
snd_seq                36971  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          3853  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            28479  0 
snd_mixer_oss          11471  1 snd_pcm_oss
ipv6                  206317  21 
nf_conntrack_ipv4       8171  2 
nf_defrag_ipv4           751  1 nf_conntrack_ipv4
xt_state                 891  2 
nf_conntrack           39977  2 nf_conntrack_ipv4,xt_state
iptable_filter           820  1 
ip_tables               8837  1 iptable_filter
x_tables                9328  3 xt_state,iptable_filter,ip_tables
f75375s                 6016  0 
fuse                   46594  3 
zl10353                 5193  1 
cx88_dvb               17894  6 
videobuf_dvb            3586  1 cx88_dvb
dvb_core               70674  2 cx88_dvb,videobuf_dvb
tuner_xc2028           18058  2 
tuner                  18186  1 
arc4                     982  2 
ecb                     1405  2 
cx8800                 22271  0 
cx8802                 10459  1 cx88_dvb
cx88xx                 63516  3 cx88_dvb,cx8800,cx8802
nvidia               7029596  24 
v4l2_common            10988  3 tuner,cx8800,cx88xx
snd_intel8x0           20767  4 
acx_mac80211           71660  0 
ir_common              25682  1 cx88xx
snd_ac97_codec         81911  1 snd_intel8x0
i2c_algo_bit            4079  1 cx88xx
mac80211              150973  1 acx_mac80211
tveeprom               10481  1 cx88xx
ac97_bus                 706  1 snd_ac97_codec
ir_core                 4573  2 cx88xx,ir_common
snd_pcm                46529  4 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
cfg80211              113076  1 mac80211
i2c_i801                6392  0 
videodev               33203  4 tuner,cx8800,cx88xx,v4l2_common
parport_pc             16939  0 
v4l1_compat            11418  1 videodev
snd_timer              13986  3 snd_seq,snd_pcm
joydev                  7253  0 
8250_pnp                3344  0 
btcx_risc               2607  3 cx8800,cx8802,cx88xx
8139too                15214  0 
parport                23215  1 parport_pc
8250                   15574  1 8250_pnp
videobuf_dma_sg         7651  4 cx88_dvb,cx8800,cx8802,cx88xx
serial_core            13548  1 8250
mii                     2886  1 8139too
snd                    34975  16 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               4207  1 snd
floppy                 46424  0 
rfkill                 10904  2 cfg80211
videobuf_core          11361  5 videobuf_dvb,cx8800,cx8802,cx88xx,videobuf_dma_sg
snd_page_alloc          5125  2 snd_intel8x0,snd_pcm
usbhid                 30027  0 
cdc_acm                12660  3 
hid                    38287  1 usbhid
sr_mod                 10441  0 
evdev                   6269  7 
cdrom                  28995  1 sr_mod
sg                     18797  0

Avatar utente
alphamanitine
Linux 1.x
Linux 1.x
Messaggi: 175
Iscritto il: mar 15 feb 2005, 0:00
Slackware: 14
Località: Prato

Re: problema lm_sensors

Messaggio da alphamanitine »

Non vedo caricato il modulo w83627hf...comunque...sperando che non usi un kernel ricompilato da te (nessuna allusione sia chiaro) io farei così:

Codice: Seleziona tutto

#modprobe -r f75375s
#modprobe i2c-core
#modprobe i2c-dev
#modprobe w83627hf
#modprobe f75375s
# lsmod | grep f75375s
#lsmod | grep w83627hf 
Vedi ciò che ti dice e se uno dei moduli non c'è ricompila il kernel; se ci sono e le cose ancora non vanno prova la prima risposta che ti ho dato...comunque facci sapere.

Avatar utente
sya54M
Master
Master
Messaggi: 1657
Iscritto il: mer 6 giu 2007, 14:44
Nome Cognome: Andrea Peluso
Slackware: 64-current
Kernel: ultimo
Desktop: KDE
Località: (Salerno)
Contatta:

Re: problema lm_sensors

Messaggio da sya54M »

il kernel ovviamente è ricompilato :D e w83627hf l'ho messo statico

comunque sfogliando il .config vedo che non c'è proprio i2c-dev

Avatar utente
alphamanitine
Linux 1.x
Linux 1.x
Messaggi: 175
Iscritto il: mar 15 feb 2005, 0:00
Slackware: 14
Località: Prato

Re: problema lm_sensors

Messaggio da alphamanitine »

devi modularizzarlo come i2c-core e i2c-dev...e riprovare...

Avatar utente
sya54M
Master
Master
Messaggi: 1657
Iscritto il: mer 6 giu 2007, 14:44
Nome Cognome: Andrea Peluso
Slackware: 64-current
Kernel: ultimo
Desktop: KDE
Località: (Salerno)
Contatta:

Re: problema lm_sensors

Messaggio da sya54M »

ok ho visto che era uscito il 2.6.34.1 e l'ho aggiornato :D
ho trovato i2c-dev che non trovavo perchè lo chiama i2c-chardev, e l'ho messo come modulo
... non è cambiato nulla, il Winbond sulla mobo funziona e il Fintek della scheda video no...

ps: sia scheda madre che scheda video sono dell'Asus

Avatar utente
alphamanitine
Linux 1.x
Linux 1.x
Messaggi: 175
Iscritto il: mar 15 feb 2005, 0:00
Slackware: 14
Località: Prato

Re: problema lm_sensors

Messaggio da alphamanitine »

Trovato!
1. lancia sensors-detect e rispondi yes
2. # modprobe w83627hf
3. # modprobe f75375s
4. # senosrs (vedi quello che ti dice)
5. # nano /etc/rc.d/rc.local e aggiungi : (vedi 6 e 7)
6. /sbin/modprobe w83627hf
7. /sbin/modprobe f75375s
8. # reboot
9. loggati apri la console e dai $sensors

Probabilmente il controller di fintek ha bisogno di altri moduli; credo "eeprom" :-k ...prova a caricarlo e rilancia "$sensors" per vedere. Un modo un pò brutale potrebbe essere anche un # depmod -a.
La temperatura della GPU (se ho capito bene una Nvidia) dovrebbe essere:

Codice: Seleziona tutto

nvidia-settings -q gpucoretemp |grep '):' | cut -d ' ' -f 6,6 | sed -e 's/.\{1\}$//'
La voce relativa del kernel per chip memoria vari (SPD delle ram, etc) dovrebbe essere sotto "drivers/misc"; utili al controller fintek.
Ciao.

Avatar utente
sya54M
Master
Master
Messaggi: 1657
Iscritto il: mer 6 giu 2007, 14:44
Nome Cognome: Andrea Peluso
Slackware: 64-current
Kernel: ultimo
Desktop: KDE
Località: (Salerno)
Contatta:

Re: problema lm_sensors

Messaggio da sya54M »

come si vede dal rpimo post, è la prima cosa che ho fatto lanciare sensors-detect e rispondere sempre si.
a parte eeprom i moduli erano già caricati, ho caricato anche eeprom e ricaricato dopo f75375s, ma non è cambiato nulla :(

la scheda ha una gpu nvidia geforce fx5700, ma il programmino della nvidia non rileva il sensore, mentre invece nvclock lo rileva

Avatar utente
alphamanitine
Linux 1.x
Linux 1.x
Messaggi: 175
Iscritto il: mar 15 feb 2005, 0:00
Slackware: 14
Località: Prato

Re: problema lm_sensors

Messaggio da alphamanitine »

Nell'output di lsmod manca il modulo hwmon. Probabilmente non hai ancora tutti i moduli necessari gurada http://lm-sensors.org/wiki/Kernel2.6.
Lm-sensors fa solo una ricerca dei moduli e trova quelli giusti. Per vedere se sono corretti devi dare "modprobe nomemodulo" e poi "sensors" per accertarti se sono quelli giusti; ma per caricarli al boot devi aggiungerli nel file "/etc/rc.d/rc.local" con "/sbin/modprobe/nomemodulo".
Per lo specifico modulo di fintek della scheda cerca su internet.

Avatar utente
sya54M
Master
Master
Messaggi: 1657
Iscritto il: mer 6 giu 2007, 14:44
Nome Cognome: Andrea Peluso
Slackware: 64-current
Kernel: ultimo
Desktop: KDE
Località: (Salerno)
Contatta:

Re: problema lm_sensors

Messaggio da sya54M »

alphamanitine ha scritto:Nell'output di lsmod manca il modulo hwmon.
è statico, se non ci fosse non funzionerebbe nemmeno il Winbond

Rispondi