hiroの長い冒険日記

主にコンピュータ周辺の興味を持った内容を綴ります

Android-x86 を実機で試す その1 Mini PC MINISFORUM GK41 へ Ubuntu 22.04 LTS install

当日記ではアフィリエイト広告を利用しています

過去に仮想マシン3種類に Android-x86-9.0-r2 (pie) を install し、使用感について調べてみました。その際に「実機で使用したらどの位快適なのだろうか」と興味が湧いてきました。Android-x86 を実機で起動した例を探してみると、nVidiaGPU を使用している実績が圧倒的に少なく、殆どが AMD Radeon を使用していました。メイン PC の nVidia GT1030 で Android-x86 を起動させてみる前に、サブ PC の Mini PC MINISFORUM GK41 で Andoroid-x86 を起動させてみる事にしました。今回は前段階として、MINISFORUM GK41 に追加した SATA 500GB SSDUbuntu 22.04 LTS を install してみました。また、MINISFORUM GK41 の hardware が Linux 上でどのように認識されているのか確認しました。

はじめに

過去に Windows 上の仮想マシン3種類 (Hyper-VVirtualboxqemu) で Android x86 を動作させてみました。

hiro20180901.hatenablog.com

Hyper-V が最も快適に動作し、qemu は Video 周りで苦労しましたが何とか起動、Virtualbox はその中間、という感触でした。

この時に「実機で Android x86 を起動させたらどの位快適なのだろうか」という興味が湧いてきました。とはいえ、ググってみると nVidiaGPUAndroid-x86 を使用している例は見つからず、殆どが AMD Radeon で動作させているものでした。

nVidia GT1030 を使用しているメインPCで Android-x86 を動作させるのはハードルが高そうなので、先ずは intel CPU 内蔵の GPU (Intel UHD Graphics 600) で動作させてみようと思い、リモートワーク用に準備した Mini PC MINISFORUM GK41 で Android-x86 を動作させてみる事にしました。

hiro20180901.hatenablog.com
hiro20180901.hatenablog.com

Windows10 Pro の環境は維持したままで、MINISFORUM GK41 に増設した SATA 500GB SSD (Crucial MX500) を使用します。

Android-x86 をそのまま install しても良かったのですが、ググってみると他の Linux 環境の filesystem 内に Android-x86 を install した方が色々と便利そうですし、MINISFORUM GK41 で問題なく Linux が動作するかどうかも確認したかったので、最近公開された Ubuntu 22.04 LTS を先に install してみる事にしました。

Hardware 構成

以前に Windows10 Pro の環境で調べた Mini PC MINISFORUM GK41 の hardware 構成は以下の通りです。

パーツ 種類
CPU Celeron J4125 (4c4t)
M/B BESSTAR Tech G87
GPU Intel UHD Graphics 600 (CPU内蔵)
Memory DDR4 8GB onboard
SSD1 M.2 SATA 256GB SSD (minisforum)
SSD2 SATA 500GB SSD (Crucial MX500)
Bluetooth & Wifi Qualcomm Atheros QCA9377
Ethernet Realtek 型式不明

SSD2 の Crucial MX500 を追加しています。こちらには Linux を入れて動作確認し、リモートワークが不要になったら自宅内で省電力 Linux 機として使おうと考えています。

Ubuntu 22.04 LTS の install

USB media で起動して install するのが本来なのでしょうが、これまでの経験から Hyper-V Path through で SSD に install して、Hyper-V 仮想マシンと実機の両方で起動できる状態にしておくと、実機の再起動回数を減らせて作業が捗ります。Hyper-V の Path through disk を使用する方法について、詳しくは以下のリンクを参照ください。

hiro20180901.hatenablog.com

Ubuntu 22.04 LTS の install 手順については様々なサイトで紹介されていますので省略します。

  • Windows10 の「ディスクの管理」で SATA SSD をオフラインにする
  • Hyper-V 第二世代の仮想マシンを作成 (CPU や memory は適宜設定)
  • 仮想HDD は作成せず、後で Path through で SSD を接続する
  • 最小構成で install (必要なら後で簡単に入れられる)
  • install 中の update と third party driver の install に check を入れる

