Changeset 5616

Show
Ignore:
Timestamp:
01/21/09 10:09:19 (4 years ago)
Author:
khali
Message:

Don't tell users to blindly run i2cdump, it is dangerous!

Location:
lm-sensors/trunk/doc
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/doc/FAQ

    r4856 r5616  
    11401140 
    11411141   *Note What to do if a module wont insert: Section 5.2, if the 
    1142 modules didn't insert, also *Note Sensors says No sensors found: 
     1142modules didn't insert, also *note Sensors says No sensors found: 
    11431143Section 4.21. 
    11441144 
     
    11511151 
    11521152  2. Wrong chip driver. Verify that you have a chip supported by the 
    1153      chip driver, see *Note What chips are on motherboard XYZ: Section 
     1153     chip driver, see *note What chips are on motherboard XYZ: Section 
    11541154     3.2.1. 
    11551155 
     
    12031203---------------- 
    12041204 
    1205 For board hangs, see support ticket 721 for information.  Also *Note 
     1205For board hangs, see support ticket 721 for information.  Also *note 
    12061206Inserting modules hangs my board: Section 4.29. 
    12071207 
     
    12791279          the bus number (run `i2cdetect' with no arguments to list the 
    12801280          busses) (please send this only if it's not all `XX') 
    1281  
    1282         * The output of (as root) `prog/dump/i2cdump X 0xXX' where XX = 
    1283           the address of each chip you see in the output of 
    1284           `i2cdetect'. (run once for each chip) (please send this only 
    1285           if it's not all `ff') 
    12861281 
    12871282   * If an ISA sensor chip problem: 
  • lm-sensors/trunk/doc/lm_sensors-FAQ.html

    r4856 r5616  
    44<meta http-equiv="Content-Type" content="text/html"> 
    55<meta name="description" content="Sensors FAQ for lm_sensors version 2.18"> 
    6 <meta name="generator" content="makeinfo 4.8"> 
     6<meta name="generator" content="makeinfo 4.11"> 
    77<link title="Top" rel="top" href="#Top"> 
    88<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> 
     
    8282<li><a href="#Section-3_002e4">3.4.6 Do you have a database of <samp><span class="file">sensors.conf</span></samp> entries for specific boards?</a> 
    8383</li></ul> 
    84 <li><a href="#Section-3_002e5">3.5 What about the `<samp><span class="samp">No such file or directory</span></samp>' warnings when I compile?</a> 
     84<li><a href="#Section-3_002e5">3.5 What about the &lsquo;<samp><span class="samp">No such file or directory</span></samp>&rsquo; warnings when I compile?</a> 
    8585<li><a href="#Section-3_002e6">3.6 I get all kinds of weird compilation errors?</a> 
    8686<ul> 
    87 <li><a href="#Section-3_002e6">3.6.1 `<samp><span class="samp">No rule to make target xxxx needed by xxxx</span></samp>' - how to fix?</a> 
     87<li><a href="#Section-3_002e6">3.6.1 &lsquo;<samp><span class="samp">No rule to make target xxxx needed by xxxx</span></samp>&rsquo; - how to fix?</a> 
    8888</li></ul> 
    8989<li><a href="#Section-3_002e7">3.7 It still does not compile or patch!</a> 
     
    133133</li></ul> 
    134134<li><a href="#Section-4_002e18">4.18 How do I configure two chips (LM87) differently?</a> 
    135 <li><a href="#Section-4_002e19">4.19 Dmesg says `<samp><span class="samp">Upgrade BIOS</span></samp>'! I don't want to!</a> 
     135<li><a href="#Section-4_002e19">4.19 Dmesg says &lsquo;<samp><span class="samp">Upgrade BIOS</span></samp>&rsquo;! I don't want to!</a> 
    136136<ul> 
    137 <li><a href="#Section-4_002e19">4.19.1 Dmesg says `<samp><span class="samp">use force_addr=0xaddr</span></samp>'! What address do I use?</a> 
     137<li><a href="#Section-4_002e19">4.19.1 Dmesg says &lsquo;<samp><span class="samp">use force_addr=0xaddr</span></samp>&rsquo;! What address do I use?</a> 
    138138</li></ul> 
    139 <li><a href="#Section-4_002e20">4.20 Sensors says `<samp><span class="samp">Can't access procfs/sysfs file</span></samp>'</a> 
    140 <li><a href="#Section-4_002e21">4.21 Sensors says `<samp><span class="samp">No sensors found!</span></samp>'</a> 
     139<li><a href="#Section-4_002e20">4.20 Sensors says &lsquo;<samp><span class="samp">Can't access procfs/sysfs file</span></samp>&rsquo;</a> 
     140<li><a href="#Section-4_002e21">4.21 Sensors says &lsquo;<samp><span class="samp">No sensors found!</span></samp>&rsquo;</a> 
    141141<li><a href="#Section-4_002e22">4.22 Sensors output is not correct!</a> 
    142142<li><a href="#Section-4_002e23">4.23 What is at I2C address XXX?</a> 
     
    152152<li><a href="#Section-4_002e24">4.24.3 Sensors-detect doesn't find any sensors!</a> 
    153153</li></ul> 
    154 <li><a href="#Section-4_002e25">4.25 Sensors says `<samp><span class="samp">Error: Line xxx: zzzzzzz</span></samp>'</a> 
     154<li><a href="#Section-4_002e25">4.25 Sensors says &lsquo;<samp><span class="samp">Error: Line xxx: zzzzzzz</span></samp>&rsquo;</a> 
    155155<li><a href="#Section-4_002e26">4.26 Sensors only gives the name, adapter, and algorithm for my chip</a> 
    156 <li><a href="#Section-4_002e27">4.27 Sensors says `<samp><span class="samp">ERROR: Can't get xxxxx data!</span></samp>'</a> 
     156<li><a href="#Section-4_002e27">4.27 Sensors says &lsquo;<samp><span class="samp">ERROR: Can't get xxxxx data!</span></samp>&rsquo;</a> 
    157157<li><a href="#Section-4_002e28">4.28 Sensors doesn't find any sensors, just eeproms.</a> 
    158158<li><a href="#Section-4_002e29">4.29 Inserting modules hangs my board</a> 
     
    518518<li><a accesskey="3" href="#Section-3_002e3">Section 3.3</a>:      Which modules should I insert?  
    519519<li><a accesskey="4" href="#Section-3_002e4">Section 3.4</a>:      Do I need the configuration file <samp><span class="file">/etc/sensors.conf</span></samp>?  
    520 <li><a accesskey="5" href="#Section-3_002e5">Section 3.5</a>:      What about the `<samp><span class="samp">No such file or directory</span></samp>' warnings 
     520<li><a accesskey="5" href="#Section-3_002e5">Section 3.5</a>:      What about the &lsquo;<samp><span class="samp">No such file or directory</span></samp>&rsquo; warnings 
    521521<li><a accesskey="6" href="#Section-3_002e6">Section 3.6</a>:      I get all kinds of weird compilation errors?  
    522522<li><a accesskey="7" href="#Section-3_002e7">Section 3.7</a>:      It still does not compile or patch!  
     
    549549   <p>Further information is in <samp><span class="file">doc/modules</span></samp>. 
    550550 
    551    <p><a name="How-do-I-know-which-chips-I-own"></a> 
    552 <div class="node"> 
     551   <p><a name="How-do-I-know-which-chips-I-own"></a><div class="node"> 
    553552<p><hr> 
    554553<a name="Section-3.2"></a> 
     
    717716</div> 
    718717 
    719 <h3 class="section">3.5 What about the `<samp><span class="samp">No such file or directory</span></samp>' warnings when I compile?</h3> 
     718<h3 class="section">3.5 What about the &lsquo;<samp><span class="samp">No such file or directory</span></samp>&rsquo; warnings when I compile?</h3> 
    720719 
    721720<p>Don't worry about them. The dependency files (which tell which 
     
    743742   <p><a name="Section-3_002e6_002e1"></a> 
    744743 
    745 <h4 class="subsection">3.6.1 `<samp><span class="samp">No rule to make target xxxx needed by xxxx</span></samp>' - how to fix?</h4> 
     744<h4 class="subsection">3.6.1 &lsquo;<samp><span class="samp">No rule to make target xxxx needed by xxxx</span></samp>&rsquo; - how to fix?</h4> 
    746745 
    747746     <ul> 
     
    854853     <pre class="example">          <samp><span class="command">make clean</span></samp> 
    855854          <samp><span class="command">make</span></samp> 
    856      </pre> 
     855</pre> 
    857856     <li><em>If</em> you still have problems, you may have to replace the include 
    858857paths in the <samp><span class="file">.c/.h</span></samp> files with absolute paths to the header files.  
     
    891890<li><a href="#Section-4_002e17">Section 4.17</a>:         Bad readings from particular chips 
    892891<li><a href="#Section-4_002e18">Section 4.18</a>:         How do I configure two chips (LM87) differently?  
    893 <li><a href="#Section-4_002e19">Section 4.19</a>:         Dmesg says `<samp><span class="samp">Upgrade BIOS</span></samp>'! I don't want to!  
    894 <li><a href="#Section-4_002e20">Section 4.20</a>:         Sensors says `<samp><span class="samp">Can't access procfs/sysfs file</span></samp>' 
    895 <li><a href="#Section-4_002e21">Section 4.21</a>:         Sensors says `<samp><span class="samp">No sensors found!</span></samp>' 
     892<li><a href="#Section-4_002e19">Section 4.19</a>:         Dmesg says &lsquo;<samp><span class="samp">Upgrade BIOS</span></samp>&rsquo;! I don't want to!  
     893<li><a href="#Section-4_002e20">Section 4.20</a>:         Sensors says &lsquo;<samp><span class="samp">Can't access procfs/sysfs file</span></samp>&rsquo; 
     894<li><a href="#Section-4_002e21">Section 4.21</a>:         Sensors says &lsquo;<samp><span class="samp">No sensors found!</span></samp>&rsquo; 
    896895<li><a href="#Section-4_002e22">Section 4.22</a>:         Sensors output is not correct!  
    897896<li><a href="#Section-4_002e23">Section 4.23</a>:         What is at I2C address XXX?  
    898897<li><a href="#Section-4_002e24">Section 4.24</a>:         Sensors-detect doesn't work at all 
    899 <li><a href="#Section-4_002e25">Section 4.25</a>:         Sensors says `<samp><span class="samp">Error: Line xxx: zzzzzzz</span></samp>' 
     898<li><a href="#Section-4_002e25">Section 4.25</a>:         Sensors says &lsquo;<samp><span class="samp">Error: Line xxx: zzzzzzz</span></samp>&rsquo; 
    900899<li><a href="#Section-4_002e26">Section 4.26</a>:         Sensors only gives the name, adapter, and algorithm!  
    901 <li><a href="#Section-4_002e27">Section 4.27</a>:         Sensors says `<samp><span class="samp">ERROR: Can't get xxxxx data!</span></samp>' 
     900<li><a href="#Section-4_002e27">Section 4.27</a>:         Sensors says &lsquo;<samp><span class="samp">ERROR: Can't get xxxxx data!</span></samp>&rsquo; 
    902901<li><a href="#Section-4_002e28">Section 4.28</a>:         Sensors doesn't find any sensors, just eeproms.  
    903902<li><a href="#Section-4_002e29">Section 4.29</a>:         Inserting modules hangs my board 
     
    14471446</div> 
    14481447 
    1449 <h3 class="section">4.19 Dmesg says `<samp><span class="samp">Upgrade BIOS</span></samp>'! I don't want to!</h3> 
     1448<h3 class="section">4.19 Dmesg says &lsquo;<samp><span class="samp">Upgrade BIOS</span></samp>&rsquo;! I don't want to!</h3> 
    14501449 
    14511450<p>If the problem is a PCI device is not present in <samp><span class="command">lspci</span></samp>, the solution 
     
    14551454the m7101 solution in <samp><span class="file">prog/hotplug</span></samp>. 
    14561455 
    1457    <p>If dmesg says `<samp><span class="samp">try force_addr</span></samp>', see below. Other drivers generally do not 
     1456   <p>If dmesg says &lsquo;<samp><span class="samp">try force_addr</span></samp>&rsquo;, see below. Other drivers generally do not 
    14581457support the force_addr parameter. Sorry. Check the documentation 
    14591458for your driver in <samp><span class="file">doc/[chips,busses]</span></samp> and if we don't support it 
     
    14621461   <p><a name="Dmesg-says-use-force_005faddr_003d0xaddr_0021-What-address-do-I-use"></a> 
    14631462 
    1464 <h4 class="subsection">4.19.1 Dmesg says `<samp><span class="samp">use force_addr=0xaddr</span></samp>'! What address do I use?</h4> 
     1463<h4 class="subsection">4.19.1 Dmesg says &lsquo;<samp><span class="samp">use force_addr=0xaddr</span></samp>&rsquo;! What address do I use?</h4> 
    14651464 
    14661465<p>If the problem is a PCI device whose base address is not set, 
     
    14691468<samp><span class="command">modprobe via686a force_addr=0xADDRESS</span></samp> where ADDRESS 
    14701469is the I/O address. You must select an address that is not in use.  
    1471 <samp><span class="command">cat <samp>/proc/ioports</samp></span></samp> to check (carefully) for conflicts. A high number like 
     1470<samp><span class="command">cat </span><samp><span class="file">/proc/ioports</span></samp></samp> to check (carefully) for conflicts. A high number like 
    147214710xf000 is generally safe. 
    14731472 
     
    14821481</div> 
    14831482 
    1484 <h3 class="section">4.20 Sensors says `<samp><span class="samp">Can't access procfs/sysfs file</span></samp>'</h3> 
     1483<h3 class="section">4.20 Sensors says &lsquo;<samp><span class="samp">Can't access procfs/sysfs file</span></samp>&rsquo;</h3> 
    14851484 
    14861485     <ul> 
     
    15141513</div> 
    15151514 
    1516 <h3 class="section">4.21 Sensors says `<samp><span class="samp">No sensors found!</span></samp>'</h3> 
     1515<h3 class="section">4.21 Sensors says &lsquo;<samp><span class="samp">No sensors found!</span></samp>&rsquo;</h3> 
    15171516 
    15181517     <ul> 
     
    16611660</div> 
    16621661 
    1663 <h3 class="section">4.25 Sensors says `<samp><span class="samp">Error: Line xxx: zzzzzzz</span></samp>'</h3> 
     1662<h3 class="section">4.25 Sensors says &lsquo;<samp><span class="samp">Error: Line xxx: zzzzzzz</span></samp>&rsquo;</h3> 
    16641663 
    16651664<p>These are errors from the libsensors library in 
     
    17021701</div> 
    17031702 
    1704 <h3 class="section">4.27 Sensors says `<samp><span class="samp">ERROR: Can't get xxxxx data!</span></samp>'</h3> 
     1703<h3 class="section">4.27 Sensors says &lsquo;<samp><span class="samp">ERROR: Can't get xxxxx data!</span></samp>&rsquo;</h3> 
    17051704 
    17061705     <ul> 
     
    19341933<li>The output of (as root) <samp><span class="command">prog/detect/i2cdetect X</span></samp> 
    19351934where X = the bus number (run <samp><span class="command">i2cdetect</span></samp> with no arguments to list the busses) 
    1936 (please send this only if it's not all `<samp><span class="samp">XX</span></samp>') 
    1937 <li>The output of (as root) <samp><span class="command">prog/dump/i2cdump X 0xXX</span></samp> 
    1938 where XX = the address of each chip you see in the output of <samp><span class="command">i2cdetect</span></samp>. (run once for each chip) 
    1939 (please send this only if it's not all `<samp><span class="samp">ff</span></samp>') 
     1935(please send this only if it's not all &lsquo;<samp><span class="samp">XX</span></samp>&rsquo;) 
    19401936</ul> 
    19411937     <li>If an ISA sensor chip problem: 
    19421938          <ul> 
    1943 <li>The output of (as root) <samp><span class="command">prog/dump/isadump 0x295 0x296</span></samp> (only if it's not all `<samp><span class="samp">XX</span></samp>') 
     1939<li>The output of (as root) <samp><span class="command">prog/dump/isadump 0x295 0x296</span></samp> (only if it's not all &lsquo;<samp><span class="samp">XX</span></samp>&rsquo;) 
    19441940</ul> 
    19451941     <li>Part numbers of chips on your motherboard you think are the sensor chips (look at your motherboard) 
  • lm-sensors/trunk/doc/lm_sensors-FAQ.texi

    r4856 r5616  
    13301330where X = the bus number (run @command{i2cdetect} with no arguments to list the busses) 
    13311331(please send this only if it's not all @samp{XX}) 
    1332 @item The output of (as root) @command{prog/dump/i2cdump X 0xXX} 
    1333 where XX = the address of each chip you see in the output of @command{i2cdetect}. (run once for each chip) 
    1334 (please send this only if it's not all @samp{ff}) 
    13351332@end itemize 
    13361333@item If an ISA sensor chip problem: