2016/12/10

GPD WINのPlamo Linuxで内蔵無線LANが使えた

GPD WINのPlamo Linuxで内蔵無線LANが使えました。

動作確認したカーネルは4.8.13で、Ubuntuのconfigをもとに作成したものです。
GPD WINのPlamo LinuxにUbuntuのパッチを当てたカーネル

下記のサイトのパッチで作成されるbrcmfmac4356-pcie.txtを/lib/firmware/brcm以下に置き、brcmfmacモジュールを再読み込みします。

# modprobe -r brcmfmac
# modprobe brcmfmac

android-x86 / device/generic/firmware / Diff of /brcm/brcmfmac4356-pcie.txt


ちなみに、内蔵無線LANはBroadcomのBCM4356というらしいです。


# lspci
00:00.0 Host bridge: Intel Corporation Device 2280 (rev 20)
00:02.0 VGA compatible controller: Intel Corporation Device 22b0 (rev 20)
00:0b.0 Signal processing controller: Intel Corporation Device 22dc (rev 20)
00:14.0 USB controller: Intel Corporation Device 22b5 (rev 20)
00:1a.0 Encryption controller: Intel Corporation Device 2298 (rev 20)
00:1c.0 PCI bridge: Intel Corporation Device 22c8 (rev 20)
00:1f.0 ISA bridge: Intel Corporation Device 229c (rev 20)
01:00.0 Network controller: Broadcom Corporation BCM4356 802.11ac Wireless Network Adapter (rev 02)
# lspci -vnns 01:00.0
01:00.0 Network controller [0280]: Broadcom Corporation BCM4356 802.11ac Wireless Network Adapter [14e4:43ec] (rev 02)
        Subsystem: Gemtek Technology Co., Ltd Device [17f9:0036]
        Flags: bus master, fast devsel, latency 0, IRQ 313
        Memory at a1400000 (64-bit, non-prefetchable) [size=32K]
        Memory at a1000000 (64-bit, non-prefetchable) [size=4M]
        Capabilities: [48] Power Management version 3
        Capabilities: [58] MSI: Enable+ Count=1/16 Maskable- 64bit+
        Capabilities: [68] Vendor Specific Information: Len=44 
        Capabilities: [ac] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [13c] Device Serial Number 00-00-38-ff-ff-00-38-0f
        Capabilities: [150] Power Budgeting 
        Capabilities: [160] Virtual Channel
        Capabilities: [1b0] Latency Tolerance Reporting
        Capabilities: [220] #15
        Capabilities: [240] #1e
        Kernel driver in use: brcmfmac


brcmfmac4356-pci.txtが無いと下記のエラーとなります。

Dec 10 10:02:10 PlamoGPD kernel: [ 6325.390851] usbcore: registered new interface driver brcmfmac
Dec 10 10:02:10 PlamoGPD kernel: [ 6325.500576] brcmfmac 0000:01:00.0: Direct firmware load for brcm/brcmfmac4356-pcie.txt failed with error -2

0 件のコメント: