<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Integrated sensor on nv43 doesn't work (wrong vbios parsing?)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92386">92386</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Integrated sensor on nv43 doesn't work (wrong vbios parsing?)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86 (IA32)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/nouveau
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>nouveau@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>randrik@mail.ru
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=118799" name="attach_118799" title="hack for recognizing sensor on nv43">attachment 118799</a> <a href="attachment.cgi?id=118799&action=edit" title="hack for recognizing sensor on nv43">[details]</a></span>
hack for recognizing sensor on nv43

Hello, this is me again with my useful nv43.

As far as I can see nvidia binary driver can use integrated sensor on my card,
while nouveau can't. After some digging I found problem - nouveau can't find
some calibration coefficients in vbios. May be they missed completely, or bios
slightly misparsed. I'll attach again my vbios, and patch I made after looking
at nvclock sources [1]. Patch allow sensor to work, and reported temperature
roughly correspond to what I saw with binary driver (looking at raw output I
see nouveau still hotter than nvidia, but I can ignore this for now).

Not sure if such hack (?) should go into nouveau, or I (someone) better to find
if values really missed from vbios first.

Command for getting raw sensor value:
envytools/nva/nvapeek 0x15b4

[1] - <a href="http://www.linuxhardware.org/nvclock/">http://www.linuxhardware.org/nvclock/</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>