RoonBridgeを使いたい
I want to use RoonBridge
- RoonBridge 関連ライブラリのインストール(Install the RoonBridge related libraries.)
app install roonbridge
- 再起動(reboot)
よくある質問と答え (Frequently Asked Questions and Answer)
app install roonbridge
TCP 6600 ポートを開ける必要があります。
You have to activate TCP port 6600.
v1,0以降のSMPDではsudoを使わないことと、/etc/modulesの位置が変わったことから、
https://nw-electric.way-nifty.com/blog/sb32pro_com.html
に記載されているコマンドを送信できなくなっています。
以下、対処方法です。
①
nano /etc/modules-load.d/modules.conf
で #i2c-dev
を i2c-dev
に書き換える。
この方法の場合、②とは異なり、一度書き換えればいつでもコマンドを送信できます。しかしながら、好みの設定が固まったら②の方法が良いと思われます。
② パパリウス さんからの情報です。
modprobe i2c-dev
で一時的にi2c-devモジュールを読み込むことができます。
上記、いずれの場合も
https://nw-electric.way-nifty.com/blog/sb32pro_com.html
に記載されているコマンドのsudo
を除いて送信してください。
symphonic-mpdでは以下のバージョンを推奨しています。
We recommend the following firmware version.
BOOTLOADER:
Tue 10 Sep 10:41:50 UTC 2019 (1568112110)
VL805:
000137AD
推奨バージョンのファームウェアはSDイメージの/opt/rpi-eepromに格納してあります。
These firmware is stored in / opt / rpi-eeprom of the SD image.
新しいRaspberry Pi4を購入したら、念のためにファームウェアのバージョンをご確認してください。
If you bought the new Raspberry Pi board, please check the firmware version just in case.
<ファームウェアのバージョン確認 check the firmware version>
cd /opt/rpi-eeprom
git checkout .
./rpi-eeprom-update
<出力例 output sample>
BCM2711 detected
BOOTLOADER: up-to-date
CURRENT: Tue 10 Sep 10:41:50 UTC 2019 (1568112110)
LATEST: Tue 10 Sep 10:41:50 UTC 2019 (1568112110)
FW DIR: /opt/rpi-eeprom/firmware/critical
VL805: up-to-date
CURRENT: 000137ad
LATEST: 000137ad
推奨バージョンより古い場合は、以下のコマンドでアップデートしてください。
If it is older than the recommended version, update it with the following command.
<ファームウェアのアップデート firmware update command>
./rpi-eeprom-update -a
もし推奨バージョンより新しい場合は、推奨バージョンに戻していただくこともご検討ください。
If you are newer than the recommended version, please consider reverting to the recommended version.
<推奨バージョンへの戻し firmware revert to recommended version>
./rpi-eeprom-update -f firmware/critical/pieeprom-2019-09-10.bin
./rpi-eeprom-update -u firmware/critical/vl805-000137ad.bin
なお、念の為RaspberryPi本体の不具合かどうかを確認するため、他のディストリがブートするかを確認してみてください(他のディストリがブートすれば、以下に示すとおりの原因だと推察されます)。
In addition, just in case, in order to check if it is a malfunction of the Raspberry Pi main unit, please check whether other distributions boot (If other distributions boot, it is presumed that the cause is as shown below) .
config.txtのover_voltageを調整してみてください。
Try adjusting the over_voltage in config.txt.
config.txtはSDカードイメージを作成するために使用したPCにイメージ作成済みSDカードを差込した際に表示されるドライブ内にあります。
config.txt is in the drive that appears when you insert the imaged SD card into the PC used to create the SD card image.
当該ファイルをエディタで編集してみてください。
(当該パーティションはfat32形式でフォーマットされているため、Windows,Mac,Linux他ほぼ全てのOSでアクセス可能です。)
Try editing the file with an editor.
(Since the partition is formatted in fat32 format, it can be accessed by almost all OS such as Windows, Mac, Linux.)
v1.0.7以降ではconfig.txtに規定値として over_voltage=1
と記載されていますが、これを0〜4の範囲で変化させて様子を見てください。
In v1.0.7 or later, `` ʻover_voltage = 1``` is described as the default value in config.txt, but please change this in the range of 0 to 4 and see how it looks.
なぜこの値を調整する必要があるのか?
Why you have to adjust this value.
RaspberryPiのSoC(CPU周り)の電圧を調整する機能としてover_voltageがあります。
symphonic-mpdでは通常のディストリとは異なりRaspberryPiのクロックを
固定で運用させているため、この値を調整しないとブートしないことがあります。
There is over_voltage as a function to adjust the voltage of SoC (around CPU) of Raspberry Pi.
In symphonic-mpd, unlike a normal distribution, the clock of Raspberry Pi is used.
Since it is operated fixedly, it may not boot unless this value is adjusted.
config.txtを手動で編集した箇所はありますか?
例えば dtoverlay=rpi-dac
の行など。
Is there any part where you manually edited config.txt?
For example, the line dtoverlay = rpi-dac
.
dtoverlayで始まる行は、行頭以外にコメント#
を含んだ場合は正常にconfig.txtを解析出来ずブートしないことがあります。
Lines starting with dtoverlay may not parse config.txt normally and may not boot if the comment #
is included in addition to the beginning of the line.
dtoverlay=hifiberry-digi-pro #rpi-dac
のような書き方をしていると起動しませんので、
修正してから再度起動の確認をしてみてください。
If you write something like dtoverlay = hifiberry-digi-pro # rpi-dac
, it will not start, so Please correct it and check the startup again.
config.txtの下記の行を全てコメントアウトしてみてください。
Try commenting out all the lines below in config.txt.
# CLOCK
force_turbo=1
arm_freq=1188
core_freq=594
core_freq_min=594
sdram_freq=594
sdram_freq_min=594
gpu_freq=1
gpu_freq_min=1
クロック設定が原因ならこれで起動してくれるかもしれません。
If the clock setting is the cause, this may start it.
symphonic-mpdでは上記の設定でクロックを固定運用しているため、RaspberryPiの個体によっては上記設定に対応出来ず起動しないことが稀にあります。
In symphonic-mpd, the clock is fixedly operated with the above settings, so depending on the individual Raspberry Pi, the above settings may not be supported and it may not start.
config.txtと同じディレクトリにある dt-blob.bin
をリネームしてみてください。
例えばdt-blob.bin.bakなど。
Try renaming dt-blob.bin
in the same directory as config.txt.
For example, dt-blob.bin.bak.
PLL設定が原因ならこれで起動すると思われます。
This will probably start if the PLL settings are the cause.
There is also a report that it was possible to boot by changing the SD card used for image creation to that of another manufacturer.
We also recommend that you give it a try.
結論として、Xenomaiカーネルを備えたRaspberry Pi4(当ディストリビューション)でWifiを使用することにまだ成功していません。
おそらく、Wifi関連のドライバーソースのいくつかを修正する必要があります。
symphonic-mpdで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.
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.
本来は予約している @パパリウス さまに記載いただく予定でしたが、
念の為設定方法だけ記載します。
(なぜメインメモリ容量を制限しないとならないかは追って記載)
/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 をお使いでブラウザの場所欄に http://smpd.local
と入力しても、エラーになってwebuiが表示されない場合は以下の通り操作してみて下さい。
こちらにある通り、Windows ファイアーウォールの設定でUDPの5353ポートが閉じられている場合がありますので、これを許可します。
前項の操作でも正常に動作しない場合、WiFi環境下だと smpd サーバからの応答パケットが欠落する場合があります。
可能であれば有線LAN環境で接続して使用してみて下さい。
これでも上手く行かない場合は、他の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.
In Android smartphones and tablets, mDNS not supported.