7,164
edits
(→setup) |
|||
(13 intermediate revisions by the same user not shown) | |||
Line 20: | Line 20: | ||
raspi-config | raspi-config | ||
# edit: /boot/config.txt | # edit: /boot/config.txt | ||
# | # add: hdmi_ignore_cec_init=1 | ||
apt-get install emacs-nox | apt-get install emacs-nox | ||
apt-get install cec-utils | apt-get install cec-utils | ||
Line 28: | Line 28: | ||
aptitude purge nodejs npm | aptitude purge nodejs npm | ||
npm install -g --unsafe-perm homebridge | npm install -g --unsafe-perm homebridge | ||
npm install -g homebridge-config-ui-x | |||
npm install -g homebridge-cmdswitch2 | npm install -g homebridge-cmdswitch2 | ||
aptitude install supervisor | aptitude install supervisor | ||
Line 41: | Line 42: | ||
setup sshtunnel | setup sshtunnel | ||
setup querierd | setup querierd | ||
gpasswd -a homebridge dialout | |||
</syntaxhighlight> | |||
== disable IPv6 == | |||
/boot/cmdline.txt | |||
<syntaxhighlight lang="text" enclose="div"> | |||
ipv6.disable=1 consoleblank=0 | |||
</syntaxhighlight> | |||
補足wようやくIPv6ネーティブな環境下になったので、IPv6 life を楽しんでますw | |||
== Raspbian bookworm == | |||
32bit のままで。upgrade しようとしたが、raspi-firmware の要求する構造 /boot が /boot/firmware うんぬんで死亡。この際なので 64bit(aarch64)版でクリーンインストールした。 | |||
まだ若干安定してなさそげ。 | |||
そーいや 「Raspbian」 は ポリコレ的wにマズそげなので、「Raspberry Pi OS」と称するらしいw | |||
cec-client で変な挙動 | |||
<syntaxhighlight lang="text" enclose="div"> | |||
# Enable DRM VC4 V3D driver | |||
#dtoverlay=vc4-kms-v3d | |||
dtoverlay=vc4-fkms-v3d | |||
max_framebuffers=2 | |||
</syntaxhighlight> | |||
する。 | |||
'''cec-client が修正されたので不要。''' | |||
'''libcecのアップデートでまた壊れた''' | |||
USB で変なエラー | |||
<syntaxhighlight lang="text" enclose="div"> | |||
dtoverlay=dwc2 | |||
</syntaxhighlight> | |||
する。 | |||
'''修正されたので不要。''' | |||
また変な挙動になったので、これで修正 (以下HDMI, USB関連すべて) | |||
<syntaxhighlight lang="text" enclose="div"> | |||
hdmi_ignore_cec_init=1 | |||
hdmi_force_hotplug=1 | |||
hdmi_drive=2 | |||
dtoverlay=dwc | |||
</syntaxhighlight> | |||
bookworm の仕様変更なのだが、rsyslog が無くなり、あらゆる journalctl らしい。 | |||
<syntaxhighlight lang="bash" enclose="div"> | |||
journalctl -ef | |||
</syntaxhighlight> | </syntaxhighlight> | ||
が tail -F /var/log/syslog の代わりw | |||
python で独自 module のインストールが制限された。pipx 使えとの事。 | |||
https://www.debian.org/releases/stable/i386/release-notes/ch-information.ja.html | |||
参照。 |