LoginSignup
5
5

More than 3 years have passed since last update.

[メモ]ラズパイ4B(4GB): Ubuntu 19.10 (arm64) で USBが動かない、の対応

Last updated at Posted at 2019-10-22

(2019-12-12更新) イメージが更新されて、OOBでRPi4-4GBでもUSBの問題なく使えるそうです。
Updated images of Ubuntu for the Raspberry Pi 2, 3 and 4

With the new images, USB ports are now fully functional out of the box on the 4GB RAM version of the Raspberry Pi 4.


せっかくリリースされたのに、キーボードマウスをつないでも認識しない!?

バグ報告: Bug #1848790: USB not working under arm64 on Pi4

TL;DR

↑のトピックで、正しくパッチを当てたKernelとmoduleの.debを配布してくれてたので、それを取得して、インストールする。

wget https://people.canonical.com/~hwang4/rpiv2/arm64/linux-image-5.3.0-1008-raspi2_5.3.0-1008.9+newupdate_arm64.deb
wget https://people.canonical.com/~hwang4/rpiv2/arm64/linux-modules-5.3.0-1008-raspi2_5.3.0-1008.9+newupdate_arm64.deb
sudo dpkg -i ./linux-modules-5.3.0-1008-raspi2_5.3.0-1008.9+newupdate_arm64.deb
sudo dpkg -i ./linux-image-5.3.0-1008-raspi2_5.3.0-1008.9+newupdate_arm64.deb

環境

カーネルバージョン
#更新前 (1007)
ubuntu@ubuntu:~$ uname -a
Linux ubuntu 5.3.0-1007-raspi2 #8-Ubuntu SMP Thu Oct 10 12:42:47 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux
#更新後 (1008)
ubuntu@ubuntu:~$ uname -a
Linux ubuntu 5.3.0-1008-raspi2 #9+newupdate SMP Mon Oct 21 18:09:52 CST 2019 aarch64 aarch64 aarch64 GNU/Linux

その他

  • RAM4GBだとうまく動かなかった、ということで、
    /boot/firmware/usercfg.txtに、total_mem=2048を記述して、2GBに制限すると、USBが認識される、ということも書かれている。

  • なので、イメージを焼いた後、WindowsでみれるFAT32ドライブの usercfg.txtを↑のように編集して、キーボードをつなげて、カーネルをアップデートさせて、usercfg.txtをもどせばよい、かと。

  • (2019-11-04更新)関連: Fix for Raspberry Pi 4 4GB model’s USB Ports not Working on Ubuntu 19.10

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5