Debianでnon-free対応

Aspire Switch 10 の起動ログに

[   10.650227] rtl8723bs: acquire FW from file:rtlwifi/rtl8723bs_nic.bin
[   10.650301] rtl8723bs mmc0:0001:1: firmware: failed to load rtlwifi/rtl8723bs_nic.bin (-2)
[   10.652184] rtl8723bs mmc0:0001:1: Direct firmware load for rtlwifi/rtl8723bs_nic.bin failed with error -2

とあるので、non-free-firmware から rtlwifi/rtl8723bs_nic.bin を導入してみる

リポジトリの追加

apt-add-repositoryコマンドを使用するため、software-properties-commonパッケージをインストールする

$ sudo apt install -y software-properties-common

/etc/apt/sources.listにnon-freeリポジトリを追加する

$ sudo apt-add-repository non-free
Adding component(s) 'non-free' to all repositories.
Press [ENTER] to continue or Ctrl-c to cancel.
Added non-free to: deb http://deb.debian.org/debian bookworm main non-free
Added non-free to: deb-src http://deb.debian.org/debian bookworm main non-free
Added non-free to: deb http://deb.debian.org/debian-security/ bookworm-security main non-free
Added non-free to: deb-src http://deb.debian.org/debian-security/ bookworm-security main non-free
Added non-free to: deb http://deb.debian.org/debian bookworm-updates main non-free
Added non-free to: deb-src http://deb.debian.org/debian bookworm-updates main non-free
ヒット:1 http://deb.debian.org/debian bookworm InRelease
ヒット:2 http://deb.debian.org/debian-security bookworm-security InRelease
ヒット:3 http://deb.debian.org/debian bookworm-updates InRelease
取得:4 http://deb.debian.org/debian bookworm/non-free Sources [78.0 kB]
取得:5 http://deb.debian.org/debian bookworm/non-free amd64 Packages [96.9 kB]
取得:6 http://deb.debian.org/debian bookworm/non-free Translation-en [66.8 kB]
取得:7 http://deb.debian.org/debian bookworm/non-free amd64 DEP-11 Metadata [4,428 B]
取得:8 http://deb.debian.org/debian bookworm/non-free DEP-11 48x48 Icons [748 B]
取得:9 http://deb.debian.org/debian bookworm/non-free DEP-11 64x64 Icons [27.5 kB]
274 kB を 2秒 で取得しました (156 kB/s)
パッケージリストを読み込んでいます... 完了
N: Repository 'Debian bookworm' changed its 'non-free component' value from 'non-free' to 'non-free non-free-firmware'
N: More information about this can be found online in the Release notes at: https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split

この場合は、non-free-firmware が追加されないので注意...
non-free-firmware を対応したうえで

$ sudo apt install firmware-realtek

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2023-11-24 (金) 22:55:06