Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: instalacia senzorov  (Přečteno 4251 krát)

cuco11

  • Návštěvník
  • Příspěvků: 23
instalacia senzorov
« kdy: 29 Října 2006, 23:16:00 »
Ahojte uz som sa s tym babral 2 hodiny a neuspel som tak prosim o radu. Nainstaloval som si na moj laptop HP Omnibook XE3 gkrellm aby mi to sledovalo teploty na ploche ale ten mi vypise ze nenasiel ziadne senzory, tak som hladal dalej a nasiel som tento navod https://help.ubuntu.com/community/SensorInstallHowto ale tam som dosiel po sudo depmod -a  kde mi vypisalo bash: !: event not found neviem co to znamena pouzivam linux tyzden to iste vypisalo aj pri prikaze sudo update-modules a pri prikaze sensors mi vypisalo Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and libsensors
was compiled with sysfs support!
For older kernels, make sure you have done 'modprobe i2c-proc'!

Tak co s tym? ZA RADU VOPRED DAKUJEM.

CUCO: UBUNTU 6.1 EDGY EFF

Vojtin

  • Host
instalacia senzorov
« Odpověď #1 kdy: 30 Října 2006, 16:34:05 »
Tohle okopíruj, otevři si gedit (kate), tam ulož, třeba na plochu, pod názvem mkdev.sh
Kód: [Vybrat]
#!/bin/bash
# Here you can set several defaults.
# The number of devices to create (max: 256)
NUMBER=32
# The owner and group of the devices
OUSER=root
OGROUP=root
# The mode of the devices
MODE=600

# This script doesn't need to be run if devfs is used
if [ -r /proc/mounts ] ; then
if grep -q "/dev devfs" /proc/mounts ; then
echo "You do not need to run this script as your system uses devfs."
exit;
fi
fi

i=0;

while [ $i -lt $NUMBER ] ; do
echo /dev/i2c-$i
mknod -m $MODE /dev/i2c-$i c 89 $i || exit
chown "$OUSER:$OGROUP" /dev/i2c-$i || exit
i=$[$i + 1]
done
#end of file
Pak si otevři terminál (konsole) napiš cd /home/user/Desktop zmáčkni enter, napiš
Kód: [Vybrat]
chmod 755 mkdev.shenetr
pak napiš
Kód: [Vybrat]
sudo ./mkdev.shenter
pak
Kód: [Vybrat]
sudo sensors-detectenter
mačkej pořád enter nebo yes na konci se tě zeptá jestli chceš uložit to co našel tak dej yes (defaultně je myslim no)
Koukni se co našel za sensory a ty pak musíš zavést do jádra příkazem sudo modprobe i2c-isa atd.
pak dej sensors a mělo by to fachat.

cuco11

  • Návštěvník
  • Příspěvků: 23
instalacia senzorov
« Odpověď #2 kdy: 30 Října 2006, 18:34:16 »
Diky za odpoved ale toto som uz skusal a toto mi vypisalo: Fakt uz neviem co s tym uz som vyskusal viac postupov .

Kód: [Vybrat]
# sensors-detect revision 1.413 (2006/01/19 20:28:00)

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.

It is generally safe and recommended to accept the default answers to all
questions, unless you know what you're doing.

 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-piix4' for device 00:07.3: Intel 82371AB PIIX4 ACPI
Use driver `to-be-written' for device 01:01.0: S3 Savage IX MV
Probe succesfully concluded.

We will now try to load each adapter module in turn.
Module `i2c-piix4' already loaded.
Load `to-be-written' (say NO if built into your kernel)? (YES/no):
FATAL: Module to_be_written not found.
Loading failed... skipping.
If you have undetectable or unsupported adapters, you can have them
scanned by manually loading the modules before running this script.

 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 already loaded.

 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 PIIX4 adapter at 1040
Do you want to scan it? (YES/no/selectively):
Client found at address 0x30
Client found at address 0x37
Client at address 0x50 can not be probed - unload all client drivers first!

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):
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 `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):
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):
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)

 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/lm_sensors2/doc/lm_sensors-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.
cUCo11

Vojtin

  • Host
