{"id":51128,"date":"2016-01-29T18:05:32","date_gmt":"2016-01-29T18:05:32","guid":{"rendered":"https:\/\/www.mobilefun.co.uk\/blog\/?p=51128"},"modified":"2016-04-11T09:33:43","modified_gmt":"2016-04-11T08:33:43","slug":"heres-how-we-test-our-usb-c-cables","status":"publish","type":"post","link":"https:\/\/www.mobilefun.co.uk\/blog\/2016\/01\/heres-how-we-test-our-usb-c-cables\/","title":{"rendered":"Looking for USB-C compliant cables? Here&#8217;s how we test ours"},"content":{"rendered":"<p><a href=\"https:\/\/www.mobilefun.co.uk\/blog\/wp-content\/uploads\/2016\/01\/055fe8ff-f312-45c4-ac79-102e1c353227.jpg\" rel=\"attachment wp-att-51136\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-51136\" src=\"https:\/\/www.mobilefun.co.uk\/blog\/wp-content\/uploads\/2016\/01\/055fe8ff-f312-45c4-ac79-102e1c353227.jpg\" alt=\"055fe8ff-f312-45c4-ac79-102e1c353227\" width=\"920\" height=\"690\" srcset=\"https:\/\/www.mobilefun.co.uk\/blog\/wp-content\/uploads\/2016\/01\/055fe8ff-f312-45c4-ac79-102e1c353227.jpg 920w, https:\/\/www.mobilefun.co.uk\/blog\/wp-content\/uploads\/2016\/01\/055fe8ff-f312-45c4-ac79-102e1c353227-300x225.jpg 300w, https:\/\/www.mobilefun.co.uk\/blog\/wp-content\/uploads\/2016\/01\/055fe8ff-f312-45c4-ac79-102e1c353227-768x576.jpg 768w, https:\/\/www.mobilefun.co.uk\/blog\/wp-content\/uploads\/2016\/01\/055fe8ff-f312-45c4-ac79-102e1c353227-450x338.jpg 450w\" sizes=\"(max-width: 920px) 100vw, 920px\" \/><\/a><\/p>\n<p>When the Nexus 5X and 6P first launched, they were the first major smartphones to include a USB-C connector. That meant new cables and accessories needed to be produced, but not all of them were USB-C compliant cables. Some drew more power than they ought to have done, thanks to the use of lower-spec resistors. Here at Mobile Fun, we test all of our USB-C to USB-A cables to ensure that they meet the standard and they&#8217;re safe to use.<\/p>\n<p>Here&#8217;s how we do that testing.<\/p>\n<p>We connect a USB-C device (such as the Nexus 5X) to the USB-A port of a laptop, using the cable that we&#8217;re currently testing. We check the power draw time using the Android Development Bridge (ADB), which allows us to run commands on our Nexus 5X remotely and see the results. The command we use for the 5X is this:<\/p>\n<p><code style=\"font-size: larger;\">adb shell \"cat \/sys\/bus\/i2c\/drivers\/fusb301\/*\/fclientcur\"<\/code><\/p>\n<p>We can also run the command directly on the phone, which is just:<\/p>\n<p><code style=\"font-size: larger;\">cat \/sys\/bus\/i2c\/drivers\/fusb301\/*\/fclientcur<\/code><\/p>\n<p>If we see that the cable is drawing more power than is safe (for example, we get a reading of 3000 when connected to a laptop&#8217;s USB port), then we know the cable doesn&#8217;t meet the USB-C standards and isn&#8217;t suitable for sale. In contrast, a reading of 0 or 1500 would be expected from a USB-C compliant cable.<\/p>\n<p>The idea is the same for the Nexus 6P, although the command is different. For ADB, we use:<\/p>\n<p><code style=\"font-size: larger;\">adb shell \"cat \/sys\/class\/typec\/typec_device\/current_detect\"<\/code><\/p>\n<p>On the phone itself, we use:<\/p>\n<p><code style=\"font-size: larger;\">cat \/sys\/class\/typec\/typec_device\/current_detect<\/code><\/p>\n<p>If we get a value of 0 or 1, we&#8217;re happy; if we get a value of 2, it means the phone is charging at 3A, which is not suitable for a USB-A cable attached to a laptop&#8217;s port.<\/p>\n<p>Using this method, we can ensure we only stock USB-C compliant cables.\u00a0Interesting stuff, huh? You can run the same tests with ADB installed, or shell access on our Nexus 5X or 6P. Let us know what you find!<\/p>\n<p>Need a safe USB-C cable? Check the link below!<\/p>\n<p><a class=\"btn btn-shop\" href=\"https:\/\/www.mobilefun.co.uk\/by-type\/usb-c\/cables\">Shop for USB-C cables &gt;<\/a><\/p>\n<p>Any questions? Let us know in the comments!<\/p>\n\n<!-- WP QUADS Content Ad Plugin v. 2.0.27.4 -->\n<div class=\"quads-location quads-ad1\" id=\"quads-ad1\" style=\"float:none;margin:0px 0 0px 0;text-align:center;\">\n<div id=\"bari-widget\"><\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>When the Nexus 5X and 6P first launched, they were the first major smartphones to include a USB-C connector. That meant new cables and accessories needed to be produced, but not all of them were up to spec. Some drew more power than they ought to have done, thanks to the use of lower-spec resistors. Here at Mobile Fun, we test all of our USB-C to USB-A cables to ensure that they meet the standard, to ensure the safety of you and your devices. Here&#8217;s how we do that testing.<\/p>\n","protected":false},"author":78,"featured_media":51136,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[311,228,6],"tags":[8400,8154],"_links":{"self":[{"href":"https:\/\/www.mobilefun.co.uk\/blog\/wp-json\/wp\/v2\/posts\/51128"}],"collection":[{"href":"https:\/\/www.mobilefun.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mobilefun.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mobilefun.co.uk\/blog\/wp-json\/wp\/v2\/users\/78"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mobilefun.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=51128"}],"version-history":[{"count":15,"href":"https:\/\/www.mobilefun.co.uk\/blog\/wp-json\/wp\/v2\/posts\/51128\/revisions"}],"predecessor-version":[{"id":55292,"href":"https:\/\/www.mobilefun.co.uk\/blog\/wp-json\/wp\/v2\/posts\/51128\/revisions\/55292"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mobilefun.co.uk\/blog\/wp-json\/wp\/v2\/media\/51136"}],"wp:attachment":[{"href":"https:\/\/www.mobilefun.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=51128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mobilefun.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=51128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mobilefun.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=51128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}