{"id":29,"date":"2026-11-13T09:16:28","date_gmt":"2026-11-13T00:16:28","guid":{"rendered":"https:\/\/hena-log.duckdns.org\/?p=29"},"modified":"2026-11-13T15:10:16","modified_gmt":"2026-11-13T06:10:16","slug":"%e3%83%81%e3%83%a5%e3%83%bc%e3%83%8a%e3%83%bc%e3%81%8c%e5%8b%9d%e6%89%8b%e3%81%ab%e5%b1%85%e3%81%aa%e3%81%8f%e3%81%aa%e3%82%8b%e3%81%ae%e3%81%a7%e8%87%aa%e5%8b%95%e7%9a%84%e3%81%ab%e6%88%bb%e3%81%99","status":"publish","type":"post","link":"https:\/\/hena-log.duckdns.org\/?p=29","title":{"rendered":"\u30c1\u30e5\u30fc\u30ca\u30fc\u304c\u52dd\u624b\u306b\u5c45\u306a\u304f\u306a\u308b\u306e\u3067\u81ea\u52d5\u7684\u306b\u623b\u3059"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">ubuntu 26.04\u3067\u9332\u753b\u9bd6\u3092\u69cb\u7bc9\u5f8c\u3001\u6709\u308b\u7a0b\u5ea6\u306e\u6642\u9593\u304c\u904e\u304e\u308b\u3068\u306a\u305c\u304b\u30c1\u30e5\u30fc\u30ca\u30fc\u304c\u5c45\u306a\u304f\u306a\u308b\u3002\u624b\u52d5\u3067\u623b\u3059\u3053\u3068\u304c\u51fa\u6765\u308b\u304c\u51fa\u6765\u308c\u3070\u81ea\u52d5\u306b\u3057\u305f\u304b\u3063\u305f\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">#!\/bin\/bash\n\nERR_MSG=$(\/sbin\/rmmod px4_drv 2>&amp;1)\n\nif [[ \"$ERR_MSG\" == *\"rmmod: ERROR: Module px4_drv is not currently loaded\"* ]]; then\n    echo \"px4_drv \u306f\u30ed\u30fc\u30c9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u518d\u767b\u9332\u3068\u30ed\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059...\"\n    \/sbin\/depmod -a &amp;&amp; \/sbin\/modprobe px4_drv\nelse\n    if [ -n \"$ERR_MSG\" ]; then\n        # \u4f7f\u7528\u4e2d\uff08Module px4_drv is in use\uff09\u306a\u3069\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u5834\u5408\n        echo \"\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f: $ERR_MSG\"\n    else\n        # \u6b63\u5e38\u306b\u30a2\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u305f\u5834\u5408\u3001\u305d\u306e\u307e\u307e\u518d\u30ed\u30fc\u30c9\u3059\u308b\n        echo \"px4_drv \u3092\u30a2\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3057\u305f\u3002\u518d\u30ed\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059...\"\n        \/sbin\/modprobe px4_drv\n    fi\nfi<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u8a18\u30b9\u30af\u30ea\u30d7\u30c8\u3092cron\u306b\u767b\u9332\u3057\u3066\u6bce\u671d4\u6642\u306b\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u305f\u3002\u7d50\u679c\u306f\u307e\u305f\u5f8c\u65e5\u30fb\u30fb\u30fb\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3061\u306a\u307f\u306b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u624b\u52d5\u3067\u5b9f\u884c\u3059\u308b\u3068<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$ sudo \/usr\/local\/bin\/reload_px4.sh\npx4_drv \u3092\u30a2\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3057\u305f\u3002\u518d\u30ed\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059...\n$ date &amp;&amp; ls -l \/dev\/px*\nFri Nov 13 08:47:47 AM JST 2026\ncrw------- 1 root root 234, 0 Nov 13 08:47 \/dev\/px4video0\ncrw------- 1 root root 234, 1 Nov 13 08:47 \/dev\/px4video1\ncrw------- 1 root root 234, 2 Nov 13 08:47 \/dev\/px4video2\ncrw------- 1 root root 234, 3 Nov 13 08:47 \/dev\/px4video3\ncrw------- 1 root root 234, 4 Nov 13 08:47 \/dev\/px4video4\ncrw------- 1 root root 234, 5 Nov 13 08:47 \/dev\/px4video5\ncrw------- 1 root root 234, 6 Nov 13 08:47 \/dev\/px4video6\ncrw------- 1 root root 234, 7 Nov 13 08:47 \/dev\/px4video7\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3068\u8fd4\u3063\u3066\u304f\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ubuntu 26.04\u3067\u9332\u753b\u9bd6\u3092\u69cb\u7bc9\u5f8c\u3001\u6709\u308b\u7a0b\u5ea6\u306e\u6642\u9593\u304c\u904e\u304e\u308b\u3068\u306a\u305c\u304b\u30c1\u30e5\u30fc\u30ca\u30fc\u304c\u5c45\u306a\u304f\u306a\u308b\u3002\u624b\u52d5\u3067\u623b\u3059\u3053\u3068\u304c\u51fa\u6765\u308b\u304c\u51fa\u6765\u308c\u3070\u81ea\u52d5\u306b\u3057\u305f\u304b\u3063\u305f\u3002 \u4e0a\u8a18\u30b9\u30af\u30ea\u30d7&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-29","post","type-post","status-publish","format-standard","hentry","category-3"],"_links":{"self":[{"href":"https:\/\/hena-log.duckdns.org\/index.php?rest_route=\/wp\/v2\/posts\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hena-log.duckdns.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hena-log.duckdns.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hena-log.duckdns.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hena-log.duckdns.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=29"}],"version-history":[{"count":3,"href":"https:\/\/hena-log.duckdns.org\/index.php?rest_route=\/wp\/v2\/posts\/29\/revisions"}],"predecessor-version":[{"id":46,"href":"https:\/\/hena-log.duckdns.org\/index.php?rest_route=\/wp\/v2\/posts\/29\/revisions\/46"}],"wp:attachment":[{"href":"https:\/\/hena-log.duckdns.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hena-log.duckdns.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hena-log.duckdns.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}