(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
環境
- Raspberry Pi 4B 4GB
- OS:
ubuntu-19.10-preinstalled-server-arm64+raspi3.img.xz
http://cdimage.ubuntu.com/releases/19.10/release/
# 更新前 (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