{"id":191,"date":"2014-12-22T21:41:25","date_gmt":"2014-12-22T13:41:25","guid":{"rendered":"http:\/\/blog.haostudio.net\/hwp\/?p=191"},"modified":"2017-07-25T00:14:21","modified_gmt":"2017-07-24T16:14:21","slug":"%e5%9c%a8cubieboard-1-%e4%b8%8a%e4%bd%bf%e7%94%a8asus-n10-usb-%e7%84%a1%e7%b7%9a%e7%b6%b2%e5%8d%a1","status":"publish","type":"post","link":"https:\/\/blog.haostudio.net\/hwp\/%e5%9c%a8cubieboard-1-%e4%b8%8a%e4%bd%bf%e7%94%a8asus-n10-usb-%e7%84%a1%e7%b7%9a%e7%b6%b2%e5%8d%a1\/","title":{"rendered":"\u5728Cubieboard 1 \u4e0a\u4f7f\u7528ASUS N10 USB \u7121\u7dda\u7db2\u5361"},"content":{"rendered":"<!--more-->\n<h1>\u5728Cubieboard 1 \u4e0a\u4f7f\u7528ASUS N10 USB \u7121\u7dda\u7db2\u5361<\/h1>\n<h1>\u524d\u8a00<\/h1>\n<p>\u6211\u7684<a href=\"http:\/\/cubieboard.org\/model\/\">Cubieboard 1<\/a> \u60f3\u4f7f\u7528\u7121\u7dda\u7db2\u8def\u4f86\u4e0a\u7db2, \u4f46\u662f\u5bb6\u88e1\u6c92\u6709\u4e00\u584aUSB \u7121\u7dda\u7db2\u5361\u662f\u53ef\u4ee5\u7528\u5728linux \u4e2d\u7684, \u525b\u597d\u770b\u5230\u9019\u7bc7\u6587\u7ae0<a href=\"http:\/\/iphone4.tw\/forums\/showthread.php?t=115103\">&#8220;Aximcom MR-102n \u8b8a\u6210\u7db2\u6a02\u901a\u7684\u7121\u7dda\u7db2\u5361&#8221;<\/a> , \u5bb6\u88e1\u4e5f\u525b\u597d\u6709\u4e00\u53f0MR-102N \u5df2\u7d93\u5f88\u4e45\u6c92\u7528\u4e86, \u65bc\u662f\u5ee2\u7269\u5229\u7528\u4e00\u4e0b, \u6211\u7684Cubieboard 1 \u679c\u7136\u9806\u5229\u53ef\u4ee5\u7121\u7dda\u4e0a\u7db2\u4e86.<\/p>\n<p>\u53ef\u662f\u597d\u666f\u4e0d\u5e38, MR-102N \u6975\u5ea6\u4e0d\u7a69\u5b9a, \u5e38\u5e38\u958b\u6a5f1~2\u5929\u5019, \u8a2d\u5b9a\u5c31\u7121\u51a4\u7121\u6545\u8dd1\u6389, \u6bcf\u6b21\u90fd\u5f97\u767b\u5165MR-102N\u91cd\u65b0\u8a2d\u5b9a. \u6709\u66421~2\u5c0f\u6642\u5c31\u4e0d\u7a69\u5b9a\u4e86, \u56e0\u70ba\u6211\u7684Cubieboard 1 \u662f\u9700\u898124\u5c0f\u6642\u958b\u6a5f\u4e26\u9023\u7dda\u4f7f\u7528\u7684, \u6240\u4ee5\u5c0d\u65bcMR-102N \u9019\u9ebc\u4e0d\u7a69\u5b9a, \u5be6\u5728\u662f\u53d7\u4e0d\u4e86. \u5c31\u6c7a\u5b9a\u8cb7\u4e00\u584aUSB \u7121\u7dda\u7db2\u5361\u4f86\u5c07MR-102N \u66ff\u63db\u6389.<\/p>\n<p>\u8cfc\u8cb7\u4e4b\u524d, \u5148\u4e0aPCHome \u770b\u4e86\u4e00\u4e0b, ASUS N10 Nano \u5f88\u4fbf\u5b9c, \u800c\u4e14\u7db2\u8def\u4e0a\u6709\u9700\u591a\u6587\u7ae0, <a href=\"http:\/\/elinux.org\/RPi_USB_Wi-Fi_Adapters\">RPi USB Wi-Fi Adapters<\/a>\u90fd\u8aaaRespberry Pi \u53ef\u4ee5\u4f7f\u7528ASUS N10,  \u53ea\u8981\u8f09\u5165r8712u module \u5c31\u53ef\u4ee5\u4e86, \u770b\u4e86\u4e00\u4e0b\u6211\u7684Cubieboard 1 \u7576\u521d\u7de8\u8b6f\u7684kernel modules , \u679c\u7136\u6709\u7de8\u8b6fr8712u \u9019\u500bmodule, \u7136\u5f8c\u5c31\u5f88\u653e\u5fc3\u7684\u5728PCHome \u4e0b\u55ae\u8cfc\u8cb7ASUS N10 \u7121\u7dda\u7db2\u5361\u4e86.<\/p>\n<h1>\u51fa\u554f\u984c\u4e86<\/h1>\n<p>\u7136\u800c\u8cb7\u56de\u4f86\u4e4b\u5f8c, \u624d\u662f\u60b2\u5287\u7684\u958b\u59cb.<\/p>\n<p>\u5c07\u7121\u7dda\u7db2\u5361\u63d2\u5165Cubieboard 1 \u7684USB port \u5f8c, \u4f9d\u6a23\u756b\u846b\u8606, \u4f7f\u7528\u5982\u4e0b\u6307\u4ee4<\/p>\n<pre><code>modprobe r8712u\n<\/code><\/pre>\n<p>??!! \u5947\u602a\u70ba\u4f55\u770b\u4e0d\u5230\u7db2\u5361. \u770b\u4e86\u4e00\u4e0bdmesg, \u767c\u73fer8712u \u9019\u500bkernel module \u6839\u672c\u4e0d\u7406\u6703\u9019\u5f35\u7db2\u5361.\n\u4f7f\u7528 lsusb \u6307\u4ee4\u770b\u4e00\u4e0b<\/p>\n<pre><code># lsusb\nBus 002 Device 002: ID 0b05:17ba ASUSTek Computer, Inc. \nBus 004 Device 002: ID 045e:0779 Microsoft Corp. \nBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\nBus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\nBus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub\nBus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\nBus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub\n<\/code><\/pre>\n<p>\u6709\u554a, \u6709\u770b\u5230Bus 002 Device 002: ID 0b05:17ba ASUSTek Computer, Inc. , \u70ba\u4f55r8712u \u9019driver \u4e0d\u7406\u6703\u4ed6.<\/p>\n<p>\u4ed4\u7d30\u518d\u89c0\u5bdf\u4e00\u4e0b, \u54c7\u52d2, \u7db2\u8def\u9019\u7bc7\u6587\u7ae0 <a href=\"http:\/\/elinux.org\/RPi_USB_Wi-Fi_Adapters\">RPi USB Wi-Fi Adapters<\/a>, \u88e1\u9762\u7684USB Vendor\/Device ID \u662f0b05:1786, \u800c\u6211\u7684ASUS N10 USB ID \u537b\u662f0b05:17ba<\/p>\n<p>\u96e3\u602a, driver \u4e0d\u7406\u6703\u9019\u500b\u88dd\u7f6e. \u7e7c\u7e8c\u4e0a\u7db2\u67e5\u8cc7\u6599, \u770b\u5230\u9019\u7bc7<a href=\"https:\/\/wikidevi.com\/wiki\/Asus_USB-N10_Nano\">Asus USB-N10 Nano<\/a> \u9019\u500b\u7db2\u5361\u7684\u6676\u7247\u662fRealtek RTL8188CUS, \u56e0\u6b64\u8981\u63a1\u7528rtl8192cu \u9019\u500bkernel driver. \u8d95\u7dca\u5728\u67e5\u4e00\u4e0bkernel modules, \u9084\u597d, \u4e4b\u524d\u4e5f\u6709\u7de8\u8b6frtl8192cu \u9019\u500bmodules. \u518d\u4f86modprobe \u4e00\u6b21<\/p>\n<pre><code>modprobe rtl8192cu\n<\/code><\/pre>\n<p>??!! \u9084\u662f\u770b\u4e0d\u5230\u7db2\u5361, dmesg \u4e2d\u7136\u6c92\u6709wlan0 \u7684\u4ecb\u9762\u76f8\u95dc\u8a0a\u606f&#8230;&#8230;<\/p>\n<p>\u660e\u660edriver \u90fd\u5df2\u7d93\u8f09\u5165\u4e86\u554a.<\/p>\n<p>\u67e5\u4e86\u4e00\u500b\u4e0b\u5348,  \u90fd\u6c92\u982d\u7dd2,  \u5f8c\u4f86\u5728\u9019\u500b\u8a0e\u8ad6\u4e32\u4e2d<a href=\"http:\/\/ubuntuforums.org\/archive\/index.php\/t-2199100.html\">Asus N-10 wifi not working<\/a> \u770b\u5230\u53ef\u4ee5\u4f7f\u7528modinfo \u4f86\u67e5\u770bmodule \u7684\u76f8\u95dc\u8a0a\u606f, \u55ef, \u4f7f\u7528\u5982\u4e0b\u6307\u4ee4, \u4f86\u770b\u770b\u9019\u500bmodule \u662f\u5426\u6709\u652f\u63f4\u500b\u7db2\u5361.<\/p>\n<pre><code># modinfo 8192cu.ko | grep 17BA\n<\/code><\/pre>\n<p>\u679c\u7136\u4ec0\u9ebc\u8cc7\u8a0a\u90fd\u6c92\u6709, \u4e5f\u5c31\u662f\u8a8d\u4e0d\u5230\u88dd\u7f6e\u662f\u6b63\u5e38\u7684.<\/p>\n<h1>\u89e3\u6c7a\u65b9\u6cd5<\/h1>\n<p>\u90a3\u53ea\u597d\u7528\u6700\u5f8c\u4e00\u62db, \u628akernel driver \u7684source code \u6293\u51fa\u4f86\u770b\u770b\u4e86.\n\u767c\u73fe\u554f\u984c\u51fa\u5728drivers\/net\/wireless\/rtl8192cu\/os_dep\/linux\/usb_intf.c \u4e2d\u4e26\u6c92\u6709\u542bASUS N10 nano \u7684USB ID, \u4fee\u6539\u5f88\u7c21\u55ae, \u8acb\u770b\u5982\u4e0bpatch file.<\/p>\n<pre><code>diff --git a\/drivers\/net\/wireless\/rtl8192cu\/os_dep\/linux\/usb_intf.c b\/drivers\/net\/wireless\/rtl8192cu\/os_dep\/linux\/usb_intf.c\nindex 79eb196..2854d71 100644\n--- a\/drivers\/net\/wireless\/rtl8192cu\/os_dep\/linux\/usb_intf.c\n+++ b\/drivers\/net\/wireless\/rtl8192cu\/os_dep\/linux\/usb_intf.c\n@@ -114,6 +114,7 @@ static struct usb_device_id rtw_usb_id_tbl[] ={\n        {USB_DEVICE(0x4856, 0x0091)},\/\/NetweeN - Feixun\n        {USB_DEVICE(0x2019, 0x4902)},\/\/Planex - Etop\n        {USB_DEVICE(0x2019, 0xAB2E)},\/\/SW-WF02-AD15 -Abocom\n+       {USB_DEVICE(0x0B05, 0x17BA)},\/\/ASUS N10 \n\n        \/****** 8188 RU ********\/\n        {USB_DEVICE(0x0BDA, 0x317F)},\/\/Netcore,Netcore\n<\/code><\/pre>\n<p>OK!, \u518d\u91cd\u65b0\u7de8\u8b6f\u65b0\u7684kernel \u53ca modules, \u653e\u5165cubieboard \u7684TF Card , \u641e\u5b9a!!<\/p>\n<hr \/>\n<p>\u53c3\u8003\u8cc7\u6599:<\/p>\n<ol>\n<li><a href=\"https:\/\/github.com\/linux-sunxi\/linux-sunxi\">cubieboard 1 linux kernel source code<\/a><\/li>\n<li><a href=\"http:\/\/blog.haostudio.net\/hwp\/%E5%BE%9Esource-code-%E9%96%8B%E5%A7%8B%E6%89%93%E9%80%A0%E6%9C%80%E5%9F%BA%E6%9C%AC%E7%9A%84debian-linux-system\/\">\u5f9esource code \u958b\u59cb\u6253\u9020\u6700\u57fa\u672c\u7684Debian linux system<\/a><\/li>\n<\/ol>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[66,65,67,68],"class_list":["post-191","post","type-post","status-publish","format-standard","hentry","category-embedded-system","tag-asus-n10","tag-kernel-source","tag-usb","tag-wireless"],"_links":{"self":[{"href":"https:\/\/blog.haostudio.net\/hwp\/wp-json\/wp\/v2\/posts\/191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.haostudio.net\/hwp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.haostudio.net\/hwp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.haostudio.net\/hwp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.haostudio.net\/hwp\/wp-json\/wp\/v2\/comments?post=191"}],"version-history":[{"count":3,"href":"https:\/\/blog.haostudio.net\/hwp\/wp-json\/wp\/v2\/posts\/191\/revisions"}],"predecessor-version":[{"id":397,"href":"https:\/\/blog.haostudio.net\/hwp\/wp-json\/wp\/v2\/posts\/191\/revisions\/397"}],"wp:attachment":[{"href":"https:\/\/blog.haostudio.net\/hwp\/wp-json\/wp\/v2\/media?parent=191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.haostudio.net\/hwp\/wp-json\/wp\/v2\/categories?post=191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.haostudio.net\/hwp\/wp-json\/wp\/v2\/tags?post=191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}