Skip to content

Instantly share code, notes, and snippets.

@nns779
Created January 30, 2021 16:11
Show Gist options
  • Save nns779/c9fc366f57156e7185f2721b73c5d28c to your computer and use it in GitHub Desktop.
Save nns779/c9fc366f57156e7185f2721b73c5d28c to your computer and use it in GitHub Desktop.

Raspberry Pi 4B + PX-MLT5PE + BonDriverProxy_Linux 安定化メモ

構成によっては効果がない可能性があります

検証環境

  • SBC: Raspberry Pi 4 Model B 4GB
  • OS: Raspberry Pi OS (Raspbian buster)
  • Kernel: 5.4.72-v7l+, 5.4.83-v7l+
  • ISDB Receiver: PLEX PX-MLT5PE V1.0 (firmware version: 1.4.0.0)
  • DTV Software: u-n-k-n-o-w-n/BonDriverProxy_Linux, nns779/BonDriver_LinuxPTX

カーネルコマンドラインの設定

/boot/cmdline.txtcoherent_pool=4M を追加
(RPi4Bは関係ないかもしれないが念のため)

カーネルモジュールパラメータの設定

/etc/modprobe.d/px4_drv.conf を作成し以下の行を追加

options px4_drv urb_max_packets=1632 max_urbs=5 discard_null_packets=Y

px4_drvのコンパイル&インストール

ドライバをmakeする際にITEDTV_BUS_USE_WORKQUEUE=1を付けるのがポイント
rev: 306 以上を推薦

$ cd driver
$ make ITEDTV_BUS_USE_WORKQUEUE=1
$ sudo make install
$ cd ../
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment