{"id":1100,"date":"2023-01-15T16:39:14","date_gmt":"2023-01-15T07:39:14","guid":{"rendered":"https:\/\/rfsec.ddns.net\/db\/?p=1100"},"modified":"2023-01-15T17:37:28","modified_gmt":"2023-01-15T08:37:28","slug":"wsl2%e3%81%ae%e7%92%b0%e5%a2%83%e3%81%a7adafruit-ft232h-breakout%e3%82%92%e5%88%a9%e7%94%a8%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/rfsec.ddns.net\/db\/?p=1100","title":{"rendered":"WSL2\u306e\u74b0\u5883\u3067Adafruit FT232H Breakout\u3092\u5229\u7528\u3059\u308b"},"content":{"rendered":"\n<p>Adafruit FT232H Breakout\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001USB I\/F\u7d4c\u7531\u3067GPIO\/I2C\/SPI\u306e\u6a5f\u80fd\u3092\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002WSL2\u4e0a\u306eUbuntu22.02\u3067\u3001Adafruit FT232H Breakout\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u6e96\u5099\uff1aWSL2\u3067USB\u30c7\u30d0\u30a4\u30b9\u3092\u5229\u7528\u3059\u308b\u306b\u306f\u3001\u3042\u3089\u304b\u3058\u3081Windows\u5074\u3067\u306e\u6e96\u5099\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-\u96d1\u591a\u306a\u8a71\u984c\u306e\u90e8\u5c4b wp-block-embed-\u96d1\u591a\u306a\u8a71\u984c\u306e\u90e8\u5c4b\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"nhwNJwkhXC\"><a href=\"https:\/\/rfsec.ddns.net\/db\/?p=1047\">WSL\u3067USB\u30c7\u30d0\u30a4\u30b9\u3092\u4f7f\u3046<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;WSL\u3067USB\u30c7\u30d0\u30a4\u30b9\u3092\u4f7f\u3046&#8221; &#8212; \u96d1\u591a\u306a\u8a71\u984c\u306e\u90e8\u5c4b\" src=\"https:\/\/rfsec.ddns.net\/db\/?p=1047&#038;embed=true#?secret=QJFH54G2yp#?secret=nhwNJwkhXC\" data-secret=\"nhwNJwkhXC\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>STEP1 <strong>usbipd<\/strong>\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n\n\n\n<p>Windows\u3000\u7ba1\u7406\u8005\u3068\u3057\u3066\u6b21\u3092\u5b9f\u884c<\/p>\n\n\n\n<p>&gt;<strong>winget install &#8211;interactive &#8211;exact dorssel.usbipd-win<\/strong><\/p>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089Windows\u3092\u518d\u8d77\u52d5<\/p>\n\n\n\n<p>WSL\u3067\u6b21\u3092\u5b9f\u884c<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>sudo apt install linux-tools-virtual hwdata\nsudo update-alternatives --install \/usr\/local\/bin\/usbip usbip `ls \/usr\/lib\/linux-tools\/*\/usbip | tail -n1` 20<\/code><\/pre><\/div>\n\n\n\n<p><strong>STEP2 <\/strong><a href=\"https:\/\/learn.adafruit.com\/adafruit-ft232h-breakout\/serial-uart\" data-type=\"URL\" data-id=\"https:\/\/learn.adafruit.com\/adafruit-ft232h-breakout\/serial-uart\" target=\"_blank\" rel=\"noreferrer noopener\">Adafruit FT232H Breakout\u306eWindows driver\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a><\/p>\n\n\n\n<p>FT232H \u3092\u63a5\u7d9a\u3057\u3066USB Seria Converter\u306e\u8a8d\u8b58\u3092\u78ba\u8a8d\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>&gt;usbipd wsl list\nBUSID  VID:PID    DEVICE                                                        STATE\n1-2    1ea7:0066  USB \u5165\u529b\u30c7\u30d0\u30a4\u30b9                                              Not attached\n1-3    0403:6014  USB Serial Converter                                          Not attached<\/code><\/pre><\/div>\n\n\n\n<p><strong>STEP3\u3000<\/strong>USB Seria Converter\u3092WSL\u5074\u3078\u63a5\u7d9a\u3059\u308b\u3002\u7ba1\u7406\u8005\u6a29\u9650\u3067\u6b21\u3092\u5b9f\u884c<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adafruit FT232H Breakout\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001USB I\/F\u7d4c\u7531\u3067GPIO\/I2C\/SPI\u306e\u6a5f\u80fd\u3092\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002WSL2\u4e0a\u306eUbuntu22.02\u3067\u3001Adafruit FT232H Break [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1100","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"featured_image_src":null,"author_info":{"display_name":"mars","author_link":"https:\/\/rfsec.ddns.net\/db\/?author=1"},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/posts\/1100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1100"}],"version-history":[{"count":2,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/posts\/1100\/revisions"}],"predecessor-version":[{"id":1102,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/posts\/1100\/revisions\/1102"}],"wp:attachment":[{"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}