という手順で Ubuntu 22.04 LTS を install しました。Hyper-V仮想マシンで問題なく起動できる事を確認し、各種設定を済ませてから実機で起動してみました。

実機の UEFI から起動すると 4k 解像度で問題なく表示されました。WifiBluetooth、USB や Sound 含め、全ての機器が問題なく動作しました。

上の画像は、メイン PC から MINISFORUM GK41 にリモートデスクトップ接続し、GK41 の Windows10 で Hyper-V から Ubuntu 22.04 LTS を起動した状態です。

Ubuntu 22.04 LTS の設定

UbuntuDebian を入れた後の設定をよく忘れてしまうので、備忘録として残しておきます。

RTC を localtime に変更

netlog.jpn.org

実機で起動する度に RTC を GMT に変更されてしまうので RTC を localtime に変更します。

$ sudo timedatectl set-local-rtc 1

home の folder 名を英語に

www.rough-and-cheap.jp

home directory 以下に日本語 folder が作られてしまうので、英語表記に変更します。

$ LANG=C xdg-user-dirs-gtk-update

これは default で英語表記で良いような気もしますが...

grub の設定変更

変更後には sudo update-grub/boot/grub/grub.cfg を更新します。

grub の解像度変更

/etc/default/grub :

GRUB_GFXMODE=1024x768

efifb で 4k 表示にすると描画が遅くなります。

Ubuntu の解像度変更 (Hyper-V)

qiita.com

/etc/default/grubGRUB_CMDLINE_LINUX_DEFAULThyperv_fb を追記します。

/etc/default/grub :

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920x1080"

grub menu を表示する

install 直後は timeout がゼロなので grub menu が表示されませんので、今後を考えて表示できるように変更します。
/etc/default/grub :

GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=5

Hardware の認識状況

Ubuntu 22.04 LTS が実機で無事に起動できたので、dmesg、lspci で MINISFORUM GK41 の hardware の認識状況を確認しました。

dmesg : (全て載せると長いので抜粋しています。順序も入替)

[    0.000000] Linux version 5.15.0-33-generic (buildd@lcy02-amd64-037) (gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #34-Ubuntu SMP Wed May 18 13:34:26 UTC 2022 (Ubuntu 5.15.0-33.34-generic 5.15.30)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.15.0-33-generic root=UUID=xxxxxxxx-nnnn-nnnn-nnnn-xxxxxxxxxxxx ro quiet splash vt.handoff=7

# Ubuntu 22.04 LTS は kernel 5.15.0
...snip...

[    0.000000] efi: EFI v2.70 by American Megatrends

# UEFI は American Megatrends
...snip...

[    0.103915] Memory: 7816012K/8205284K available (16393K kernel code, 4385K rwdata, 10784K rodata, 2900K init, 4848K bss, 389012K reserved, 0K cma-reserved)

# Memory は 8GB 認識
...snip...

[    0.182499] smp: Bringing up secondary CPUs ...
[    0.182657] x86: Booting SMP configuration:
[    0.182657] .... node  #0, CPUs:      #1 #2 #3
[    0.189866] smp: Brought up 1 node, 4 CPUs
[    0.189866] smpboot: Max logical packages: 1
[    0.189866] smpboot: Total of 4 processors activated (15974.40 BogoMIPS)

# CPU は 4 core を認識
...snip...

[    0.410111] efifb: probing for efifb
[    0.410153] efifb: Ignoring BGRT: unexpected or invalid BMP data
[    0.410155] efifb: framebuffer at 0xb0000000, using 3072k, total 3072k
[    0.410157] efifb: mode is 1024x768x32, linelength=4096, pages=1
[    0.410160] efifb: scrolling: redraw
[    0.410161] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    0.410355] Console: switching to colour frame buffer device 128x48
[    0.413059] fb0: EFI VGA frame buffer device

# framebuffer は起動直後は efifb として認識 (1024x768 は grub で指定)
...snip...

[    1.232940] scsi host0: ahci
[    1.247184] ata1: SATA max UDMA/133 abar m2048@0xc1414000 port 0xc1414100 irq 127
[    1.723114] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    1.723849] ata1.00: supports DRM functions and may not be fully accessible
[    1.723852] ata1.00: ATA-10: CT500MX500SSD1, M3CR043, max UDMA/133
[    1.723971] ata1.00: 976773168 sectors, multi 1: LBA48 NCQ (depth 32), AA
[    1.724844] ata1.00: Features: Trust Dev-Sleep
[    1.725000] ata1.00: supports DRM functions and may not be fully accessible
[    1.725897] ata1.00: configured for UDMA/133
[    1.726143] scsi 0:0:0:0: Direct-Access     ATA      CT500MX500SSD1   043  PQ: 0 ANSI: 5
[    1.726643] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.726751] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    1.726754] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    1.726805] sd 0:0:0:0: [sda] Write Protect is off
[    1.726809] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.726925] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.760799]  sda: sda1 sda2
[    1.775685] sd 0:0:0:0: [sda] supports TCG Opal
[    1.775688] sd 0:0:0:0: [sda] Attached SCSI disk

# Crucial MX500 SATA SSD は sda として認識
...snip...

[    1.245780] scsi host1: ahci
[    1.247191] ata2: SATA max UDMA/133 abar m2048@0xc1414000 port 0xc1414180 irq 127
[    1.723045] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    1.723434] ata2.00: ATA-11: minisforum, SBFM61.3, max UDMA/133
[    1.723541] ata2.00: 500118192 sectors, multi 16: LBA48 NCQ (depth 32), AA
[    1.724077] ata2.00: configured for UDMA/133
[    1.726817] scsi 1:0:0:0: Direct-Access     ATA      minisforum       61.3 PQ: 0 ANSI: 5
[    1.727232] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    1.727342] sd 1:0:0:0: [sdb] 500118192 512-byte logical blocks: (256 GB/238 GiB)
[    1.727364] sd 1:0:0:0: [sdb] Write Protect is off
[    1.727368] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    1.727403] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.760993]  sdb: sdb1 sdb2 sdb3 sdb4
[    1.775395] sd 1:0:0:0: [sdb] Attached SCSI disk

# M.2 SATA minisforum SSD は sdb として認識
...snip...

[    1.269836] r8169 0000:02:00.0 eth0: RTL8168h/8111h, 84:47:09:0f:c6:aa, XID 541, IRQ 129
[    1.269845] r8169 0000:02:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[    1.285711] r8169 0000:03:00.0 eth1: RTL8168h/8111h, 84:47:09:0f:c6:ab, XID 541, IRQ 130
[    1.285720] r8169 0000:03:00.0 eth1: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[    1.288464] r8169 0000:03:00.0 enp3s0: renamed from eth1
[    1.778985] r8169 0000:02:00.0 enp2s0: renamed from eth0
[    4.790795] Generic FE-GE Realtek PHY r8169-0-200:00: attached PHY driver (mii_bus:phy_addr=r8169-0-200:00, irq=MAC)
[    4.994795] r8169 0000:02:00.0 enp2s0: Link is Down
[    5.030038] Generic FE-GE Realtek PHY r8169-0-300:00: attached PHY driver (mii_bus:phy_addr=r8169-0-300:00, irq=MAC)
[    5.226785] r8169 0000:03:00.0 enp3s0: Link is Down

# Ethernet は RTL8168h/8111h として認識、r8169 module を使用、eth0、eth2 の2口
...snip...

[    1.582800] usb 1-4: new full-speed USB device number 2 using xhci_hcd
[    1.732037] usb 1-4: New USB device found, idVendor=05ac, idProduct=024f, bcdDevice= 1.07
[    1.732041] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.732044] usb 1-4: Product: Keychron K8
[    1.732046] usb 1-4: Manufacturer: Keychron K8
[    2.027404] input: Keychron K8 Keychron K8 as /devices/pci0000:00/0000:00:15.0/usb1/1-4/1-4:1.0/0003:05AC:024F.0001/input/input2
[    2.087120] apple 0003:05AC:024F.0001: input,hidraw0: USB HID v1.11 Keyboard [Keychron K8 Keychron K8] on usb-0000:00:15.0-4/input0
[    2.087439] apple 0003:05AC:024F.0002: Fn key not found (Apple Wireless Keyboard clone?), disabling Fn key handling
[    2.087517] input: Keychron K8 Keychron K8 as /devices/pci0000:00/0000:00:15.0/usb1/1-4/1-4:1.1/0003:05AC:024F.0002/input/input3
[    2.147519] apple 0003:05AC:024F.0002: input,hiddev0,hidraw1: USB HID v1.11 Keyboard [Keychron K8 Keychron K8] on usb-0000:00:15.0-4/input1

