{"id":1905,"date":"2017-01-18T21:54:24","date_gmt":"2017-01-18T21:54:24","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=1905"},"modified":"2017-01-18T21:54:24","modified_gmt":"2017-01-18T21:54:24","slug":"arm64-odroid-c2-patches-for-usb","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=1905","title":{"rendered":"ARM64 &#8211; Odroid C2 &#8211; Patches for USB.."},"content":{"rendered":"<p>Thanks to <strong>Heiner Kallweit <\/strong>for info on two USB patches for the Odroid C2, and thanks to <strong>John Youn<\/strong> for the patches themselves..\u00a0 They can be found at <a href=\"http:\/\/www.spinics.net\/lists\/linux-usb\/msg151687.html\" target=\"_blank\">http:\/\/www.spinics.net\/lists\/linux-usb\/msg151687.html<\/a> and <a href=\"http:\/\/www.spinics.net\/lists\/linux-usb\/msg151688.html\" target=\"_blank\">http:\/\/www.spinics.net\/lists\/linux-usb\/msg151688.html<\/a> .<\/p>\n<p>I have applied these to Kernel <strong>4.10-rc4<\/strong> (including the Ethernet TX patch) and now USB is working, and detects\/connects devices &#8211; sort of..<\/p>\n<p>Plug in USB device, does not show up (same behaviour as before patch):<\/p>\n<pre><strong><span style=\"font-family: courier new,courier;\">]# lsusb<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<\/span><\/strong><\/pre>\n<p>But, do (as root)<\/p>\n<pre><strong><span style=\"font-family: courier new,courier;\"># lsusb -v<\/span><\/strong><\/pre>\n<p>then<\/p>\n<pre><strong><span style=\"font-family: courier new,courier;\"># lsusb<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Bus 001 Device 006: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<\/span><\/strong><\/pre>\n<p>Remove:<\/p>\n<pre><span style=\"font-family: courier new,courier;\"><strong># usb 1-1.1: USB disconnect, device number 6<\/strong><\/span><\/pre>\n<p>More than one device:<\/p>\n<pre><strong><span style=\"font-family: courier new,courier;\"># lsusb<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Bus 001 Device 008: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Bus 001 Device 007: ID 248a:8566 Maxxter<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<\/span><\/strong><\/pre>\n<p>USB &#8216;disk&#8217;:<\/p>\n<pre><strong><span style=\"font-family: courier new,courier;\">usb 1-1.3: new high-speed USB device number 6 using dwc2<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">usb 1-1.3: New USB device found, idVendor=1b1c, idProduct=1a06<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">usb 1-1.3: Product: Slider 3.0<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">usb 1-1.3: Manufacturer: Corsair<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">usb 1-1.3: SerialNumber: 2310309051250017<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">usb-storage 1-1.3:1.0: USB Mass Storage device detected<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">scsi host0: usb-storage 1-1.3:1.0<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">scsi 0:0:0:0: Direct-Access Corsair Slider 3.0 1.00 PQ: 0 ANSI: 5<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">sd 0:0:0:0: Attached scsi generic sg0 type 0<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">sd 0:0:0:0: [sda] 62746624 512-byte logical blocks: (32.1 GB\/29.9 GiB)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">sd 0:0:0:0: [sda] Write Protect is off<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">sd 0:0:0:0: [sda] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> sda: sda1<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">sd 0:0:0:0: [sda] Attached SCSI removable disk<\/span><\/strong><\/pre>\n<p>So..\u00a0 There is more testing to be done, but at least some more core functionality is available..\u00a0\u00a0\u00a0 I also need to check the kernel config, to see if there is another option to be included, to make &#8216;detection&#8217; work correctly..<\/p>\n<p>As usual, it remains to be seen whether these particular USB patches make it into the <span style=\"text-decoration: underline;\">mainline<\/span> kernel tree..<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 January 18, 2017.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Thanks to Heiner Kallweit for info on two USB patches for the Odroid C2, and thanks to John Youn for the patches themselves..\u00a0 They can be found at http:\/\/www.spinics.net\/lists\/linux-usb\/msg151687.html and http:\/\/www.spinics.net\/lists\/linux-usb\/msg151688.html . I have applied these to Kernel 4.10-rc4 (including the Ethernet TX patch) and now USB is working, and detects\/connects devices &#8211; sort of.. Plug in <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=1905\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1132,1131,1238,11,14,16,1285,19,20],"tags":[1133,1173,242,1286,298,1536,383],"class_list":["post-1905","post","type-post","status-publish","format-standard","hentry","category-aarch64","category-arm64","category-fix","category-hacks","category-kernel","category-linux-arm","category-odroid-c2","category-opinion","category-performance-2","tag-arm64","tag-kernel","tag-linux","tag-odroid-c2","tag-patches","tag-quirks","tag-usb"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1905","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1905"}],"version-history":[{"count":1,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1905\/revisions"}],"predecessor-version":[{"id":1906,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1905\/revisions\/1906"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1905"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1905"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}