{"id":985,"date":"2014-12-14T14:04:44","date_gmt":"2014-12-14T05:04:44","guid":{"rendered":"http:\/\/randt.jp\/?p=985"},"modified":"2014-12-14T14:17:13","modified_gmt":"2014-12-14T05:17:13","slug":"nvidia-304-%e3%83%87%e3%82%b9%e3%82%af%e3%83%88%e3%83%83%e3%83%97%e3%81%8c%e8%a1%a8%e7%a4%ba%e3%81%95%e3%82%8c%e3%81%aa%e3%81%84","status":"publish","type":"post","link":"https:\/\/randt.jp\/?p=985","title":{"rendered":"nvidia-304 \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u304c\u8868\u793a\u3055\u308c\u306a\u3044"},"content":{"rendered":"<h3>\u75c7\u72b6<\/h3>\n<p>ubuntu 14.04LTS\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3001\u518d\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3068\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u3002<\/p>\n<pre># uname -a\r\nLinux mayu 3.13.0-43-lowlatency #72-Ubuntu SMP PREEMPT Mon Dec 8 20:02:20 UTC 2014 i686 i686 i686 GNU\/Linux<\/pre>\n<pre># aptitude show nvidia-304\r\nPackage: nvidia-304                      \r\nState: installed\r\nAutomatically installed: yes\r\nVersion: 304.125-0ubuntu1~xedgers14.04.1\r\n :\r\n<\/pre>\n<h3>\u539f\u56e0<\/h3>\n<p>\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb&#8221;nvidia_304&#8243;\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u540d\u3092&#8221;nvidia&#8221;\u3092\u3068\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u30ed\u30fc\u30c9\u3067\u304d\u3066\u3044\u306a\u3044\u3002<\/p>\n<h3>\u5bfe\u7b56<\/h3>\n<pre># cd \/usr\/src\/nvidia-304-304.125\/\r\n# vi nv-chrdev.c <\/pre>\n<pre>\/* _NVRM_COPYRIGHT_BEGIN_\r\n *\r\n * Copyright 1999-2011 by NVIDIA Corporation.  All rights reserved.  All\r\n * information contained herein is proprietary and confidential to NVIDIA\r\n * Corporation.  Any use, reproduction, or disclosure without the written\r\n * permission of NVIDIA Corporation is prohibited.\r\n *\r\n * _NVRM_COPYRIGHT_END_\r\n *\/\r\n\r\n#define  __NO_VERSION__\r\n#include \"nv-misc.h\"\r\n\r\n#include \"os-interface.h\"\r\n#include \"nv-linux.h\"\r\n\r\n#define NV_DEV_NAME \"nvidia_304\" \/* nvidia -> nvidia_304\r\n\r\nint nv_register_chrdev(int major, struct file_operations *fops)\r\n{\r\n :\r\n<\/pre>\n<pre># make install\r\n# reboot\r\n<\/pre>\n<pre># lspci | egrep NVIDIA\r\n01:00.0 VGA compatible controller: NVIDIA Corporation NV43 [GeForce 6600] (rev a2)<\/pre>\n<pre># lsmod\r\nModule                  Size  Used by\r\n :\r\nnvidia_304          10333941  50 \r\n :\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u75c7\u72b6 ubuntu 14.04LTS\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3001\u518d\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3068\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u3002 # uname -a Linux mayu 3.13.0-43-lowlatency #72-Ubuntu SMP PR &#8230;<\/p>\n<p> <a class=\"continue-reading-link\" href=\"https:\/\/randt.jp\/?p=985\"><span>Continue reading<\/span><i class=\"crycon-right-dir\"><\/i><\/a> <\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,18],"tags":[],"class_list":["post-985","post","type-post","status-publish","format-standard","hentry","category-tips","category-18"],"_links":{"self":[{"href":"https:\/\/randt.jp\/index.php?rest_route=\/wp\/v2\/posts\/985","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randt.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randt.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randt.jp\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/randt.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=985"}],"version-history":[{"count":6,"href":"https:\/\/randt.jp\/index.php?rest_route=\/wp\/v2\/posts\/985\/revisions"}],"predecessor-version":[{"id":1264,"href":"https:\/\/randt.jp\/index.php?rest_route=\/wp\/v2\/posts\/985\/revisions\/1264"}],"wp:attachment":[{"href":"https:\/\/randt.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=985"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randt.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=985"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randt.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}