{"id":1662,"date":"2017-09-13T23:42:58","date_gmt":"2017-09-13T14:42:58","guid":{"rendered":"http:\/\/matoken.org\/blog\/?p=1662"},"modified":"2017-09-13T23:42:58","modified_gmt":"2017-09-13T14:42:58","slug":"disable-raspberry-pi-zero-w-bluetooth","status":"publish","type":"post","link":"https:\/\/matoken.org\/blog\/2017\/09\/13\/disable-raspberry-pi-zero-w-bluetooth\/","title":{"rendered":"Raspberry Pi Zero W\u306ebluetooth\u3092\u7121\u52b9\u306b\u3059\u308b"},"content":{"rendered":"<ul>\n<li>\n<p>\n<a href=\"http:\/\/pc.watch.impress.co.jp\/docs\/news\/1080650.html\">Bluetooth\u7d4c\u7531\u3067\u30b9\u30de\u30db\u304b\u3089PC\u307e\u3067\u4e57\u3063\u53d6\u308c\u308b\u653b\u6483\u624b\u6cd5\u304c\u767a\u899a \uff5eBluetooth\u304c\u30aa\u30f3\u306b\u306a\u3063\u3066\u3044\u308b\u3060\u3051\u3067\u653b\u6483\u53ef\u80fd &#8211; PC Watch<\/a>\n<\/p>\n<\/li>\n<\/ul>\n<p>\u3066\u3053\u3068\u3067Raspberry Pi Zero W\u306eBluetooth\u3082\u7121\u52b9\u306b\u3057\u305f\u3044\u306a\u3068\uff0e<br \/>\n\u74b0\u5883\u306fRaspbian stretch lite 2017-09-07\u3067\u78ba\u8a8d\u3057\u307e\u3057\u305f\uff0e<\/p>\n<p>PC\u3067\u8a2d\u5b9a\u3057\u305f\u4ee5\u4e0b\u306eblacklist\u306e\u624b\u9806\u3067\u3082ok\u306a\u306f\u305a\u3067\u3059\u304c\uff0cconfig.txt\u3067\u7121\u52b9\u306b\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u305d\u3046\u3060\u3068\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\uff0e<\/p>\n<ul>\n<li>\n<p>\n<a href=\"https:\/\/matoken.org\/blog\/blog\/2017\/09\/13\/disabled-bluetooth_debian-sid-amd64\/\">bluetooth\u3092\u7121\u52b9\u306b\u3059\u308b(Debian sid amd64) | matoken&#8217;s meme<\/a>\n<\/p>\n<\/li>\n<\/ul>\n<p>\u307e\u305a\u306f\u5b9a\u756a\u306eeLinux<\/p>\n<ul>\n<li>\n<p>\n<a href=\"http:\/\/elinux.org\/RPi_config.txt\">RPiconfig &#8211; eLinux.org<\/a>\n<\/p>\n<pre><code>There's lots more documentation of available overlays in \/boot\/config\/README. See source on Github for more.<\/code><\/pre>\n<\/li>\n<\/ul>\n<p>\u3066\u3053\u3068\u3067Github\u3092\u898b\u306b\u884c\u304d\u307e\u3059\uff0e<\/p>\n<ul>\n<li>\n<p>\n<a href=\"https:\/\/github.com\/raspberrypi\/linux\/blob\/rpi-4.1.y\/arch\/arm\/boot\/dts\/overlays\/README\">linux\/README at rpi-4.1.y \u00b7 raspberrypi\/linux<\/a>\n<\/p>\n<\/li>\n<\/ul>\n<p>\u305d\u308c\u3089\u3057\u3044\u3082\u306e\u304c\u3042\u308a\u307e\u3057\u305f :)<\/p>\n<table  class=\" table table-hover\" border=\"0\" bgcolor=\"#e8e8e8\" width=\"100%\" cellpadding=\"4\">\n<tr>\n<td>\n<pre><code>Name:   pi3-disable-bt\nInfo:   Disable Pi3 Bluetooth and restore UART0\/ttyAMA0 over GPIOs 14 &amp; 15\n        N.B. To disable the systemd service that initialises the modem so it\n        doesn't use the UART, use 'sudo systemctl disable hciuart'.\nLoad:   dtoverlay=pi3-disable-bt\nParams: &lt;None&gt;<\/code><\/pre>\n<\/td>\n<\/tr>\n<\/table>\n<p>\u65e9\u901f\u8a2d\u5b9a\u3057\u3066\u307f\u307e\u3059\uff0e<\/p>\n<table  class=\" table table-hover\" border=\"0\" bgcolor=\"#e8e8e8\" width=\"100%\" cellpadding=\"4\">\n<tr>\n<td>\n<pre><code>$ echo 'dtoverlay=pi3-disable-bt' | sudo tee -a \/boot\/config.txt\ndtoverlay=pi3-disable-bt<\/code><\/pre>\n<\/td>\n<\/tr>\n<\/table>\n<p>\u306a\u611f\u3058\u3067 <code>\/boot\/config.txt<\/code> \u306b\u8ffd\u8a18\u3057\u3066\u518d\u8d77\u52d5\u3057\u307e\u3057\u305f\uff0e<br \/>\nlsmod\u3092\u8a2d\u5b9a\u524d\u3068\u6bd4\u8f03\u3059\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u3067\u5c45\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3059\uff0e<\/p>\n<table  class=\" table table-hover\" border=\"0\" bgcolor=\"#e8e8e8\" width=\"100%\" cellpadding=\"4\">\n<tr>\n<td>\n<pre><code>$ diff lsmod lsmod_pi3-disable-bt\n2,6d1\n&lt; cmac                    3134  1\n&lt; bnep                   11949  2\n&lt; hci_uart               21190  1\n&lt; btbcm                   7885  1 hci_uart\n&lt; bluetooth             374820  24 hci_uart,bnep,btbcm\n9d3\n&lt; snd_bcm2835            23131  0\n10a5,6\n&gt; snd_bcm2835            23131  0\n&gt; rfkill                 21373  4 cfg80211\n12d7\n&lt; rfkill                 21373  6 bluetooth,cfg80211\n16d10\n&lt; fixed                   3029  0\n18a13\n&gt; fixed                   3029  0<\/code><\/pre>\n<\/td>\n<\/tr>\n<\/table>\n<p>module\u306eblacklist\u3092\u8a2d\u5b9a\u3059\u308b\u3088\u308a\u304a\u624b\u8efd\u3067\u3059\u306d :)<\/p>\n<p>\u6050\u3089\u304fRaspberry Pi 3 B\u3067\u3082\u540c\u69d8\u306e\u8a2d\u5b9a\u306f\u4f7f\u3048\u308b\u3068\u601d\u3044\u307e\u3059\uff0e(\u6301\u3063\u3066\u306a\u3044\u306e\u3067\u672a\u78ba\u8a8d)<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bluetooth\u7d4c\u7531\u3067\u30b9\u30de\u30db\u304b\u3089PC\u307e\u3067\u4e57\u3063\u53d6\u308c\u308b\u653b\u6483\u624b\u6cd5\u304c\u767a\u899a \uff5eBluetooth\u304c\u30aa\u30f3\u306b\u306a\u3063\u3066\u3044\u308b\u3060\u3051\u3067\u653b\u6483\u53ef\u80fd &#8211; PC Watch \u3066\u3053\u3068\u3067Raspberry Pi Zero W\u306eBluetoot [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[6,231,91],"tags":[146,44],"class_list":["post-1662","post","type-post","status-publish","format-standard","hentry","category-linux","category-rasbian_stretch","category-raspberry-pi","tag-bluetooth","tag-raspberrypi"],"_links":{"self":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/1662","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/comments?post=1662"}],"version-history":[{"count":0,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/1662\/revisions"}],"wp:attachment":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/media?parent=1662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/categories?post=1662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/tags?post=1662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}