{"id":5817,"date":"2026-06-16T23:53:08","date_gmt":"2026-06-16T14:53:08","guid":{"rendered":"https:\/\/eternalsphere.net\/echoes\/?p=5817"},"modified":"2026-06-16T23:55:06","modified_gmt":"2026-06-16T14:55:06","slug":"kz5ahfwli20sbog","status":"publish","type":"post","link":"https:\/\/eternalsphere.net\/echoes\/index.php\/2026\/06\/16\/kz5ahfwli20sbog\/","title":{"rendered":"Arch Linux \u4e0a\u82f9\u679c\u786c\u4ef6\u98ce\u6247\u63a7\u5236\u4e0e\u6e29\u5ea6\u76d1\u63a7\u8bb0\u5f55\uff1a\u4ece\u9ad8\u6e29\u964d\u9891\u98ce\u9669\u5230 mbpfan \u63a5\u7ba1"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u6458\u8981<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u53f0\u8fd0\u884c Arch Linux \u7684\u82f9\u679c\u786c\u4ef6\u8bbe\u5907\uff0c\u5728\u91cd\u4efb\u52a1\u540e\u51fa\u73b0 CPU \u6e29\u5ea6\u63a5\u8fd1\u9ad8\u6e29\u4e0a\u9650\u7684\u60c5\u51b5\u3002\u6392\u67e5\u53d1\u73b0\uff0c\u7cfb\u7edf\u4e2d\u5df2\u7ecf\u52a0\u8f7d <code>applesmc<\/code>\uff0c\u5e76\u4e14\u5b58\u5728 <code>fan1_input<\/code>\u3001<code>fan1_min<\/code>\u3001<code>fan1_max<\/code> \u7b49 Apple SMC \u98ce\u6247\u63a5\u53e3\u3002\u8fd9\u8bf4\u660e\u8be5\u8bbe\u5907\u7684\u98ce\u6247\u63a7\u5236\u5e76\u4e0d\u9002\u5408\u4f18\u5148\u4f7f\u7528\u901a\u7528 <code>fancontrol<\/code>\uff0c\u800c\u66f4\u9002\u5408\u4f7f\u7528\u9762\u5411\u82f9\u679c\u786c\u4ef6\u7684 <code>mbpfan<\/code>\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u7ec8\u5904\u7406\u65b9\u6848\u662f\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u786e\u8ba4\u98ce\u6247\u7531 Apple SMC \u66b4\u9732\uff1b<\/li>\n\n\n\n<li>\u907f\u514d\u540c\u65f6\u542f\u7528 <code>fancontrol<\/code> \u548c <code>mbpfan<\/code>\uff1b<\/li>\n\n\n\n<li>\u4f7f\u7528 <code>mbpfan<\/code> \u63a5\u7ba1\u98ce\u6247\u63a7\u5236\uff1b<\/li>\n\n\n\n<li>\u914d\u7f6e\u8f83\u4fdd\u5b88\u4f46\u80fd\u53ca\u65f6\u4ecb\u5165\u7684\u98ce\u6247\u66f2\u7ebf\uff1b<\/li>\n\n\n\n<li>\u7f16\u5199 <code>fanwatch<\/code> \u811a\u672c\uff0c\u540c\u65f6\u89c2\u5bdf\u6e29\u5ea6\u548c\u98ce\u6247\u8f6c\u901f\uff1b<\/li>\n\n\n\n<li>\u4fdd\u7559\u5b8c\u6574\u56de\u9000\u65b9\u6848\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9e\u65bd\u540e\uff0c\u98ce\u6247\u4e0d\u518d\u957f\u671f\u505c\u7559\u5728\u6700\u4f4e\u8f6c\u901f\u9644\u8fd1\uff0c\u800c\u662f\u53ef\u4ee5\u968f\u6e29\u5ea6\u4e0a\u5347\u81ea\u52a8\u63d0\u9ad8\u8f6c\u901f\uff0c\u6e29\u5ea6\u63a7\u5236\u72b6\u6001\u660e\u663e\u6539\u5584\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u95ee\u9898\u80cc\u666f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u8bbe\u5907\u5728\u91cd\u4efb\u52a1\u540e\u66fe\u51fa\u73b0 CPU \u6e29\u5ea6\u63a5\u8fd1\u9ad8\u6e29\u4e0a\u9650\u7684\u60c5\u51b5\u3002\u867d\u7136\u6e29\u5ea6\u968f\u540e\u4e0b\u964d\uff0c\u4f46\u8be5\u73b0\u8c61\u8bf4\u660e\u7cfb\u7edf\u9ed8\u8ba4\u98ce\u6247\u7b56\u7565\u53ef\u80fd\u504f\u4fdd\u5b88\uff0c\u5728 Linux \u4e0b\u6ca1\u6709\u53ca\u65f6\u628a\u98ce\u6247\u8f6c\u901f\u62c9\u9ad8\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u521d\u59cb\u89c2\u5bdf\u5230\u7684\u72b6\u6001\u5927\u81f4\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CPU \u6e29\u5ea6\uff1a\u91cd\u4efb\u52a1\u540e\u66fe\u63a5\u8fd1\u9ad8\u6e29\u4e0a\u9650\n\u98ce\u6247\u8f6c\u901f\uff1a\u63a5\u8fd1\u6700\u4f4e\u8f6c\u901f\n\u98ce\u6247\u63a5\u53e3\uff1aApple SMC\n\u98ce\u6247\u6570\u91cf\uff1a\u5355\u98ce\u6247\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u79cd\u60c5\u51b5\u7684\u98ce\u9669\u5728\u4e8e\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u91cd\u4efb\u52a1\u5f00\u59cb\nCPU \u6e29\u5ea6\u8fc5\u901f\u4e0a\u5347\n\u98ce\u6247\u4ecd\u4fdd\u6301\u8f83\u4f4e\u8f6c\u901f\nCPU \u63a5\u8fd1\u6e29\u5ea6\u5899\n\u7cfb\u7edf\u53ef\u80fd\u964d\u9891\n\u6027\u80fd\u4e0b\u964d\uff0c\u6e29\u5ea6\u63a7\u5236\u53d8\u5dee\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u56e0\u6b64\uff0c\u672c\u6b21\u76ee\u6807\u4e0d\u662f\u8ffd\u6c42\u6781\u9650\u6027\u80fd\uff0c\u800c\u662f\u8ba9\u98ce\u6247\u66f4\u65e9\u4ecb\u5165\uff0c\u907f\u514d CPU \u5728\u91cd\u4efb\u52a1\u4e0b\u53cd\u590d\u51b2\u5230\u9ad8\u6e29\u8fb9\u7f18\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u786e\u8ba4\u98ce\u6247\u63a7\u5236\u63a5\u53e3<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u9996\u5148\u786e\u8ba4\u7cfb\u7edf\u662f\u5426\u52a0\u8f7d\u4e86\u82f9\u679c\u786c\u4ef6\u76f8\u5173\u6a21\u5757\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>lsmod | grep -E 'applesmc|coretemp'\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u8f93\u51fa\u4e2d\u5b58\u5728\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>applesmc\ncoretemp\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8bf4\u660e\u7cfb\u7edf\u5df2\u7ecf\u5177\u5907\u8bfb\u53d6 Apple SMC \u4e0e CPU \u6e29\u5ea6\u7684\u57fa\u7840\u6761\u4ef6\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7136\u540e\u786e\u8ba4\u98ce\u6247\u63a5\u53e3\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>find \/sys\/devices\/platform -path '*applesmc*' -type f \\\n  \\( -name 'fan*_input' -o -name 'fan*_min' -o -name 'fan*_max' -o -name 'fan*_output' -o -name 'fan*_manual' \\) \\\n  -print -exec cat {} \\;\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u53ef\u4ee5\u770b\u5230\u7c7b\u4f3c\u6587\u4ef6\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>fan1_input\nfan1_min\nfan1_max\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8bf4\u660e\u98ce\u6247\u662f\u901a\u8fc7 Apple SMC \u66b4\u9732\u51fa\u6765\u7684\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5178\u578b\u8bfb\u6570\u53ef\u80fd\u7c7b\u4f3c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>fan1_min    \u7ea6 1200 RPM\nfan1_max    \u7ea6 2900 RPM\nfan1_input  \u5f53\u524d\u5b9e\u9645\u8f6c\u901f\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e9b\u6570\u503c\u5e94\u4ee5\u672c\u673a\u5b9e\u9645\u8bfb\u53d6\u7ed3\u679c\u4e3a\u51c6\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u4e3a\u4ec0\u4e48\u9009\u62e9 mbpfan \u800c\u4e0d\u662f fancontrol<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><code>fancontrol<\/code> \u548c <code>mbpfan<\/code> \u90fd\u53ef\u4ee5\u7528\u4e8e\u98ce\u6247\u63a7\u5236\uff0c\u4f46\u9002\u7528\u5bf9\u8c61\u4e0d\u540c\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u5de5\u5177<\/th><th>\u9002\u7528\u573a\u666f<\/th><\/tr><\/thead><tbody><tr><td><code>fancontrol<\/code><\/td><td>\u6807\u51c6 hwmon \/ PWM \u98ce\u6247\u63a7\u5236<\/td><\/tr><tr><td><code>mbpfan<\/code><\/td><td>\u82f9\u679c\u786c\u4ef6\uff0c\u901a\u8fc7 Apple SMC \u63a7\u5236\u98ce\u6247<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u673a\u5df2\u7ecf\u66b4\u9732\u51fa <code>applesmc<\/code> \u98ce\u6247\u63a5\u53e3\uff0c\u56e0\u6b64\u66f4\u9002\u5408\u4f7f\u7528 <code>mbpfan<\/code>\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u540c\u65f6\u8981\u6ce8\u610f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u4e0d\u8981\u540c\u65f6\u542f\u7528 fancontrol \u548c mbpfan\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u539f\u56e0\u662f\u4e24\u5957\u5de5\u5177\u90fd\u53ef\u80fd\u8bd5\u56fe\u63a7\u5236\u98ce\u6247\uff0c\u5bb9\u6613\u9020\u6210\u51b2\u7a81\u6216\u4e0d\u53ef\u9884\u6d4b\u884c\u4e3a\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u56db\u3001\u5b9e\u65bd\u524d\u4fdd\u5b58\u72b6\u6001<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5efa\u8bae\u5148\u4fdd\u5b58\u5f53\u524d\u72b6\u6001\uff0c\u65b9\u4fbf\u540e\u7eed\u5bf9\u7167\u548c\u56de\u9000\u3002\u8c03\u8bd5\u8bb0\u5f55\u4e0d\u5efa\u8bae\u76f4\u63a5\u6563\u843d\u5728\u7528\u6237\u4e3b\u76ee\u5f55\u4e0b\uff0c\u53ef\u4ee5\u96c6\u4e2d\u653e\u5230\u4e13\u95e8\u76ee\u5f55\u4e2d\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ts=\"$(date +%Y%m%d-%H%M%S)\"\ndebug_root=\"$HOME\/workspace\/system-debug\/fan\"\ndebug_dir=\"$debug_root\/mbpfan.before.${ts}\"\n\nmkdir -p \"$debug_dir\"\n\n{\n  echo \"===== date =====\"\n  date\n  echo\n  echo \"===== kernel =====\"\n  uname -a\n  echo\n  echo \"===== modules =====\"\n  lsmod | grep -E 'applesmc|coretemp' || true\n  echo\n  echo \"===== sensors =====\"\n  sensors\n  echo\n  echo \"===== applesmc fan files =====\"\n  find \/sys\/devices\/platform -path '*applesmc*' -type f \\\n    \\( -name 'fan*_input' -o -name 'fan*_min' -o -name 'fan*_max' -o -name 'fan*_output' -o -name 'fan*_manual' \\) \\\n    -print -exec cat {} \\;\n  echo\n  echo \"===== services =====\"\n  systemctl status fancontrol.service --no-pager || true\n  systemctl status mbpfan.service --no-pager || true\n} | tee \"$debug_dir\/status.txt\"\n\necho \"Saved to: $debug_dir\/status.txt\"\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u6837\u8bca\u65ad\u8bb0\u5f55\u4f1a\u4fdd\u5b58\u5230\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>~\/workspace\/system-debug\/fan\/mbpfan.before.YYYYMMDD-HHMMSS\/status.txt\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e94\u3001\u7981\u7528 fancontrol<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u7cfb\u7edf\u4e2d\u5b58\u5728 <code>fancontrol<\/code>\uff0c\u5e94\u5148\u505c\u7528\uff0c\u907f\u514d\u4e0e <code>mbpfan<\/code> \u51b2\u7a81\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl disable --now fancontrol.service 2&gt;\/dev\/null || true\nsystemctl status fancontrol.service --no-pager || true\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u670d\u52a1\u4e0d\u5b58\u5728\uff0c\u547d\u4ee4\u5931\u8d25\u53ef\u4ee5\u5ffd\u7565\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u516d\u3001\u786e\u4fdd\u6a21\u5757\u5f00\u673a\u52a0\u8f7d<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e3a\u4e86\u4fdd\u8bc1\u91cd\u542f\u540e\u4ecd\u80fd\u4f7f\u7528 Apple SMC \u4e0e CPU \u6e29\u5ea6\u8bfb\u53d6\uff0c\u53ef\u4ee5\u5199\u5165\u6a21\u5757\u52a0\u8f7d\u914d\u7f6e\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo tee \/etc\/modules-load.d\/apple-smc-fan.conf &gt;\/dev\/null &lt;&lt;'EOF'\napplesmc\ncoretemp\nEOF\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u7acb\u5373\u52a0\u8f7d\u4e00\u6b21\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo modprobe coretemp\nsudo modprobe applesmc\nlsmod | grep -E 'applesmc|coretemp'\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e03\u3001\u5b89\u88c5 mbpfan<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u7cfb\u7edf\u4f7f\u7528 AUR helper\uff0c\u53ef\u4ee5\u5b89\u88c5\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yay -S --needed mbpfan\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u666e\u901a\u5305\u4e0d\u53ef\u7528\uff0c\u53ef\u4ee5\u4f7f\u7528\u5f00\u53d1\u7248\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yay -S --needed mbpfan-git\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b89\u88c5\u540e\u786e\u8ba4\u547d\u4ee4\u5b58\u5728\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>command -v mbpfan\nmbpfan -h\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u516b\u3001\u914d\u7f6e mbpfan<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5148\u5907\u4efd\u539f\u914d\u7f6e\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ts=\"$(date +%Y%m%d-%H%M%S)\"\n\nif &#091; -f \/etc\/mbpfan.conf ]; then\n  sudo cp -a \/etc\/mbpfan.conf \"\/etc\/mbpfan.conf.${ts}\"\nfi\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5199\u5165\u5355\u98ce\u6247\u914d\u7f6e\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo tee \/etc\/mbpfan.conf &gt;\/dev\/null &lt;&lt;'EOF'<\/code><\/pre>\n\n\n<p>[general]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">min_fan1_speed = 1200 max_fan1_speed = 2923 low_temp = 50 high_temp = 65 max_temp = 80 polling_interval = 1 EOF<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u914d\u7f6e\u8bf4\u660e\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u53c2\u6570<\/th><th>\u8bf4\u660e<\/th><\/tr><\/thead><tbody><tr><td><code>min_fan1_speed<\/code><\/td><td>\u98ce\u6247\u6700\u4f4e\u8f6c\u901f\uff0c\u5e94\u4f7f\u7528\u672c\u673a\u5b9e\u9645\u8bfb\u53d6\u503c<\/td><\/tr><tr><td><code>max_fan1_speed<\/code><\/td><td>\u98ce\u6247\u6700\u9ad8\u8f6c\u901f\uff0c\u5e94\u4f7f\u7528\u672c\u673a\u5b9e\u9645\u8bfb\u53d6\u503c<\/td><\/tr><tr><td><code>low_temp<\/code><\/td><td>\u8fbe\u5230\u8be5\u6e29\u5ea6\u540e\u5f00\u59cb\u66f4\u79ef\u6781\u8c03\u901f<\/td><\/tr><tr><td><code>high_temp<\/code><\/td><td>\u8fbe\u5230\u8be5\u6e29\u5ea6\u540e\u660e\u663e\u63d0\u9ad8\u98ce\u6247\u8f6c\u901f<\/td><\/tr><tr><td><code>max_temp<\/code><\/td><td>\u8fbe\u5230\u8be5\u6e29\u5ea6\u540e\u5c3d\u91cf\u63a8\u9ad8\u98ce\u6247<\/td><\/tr><tr><td><code>polling_interval<\/code><\/td><td>\u6e29\u5ea6\u68c0\u67e5\u95f4\u9694\uff0c\u5355\u4f4d\u4e3a\u79d2<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u914d\u7f6e\u7684\u601d\u8def\u662f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>50\u00b0C \u5f00\u59cb\u4ecb\u5165\n65\u00b0C \u660e\u663e\u63d0\u901f\n80\u00b0C \u5c3d\u91cf\u63a8\u9ad8\u98ce\u6247\n\u6bcf 1 \u79d2\u68c0\u67e5\u4e00\u6b21\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u7531\u4e8e\u8bbe\u5907\u66fe\u7ecf\u51fa\u73b0\u9ad8\u6e29\u8fb9\u7f18\u72b6\u6001\uff0c\u521d\u59cb\u914d\u7f6e\u4e0d\u5b9c\u8fc7\u4e8e\u4fdd\u5b88\u3002\u540e\u7eed\u5982\u679c\u566a\u97f3\u8fc7\u5927\uff0c\u53ef\u4ee5\u518d\u653e\u7f13\u66f2\u7ebf\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e5d\u3001\u524d\u53f0\u6d4b\u8bd5 mbpfan<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u6b63\u5f0f\u542f\u7528 systemd \u670d\u52a1\u524d\uff0c\u5efa\u8bae\u5148\u524d\u53f0\u8fd0\u884c\u6d4b\u8bd5\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo timeout 20s mbpfan -f -v\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u6ca1\u6709\u660e\u663e\u9519\u8bef\uff0c\u518d\u542f\u7528\u670d\u52a1\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u51fa\u73b0\u7c7b\u4f3c\u9519\u8bef\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Could not set fan speed\nInput\/output error\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5219\u4e0d\u5e94\u7ee7\u7eed\u542f\u7528\u670d\u52a1\uff0c\u5e94\u5148\u68c0\u67e5 <code>applesmc<\/code> \u63a5\u53e3\u3001\u914d\u7f6e\u6587\u4ef6\u548c\u6743\u9650\u72b6\u6001\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5341\u3001\u542f\u7528 mbpfan \u670d\u52a1<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl daemon-reload\nsudo systemctl enable --now mbpfan.service\nsystemctl status mbpfan.service --no-pager\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u67e5\u770b\u65e5\u5fd7\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>journalctl -u mbpfan.service -b --no-pager -n 80\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u76ee\u6807\u72b6\u6001\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>active (running)\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5341\u4e00\u3001\u9a8c\u8bc1\u98ce\u6247\u662f\u5426\u53d7\u63a7<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u53ef\u4ee5\u76f4\u63a5\u89c2\u5bdf\u98ce\u6247\u8f6c\u901f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>watch -n1 'for f in \/sys\/devices\/platform\/applesmc.*\/fan*_input; do echo \"$f: $(cat \"$f\") RPM\"; done'\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u540c\u65f6\u89c2\u5bdf\u6e29\u5ea6\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>watch -n1 sensors\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u542f\u7528\u540e\uff0c\u5982\u679c\u6e29\u5ea6\u5728 50\u00b0C \u4ee5\u4e0a\uff0c\u98ce\u6247\u4e0d\u518d\u505c\u7559\u5728\u6700\u4f4e\u8f6c\u901f\uff0c\u800c\u662f\u4e0a\u5347\u5230\u66f4\u9ad8\u8f6c\u901f\uff0c\u4f8b\u5982\u7ea6 2000 RPM\uff0c\u8bf4\u660e\u63a7\u5236\u5df2\u7ecf\u751f\u6548\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5224\u65ad\u6807\u51c6\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>fan1_input \u9ad8\u4e8e\u6700\u4f4e\u8f6c\u901f\n\u6e29\u5ea6\u5347\u9ad8\u65f6\u98ce\u6247\u8f6c\u901f\u968f\u4e4b\u4e0a\u5347\nmbpfan.service \u4fdd\u6301 active\nCPU \u6e29\u5ea6\u4e0d\u518d\u8f7b\u6613\u63a5\u8fd1\u9ad8\u6e29\u4e0a\u9650\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5341\u4e8c\u3001\u542f\u7528\u540e\u7684\u72b6\u6001\u8bb0\u5f55<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u542f\u7528\u6210\u529f\u540e\uff0c\u53ef\u4ee5\u4fdd\u5b58\u4e00\u4efd\u72b6\u6001\u8bb0\u5f55\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ts=\"$(date +%Y%m%d-%H%M%S)\"\ndebug_root=\"$HOME\/workspace\/system-debug\/fan\"\ndebug_dir=\"$debug_root\/mbpfan.after.${ts}\"\n\nmkdir -p \"$debug_dir\"\n\n{\n  echo \"===== date =====\"\n  date\n  echo\n  echo \"===== mbpfan status =====\"\n  systemctl status mbpfan.service --no-pager\n  echo\n  echo \"===== mbpfan config =====\"\n  cat \/etc\/mbpfan.conf\n  echo\n  echo \"===== sensors =====\"\n  sensors\n  echo\n  echo \"===== fan input =====\"\n  for f in \/sys\/devices\/platform\/applesmc.*\/fan*_input; do\n    echo \"$f: $(cat \"$f\") RPM\"\n  done\n  echo\n  echo \"===== journal =====\"\n  journalctl -u mbpfan.service -b --no-pager -n 80\n} | tee \"$debug_dir\/status.txt\"\n\necho \"Saved to: $debug_dir\/status.txt\"\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4fdd\u5b58\u8def\u5f84\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>~\/workspace\/system-debug\/fan\/mbpfan.after.YYYYMMDD-HHMMSS\/status.txt\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5341\u4e09\u3001\u5982\u679c\u98ce\u6247\u566a\u97f3\u8fc7\u5927<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u521d\u59cb\u914d\u7f6e\u8fc7\u4e8e\u79ef\u6781\uff0c\u53ef\u4ee5\u5c06\u66f2\u7ebf\u8c03\u5f97\u6e29\u548c\u4e00\u4e9b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo tee \/etc\/mbpfan.conf &gt;\/dev\/null &lt;&lt;'EOF'<\/code><\/pre>\n\n\n<p>[general]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">min_fan1_speed = 1200 max_fan1_speed = 2923 low_temp = 55 high_temp = 70 max_temp = 85 polling_interval = 2 EOF sudo systemctl restart mbpfan.service<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u914d\u7f6e\u7684\u542b\u4e49\u662f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>55\u00b0C \u540e\u5f00\u59cb\u4ecb\u5165\n70\u00b0C \u540e\u660e\u663e\u63d0\u901f\n85\u00b0C \u540e\u5c3d\u91cf\u63a8\u9ad8\u98ce\u6247\n\u6bcf 2 \u79d2\u68c0\u67e5\u4e00\u6b21\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0d\u8fc7\uff0c\u5982\u679c\u8bbe\u5907\u6b64\u524d\u5df2\u7ecf\u51fa\u73b0\u63a5\u8fd1\u9ad8\u6e29\u4e0a\u9650\u7684\u60c5\u51b5\uff0c\u4e0d\u5efa\u8bae\u4e00\u5f00\u59cb\u5c31\u4f7f\u7528\u8fc7\u4e8e\u6e29\u548c\u7684\u914d\u7f6e\u3002\u5e94\u5148\u786e\u4fdd\u6e29\u5ea6\u88ab\u538b\u4f4f\uff0c\u518d\u9010\u6b65\u4f18\u5316\u566a\u97f3\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5341\u56db\u3001\u56de\u9000\u65b9\u6848<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c <code>mbpfan<\/code> \u8fd0\u884c\u5f02\u5e38\uff0c\u53ef\u4ee5\u7acb\u5373\u505c\u7528\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl disable --now mbpfan.service\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6062\u590d\u65e7\u914d\u7f6e\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls -1 \/etc\/mbpfan.conf.*\n\nsudo cp -a \/etc\/mbpfan.conf.YYYYMMDD-HHMMSS \/etc\/mbpfan.conf\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u9700\u8981\u5b8c\u5168\u53d6\u6d88\u672c\u6b21\u98ce\u6247\u63a7\u5236\u65b9\u6848\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl disable --now mbpfan.service\nsudo rm -f \/etc\/modules-load.d\/apple-smc-fan.conf\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u7136\u540e\u91cd\u542f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo reboot\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5341\u4e94\u3001\u6e29\u5ea6\u4e0e\u98ce\u6247\u76d1\u63a7\u811a\u672c<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e3a\u4e86\u907f\u514d\u6bcf\u6b21\u624b\u52a8\u7ec4\u5408 <code>sensors<\/code> \u548c <code>fan1_input<\/code>\uff0c\u53ef\u4ee5\u5728 <code>~\/bin<\/code> \u4e0b\u653e\u7f6e\u4e00\u4e2a\u76d1\u63a7\u811a\u672c\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u811a\u672c\u540d\u79f0\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>fanwatch\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u529f\u80fd\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u663e\u793a <code>mbpfan.service<\/code> \u72b6\u6001\uff1b<\/li>\n\n\n\n<li>\u663e\u793a Apple SMC \u98ce\u6247\u8f6c\u901f\uff1b<\/li>\n\n\n\n<li>\u663e\u793a\u98ce\u6247\u6700\u4f4e\/\u6700\u9ad8\u8f6c\u901f\uff1b<\/li>\n\n\n\n<li>\u663e\u793a\u6700\u9ad8\u82e5\u5e72\u4e2a\u6e29\u5ea6\u4f20\u611f\u5668\uff1b<\/li>\n\n\n\n<li>\u652f\u6301\u4e09\u5217\u6216\u56db\u5217\u8f93\u51fa\uff1b<\/li>\n\n\n\n<li>\u907f\u514d\u4f20\u611f\u5668\u6570\u91cf\u8fc7\u591a\u5bfc\u81f4\u5c4f\u5e55\u88ab\u5237\u6ee1\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b89\u88c5\u811a\u672c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir -p ~\/bin\n\nts=\"$(date +%Y%m%d-%H%M%S)\"\nif &#091; -f ~\/bin\/fanwatch ]; then\n  cp -a ~\/bin\/fanwatch ~\/bin\/fanwatch.\"$ts\"\nfi\n\ncat &gt; ~\/bin\/fanwatch &lt;&lt;'EOF'\n#!\/usr\/bin\/env bash\nset -u\n\ninterval=\"${1:-1}\"\ntopn=\"${2:-16}\"\ncols=\"${3:-4}\"\n\nif ! command -v sensors &gt;\/dev\/null 2&gt;&amp;1; then\n  echo \"Error: sensors not found. Install lm_sensors first.\"\n  exit 1\nfi\n\nif ! awk -v x=\"$interval\" 'BEGIN { exit !(x &gt; 0) }'; then\n  echo \"Usage: fanwatch &#091;interval_seconds] &#091;top_temperature_count] &#091;columns]\"\n  echo \"Example: fanwatch\"\n  echo \"Example: fanwatch 1 16 4\"\n  echo \"Example: fanwatch 1 12 3\"\n  exit 1\nfi\n\nif ! &#091;&#091; \"$topn\" =~ ^&#091;0-9]+$ ]] || &#091; \"$topn\" -lt 1 ]; then\n  echo \"top_temperature_count must be a positive integer.\"\n  exit 1\nfi\n\nif ! &#091;&#091; \"$cols\" =~ ^&#091;0-9]+$ ]] || &#091; \"$cols\" -lt 1 ] || &#091; \"$cols\" -gt 6 ]; then\n  echo \"columns must be an integer between 1 and 6.\"\n  exit 1\nfi\n\ntrap 'tput cnorm 2&gt;\/dev\/null || true; echo; exit 0' INT TERM\ntput civis 2&gt;\/dev\/null || true\n\nwhile true; do\n  clear\n\n  echo \"===== fanwatch =====\"\n  echo \"Time:     $(date '+%Y-%m-%d %H:%M:%S')\"\n  echo \"Refresh:  ${interval}s\"\n  echo \"Temps:    top ${topn}, ${cols} columns\"\n  echo\n\n  echo \"===== mbpfan =====\"\n  if systemctl is-active --quiet mbpfan.service 2&gt;\/dev\/null; then\n    echo \"mbpfan.service: active\"\n  else\n    echo \"mbpfan.service: inactive or not found\"\n  fi\n  echo\n\n  echo \"===== fan =====\"\n  found_fan=0\n  for f in \/sys\/devices\/platform\/applesmc.*\/fan*_input; do\n    &#091; -e \"$f\" ] || continue\n    found_fan=1\n\n    base=\"${f%_input}\"\n    fan_name=\"$(basename \"$base\")\"\n    rpm=\"$(cat \"$f\" 2&gt;\/dev\/null || echo '?')\"\n\n    min_file=\"${base}_min\"\n    max_file=\"${base}_max\"\n\n    min_rpm=\"?\"\n    max_rpm=\"?\"\n\n    &#091; -r \"$min_file\" ] &amp;&amp; min_rpm=\"$(cat \"$min_file\")\"\n    &#091; -r \"$max_file\" ] &amp;&amp; max_rpm=\"$(cat \"$max_file\")\"\n\n    printf \"%-8s %5s RPM   min=%s   max=%s\\n\" \"$fan_name\" \"$rpm\" \"$min_rpm\" \"$max_rpm\"\n  done\n\n  if &#091; \"$found_fan\" -eq 0 ]; then\n    echo \"No applesmc fan input found.\"\n  fi\n  echo\n\n  echo \"===== hottest temperatures =====\"\n\n  mapfile -t temps &lt; &lt;(\n    sensors | awk '\n      \/&#091;+-]&#091;0-9]+(\\.&#091;0-9]+)?\u00b0C\/ {\n        line = $0\n\n        if (match(line, \/&#091;+-]&#091;0-9]+(\\.&#091;0-9]+)?\u00b0C\/)) {\n          temp = substr(line, RSTART, RLENGTH)\n          gsub(\/\\+\/, \"\", temp)\n          gsub(\/\u00b0C\/, \"\", temp)\n          temp = temp + 0\n\n          label = line\n          sub(\/^&#091;&#091;:space:]]*\/, \"\", label)\n          sub(\/:.*\/, \"\", label)\n\n          if (temp &gt; 0 &amp;&amp; temp &lt; 120) {\n            printf \"%06.1f\\t%s\\n\", temp, label\n          }\n        }\n      }\n    ' | sort -nr | head -n \"$topn\" | awk -F'\\t' '\n      {\n        printf \"%-12s %5.1f\u00b0C\\n\", $2, $1\n      }\n    '\n  )\n\n  count=\"${#temps&#091;@]}\"\n\n  if &#091; \"$count\" -eq 0 ]; then\n    echo \"No valid positive temperature readings found.\"\n  else\n    rows=$(( (count + cols - 1) \/ cols ))\n    width=24\n\n    for ((r = 0; r &lt; rows; r++)); do\n      for ((c = 0; c &lt; cols; c++)); do\n        idx=$((r + c * rows))\n        if &#091; \"$idx\" -lt \"$count\" ]; then\n          printf \"%-${width}s\" \"${temps&#091;$idx]}\"\n        fi\n      done\n      echo\n    done\n  fi\n\n  echo\n  echo \"Press Ctrl+C to stop.\"\n  sleep \"$interval\"\ndone\nEOF\n\nchmod +x ~\/bin\/fanwatch\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f7f\u7528\u65b9\u5f0f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>fanwatch\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6bcf 1 \u79d2\u5237\u65b0\uff0c\u663e\u793a\u6700\u9ad8 16 \u4e2a\u6e29\u5ea6\uff0c\u56db\u5217\u8f93\u51fa\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>fanwatch 1 16 4\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6bcf 1 \u79d2\u5237\u65b0\uff0c\u663e\u793a\u6700\u9ad8 12 \u4e2a\u6e29\u5ea6\uff0c\u4e09\u5217\u8f93\u51fa\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>fanwatch 1 12 3\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6bcf 2 \u79d2\u5237\u65b0\uff0c\u663e\u793a\u6700\u9ad8 20 \u4e2a\u6e29\u5ea6\uff0c\u56db\u5217\u8f93\u51fa\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>fanwatch 2 20 4\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u5f53\u524d shell \u65e0\u6cd5\u8bc6\u522b <code>~\/bin<\/code>\uff0c\u53ef\u4ee5\u4e34\u65f6\u6267\u884c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>export PATH=\"$HOME\/bin:$PATH\"\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u957f\u671f\u53ef\u4ee5\u52a0\u5165 shell \u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>grep -q 'HOME\/bin' ~\/.bashrc || echo 'export PATH=\"$HOME\/bin:$PATH\"' &gt;&gt; ~\/.bashrc\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5341\u516d\u3001\u6700\u7ec8\u72b6\u6001\u5224\u65ad<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u6b21\u6e29\u5ea6\u63a7\u5236\u95ee\u9898\u7684\u6838\u5fc3\u4e0d\u662f\u786c\u4ef6\u5b8c\u5168\u5931\u6548\uff0c\u800c\u662f Linux \u4e0b\u9ed8\u8ba4\u98ce\u6247\u7b56\u7565\u504f\u4fdd\u5b88\uff0c\u5bfc\u81f4\u91cd\u4efb\u52a1\u65f6\u98ce\u6247\u6ca1\u6709\u8db3\u591f\u79ef\u6781\u5730\u63d0\u524d\u4ecb\u5165\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5904\u7406\u540e\u72b6\u6001\u53ef\u4ee5\u603b\u7ed3\u4e3a\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Apple SMC \u98ce\u6247\u63a5\u53e3\u53ef\u7528\napplesmc \u4e0e coretemp \u6a21\u5757\u6b63\u5e38\nfancontrol \u672a\u542f\u7528\nmbpfan \u5df2\u542f\u7528\n\u98ce\u6247\u53ef\u4ee5\u4ece\u6700\u4f4e\u8f6c\u901f\u968f\u6e29\u5ea6\u4e0a\u5347\n\u6e29\u5ea6\u63a7\u5236\u72b6\u6001\u660e\u663e\u6539\u5584\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u524d\u65b9\u6848\u7684\u957f\u671f\u539f\u5219\u662f\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u82f9\u679c\u786c\u4ef6\u4f18\u5148\u4f7f\u7528 <code>mbpfan<\/code> \u7ba1\u7406\u98ce\u6247\u3002<\/li>\n\n\n\n<li>\u4e0d\u540c\u65f6\u542f\u7528 <code>fancontrol<\/code> \u548c <code>mbpfan<\/code>\u3002<\/li>\n\n\n\n<li>\u98ce\u6247\u66f2\u7ebf\u5148\u4fdd\u8bc1\u5b89\u5168\uff0c\u518d\u9010\u6b65\u4f18\u5316\u566a\u97f3\u3002<\/li>\n\n\n\n<li>\u5982\u679c\u6e29\u5ea6\u4ecd\u9891\u7e41\u63a5\u8fd1\u9ad8\u6e29\u4e0a\u9650\uff0c\u5e94\u8003\u8651\u6e05\u7070\u3001\u6362\u7845\u8102\u3001\u68c0\u67e5\u6563\u70ed\u5668\u7b49\u786c\u4ef6\u7ef4\u62a4\u3002<\/li>\n\n\n\n<li>\u8c03\u8bd5\u8bb0\u5f55\u5e94\u96c6\u4e2d\u4fdd\u5b58\u5230\u4e13\u95e8\u76ee\u5f55\uff0c\u907f\u514d\u6563\u843d\u5728\u7528\u6237\u4e3b\u76ee\u5f55\u6839\u90e8\u3002<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u6458\u8981 \u4e00\u53f0\u8fd0\u884c Arch Linux \u7684\u82f9\u679c\u786c\u4ef6\u8bbe\u5907\uff0c\u5728\u91cd\u4efb\u52a1\u540e\u51fa\u73b0 CPU \u6e29\u5ea6\u63a5\u8fd1\u9ad8\u6e29\u4e0a\u9650\u7684\u60c5\u51b5\u3002\u6392\u67e5\u53d1\u73b0\uff0c\u7cfb\u7edf\u4e2d\u5df2\u7ecf\u52a0\u8f7d applesmc\uff0c\u5e76\u4e14\u5b58\u5728 fan1_input\u3001fan1_min\u3001fan1_max \u7b49 Apple SMC \u98ce\u6247\u63a5\u53e3\u3002\u8fd9\u8bf4\u660e\u8be5\u8bbe\u5907\u7684\u98ce\u6247\u63a7\u5236\u5e76\u4e0d\u9002\u5408\u4f18\u5148\u4f7f\u7528\u901a\u7528 fancontrol\uff0c\u800c\u66f4\u9002\u5408\u4f7f\u7528\u9762\u5411\u82f9\u679c\u786c\u4ef6\u7684 mbpfan\u3002 \u6700\u7ec8\u5904\u7406\u65b9\u6848\u662f\uff1a \u5b9e\u65bd\u540e\uff0c\u98ce\u6247\u4e0d\u518d\u957f\u671f\u505c\u7559\u5728\u6700\u4f4e\u8f6c\u901f\u9644\u8fd1\uff0c\u800c\u662f\u53ef\u4ee5\u968f\u6e29\u5ea6\u4e0a\u5347\u81ea\u52a8\u63d0\u9ad8\u8f6c\u901f\uff0c\u6e29\u5ea6\u63a7\u5236\u72b6\u6001\u660e\u663e\u6539\u5584\u3002 \u4e00\u3001\u95ee\u9898\u80cc\u666f \u8bbe\u5907\u5728\u91cd\u4efb\u52a1\u540e\u66fe\u51fa\u73b0 CPU \u6e29\u5ea6\u63a5\u8fd1\u9ad8\u6e29\u4e0a\u9650\u7684\u60c5\u51b5\u3002\u867d\u7136\u6e29\u5ea6\u968f\u540e\u4e0b\u964d\uff0c\u4f46\u8be5\u73b0\u8c61\u8bf4\u660e\u7cfb\u7edf\u9ed8\u8ba4\u98ce\u6247\u7b56\u7565\u53ef\u80fd\u504f\u4fdd\u5b88\uff0c\u5728 Linux \u4e0b\u6ca1\u6709\u53ca\u65f6\u628a\u98ce\u6247\u8f6c\u901f\u62c9\u9ad8\u3002 \u521d\u59cb\u89c2\u5bdf\u5230\u7684\u72b6\u6001\u5927\u81f4\u5982\u4e0b\uff1a \u8fd9\u79cd\u60c5\u51b5\u7684\u98ce\u9669\u5728\u4e8e\uff1a \u56e0\u6b64\uff0c\u672c\u6b21\u76ee\u6807\u4e0d\u662f\u8ffd\u6c42\u6781\u9650\u6027\u80fd\uff0c\u800c\u662f\u8ba9\u98ce\u6247\u66f4\u65e9\u4ecb\u5165\uff0c\u907f\u514d CPU \u5728\u91cd\u4efb\u52a1\u4e0b\u53cd\u590d\u51b2\u5230\u9ad8\u6e29\u8fb9\u7f18\u3002 \u4e8c\u3001\u786e\u8ba4\u98ce\u6247\u63a7\u5236\u63a5\u53e3 \u9996\u5148\u786e\u8ba4\u7cfb\u7edf\u662f\u5426\u52a0\u8f7d\u4e86\u82f9\u679c\u786c\u4ef6\u76f8\u5173\u6a21\u5757\uff1a \u5982\u679c\u8f93\u51fa\u4e2d\u5b58\u5728\uff1a \u8bf4\u660e\u7cfb\u7edf\u5df2\u7ecf\u5177\u5907\u8bfb\u53d6 Apple SMC \u4e0e CPU \u6e29\u5ea6\u7684\u57fa\u7840\u6761\u4ef6\u3002 \u7136\u540e\u786e\u8ba4\u98ce\u6247\u63a5\u53e3\uff1a \u5982\u679c\u53ef\u4ee5\u770b\u5230\u7c7b\u4f3c\u6587\u4ef6\uff1a \u8bf4\u660e\u98ce\u6247\u662f\u901a\u8fc7 Apple SMC \u66b4\u9732\u51fa\u6765\u7684\u3002 \u5178\u578b\u8bfb\u6570\u53ef\u80fd\u7c7b\u4f3c\uff1a \u8fd9\u4e9b\u6570\u503c\u5e94\u4ee5\u672c\u673a\u5b9e\u9645\u8bfb\u53d6\u7ed3\u679c\u4e3a\u51c6\u3002 \u4e09\u3001\u4e3a\u4ec0\u4e48\u9009\u62e9 mbpfan \u800c\u4e0d\u662f fancontrol fancontrol &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[53],"tags":[],"class_list":["post-5817","post","type-post","status-publish","format-standard","hentry","category-uhxu8g57sqdyc6p"],"_links":{"self":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/5817","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/comments?post=5817"}],"version-history":[{"count":1,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/5817\/revisions"}],"predecessor-version":[{"id":5819,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/5817\/revisions\/5819"}],"wp:attachment":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/media?parent=5817"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/categories?post=5817"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/tags?post=5817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}