# USB 接続の keyboard Keychron K8
...snip...

[    2.222188] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[    2.651727] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro. Quota mode: none.

# sda2 が root filesystem
...snip...

[    3.265940] i915 0000:00:02.0: [drm] Unknown revid 0x06
[    3.266425] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    3.266431] checking generic (b0000000 300000) vs hw (c0000000 1000000)
[    3.266433] checking generic (b0000000 300000) vs hw (b0000000 10000000)
[    3.266435] fb0: switching to i915 from EFI VGA
[    3.269181] Console: switching to colour dummy device 80x25
[    3.269250] i915 0000:00:02.0: vgaarb: deactivate vga console
[    3.269458] i915 0000:00:02.0: [drm] couldn't get memory information
[    3.283330] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    3.285427] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/glk_dmc_ver1_04.bin (v1.4)
[    3.478772] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[    3.482629] ACPI: video: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    3.556040] fbcon: i915drmfb (fb0) is primary device
[    3.508012] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input4
[    3.598027] Console: switching to colour frame buffer device 240x67
[    3.641514] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[    3.647265] mei_hdcp 0000:00:0f.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])

# Video を i915 として認識、efifb -> i915 に switch
...snip...

[    3.318692] Bluetooth: Core ver 2.22
[    3.318726] NET: Registered PF_BLUETOOTH protocol family
[    3.318727] Bluetooth: HCI device and connection manager initialized
[    3.318733] Bluetooth: HCI socket layer initialized
[    3.318736] Bluetooth: L2CAP socket layer initialized
[    3.318741] Bluetooth: SCO socket layer initialized
[    3.349043] usbcore: registered new interface driver btusb
[    3.366853] ath10k_pci 0000:01:00.0: enabling device (0000 -> 0002)
[    3.369834] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[    3.741044] ath10k_pci 0000:01:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 1a3b:2b51
[    3.741052] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[    3.741662] ath10k_pci 0000:01:00.0: firmware ver WLAN.TF.2.1-00021-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 42e41877
[    3.811744] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id N/A crc32 8aedfa4a
[    3.945676] ath10k_pci 0000:01:00.0: htt-ver 3.56 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[    4.040666] ath: EEPROM regdomain: 0x6a
[    4.040674] ath: EEPROM indicates we should expect a direct regpair map
[    4.040677] ath: Country alpha2 being used: 00
[    4.040678] ath: Regpair used: 0x6a
[    4.045072] ath10k_pci 0000:01:00.0 wlp1s0: renamed from wlan0
[   10.476167] wlp1s0: authenticate with 6c:e4:da:4f:15:87
[   10.510445] wlp1s0: send auth to 6c:e4:da:4f:15:87 (try 1/3)
[   10.511175] wlp1s0: authenticated
[   10.515003] wlp1s0: associate with 6c:e4:da:4f:15:87 (try 1/3)
[   10.516570] wlp1s0: RX AssocResp from 6c:e4:da:4f:15:87 (capab=0x411 status=0 aid=1)
[   10.519061] wlp1s0: associated
[   10.519243] ath: EEPROM regdomain: 0x8188
[   10.519248] ath: EEPROM indicates we should expect a country code
[   10.519251] ath: doing EEPROM country->regdmn map search
[   10.519253] ath: country maps to regdmn code: 0x40
[   10.519255] ath: Country alpha2 being used: JP
[   10.519257] ath: Regpair used: 0x40
[   10.519260] ath: regdomain 0x8188 dynamically updated by country element
[   10.562331] wlp1s0: Limiting TX power to 20 (20 - 0) dBm as advertised by 6c:e4:da:4f:15:87

# Bluetooth & Wifi は ath10k_pci module を使用、qca9377 として認識
...snip...

