|
i2c - problem
kazzomy - 27-01-2008 17:21
Witam, te cztery wpisy powinny starczyc bez zadnego komentarza:
z sensor-detect Pasternaki:/home/pasternaki# sensors-detect # sensors-detect revision 5016 (2007-11-11 22:20:16 +0100)
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.
We can start with probing for (PCI) I2C or SMBus adapters. Do you want to probe now? (YES/no): Probing for PCI bus adapters... Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801FB ICH6
We will now try to load each adapter module in turn. Module `i2c-i801' already loaded. If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script.
We are now going to do the I2C/SMBus adapter probings. Some chips may 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.
Next adapter: SMBus I801 adapter at 1400 (i2c-0) Do you want to scan it? (YES/no/selectively): Client found at address 0x44 Probing for `Maxim MAX6633/MAX6634/MAX6635'... No Client found at address 0x50 Probing for `Analog Devices ADM1033'... No Probing for `Analog Devices ADM1034'... No Probing for `SPD EEPROM'... Yes (confidence 8, not a hardware monitoring chip) Probing for `EDID EEPROM'... No
Some chips are also 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): Probing for `National Semiconductor LM78' at 0x290... No Probing for `National Semiconductor LM78-J' 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 Probing for `Silicon Integrated Systems SIS5595'... No Probing for `VIA VT82C686 Integrated Sensors'... No Probing for `VIA VT8231 Integrated Sensors'... No Probing for `IPMI BMC KCS' at 0xca0... No Probing for `IPMI BMC SMIC' at 0xca8... No
Some Super I/O chips may also contain 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): Probing for Super-I/O at 0x2e/0x2f Trying family `National Semiconductor'... No Trying family `SMSC'... No Trying family `VIA/Winbond/Fintek'... No Trying family `ITE'... No Probing for Super-I/O at 0x4e/0x4f Trying family `National Semiconductor'... No Trying family `SMSC'... No Trying family `VIA/Winbond/Fintek'... No Trying family `ITE'... No
Some CPUs or memory controllers may also contain embedded sensors. Do you want to scan for them? (YES/no): AMD K8 thermal sensors... No AMD K10 thermal sensors... No Intel Core family thermal sensor... No Intel AMB FB-DIMM thermal sensor... No
Sorry, no sensors were detected. Either your sensors are not supported, or they are connected to an I2C or SMBus adapter that is not supported. See doc/FAQ, doc/lm_sensors-FAQ.html or http://www.lm-sensors.org/wiki/FAQ (FAQ #4.24.3) for further information. If you find out what chips are on your board, check http://www.lm-sensors.org/wiki/Devices for driver status.
z sensors Pasternaki:/home/pasternaki# sensors No sensors found! Make sure you loaded all the kernel drivers you need. Try sensors-detect to find out which these are.
z lsmod Pasternaki:/home/pasternaki# lsmod Module Size Used by i2c_dev 7140 0 i915 22432 2 drm 76020 3 i915 rfcomm 36280 0 l2cap 22432 5 rfcomm bluetooth 49348 4 rfcomm,l2cap ipv6 236996 12 button 7920 0 ac 5188 0 battery 9988 0 cpufreq_userspace 4128 0 cpufreq_conservative 6888 0 cpufreq_ondemand 8300 0 cpufreq_stats 5120 0 freq_table 4512 2 cpufreq_ondemand,cpufreq_stats cpufreq_powersave 1792 0 fuse 41908 1 ndiswrapper 174364 0 loop 16932 0 firewire_sbp2 12100 0 joydev 9568 0 pcmcia 37100 0 firmware_class 9504 1 pcmcia iTCO_wdt 9924 0 rtc 12856 0 i2c_i801 8656 0 yenta_socket 24844 1 rsrc_nonstatic 11968 1 yenta_socket pcmcia_core 37108 3 pcmcia,yenta_socket,rsrc_nonstatic serio_raw 6692 0 psmouse 36016 0 i2c_core 23552 2 i2c_dev,i2c_i801 snd_hda_intel 239160 0 snd_pcm 72324 1 snd_hda_intel snd_timer 21028 1 snd_pcm snd 48324 3 snd_hda_intel,snd_pcm,snd_timer soundcore 7520 1 snd snd_page_alloc 10056 2 snd_hda_intel,snd_pcm intel_agp 23188 1 agpgart 31912 3 drm,intel_agp tsdev 7968 0 evdev 9312 5 ext3 121288 3 jbd 55336 1 ext3 mbcache 8260 1 ext3 sg 32668 0 sr_mod 16516 1 cdrom 32832 1 sr_mod sd_mod 27136 5 ata_generic 7556 0 ahci 21380 0 usbhid 25792 0 hid 25248 1 usbhid 8139cp 22144 0 ata_piix 13348 6 libata 115984 3 ata_generic,ahci,ata_piix scsi_mod 136620 5 firewire_sbp2,sg,sr_mod,sd_mod,libata ehci_hcd 30796 0 8139too 25536 0 mii 5280 2 8139cp,8139too firewire_ohci 16512 0 firewire_core 39008 2 firewire_sbp2,firewire_ohci crc_itu_t 2144 1 firewire_core generic 4836 0 [permanent] ide_core 113764 1 generic uhci_hcd 22960 0 usbcore 125416 5 ndiswrapper,usbhid,ehci_hcd,uhci_hcd thermal 13416 0 processor 31176 1 thermal fan 4836 0
z lspci Pasternaki:/home/pasternaki# lspci 00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04) 00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04) 00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04) 00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04) 00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04) 00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04) 00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04) 00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4) 00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04) 00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 04) 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04) 01:02.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller 01:02.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller 01:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 01:05.0 Network controller: RaLink RT2561/RT61 rev B 802.11g
jak zrobic zeby i2c działało??
fnmirk - 29-01-2008 02:52
Podpi±ć telewizor, który ma wyj¶cie i2c (każdy ma). A tak poważnie, masz w kernelu tylko podstawowe moduły. Zaistaluj: apt-get install modconf
i sprawdĽ uruchamiaj±c ten program jako root w konsoli/terminalu, jakie moduły należy jeszcze załadować --- jest ich naprawdę bardzo dużo, jeżeli chodzi o i2c (kernel/drivers/i2c). Niektóre mog± wymagać kompilacji kernela.
zanotowane.pldoc.pisz.plpdf.pisz.plminister.pev.pl
|