prøv lige /usr/sbin/sensors-detect - du skal ikke lave en /proc/bus/i2c for at køre en sensors-detect - denne genereres først efter modulload/boot - ellers virker det slet ikke.
[root@cppforum main]# /usr/sbin/sensors-detect This program will help you to determine which I2C/SMBus modules you need to load to use lm_sensors most effectively. You need to have done a `make install', issued a `depmod -a' and made sure `/etc/conf.modules' (or `/etc/modules.conf') contains the appropriate module path before you can use some functions of this utility. Read doc/modules for more information. Also, you need to be `root', or at least have access to the /dev/i2c[-/]* files for some things. You can use prog/mkdev/mkdev.sh to create these /dev files if you do not have them already. 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.
Could not find dmidecode, which should have been installed with lm_sensors. Runing dmidecode would help us determining your system vendor, which allows safer operations. Please provide one of the following: /usr/local/sbin/dmidecode /usr/sbin/dmidecode You can still go on, but you are encouraged to fix the problem first. IF THIS IS AN IBM THINKPAD, PRESS CTRL-C NOW! IBM Thinkpads have a severely broken i2c/SMBus implementation, just scanning the bus will break your Thinkpad forever! If this is a non-Thinkpad IBM, we still suggest you press CTRL+C. We have had users reporting system breakage on other IBM systems as well.
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): yes Probing for PCI bus adapters... Use driver `i2c-viapro' for device 00:02.3: VIA Technologies VT82C596 Apollo ACPI Probe succesfully concluded.
We will now try to load each adapter module in turn. Load `i2c-viapro' (say NO if built into your kernel)? (YES/no): yes Can't exec "modprobe": Ingen sÃ¥dan fil eller filkatalog at /usr/sbin/sensors-detect line 2898, <STDIN> line 2. Loading failed (Ingen sÃÂ¥dan fil eller filkatalog)... skipping. Do you now want to be prompted for non-detectable adapters? (yes/NO): no 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): yes Can't exec "modprobe": Ingen sÃ¥dan fil eller filkatalog at /usr/sbin/sensors-detect line 2942, <STDIN> line 4. Loading failed (Ingen sÃÂ¥dan fil eller filkatalog), 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). Couldn't open /proc/bus/i2c?!? at /usr/sbin/sensors-detect line 2970, <STDIN> line 4. [root@cppforum main]#
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.