[    3.503810] snd_hda_intel 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
[    3.737178] snd_soc_skl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
[    3.757813] intel_telemetry_core Init
[    3.786469] Invalid pltconfig, ensure IPC1 device is enabled in BIOS
[    3.875356] Invalid pltconfig, ensure IPC1 device is enabled in BIOS
[    3.904309] sof-audio-pci-intel-apl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
[    3.904561] sof-audio-pci-intel-apl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if 0x040100
[    3.914570] sof-audio-pci-intel-apl 0000:00:0e.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    4.077946] sof-audio-pci-intel-apl 0000:00:0e.0: hda codecs found, mask 4
[    4.077954] sof-audio-pci-intel-apl 0000:00:0e.0: using HDA machine driver skl_hda_dsp_generic now
[    4.077964] sof-audio-pci-intel-apl 0000:00:0e.0: DMICs detected in NHLT tables: 0
[    4.081417] sof-audio-pci-intel-apl 0000:00:0e.0: Firmware info: version 2:0:0-b678a
[    4.081425] sof-audio-pci-intel-apl 0000:00:0e.0: Firmware: ABI 3:20:0 Kernel ABI 3:18:0
[    4.081428] sof-audio-pci-intel-apl 0000:00:0e.0: warn: FW ABI is more recent than kernel
[    4.081438] sof-audio-pci-intel-apl 0000:00:0e.0: unknown sof_ext_man header type 3 size 0x30
[    4.121564] sof-audio-pci-intel-apl 0000:00:0e.0: Firmware info: version 2:0:0-b678a
[    4.121573] sof-audio-pci-intel-apl 0000:00:0e.0: Firmware: ABI 3:20:0 Kernel ABI 3:18:0
[    4.121576] sof-audio-pci-intel-apl 0000:00:0e.0: warn: FW ABI is more recent than kernel
[    4.141704] sof-audio-pci-intel-apl 0000:00:0e.0: Topology: ABI 3:20:0 Kernel ABI 3:18:0
[    4.141713] sof-audio-pci-intel-apl 0000:00:0e.0: warn: topology ABI is more recent than kernel
[    4.149779] sof-audio-pci-intel-apl 0000:00:0e.0: ASoC: Parent card not yet available, widget card binding deferred
[    4.207552] input: sof-hda-dsp HDMI/DP,pcm=1 as /devices/pci0000:00/0000:00:0e.0/skl_hda_dsp_generic/sound/card0/input5
[    4.207646] input: sof-hda-dsp HDMI/DP,pcm=2 as /devices/pci0000:00/0000:00:0e.0/skl_hda_dsp_generic/sound/card0/input6
[    4.207711] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:0e.0/skl_hda_dsp_generic/sound/card0/input7

# Sound は intel
...snip...

