• よくある質問と答え (Frequently Asked Questions and Answer)

    Wifiは使用できるのか
    Can we use Wifi in this distribution?


    結論として、Xenomaiカーネルを備えたRaspberry Pi4(当ディストリビューション)でWifiを使用することにまだ成功していません。
    おそらく、Wifi関連のドライバーソースのいくつかを修正する必要があります。
    symphonic-mpdでwifiを使用するには、次の対策が必要です。

    • カーネルモジュール(brcmfmac、cfg80211、rfkill、brcmutil)を追加
    • ファームウェアをインストール(例:brcmfmac43455-sdio.bin)
    • libnlのインストール
    • wpa_supplicant(wpa_supplicant.conf)のインストールと構成
    • Systemdのネットワーク構成(/etc/network/wlan0.network)
    • Systemd自動起動構成(/lib/systemd/system/wpa_supplicant.service)
    • config.txtでのWifi有効化(dtoverlay = disable-wifiをコメントアウト)

    これにより、wifiに接続できますが、しばらくするとネットワークがハングアップします。
    この問題の正確な原因はわかりません。
    Wifi関連のドライバーはXenomaiと互換性がない可能性が非常に高いです。 カーネルソースを修正することで問題が解決するかどうかはわかりません。

    In conclusion, I have not yet had any success using Wifi on the Raspberry Pi 4 with the Xenomai Kernel.

    Perhaps I need to fix some of the Wifi-related driver sources.
    In order to use wifi with symphonic-mpd, the following measures are necessary.

    • Add a kernel module (brcmfmac, cfg80211, rfkill, brcmutil).
    • Install the firmware (e.g. brcmfmac43455-sdio.bin)
    • Installing libnl
    • Installation and configuration of wpa_supplicant(wpa_supplicant.conf)
    • Systemd's network configuration(/etc/network/wlan0.network)
    • Systemd auto-start configuration(/lib/systemd/system/wpa_supplicant.service)
    • Wifi enabled in config.txt (comment out dtoverlay=disable-wifi)

    If you setup these settings you can access to WiFi, but network hangs up later.
    I don't know the exact cause of this problem.

    It is very likely that the Wifi-related drivers are not compatible with Xenomai. I don't know if fixing the kernel source will solve the problem or not.

  • Pi4のメモリ制限について
    About Pi4 model and memory Limit


    本来は予約している @パパリウス さまに記載いただく予定でしたが、
    念の為設定方法だけ記載します。
    (なぜメインメモリ容量を制限しないとならないかは追って記載)

    /boot/cofig.txtにこのパラメーターを追記することにより、Raspberry Pi 4Bが使用するRAMの合計量(メガバイト単位)を指定します。

    total_mem=2048
    

    なお、現状のSDカードイメージでは既に2GBに制限されていますので、通常は変更する必要は無いと思われます。
    (1GBモデルでtotal_mem=2048と記載の場合どういう挙動をするかは不明)

    If you write below parameter in /boot/config.txt, you can limit the RAM usage of your Raspberry Pi 4B board.

    total_mem=2048
    

    Current SD card image has this setting, so you don't have to write it.

  • Windows10/11 で smpd.local へアクセス出来ない場合
    Can we use smpd.local URL via Windows10/11


    Windows10/11 をお使いでブラウザの場所欄に http://smpd.local と入力しても、エラーになってwebuiが表示されない場合は以下の通り操作してみて下さい。

    1. こちらにある通り、Windows ファイアーウォールの設定でUDPの5353ポートが閉じられている場合がありますので、これを許可します。

    2. 前項の操作でも正常に動作しない場合、WiFi環境下だと smpd サーバからの応答パケットが欠落する場合があります。
      可能であれば有線LAN環境で接続して使用してみて下さい。

    3. これでも上手く行かない場合は、他のOSのアプリケーションを活用するなどの方法で smpd サーバのIPアドレスを調べる(そのままDHCP環境で使用する場合)か、
      smpd サーバに固定IPアドレスを付与して運用して下さい。

    なお、Apple 社製品類やLinux などのOSでAvahi 関連がきちんとインストールされている場合はこのような現象は発生しません。

    If you are using Windows10/11 and you can't access to http://smpd.local, please try these settings.

    1. you have to setup the windows firewall setting to enable udp 5353 port.
    2. If you change the windows firewall setting below but doesn't work well, try the wired ethernet connection (WiFi environment cause mDNS repley losts).
    3. If your environment does not work well, please use with static IP address.
  • Android スマホ・タブレットで smpd.local にアクセスできない
    Can't access to smpd.local via Android Smartphone, tablet


    smpd.local のホスト名→IPアドレス変換はmDNSという技術を使用しているのですが、本技術は Android には対応していません。
    Android のサードパーティアプリで smpd サーバの IP アドレスを調査する場合mDNS Discoveryというものを一応お勧めしておきます。
    当該アプリを開いてService Typeの欄に raop と入力し「Searchボタン」を押すと、************@I2S(*の部分は恐らくMACアドレス)という名前で smpd サーバが表示されます。

    In Android smartphones and tablets, mDNS not supported.