{"id":485,"date":"2022-04-12T12:05:12","date_gmt":"2022-04-12T04:05:12","guid":{"rendered":"https:\/\/cqiot.cc\/?p=485"},"modified":"2022-04-14T23:42:24","modified_gmt":"2022-04-14T15:42:24","slug":"x86%e8%80%81%e5%b9%b3%e6%9d%bf%e3%80%81linux%e7%b3%bb%e7%bb%9f%e3%80%81klipper%e3%80%81klipperscreen%e5%ae%89%e8%a3%85%e8%ae%b0%e5%bd%95","status":"publish","type":"post","link":"https:\/\/cqiot.cc\/index.php\/2022\/04\/12\/x86%e8%80%81%e5%b9%b3%e6%9d%bf%e3%80%81linux%e7%b3%bb%e7%bb%9f%e3%80%81klipper%e3%80%81klipperscreen%e5%ae%89%e8%a3%85%e8%ae%b0%e5%bd%95\/","title":{"rendered":"X86\u8001\u5e73\u677f\u3001Linux\u7cfb\u7edf\u3001klipper\u3001KlipperScreen\u5b89\u88c5\u8bb0\u5f55"},"content":{"rendered":"\r\n<p>2022-4-14\u66f4\u65b0\uff1a\u63a5\u4e0a\u6253\u5370USB\u540e\u8fde\u63a5\u4e0d\u4e0a\u6253\u5370\u673a\uff0c\u67e5\u770b\u65e5\u5fd7\u6587\u4ef6\u63d0\u793a\u4e32\u53e3\u8bbf\u95ee\u6743\u9650\u4e0d\u591f\uff0c\u4f7f\u7528\u547d\u4ee4\u63d0\u5347\u6743\u9650\u3002<\/p>\r\n<p>https:\/\/blog.csdn.net\/c417469898\/article\/details\/117510172<\/p>\r\n<pre class=\"hl\"><code class=\"\">ls -l \/dev\/ttyAM0\u00a0 #\u67e5\u770b\u7528\u6237\u7ec4\u00a0<\/code><\/pre>\r\n<p>\u518d\u4f7f\u7528\u547d\u4ee4\u628a\u81ea\u5df1\u7684\u7528\u6237\u52a0\u5165\u5230\u7528\u6237\u7ec4\u540e\u91cd\u542f\u3002<\/p>\r\n<p><code><\/code><\/p>\r\n<pre class=\"hl\"><code class=\"\">sudo usermod -aG dialout username<\/code><\/pre>\r\n<p><code><\/code><\/p>\r\n<p>\u5e73\u677f\u578b\u53f7 \u9177\u6bd4\u9b54\u65b9 U100GT 2+32G \u4e4b\u524d\u5728\u5e73\u677f\u4e0a\u5b89\u88c5\u8fc7debian11\u7cfb\u7edf\uff0c\u4e5f\u6210\u529f\u7684\u5b89\u88c5\u597d\u4e86klipperscreen\u6b63\u5e38\u663e\u793a\uff0c\u4f46\u65e0\u5948debian\u7cfb\u7edf\u8ba4\u4e0d\u5230rtl8723be\u7684\u65e0\u7ebf\u7f51\u5361\uff0c\u8fd8\u662f\u51b3\u5b9a\u91cd\u65b0\u627e\u4e00\u4e2a\u80fd\u65e0\u7ebf\u7f51\u5361\u6b63\u5e38\u4f7f\u7528\u7684linux\u7248\u672c\uff0c<a href=\"https:\/\/www.bodhilinux.com\/\">bodhilinux<\/a> \uff0c\u8fd9\u4e2alinux\u7cfb\u7edf\u662f\u57fa\u4e8eubuntu 20.04\u7684 \u5b89\u88c5\u597d\u89e6\u6478\u6b63\u5e38\uff0c\u65e0\u7ebf\u6b63\u5e38\uff0c\u7a33\u5b9a\u6027\u4e5f\u597d\uff0c\u5f00\u673a\u4e00\u665a\u4e0a\u672a\u6b7b\u673a\uff0c\u7184\u5c4f\u5524\u9192\u4e5f\u6b63\u5e38\uff0c\u8fd9\u6b21\u7b80\u5355\u8bb0\u5f55\u4e86\u4e00\u4e0b\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684\u9519\u8bef\u53ca\u89e3\u51b3\u65b9\u6cd5\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u4e00\u3001\u7cfb\u7edf\u5b89\u88c5<\/p>\r\n\r\n\r\n\r\n<p>https:\/\/www.bodhilinux.com\/ \u4e0b\u8f7d\u6700\u65b064\u4f4d\u7248\u672c\uff0c\u5c06bootia32.efi\u590d\u5236\u5230\/efi\/boot\u76ee\u5f55\u4e0b\u624d\u80fd\u542f\u52a8\u5b89\u88c5\u754c\u9762\uff0c\u6587\u4ef6\u4e0b\u8f7d\u5730\u5740\u3002\u5b89\u88c5\u8fc7\u7a0b\u7565\u8fc7\u3002\u3002<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-80908e5b-9259-4b78-ae54-ff7ed52c5868\" href=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/bootia32.zip\">bootia32<\/a><a class=\"wp-block-file__button\" href=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/bootia32.zip\" download=\"\" aria-describedby=\"wp-block-file--media-80908e5b-9259-4b78-ae54-ff7ed52c5868\">\u4e0b\u8f7d<\/a><\/div>\r\n\r\n\r\n\r\n<p>\u4e8c\u3001\u4f7f\u7528\u5b89\u88c5\u52a9\u624b\u5b89\u88c5klipper\\moonraker\\fluidd\u6216\u8005\u3002\u3002\u3002<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>cd ~\r\n\r\ngit clone https:\/\/github.com\/th33xitus\/kiauh.git\r\n\r\n.\/kiauh\/kiauh.sh<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u5b89\u88c5\u6b65\u9aa4\u7565\u8fc7\u3002\u3002klipper \u548cfluidd\u7684\u5b89\u88c5\u6559\u7a0b\u5f88\u591a\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u4e09\u3001\u5b89\u88c5klipperscreen<\/p>\r\n\r\n\r\n\r\n<p>\u5728\u5b89\u88c5klipperscreen\u7684\u8fc7\u7a0b\u4e2d\u4f1a\u62a5\u5f88\u591a\u9519\u8bef\u3002\u4e0b\u9762\u5c06\u6211\u8bb0\u5f55\u7684\u9519\u8bef\u63d0\u793a\u8bb0\u5f55\u4e00\u4e0b\u3002<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>pi@klipper:~\/KlipperScreen\/scripts$ .\/KlipperScreen-install.sh\r\nUpdate package data\r\n[sudo] password for pi:\r\n\u547d\u4e2d:1 http:\/\/security.ubuntu.com\/ubuntu focal-security InRelease\r\n\u547d\u4e2d:2 http:\/\/cn.archive.ubuntu.com\/ubuntu focal InRelease\r\n\u547d\u4e2d:3 http:\/\/cn.archive.ubuntu.com\/ubuntu focal-updates InRelease\r\n\u547d\u4e2d:4 http:\/\/packages.bodhilinux.com\/bodhi focal InRelease\r\n\u547d\u4e2d:5 http:\/\/cn.archive.ubuntu.com\/ubuntu focal-backports InRelease\r\n\u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868... \u5b8c\u6210\r\nChecking for broken packages...\r\nNo broken packages\r\nInstalling KlipperScreen dependencies\r\n\u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868... \u5b8c\u6210\r\n\u6b63\u5728\u5206\u6790\u8f6f\u4ef6\u5305\u7684\u4f9d\u8d56\u5173\u7cfb\u6811\r\n\u6b63\u5728\u8bfb\u53d6\u72b6\u6001\u4fe1\u606f... \u5b8c\u6210\r\nE: \u65e0\u6cd5\u5b9a\u4f4d\u8f6f\u4ef6\u5305 xserver-xorg-video-fbturbo\r\nCreating virtual environment\r\nRequirement already satisfied: numpy==1.21.4 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (1.21.4)\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nRequirement already satisfied: jinja2==3.1.1 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (3.1.1)\r\nRequirement already satisfied: MarkupSafe&gt;=2.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from jinja2==3.1.1) (2.1.1)\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nRequirement already satisfied: matplotlib==3.5.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (3.5.0)\r\nRequirement already satisfied: cycler&gt;=0.10 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (0.11.0)\r\nRequirement already satisfied: packaging&gt;=20.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (21.3)\r\nRequirement already satisfied: pyparsing&gt;=2.2.1 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (3.0.7)\r\nRequirement already satisfied: fonttools&gt;=4.22.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (4.32.0)\r\nRequirement already satisfied: setuptools-scm&gt;=4 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (6.4.2)\r\nRequirement already satisfied: numpy&gt;=1.17 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (1.21.4)\r\nRequirement already satisfied: pillow&gt;=6.2.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (9.1.0)\r\nRequirement already satisfied: python-dateutil&gt;=2.7 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (2.8.2)\r\nRequirement already satisfied: kiwisolver&gt;=1.0.1 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (1.4.2)\r\nRequirement already satisfied: six&gt;=1.5 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from python-dateutil&gt;=2.7-&gt;matplotlib==3.5.0) (1.16.0)\r\nRequirement already satisfied: setuptools in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from setuptools-scm&gt;=4-&gt;matplotlib==3.5.0) (44.0.0)\r\nRequirement already satisfied: tomli&gt;=1.0.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from setuptools-scm&gt;=4-&gt;matplotlib==3.5.0) (2.0.1)\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nRequirement already satisfied: netifaces==0.11.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (0.11.0)\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nRequirement already satisfied: requests==2.27.1 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (2.27.1)\r\nRequirement already satisfied: urllib3&lt;1.27,&gt;=1.21.1 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from requests==2.27.1) (1.26.9)\r\nRequirement already satisfied: idna&lt;4,&gt;=2.5 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from requests==2.27.1) (3.3)\r\nRequirement already satisfied: certifi&gt;=2017.4.17 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from requests==2.27.1) (2021.10.8)\r\nRequirement already satisfied: charset-normalizer~=2.0.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from requests==2.27.1) (2.0.12)\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nRequirement already satisfied: websocket-client==1.3.2 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (1.3.2)\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nCollecting pycairo==1.21.0\r\n  Using cached pycairo-1.21.0.tar.gz (340 kB)\r\n  Installing build dependencies ... done\r\n  Getting requirements to build wheel ... done\r\n  Preparing metadata (pyproject.toml) ... done\r\nBuilding wheels for collected packages: pycairo\r\n  Building wheel for pycairo (pyproject.toml) ... error\r\n  ERROR: Command errored out with exit status 1:\r\n   command: \/home\/pi\/.KlipperScreen-env\/bin\/python \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages\/pip\/_vendor\/pep517\/in_process\/_in_process.py build_wheel \/tmp\/tmpt4nd_9nw\r\n       cwd: \/tmp\/pip-install-ds4_9ohl\/pycairo_16d66c4cacb1433cbafd910dec931d2c\r\n  Complete output (12 lines):\r\n  running bdist_wheel\r\n  running build\r\n  running build_py\r\n  creating build\r\n  creating build\/lib.linux-x86_64-cpython-38\r\n  creating build\/lib.linux-x86_64-cpython-38\/cairo\r\n  copying cairo\/__init__.py -&gt; build\/lib.linux-x86_64-cpython-38\/cairo\r\n  copying cairo\/__init__.pyi -&gt; build\/lib.linux-x86_64-cpython-38\/cairo\r\n  copying cairo\/py.typed -&gt; build\/lib.linux-x86_64-cpython-38\/cairo\r\n  running build_ext\r\n  'pkg-config' not found.\r\n  Command ['pkg-config', '--print-errors', '--exists', '<strong><mark class=\"has-inline-color has-vivid-red-color\" style=\"background-color: rgba(0, 0, 0, 0);\">cairo &gt;= 1.15.10<\/mark><\/strong>']\r\n  ----------------------------------------\r\n  ERROR: Failed building wheel for pycairo\r\nFailed to build pycairo\r\nERROR: Could not build wheels for pycairo, which is required to install pyproject.toml-based projects\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nError: pip install exited with status code 0\r\nUnable to install dependencies, aborting install.<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u597d\u50cf\u662fcairo\u8fd9\u4e2a\u7248\u672c\u4e0d\u5bf9<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>sudo apt-get install libcairo2-dev<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u6211\u4f7f\u7528\u4e0b\u9762\u8fd9\u6bb5\u4ee3\u7801\u540e\u53c8\u51fa\u73b0\u5982\u4e0b\u63d0\u793a<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>pi@klipper:~\/KlipperScreen\/scripts$ .\/KlipperScreen-install.sh\r\nUpdate package data\r\n\u547d\u4e2d:1 http:\/\/packages.bodhilinux.com\/bodhi focal InRelease\r\n\u547d\u4e2d:2 http:\/\/cn.archive.ubuntu.com\/ubuntu focal InRelease\r\n\u547d\u4e2d:3 http:\/\/cn.archive.ubuntu.com\/ubuntu focal-updates InRelease\r\n\u547d\u4e2d:4 http:\/\/security.ubuntu.com\/ubuntu focal-security InRelease\r\n\u547d\u4e2d:5 http:\/\/cn.archive.ubuntu.com\/ubuntu focal-backports InRelease\r\n\u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868... \u5b8c\u6210\r\nChecking for broken packages...\r\nNo broken packages\r\nInstalling KlipperScreen dependencies\r\n\u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868... \u5b8c\u6210\r\n\u6b63\u5728\u5206\u6790\u8f6f\u4ef6\u5305\u7684\u4f9d\u8d56\u5173\u7cfb\u6811\r\n\u6b63\u5728\u8bfb\u53d6\u72b6\u6001\u4fe1\u606f... \u5b8c\u6210\r\nE: \u65e0\u6cd5\u5b9a\u4f4d\u8f6f\u4ef6\u5305 xserver-xorg-video-fbturbo\r\nCreating virtual environment\r\nRequirement already satisfied: numpy==1.21.4 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (1.21.4)\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nRequirement already satisfied: jinja2==3.1.1 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (3.1.1)\r\nRequirement already satisfied: MarkupSafe&gt;=2.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from jinja2==3.1.1) (2.1.1)\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nRequirement already satisfied: matplotlib==3.5.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (3.5.0)\r\nRequirement already satisfied: setuptools-scm&gt;=4 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (6.4.2)\r\nRequirement already satisfied: pillow&gt;=6.2.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (9.1.0)\r\nRequirement already satisfied: kiwisolver&gt;=1.0.1 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (1.4.2)\r\nRequirement already satisfied: python-dateutil&gt;=2.7 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (2.8.2)\r\nRequirement already satisfied: cycler&gt;=0.10 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (0.11.0)\r\nRequirement already satisfied: numpy&gt;=1.17 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (1.21.4)\r\nRequirement already satisfied: fonttools&gt;=4.22.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (4.32.0)\r\nRequirement already satisfied: pyparsing&gt;=2.2.1 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (3.0.7)\r\nRequirement already satisfied: packaging&gt;=20.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (21.3)\r\nRequirement already satisfied: six&gt;=1.5 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from python-dateutil&gt;=2.7-&gt;matplotlib==3.5.0) (1.16.0)\r\nRequirement already satisfied: setuptools in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from setuptools-scm&gt;=4-&gt;matplotlib==3.5.0) (44.0.0)\r\nRequirement already satisfied: tomli&gt;=1.0.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from setuptools-scm&gt;=4-&gt;matplotlib==3.5.0) (2.0.1)\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nRequirement already satisfied: netifaces==0.11.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (0.11.0)\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nRequirement already satisfied: requests==2.27.1 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (2.27.1)\r\nRequirement already satisfied: urllib3&lt;1.27,&gt;=1.21.1 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from requests==2.27.1) (1.26.9)\r\nRequirement already satisfied: idna&lt;4,&gt;=2.5 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from requests==2.27.1) (3.3)\r\nRequirement already satisfied: charset-normalizer~=2.0.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from requests==2.27.1) (2.0.12)\r\nRequirement already satisfied: certifi&gt;=2017.4.17 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from requests==2.27.1) (2021.10.8)\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nRequirement already satisfied: websocket-client==1.3.2 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (1.3.2)\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nCollecting pycairo==1.21.0\r\n  Using cached pycairo-1.21.0.tar.gz (340 kB)\r\n  Installing build dependencies ... done\r\n  Getting requirements to build wheel ... done\r\n  Preparing metadata (pyproject.toml) ... done\r\nBuilding wheels for collected packages: pycairo\r\n  Building wheel for pycairo (pyproject.toml) ... done\r\n  Created wheel for pycairo: filename=pycairo-1.21.0-cp38-cp38-linux_x86_64.whl size=324225 sha256=49e6cc7b7294496dd8e64060b650296cacad7caca18930cf4a695c2f677d5fd3\r\n  Stored in directory: \/home\/pi\/.cache\/pip\/wheels\/29\/70\/ec\/35acc9bec1042aaa2f67009ae5cf615be86d335593bd5565e2\r\nSuccessfully built pycairo\r\nInstalling collected packages: pycairo\r\nSuccessfully installed pycairo-1.21.0\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nCollecting PyGObject==3.42.0\r\n  Downloading PyGObject-3.42.0.tar.gz (716 kB)\r\n     |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 716 kB 190 kB\/s\r\n  Installing build dependencies ... done\r\n  Getting requirements to build wheel ... done\r\n  Preparing metadata (pyproject.toml) ... done\r\nRequirement already satisfied: pycairo&gt;=1.16.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from PyGObject==3.42.0) (1.21.0)\r\nBuilding wheels for collected packages: PyGObject\r\n  Building wheel for PyGObject (pyproject.toml) ... error\r\n  ERROR: Command errored out with exit status 1:\r\n   command: \/home\/pi\/.KlipperScreen-env\/bin\/python \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages\/pip\/_vendor\/pep517\/in_process\/_in_process.py build_wheel \/tmp\/tmpvxmw2wgh\r\n       cwd: \/tmp\/pip-install-mzs61b5m\/pygobject_a2b18126b10a4d58b05f1f3c7e542f3b\r\n  Complete output (44 lines):\r\n  running bdist_wheel\r\n  running build\r\n  running build_py\r\n  creating build\r\n  creating build\/lib.linux-x86_64-cpython-38\r\n  creating build\/lib.linux-x86_64-cpython-38\/pygtkcompat\r\n  copying pygtkcompat\/pygtkcompat.py -&gt; build\/lib.linux-x86_64-cpython-38\/pygtkcompat\r\n  copying pygtkcompat\/__init__.py -&gt; build\/lib.linux-x86_64-cpython-38\/pygtkcompat\r\n  copying pygtkcompat\/generictreemodel.py -&gt; build\/lib.linux-x86_64-cpython-38\/pygtkcompat\r\n  creating build\/lib.linux-x86_64-cpython-38\/gi\r\n  copying gi\/_error.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\r\n  copying gi\/pygtkcompat.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\r\n  copying gi\/__init__.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\r\n  copying gi\/_ossighelper.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\r\n  copying gi\/_propertyhelper.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\r\n  copying gi\/_option.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\r\n  copying gi\/types.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\r\n  copying gi\/importer.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\r\n  copying gi\/_signalhelper.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\r\n  copying gi\/_gtktemplate.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\r\n  copying gi\/module.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\r\n  copying gi\/_constants.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\r\n  copying gi\/docstring.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\r\n  creating build\/lib.linux-x86_64-cpython-38\/gi\/repository\r\n  copying gi\/repository\/__init__.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\/repository\r\n  creating build\/lib.linux-x86_64-cpython-38\/gi\/overrides\r\n  copying gi\/overrides\/GIMarshallingTests.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\/overrides\r\n  copying gi\/overrides\/GdkPixbuf.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\/overrides\r\n  copying gi\/overrides\/GLib.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\/overrides\r\n  copying gi\/overrides\/GObject.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\/overrides\r\n  copying gi\/overrides\/__init__.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\/overrides\r\n  copying gi\/overrides\/Gtk.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\/overrides\r\n  copying gi\/overrides\/Pango.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\/overrides\r\n  copying gi\/overrides\/Gio.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\/overrides\r\n  copying gi\/overrides\/keysyms.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\/overrides\r\n  copying gi\/overrides\/Gdk.py -&gt; build\/lib.linux-x86_64-cpython-38\/gi\/overrides\r\n  running build_ext\r\n  Package gobject-introspection-1.0 was not found in the pkg-config search path.\r\n  Perhaps you should add the directory containing `gobject-introspection-1.0.pc'\r\n  to the PKG_CONFIG_PATH environment variable\r\n  No package 'gobject-introspection-1.0' found\r\n  Command '('pkg-config', '--print-errors', '--exists', 'gobject-introspection-1.0 &gt;= 1.56.0')' returned non-zero exit status 1.\r\n\r\n  Try installing it with: '<strong><mark class=\"has-inline-color has-vivid-red-color\" style=\"background-color: rgba(0, 0, 0, 0);\">sudo apt install libgirepository1.0-dev<\/mark><\/strong>'\r\n  ----------------------------------------\r\n  ERROR: Failed building wheel for PyGObject\r\nFailed to build PyGObject\r\nERROR: Could not build wheels for PyGObject, which is required to install pyproject.toml-based projects\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nError: pip install exited with status code 0\r\nUnable to install dependencies, aborting install.<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u6267\u884c\u5b89\u88c5\u547d\u4ee4<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>sudo apt install libgirepository1.0-dev<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u53c8\u51fa\u73b0\u5982\u4e0b\u63d0\u793a<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>pi@klipper:~\/KlipperScreen\/scripts$ .\/KlipperScreen-install.sh\r\nUpdate package data\r\n\u547d\u4e2d:1 http:\/\/packages.bodhilinux.com\/bodhi focal InRelease\r\n\u547d\u4e2d:2 http:\/\/cn.archive.ubuntu.com\/ubuntu focal InRelease\r\n\u83b7\u53d6:3 http:\/\/security.ubuntu.com\/ubuntu focal-security InRelease [114 kB]\r\n\u83b7\u53d6:4 http:\/\/cn.archive.ubuntu.com\/ubuntu focal-updates InRelease [114 kB]\r\n\u83b7\u53d6:5 http:\/\/security.ubuntu.com\/ubuntu focal-security\/main amd64 c-n-f Metadata [9,900 B]\r\n\u83b7\u53d6:6 http:\/\/cn.archive.ubuntu.com\/ubuntu focal-backports InRelease [108 kB]\r\n\u83b7\u53d6:7 http:\/\/cn.archive.ubuntu.com\/ubuntu focal-updates\/main amd64 Packages [1,712 kB]\r\n\u83b7\u53d6:8 http:\/\/cn.archive.ubuntu.com\/ubuntu focal-updates\/main Translation-en [320 kB]\r\n\u5df2\u4e0b\u8f7d 2,378 kB\uff0c\u8017\u65f6 9\u79d2 (260 kB\/s)\r\n\u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868... \u5b8c\u6210\r\nChecking for broken packages...\r\nNo broken packages\r\nInstalling KlipperScreen dependencies\r\n\u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868... \u5b8c\u6210\r\n\u6b63\u5728\u5206\u6790\u8f6f\u4ef6\u5305\u7684\u4f9d\u8d56\u5173\u7cfb\u6811\r\n\u6b63\u5728\u8bfb\u53d6\u72b6\u6001\u4fe1\u606f... \u5b8c\u6210\r\nE: \u65e0\u6cd5\u5b9a\u4f4d\u8f6f\u4ef6\u5305 xserver-xorg-video-fbturbo\r\nCreating virtual environment\r\nRequirement already satisfied: numpy==1.21.4 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (1.21.4)\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nRequirement already satisfied: jinja2==3.1.1 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (3.1.1)\r\nRequirement already satisfied: MarkupSafe&gt;=2.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from jinja2==3.1.1) (2.1.1)\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nRequirement already satisfied: matplotlib==3.5.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (3.5.0)\r\nRequirement already satisfied: cycler&gt;=0.10 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (0.11.0)\r\nRequirement already satisfied: numpy&gt;=1.17 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (1.21.4)\r\nRequirement already satisfied: pyparsing&gt;=2.2.1 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (3.0.7)\r\nRequirement already satisfied: packaging&gt;=20.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (21.3)\r\nRequirement already satisfied: setuptools-scm&gt;=4 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (6.4.2)\r\nRequirement already satisfied: fonttools&gt;=4.22.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (4.32.0)\r\nRequirement already satisfied: pillow&gt;=6.2.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (9.1.0)\r\nRequirement already satisfied: kiwisolver&gt;=1.0.1 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (1.4.2)\r\nRequirement already satisfied: python-dateutil&gt;=2.7 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from matplotlib==3.5.0) (2.8.2)\r\nRequirement already satisfied: six&gt;=1.5 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from python-dateutil&gt;=2.7-&gt;matplotlib==3.5.0) (1.16.0)\r\nRequirement already satisfied: setuptools in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from setuptools-scm&gt;=4-&gt;matplotlib==3.5.0) (44.0.0)\r\nRequirement already satisfied: tomli&gt;=1.0.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from setuptools-scm&gt;=4-&gt;matplotlib==3.5.0) (2.0.1)\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nRequirement already satisfied: netifaces==0.11.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (0.11.0)\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nRequirement already satisfied: requests==2.27.1 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (2.27.1)\r\nRequirement already satisfied: certifi&gt;=2017.4.17 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from requests==2.27.1) (2021.10.8)\r\nRequirement already satisfied: urllib3&lt;1.27,&gt;=1.21.1 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from requests==2.27.1) (1.26.9)\r\nRequirement already satisfied: idna&lt;4,&gt;=2.5 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from requests==2.27.1) (3.3)\r\nRequirement already satisfied: charset-normalizer~=2.0.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from requests==2.27.1) (2.0.12)\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nRequirement already satisfied: websocket-client==1.3.2 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (1.3.2)\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nRequirement already satisfied: pycairo==1.21.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (1.21.0)\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nWARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)'))': \/simple\/pygobject\/\r\nCollecting PyGObject==3.42.0\r\n  Using cached PyGObject-3.42.0.tar.gz (716 kB)\r\n  Installing build dependencies ... done\r\n  Getting requirements to build wheel ... done\r\n  Preparing metadata (pyproject.toml) ... done\r\nRequirement already satisfied: pycairo&gt;=1.16.0 in \/home\/pi\/.KlipperScreen-env\/lib\/python3.8\/site-packages (from PyGObject==3.42.0) (1.21.0)\r\nBuilding wheels for collected packages: PyGObject\r\n  Building wheel for PyGObject (pyproject.toml) ... done\r\n  Created wheel for PyGObject: filename=PyGObject-3.42.0-cp38-cp38-linux_x86_64.whl size=868954 sha256=00631c59b5084fdcb3ae6296c978682a0cfd91ae0f1e8e982423bdbf3aab0a2a\r\n  Stored in directory: \/home\/pi\/.cache\/pip\/wheels\/d7\/c9\/c1\/b1a55bb0d533707eb1f730c8d82f9ef255c167bafc7a00824a\r\nSuccessfully built PyGObject\r\nInstalling collected packages: PyGObject\r\nSuccessfully installed PyGObject-3.42.0\r\nWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.\r\nYou should consider upgrading via the '\/home\/pi\/.KlipperScreen-env\/bin\/python -m pip install --upgrade pip' command.\r\nVirtual enviroment created\r\nInstalling KlipperScreen unit file\r\nCreated symlink \/etc\/systemd\/system\/multi-user.target.wants\/KlipperScreen.service <mark class=\"has-inline-color has-vivid-red-color\" style=\"background-color: rgba(0, 0, 0, 0);\">\u2192 \/etc\/systemd\/system\/KlipperScreen.service.\r\nAdding X11 Xwrapper\r\nallowed_users=anybody\r\nKlipperScreen was installed\r\nStarting service...<\/mark>\r\n<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u672a\u62a5\u9519\uff0c\u611f\u89c9\u5df2\u7ecf\u5b89\u88c5\u597d\u4e86\u3002\u3002\u4f46\u662f\u8fd8\u662f\u6ca1\u6709\u663e\u793a\u51faklipperscreen\u7684\u754c\u9762\uff0c\u67e5\u770b\u4e86xorg\u65e5\u5fd7\/home\/pi\/.local\/share\/xorg\/Xorg.0.log<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>[ 63967.551] \r\nX.Org X Server 1.20.13\r\nX Protocol Version 11, Revision 0\r\n[ 63967.551] Build Operating System: linux Ubuntu\r\n[ 63967.551] Current Operating System: Linux klipper 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC 2021 x86_64\r\n[ 63967.551] Kernel command line: BOOT_IMAGE=\/boot\/vmlinuz-5.4.0-72-generic root=UUID=f9648e35-9b87-43ce-a3d8-c8c22da47ae4 ro quiet splash\r\n[ 63967.551] Build Date: 14 December 2021  02:14:13PM\r\n[ 63967.551] xorg-server 2:1.20.13-1ubuntu1~20.04.2 (For technical support please see http:\/\/www.ubuntu.com\/support) \r\n[ 63967.551] Current version of pixman: 0.38.4\r\n[ 63967.551] \tBefore reporting problems, check http:\/\/wiki.x.org\r\n\tto make sure that you have the latest version.\r\n[ 63967.551] Markers: (--) probed, (**) from config file, (==) default setting,\r\n\t(++) from command line, (!!) notice, (II) informational,\r\n\t(WW) warning, (EE) error, (NI) not implemented, (??) unknown.\r\n[ 63967.552] (==) Log file: \"\/home\/pi\/.local\/share\/xorg\/Xorg.0.log\", Time: Tue Apr 12 10:56:56 2022\r\n[ 63967.552] (==) Using system config directory \"\/usr\/share\/X11\/xorg.conf.d\"\r\n[ 63967.553] (==) No Layout section.  Using the first Screen section.\r\n[ 63967.553] (==) No screen section available. Using defaults.\r\n[ 63967.553] (**) |--&gt;Screen \"Default Screen Section\" (0)\r\n[ 63967.553] (**) |   |--&gt;Monitor \"&lt;default monitor&gt;\"\r\n[ 63967.554] (==) No monitor specified for screen \"Default Screen Section\".\r\n\tUsing a default monitor configuration.\r\n[ 63967.554] (==) Automatically adding devices\r\n[ 63967.554] (==) Automatically enabling devices\r\n[ 63967.554] (==) Automatically adding GPU devices\r\n[ 63967.554] (==) Automatically binding GPU devices\r\n[ 63967.554] (==) Max clients allowed: 256, resource mask: 0x1fffff\r\n[ 63967.554] (WW) The directory \"\/usr\/share\/fonts\/X11\/cyrillic\" does not exist.\r\n[ 63967.554] \tEntry deleted from font path.\r\n[ 63967.554] (WW) The directory \"\/usr\/share\/fonts\/X11\/100dpi\/\" does not exist.\r\n[ 63967.554] \tEntry deleted from font path.\r\n[ 63967.554] (WW) The directory \"\/usr\/share\/fonts\/X11\/75dpi\/\" does not exist.\r\n[ 63967.554] \tEntry deleted from font path.\r\n[ 63967.554] (WW) The directory \"\/usr\/share\/fonts\/X11\/100dpi\" does not exist.\r\n[ 63967.554] \tEntry deleted from font path.\r\n[ 63967.555] (WW) The directory \"\/usr\/share\/fonts\/X11\/75dpi\" does not exist.\r\n[ 63967.555] \tEntry deleted from font path.\r\n[ 63967.555] (==) FontPath set to:\r\n\t\/usr\/share\/fonts\/X11\/misc,\r\n\t\/usr\/share\/fonts\/X11\/Type1,\r\n\tbuilt-ins\r\n[ 63967.555] (==) ModulePath set to \"\/usr\/lib\/xorg\/modules\"\r\n[ 63967.555] (II) The server relies on udev to provide the list of input devices.\r\n\tIf no devices become available, reconfigure udev or disable AutoAddDevices.\r\n[ 63967.555] (II) Loader magic: 0x5559ce4e4020\r\n[ 63967.555] (II) Module ABI versions:\r\n[ 63967.555] \tX.Org ANSI C Emulation: 0.4\r\n[ 63967.555] \tX.Org Video Driver: 24.1\r\n[ 63967.555] \tX.Org XInput driver : 24.1\r\n[ 63967.555] \tX.Org Server Extension : 10.0\r\n[ 63967.557] (--) using VT number 2\r\n\r\n[ 63967.557] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration\r\n[ 63967.559] (II) xfree86: Adding drm device (\/dev\/dri\/card0)\r\n[ 63967.577] (--) PCI:*(0@0:2:0) 8086:0f31:8086:0f31 rev 11, Mem @ 0xa0000000\/4194304, 0x80000000\/536870912, I\/O @ 0x00001000\/8, BIOS @ 0x????????\/131072\r\n[ 63967.577] (II) LoadModule: \"glx\"\r\n[ 63967.578] (II) Loading \/usr\/lib\/xorg\/modules\/extensions\/libglx.so\r\n[ 63967.580] (II) Module glx: vendor=\"X.Org Foundation\"\r\n[ 63967.580] \tcompiled for 1.20.13, module version = 1.0.0\r\n[ 63967.580] \tABI class: X.Org Server Extension, version 10.0\r\n[ 63967.580] (==) Matched modesetting as autoconfigured driver 0\r\n[ 63967.581] (==) Matched fbdev as autoconfigured driver 1\r\n[ 63967.581] (==) Matched vesa as autoconfigured driver 2\r\n[ 63967.581] (==) Assigned the driver to the xf86ConfigLayout\r\n[ 63967.581] (II) LoadModule: \"modesetting\"\r\n[ 63967.581] (II) Loading \/usr\/lib\/xorg\/modules\/drivers\/modesetting_drv.so\r\n[ 63967.581] (II) Module modesetting: vendor=\"X.Org Foundation\"\r\n[ 63967.581] \tcompiled for 1.20.13, module version = 1.20.13\r\n[ 63967.581] \tModule class: X.Org Video Driver\r\n[ 63967.581] \tABI class: X.Org Video Driver, version 24.1\r\n[ 63967.581] (II) LoadModule: \"fbdev\"\r\n[ 63967.582] (II) Loading \/usr\/lib\/xorg\/modules\/drivers\/fbdev_drv.so\r\n[ 63967.582] (II) Module fbdev: vendor=\"X.Org Foundation\"\r\n[ 63967.582] \tcompiled for 1.20.1, module version = 0.5.0\r\n[ 63967.582] \tModule class: X.Org Video Driver\r\n[ 63967.582] \tABI class: X.Org Video Driver, version 24.0\r\n[ 63967.582] (II) LoadModule: \"vesa\"\r\n[ 63967.582] (II) Loading \/usr\/lib\/xorg\/modules\/drivers\/vesa_drv.so\r\n[ 63967.582] (II) Module vesa: vendor=\"X.Org Foundation\"\r\n[ 63967.582] \tcompiled for 1.20.4, module version = 2.4.0\r\n[ 63967.582] \tModule class: X.Org Video Driver\r\n[ 63967.582] \tABI class: X.Org Video Driver, version 24.0\r\n[ 63967.582] (II) modesetting: Driver for Modesetting Kernel Drivers: kms\r\n[ 63967.583] (II) FBDEV: driver for framebuffer: fbdev\r\n[ 63967.583] (II) VESA: driver for VESA chipsets: vesa\r\n[ 63967.583] (EE) \r\nFatal server error:\r\n[ 63967.583] (EE)<mark class=\"has-inline-color has-vivid-red-color\" style=\"background-color: rgba(0, 0, 0, 0);\"><strong> xf86OpenConsole: Cannot open virtual console 2 (Permission denied)<\/strong><\/mark>\r\n[ 63967.583] (EE) \r\n[ 63967.583] (EE) \r\nPlease consult the The X.Org Foundation support \r\n\t at http:\/\/wiki.x.org\r\n for help. \r\n[ 63967.583] (EE) Please also check the log file at \"\/home\/pi\/.local\/share\/xorg\/Xorg.0.log\" for additional information.\r\n[ 63967.583] (EE) \r\n[ 63967.583] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor\r\n[ 63967.583] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor\r\n[ 63967.583] (EE) Server terminated with error (1). Closing log file.\r\n<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u641c\u7d22\u6807\u7ea2\u9519\u8bef \u5728\u8fd9\u91cc\u627e\u5230 \u4e00\u4e2a\u65b9\u6cd5\uff1ahttps:\/\/blog.csdn.net\/zx156955\/article\/details\/119143192<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>sudo vim \/etc\/X11\/Xwrapper.config<\/code><\/pre>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>needs_root_rights = yes<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u7f16\u8f91\u4e0a\u9762\u7684\u6587\u4ef6 \u52a0\u4e0a\u8fd9\u4e00\u53e5<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>sudo chown pi \/dev\/tty2  #\u8fd9\u53e5\u4e5f\u6267\u884c\u8fc7\uff0c\u4e0d\u77e5\u9053\u6709\u6ca1\u6709\u7528pi\u662f\u6211\u8bbe\u7f6e\u7684\u7528\u6237\u540d<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u8fd8\u662f\u663e\u793a\u7684\u7cfb\u7edf\u539f\u6709\u7684\u684c\u9762<\/p>\r\n\r\n\r\n\r\n<p>\u5378\u8f7d\u539f\u6709\u684c\u9762<\/p>\r\n\r\n\r\n\r\n<p>\u67e5\u770b\/etc\/init.d\u4e0b\u6709lightdm<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>sudo apt-get remove lightdm<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u5378\u8f7d\u4e86\u684c\u9762 \u753b\u9762\u5c31\u6709\u663e\u793a\u4e86\uff0c\u624b\u52a8\u663e\u793a\u4ee3\u7801\uff1a<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>DISPLAY=localhost:0 \/home\/pi\/.KlipperScreen-env\/bin\/python \/home\/pi\/KlipperScreen\/screen.py -c \/home\/pi\/klipper_config\/KlipperScreen.conf<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u8fd8\u6709\u4e00\u4e9b\u547d\u4ee4\u5fd8\u8bb0\u4e86\u662f\u4e0d\u662f\u8fd0\u884c\u8fc7\uff0c\u4e5f\u8bb0\u5f55\u4e00\u4e0b\u3002<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>sudo apt-get install libcairo2-dev\r\nsudo apt install libc6\r\nsudo apt install libffi8\r\nsudo apt install libgirepository1.0-dev\r\nsudo apt install xinit\r\nsudo apt install xinit xorg\r\nsudo apt remove phosh\r\nsudo apt install xserver-xorg-input-libinput<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u5b89\u88c5\u597d\u540e\u7684\u56fe\u7247<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" class=\"wp-image-487\" src=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115915-1024x768.jpg\" alt=\"\" srcset=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115915-1024x768.jpg 1024w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115915-300x225.jpg 300w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115915-768x576.jpg 768w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115915-1536x1152.jpg 1536w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115915-2048x1536.jpg 2048w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115915-660x495.jpg 660w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\r\n<figcaption>klipperscreen\u4e3b\u754c\u9762<\/figcaption>\r\n<\/figure>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" class=\"wp-image-488\" src=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115927-1024x768.jpg\" alt=\"\" srcset=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115927-1024x768.jpg 1024w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115927-300x225.jpg 300w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115927-768x576.jpg 768w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115927-1536x1152.jpg 1536w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115927-2048x1536.jpg 2048w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115927-660x495.jpg 660w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\r\n<figcaption>klipperscreen\u8bbe\u7f6e\u754c\u9762<\/figcaption>\r\n<\/figure>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" class=\"wp-image-489\" src=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115933-1024x768.jpg\" alt=\"\" srcset=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115933-1024x768.jpg 1024w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115933-300x225.jpg 300w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115933-768x576.jpg 768w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115933-1536x1152.jpg 1536w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115933-2048x1536.jpg 2048w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115933-660x495.jpg 660w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\r\n<figcaption>klipperscreen\u7cfb\u7edf\u4fe1\u606f<\/figcaption>\r\n<\/figure>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" class=\"wp-image-490\" src=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115949-1024x768.jpg\" alt=\"\" srcset=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115949-1024x768.jpg 1024w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115949-300x225.jpg 300w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115949-768x576.jpg 768w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115949-1536x1152.jpg 1536w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115949-2048x1536.jpg 2048w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115949-660x495.jpg 660w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\r\n<figcaption>klipperscreen\u8bbe\u7f6e<\/figcaption>\r\n<\/figure>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-491\" src=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115955-1024x768.jpg\" alt=\"\" width=\"840\" height=\"630\" srcset=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115955-1024x768.jpg 1024w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115955-300x225.jpg 300w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115955-768x576.jpg 768w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115955-1536x1152.jpg 1536w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115955-2048x1536.jpg 2048w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/IMG_20220412_115955-660x495.jpg 660w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/>\r\n<figcaption>klipperscreenWIFI\u754c\u9762<\/figcaption>\r\n<\/figure>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" class=\"wp-image-493\" src=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/1649736215937-1024x768.jpg\" alt=\"\" srcset=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/1649736215937-1024x768.jpg 1024w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/1649736215937-300x225.jpg 300w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/1649736215937-768x576.jpg 768w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/1649736215937-1536x1152.jpg 1536w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/1649736215937-2048x1536.jpg 2048w, https:\/\/cqiot.cc\/wp-content\/uploads\/2022\/04\/1649736215937-660x495.jpg 660w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\r\n<figcaption>\u9177\u6bd4\u9b54\u65b9 U100GT<\/figcaption>\r\n<\/figure>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>2022-4-14\u66f4\u65b0\uff1a\u63a5\u4e0a\u6253\u5370USB\u540e\u8fde\u63a5\u4e0d\u4e0a\u6253\u5370\u673a\uff0c&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,13],"tags":[18,16,15,17,19],"class_list":["post-485","post","type-post","status-publish","format-standard","hentry","category-3dprint","category-linux","tag-3d","tag-klipper","tag-klipperscreen","tag-x86","tag-19"],"_links":{"self":[{"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/posts\/485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/comments?post=485"}],"version-history":[{"count":1,"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/posts\/485\/revisions"}],"predecessor-version":[{"id":494,"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/posts\/485\/revisions\/494"}],"wp:attachment":[{"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/media?parent=485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/categories?post=485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/tags?post=485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}