[   55.854110] usb 1-3: new full-speed USB device number 4 using xhci_hcd
[   56.007262] usb 1-3: New USB device found, idVendor=046d, idProduct=c539, bcdDevice=39.06
[   56.007284] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   56.007291] usb 1-3: Product: USB Receiver
[   56.007297] usb 1-3: Manufacturer: Logitech
[   56.011765] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:15.0/usb1/1-3/1-3:1.0/0003:046D:C539.0003/input/input8
[   56.071538] hid-generic 0003:046D:C539.0003: input,hidraw2: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:15.0-3/input0
[   56.075676] input: Logitech USB Receiver Mouse as /devices/pci0000:00/0000:00:15.0/usb1/1-3/1-3:1.1/0003:046D:C539.0004/input/input9
[   56.135218] input: Logitech USB Receiver Consumer Control as /devices/pci0000:00/0000:00:15.0/usb1/1-3/1-3:1.1/0003:046D:C539.0004/input/input10
[   56.135538] input: Logitech USB Receiver System Control as /devices/pci0000:00/0000:00:15.0/usb1/1-3/1-3:1.1/0003:046D:C539.0004/input/input11
[   56.136242] hid-generic 0003:046D:C539.0004: input,hiddev1,hidraw3: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:15.0-3/input1
[   56.140322] hid-generic 0003:046D:C539.0005: hiddev2,hidraw4: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:15.0-3/input2
[   56.307751] logitech-djreceiver 0003:046D:C539.0003: hidraw2: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:15.0-3/input0
[   56.516521] logitech-djreceiver 0003:046D:C539.0004: hiddev1,hidraw3: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:15.0-3/input1
[   56.577049] logitech-djreceiver 0003:046D:C539.0005: hiddev2,hidraw4: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:15.0-3/input2
[   56.637274] logitech-djreceiver 0003:046D:C539.0005: device of type eQUAD Lightspeed 1 (0x0c) connected on slot 1
[   56.638237] input: Logitech Wireless Mouse PID:4085 Keyboard as /devices/pci0000:00/0000:00:15.0/usb1/1-3/1-3:1.2/0003:046D:C539.0005/0003:046D:4085.0006/input/input13
[   56.642326] input: Logitech Wireless Mouse PID:4085 Mouse as /devices/pci0000:00/0000:00:15.0/usb1/1-3/1-3:1.2/0003:046D:C539.0005/0003:046D:4085.0006/input/input14
[   56.642564] hid-generic 0003:046D:4085.0006: input,hidraw5: USB HID v1.11 Keyboard [Logitech Wireless Mouse PID:4085] on usb-0000:00:15.0-3/input2:1
[   56.902586] logitech-hidpp-device 0003:046D:4085.0006: HID++ 4.2 device connected.
[   56.983822] input: Logitech G604  as /devices/pci0000:00/0000:00:15.0/usb1/1-3/1-3:1.2/0003:046D:C539.0005/0003:046D:4085.0006/input/input18
[   56.985231] logitech-hidpp-device 0003:046D:4085.0006: input,hidraw5: USB HID v1.11 Keyboard [Logitech G604 ] on usb-0000:00:15.0-3/input2:1

# Mouse は Logitech Lightspeed -> G604 で認識
...snip...

lspci : (PCI bridge のみ省略)

00:00.0 Host bridge: Intel Corporation Gemini Lake Host Bridge (rev 06)
	Flags: bus master, fast devsel, latency 0, IOMMU group 0

00:00.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Dynamic Platform and Thermal Framework Processor Participant (rev 06)
	Subsystem: Intel Corporation Celeron/Pentium Silver Processor Dynamic Platform and Thermal Framework Processor Participant
	Flags: fast devsel, IRQ 24, IOMMU group 0
	Memory at 80000000 (64-bit, non-prefetchable) [size=32K]
	Capabilities: <access denied>
	Kernel modules: processor_thermal_device_pci_legacy

00:02.0 VGA compatible controller: Intel Corporation GeminiLake [UHD Graphics 600] (rev 06) (prog-if 00 [VGA controller])
	Subsystem: Device 1e50:8003
	Flags: bus master, fast devsel, latency 0, IRQ 132, IOMMU group 1
	Memory at c0000000 (64-bit, non-prefetchable) [size=16M]
	Memory at b0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:0e.0 Multimedia audio controller: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio (rev 06)
	Subsystem: Realtek Semiconductor Co., Ltd. Celeron/Pentium Silver Processor High Definition Audio
	Flags: bus master, fast devsel, latency 0, IRQ 134, IOMMU group 2
	Memory at 7ffff00000 (64-bit, non-prefetchable) [size=16K]
	Memory at 7fffe00000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: sof-audio-pci-intel-apl
	Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_apl

00:0f.0 Communication controller: Intel Corporation Celeron/Pentium Silver Processor Trusted Execution Engine Interface (rev 06)
	Subsystem: Intel Corporation Celeron/Pentium Silver Processor Trusted Execution Engine Interface
	Flags: bus master, fast devsel, latency 0, IRQ 131, IOMMU group 3
	Memory at c1416000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:12.0 SATA controller: Intel Corporation Celeron/Pentium Silver Processor SATA Controller (rev 06) (prog-if 01 [AHCI 1.0])
	Subsystem: Intel Corporation Celeron/Pentium Silver Processor SATA Controller
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 127, IOMMU group 4
	Memory at c1410000 (32-bit, non-prefetchable) [size=8K]
	Memory at c1415000 (32-bit, non-prefetchable) [size=256]
	I/O ports at f090 [size=8]
	I/O ports at f080 [size=4]
	I/O ports at f060 [size=32]
	Memory at c1414000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci
	Kernel modules: ahci
