{"id":1776,"date":"2019-05-01T23:42:28","date_gmt":"2019-05-01T14:42:28","guid":{"rendered":"https:\/\/rageworx.info\/?p=1776"},"modified":"2019-06-03T17:51:09","modified_gmt":"2019-06-03T08:51:09","slug":"realtek-8152-gbe-usb-kernel-driver-for-rock960a-b-c","status":"publish","type":"post","link":"https:\/\/rageworx.info\/?p=1776","title":{"rendered":"Realtek 8152 GbE USB kernel driver for RK3399"},"content":{"rendered":"<p><a href=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/05\/01.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1780\" src=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/05\/01-500x228.png\" alt=\"\" width=\"500\" height=\"228\" srcset=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/05\/01-500x228.png 500w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/05\/01.png 576w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>If you have trouble with Realtek 8152 GbE USB device on your Rock960A\/B\/C board with error of &#8220;unnmaed net_device&#8221; ? It is reason of built in r8152 driver is too old in Rock960a\/b\/c (even all kernel driver of Rockchip) kernel source.<\/p>\n<p><a href=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/05\/02.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1777\" src=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/05\/02-500x424.png\" alt=\"\" width=\"500\" height=\"424\" srcset=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/05\/02-500x424.png 500w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/05\/02.png 581w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>Here&#8217;s my modified driver from latest version of r8152 &#8220;09&#8221; driver for RK3399 based kernel drivers &#8211; specially for old 4.4 version of kernel. Just download my little modified source code and copy to your kernel driver path &#8211; \/driver\/net\/usb &#8211; and make kernel again.<\/p>\n<blockquote>\n<a  data-e-Disable-Page-Transition=\"true\" class=\"download-link download-button aligncenter\" title=\"Version 2019-04-30-1\" href=\"https:\/\/rageworx.info?tmstv=1776037246\" rel=\"nofollow\" id=\"download-link-1802\" data-redirect=\"false\" >\n\tDownload &ldquo;r8152_20190430-1.zip&rdquo;\t<small>r8152_20190430-1.zip\t\t&ndash; Downloaded 1727 times\t\t&ndash; 27.58 KB<\/small>\n<\/a>\n<\/blockquote>\n<p>You can flash boot image when kernel compilation compeleted as like above capture image, just boot or reboot your board, then check what happend.<\/p>\n<p><a href=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/05\/03.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1778\" src=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/05\/03-500x245.png\" alt=\"\" width=\"500\" height=\"245\" srcset=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/05\/03-500x245.png 500w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/05\/03.png 576w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><a href=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/05\/04.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1779\" src=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/05\/04-500x337.png\" alt=\"\" width=\"500\" height=\"337\" srcset=\"https:\/\/rageworx.info\/wp-content\/uploads\/2019\/05\/04-500x337.png 500w, https:\/\/rageworx.info\/wp-content\/uploads\/2019\/05\/04.png 576w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<h3>Disclaimer<\/h3>\n<p>This source code may not perfectly works for all, I don&#8217;t garantee perfectly works for all environments, It is up to your skill to use source code for kernel built-in driver building.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have trouble with Realtek 8152 GbE USB device on your Rock960A\/B\/C board with error of &#8220;unnmaed net_device&#8221; ? It is reason of built in r8152 driver is too old in Rock960a\/b\/c (even all kernel driver of Rockchip) kernel source. Here&#8217;s my modified driver from latest version of r8152&#8230; <a href=\"https:\/\/rageworx.info\/?p=1776\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":1867,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,573,580,3],"tags":[634,26,25,633,635,636,632,108,256],"class_list":["post-1776","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development","category-embedded","category-linux","category-raphs","tag-634","tag-driver","tag-kernel","tag-r","tag-realtek","tag-rockchip","tag-rtl","tag-source","tag-usb"],"_links":{"self":[{"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/posts\/1776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rageworx.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1776"}],"version-history":[{"count":0,"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/posts\/1776\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/media\/1867"}],"wp:attachment":[{"href":"https:\/\/rageworx.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rageworx.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rageworx.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}