instalacia senzorov
« Odpověď #3 kdy: 30 Října 2006, 20:59:57 »
spustil se ti ten script mkdev.sh?

cuco11

  • Návštěvník
  • Příspěvků: 23
instalacia senzorov
« Odpověď #4 kdy: 30 Října 2006, 21:07:52 »
Áno vypísalo mi toto:

Kód: [Vybrat]
/dev/i2c-0
/dev/i2c-1
/dev/i2c-2
/dev/i2c-3
/dev/i2c-4
/dev/i2c-5
/dev/i2c-6
/dev/i2c-7
/dev/i2c-8
/dev/i2c-9
/dev/i2c-10
/dev/i2c-11
/dev/i2c-12
/dev/i2c-13
/dev/i2c-14
/dev/i2c-15
/dev/i2c-16
/dev/i2c-17
/dev/i2c-18
/dev/i2c-19
/dev/i2c-20
/dev/i2c-21
/dev/i2c-22
/dev/i2c-23
/dev/i2c-24
/dev/i2c-25
/dev/i2c-26
/dev/i2c-27
/dev/i2c-28
/dev/i2c-29
/dev/i2c-30
/dev/i2c-31
inak by som napisal ze skript nespustilo

cUCo11

LS

  • Závislák
  • ***
  • Příspěvků: 3849
    • http://linux.euweb.cz
instalacia senzorov
« Odpověď #5 kdy: 30 Října 2006, 21:09:48 »
Na nekterych strojich to nemusi fungovat, me to na notebooku (FSC Amilo Pro V2045) take nechodi, na desktopu v pohode.

cuco11

  • Návštěvník
  • Příspěvků: 23
instalacia senzorov
« Odpověď #6 kdy: 30 Října 2006, 21:19:03 »
Hmm, hold smola, ale aj tak diky za snahu. Nie je to az take podstatne, prezijem aj bez toho.

:-)
cUCo11

Kamil Páral

  • Stálý člen
  • **
  • Příspěvků: 1026
    • http://ripper.profitux.cz
instalacia senzorov
« Odpověď #7 kdy: 12 Listopadu 2006, 02:31:09 »
ohledne lm-sensors jsem napsal navod na nasi wiki:
http://wiki.ubuntu.cz/Monitorov%C3%A1n%C3%AD_hardwaru
Ubuntu Wiki - spousta návodů a rad
Jabber - ICQ je mrtvý, nebuď ovce a pojď s dobou
Esmska - program pro posílání sms z Internetu

Czario

  • Stálý člen
  • **
  • Příspěvků: 639
  • skill :: passive-llama
instalacia senzorov
« Odpověď #8 kdy: 12 Listopadu 2006, 17:25:20 »
Jsem zkoušel nainstalovat ty senzory podle návodu. Mam notebook, takže se mi podařilo rozject jenom to sudo hddtemp /dev/hda.

sensors i xsensors se mi nechtěj spustit (u xsensors. to píše. Could not initialize sensors! Is everything installed properly?)


Ale chtěl jsem se zeptat, jak se v tom návodu dělá sudo sensors-detect

a vyhodí to ty
#----cut here----
# I2C adapter drivers
i2c-viapro
i2c-isa
# I2C chip drivers
eeprom
it87
#----cut here----

co to je to eeprom?
A co je k čemu?
když tam nejsou, tak ten senzor to zařízení ani nemá?
Proč se ten eeprom nepoužívá v tom modprobe.

mě na notesu se ukáže akorát adapter drivers i2c-i801 a ten eeprom

při sudo modprobe i2c-sensor mi to vyhodí chybu FATAL:Module i2c_sensor not found.

David

  • Návštěvník
  • Příspěvků: 16
instalacia senzorov
« Odpověď #9 kdy: 17 Prosince 2006, 01:04:05 »
eeprom - je to typ pameti mazatelne elektricky programovatelna a mazatelna. zalozena na technologiji MOS tranzistoru. teda jestli to neznamena jeste neco dalsiho :)
Asus A6Vm, 1024 RAM, GF 7300Go, Centrino 1.80GHz

 

Provoz zaštiťuje spolek OpenAlt.