...snip...

00:15.0 USB controller: Intel Corporation Celeron/Pentium Silver Processor USB 3.0 xHCI Controller (rev 06) (prog-if 30 [XHCI])
	Subsystem: Intel Corporation Celeron/Pentium Silver Processor USB 3.0 xHCI Controller
	Flags: bus master, medium devsel, latency 0, IRQ 128, IOMMU group 10
	Memory at c1400000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:16.0 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO I2C Host Controller (rev 06)
	Subsystem: Intel Corporation Celeron/Pentium Silver Processor Serial IO I2C Host Controller
	Flags: bus master, fast devsel, latency 0, IRQ 27, IOMMU group 11
	Memory at c1413000 (64-bit, non-prefetchable) [size=4K]
	Memory at 7ffff08000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:16.3 Signal processing controller: Intel Corporation Device 31b2 (rev 06)
	Subsystem: Intel Corporation Device 31b2
	Flags: bus master, fast devsel, latency 0, IRQ 30, IOMMU group 11
	Memory at c1412000 (64-bit, non-prefetchable) [size=4K]
	Memory at 7ffff07000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:1c.0 SD Host controller: Intel Corporation Celeron/Pentium Silver Processor SDA Standard Compliant SD Host Controller (rev 06) (prog-if 01)
	Subsystem: Intel Corporation Celeron/Pentium Silver Processor SDA Standard Compliant SD Host Controller
	Flags: bus master, fast devsel, latency 0, IRQ 39, IOMMU group 12
	Memory at 7ffff06000 (64-bit, non-prefetchable) [size=4K]
	Memory at 7ffff05000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci_pci

00:1f.0 ISA bridge: Intel Corporation Celeron/Pentium Silver Processor LPC Controller (rev 06)
	Subsystem: Intel Corporation Celeron/Pentium Silver Processor LPC Controller
	Flags: bus master, medium devsel, latency 0, IOMMU group 13

00:1f.1 SMBus: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model (rev 06)
	Subsystem: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model
	Flags: medium devsel, IRQ 20, IOMMU group 13
	Memory at 7ffff04000 (64-bit, non-prefetchable) [size=256]
	I/O ports at f040 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

01:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
	Subsystem: AzureWave QCA9377 802.11ac Wireless Network Adapter
	Flags: bus master, fast devsel, latency 0, IRQ 133, IOMMU group 14
	Memory at c1000000 (64-bit, non-prefetchable) [size=2M]
	Capabilities: <access denied>
	Kernel driver in use: ath10k_pci
	Kernel modules: ath10k_pci

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
	Flags: bus master, fast devsel, latency 0, IRQ 23, IOMMU group 15
	I/O ports at e000 [size=256]
	Memory at c1304000 (64-bit, non-prefetchable) [size=4K]
	Memory at c1300000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
	Flags: bus master, fast devsel, latency 0, IRQ 20, IOMMU group 16
	I/O ports at d000 [size=256]
	Memory at c1204000 (64-bit, non-prefetchable) [size=4K]
	Memory at c1200000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169

まとめ

Mini PC MINISFORUM GK41 + Crucial MX500 SATA SSD の環境に Android-x86 を入れる前段階として、Ubuntu 22.04 LTS を install しました。

  • Hyper-V の Path through disk を使用する、いつもの方法で install しました。Hyper-V 仮想マシンと実機の両方で起動できるので、再起動を繰り返すような使い方の場合には作業が捗ります。
  • Ubuntu 22.04 LTS (Linux kernel 5.15.0) で全ての機器を認識し使用する事が出来ました。
  • Video (UHD Graphics 600, i915) も 4k で表示、WifiBluetooth (Qualcomm Atheros QCA9377, ath10k_pci) も問題なく使用出来ました。

久し振りに dmesg を細かく見ましたが、systemd による並列化が進んでいる為でしょうか、message が飛び飛びになってしまうのですね。少々見辛かったので順番を多少入れ替えながら確認しました。とはいえ、linux kernel 5.15.0 では全ての device が問題なく認識できる事が分かりました。

参考になる情報が集まりましたので、この後で Android-x86 を入れてみます。「その2」へ続く…