Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

t95zplus ap6255 wifi不能使用 #2732

Open
Coffee-with-salt opened this issue Jan 6, 2025 · 4 comments
Open

t95zplus ap6255 wifi不能使用 #2732

Coffee-with-salt opened this issue Jan 6, 2025 · 4 comments

Comments

@Coffee-with-salt
Copy link

Coffee-with-salt commented Jan 6, 2025

I have a T95Zplus s912 with armbian 6.1.114-ophub installed. The WiFi chip is ap6255, but it cannot be driven. When using 'nmcli device status' to check, it shows 'wlan0 wifi unmanaged'.

@Coffee-with-salt
Copy link
Author

Jan 06 13:42:41 armbian kernel: brcmfmac: F1 signature read @0x18000000=0x15264345
Jan 06 13:42:41 armbian kernel: brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
Jan 06 13:42:41 armbian kernel: brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.amlogic,q201.bin failed with error -2
Jan 06 13:42:41 armbian systemd[1]: Finished systemd-fsck@dev-disk-by\x2dlabel-BOOT.service - File System Check on /dev/disk/by-label/BOOT.
Jan 06 13:42:41 armbian systemd[1]: boot.mount: Directory /boot to mount over is not empty, mounting anyway.
Jan 06 13:42:41 armbian systemd[1]: Mounting boot.mount - /boot...
Jan 06 13:42:41 armbian kernel: brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
Jan 06 13:42:41 armbian systemd[1]: Mounted boot.mount - /boot.
Jan 06 13:42:41 armbian kernel: usbcore: registered new interface driver brcmfmac
Jan 06 13:42:41 armbian kernel: Bluetooth: Core ver 2.22
Jan 06 13:42:41 armbian kernel: Bluetooth: Starting self testing
Jan 06 13:42:41 armbian kernel: Bluetooth: ECDH test passed in 16255 usecs
Jan 06 13:42:41 armbian kernel: Bluetooth: SMP test passed in 5357 usecs
Jan 06 13:42:41 armbian kernel: Bluetooth: Finished self testing
Jan 06 13:42:41 armbian kernel: NET: Registered PF_BLUETOOTH protocol family
Jan 06 13:42:41 armbian kernel: Bluetooth: HCI device and connection manager initialized
Jan 06 13:42:41 armbian kernel: Bluetooth: HCI socket layer initialized
Jan 06 13:42:41 armbian kernel: Bluetooth: L2CAP socket layer initialized
Jan 06 13:42:41 armbian kernel: Bluetooth: SCO socket layer initialized

@Coffee-with-salt
Copy link
Author

根据报错 执行了ln -sf brcmfmac43455-sdio.bin brcmfmac43455-sdio.amlogic,q201.bin
现在是下面的日志 wifi还没有恢复
Jan 06 16:02:30 armbian systemd[1]: Starting systemd-fsck@dev-disk-by\x2dlabel-BOOT.service - File System Check on /dev/disk/by-label/BOOT...
Jan 06 16:02:30 armbian systemd[1]: Started systemd-fsckd.service - File System Check Daemon to report status.
Jan 06 16:02:30 armbian kernel: brcmfmac: F1 signature read @0x18000000=0x15264345
Jan 06 16:02:30 armbian kernel: brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
Jan 06 16:02:30 armbian systemd[1]: Finished systemd-fsck@dev-disk-by\x2dlabel-BOOT.service - File System Check on /dev/disk/by-label/BOOT.
Jan 06 16:02:30 armbian systemd[1]: boot.mount: Directory /boot to mount over is not empty, mounting anyway.
Jan 06 16:02:30 armbian kernel: brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
Jan 06 16:02:30 armbian systemd[1]: Mounting boot.mount - /boot...
Jan 06 16:02:30 armbian systemd[1]: Mounted boot.mount - /boot.
Jan 06 16:02:30 armbian kernel: usbcore: registered new interface driver brcmfmac
Jan 06 16:02:30 armbian kernel: Bluetooth: Core ver 2.22
Jan 06 16:02:30 armbian kernel: Bluetooth: Starting self testing
Jan 06 16:02:30 armbian kernel: Bluetooth: ECDH test passed in 36955 usecs
Jan 06 16:02:30 armbian kernel: Bluetooth: SMP test passed in 5336 usecs
Jan 06 16:02:30 armbian kernel: Bluetooth: Finished self testing
Jan 06 16:02:30 armbian kernel: NET: Registered PF_BLUETOOTH protocol family
Jan 06 16:02:30 armbian kernel: Bluetooth: HCI device and connection manager initialized
Jan 06 16:02:30 armbian kernel: Bluetooth: HCI socket layer initialized

@Coffee-with-salt
Copy link
Author

networkmanager的错误
░░ The job identifier is 166.
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.2012] NetworkManager (version 1.46.0) is starting... (boot:ffc8155b-f876-4e59-a621-baea7e318ecd)
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.2084] Read config: /etc/NetworkManager/NetworkManager.conf (lib: 10-dns-resolved.conf, 20-connectivity-ubuntu.conf, no-mac-addr-change.conf) (run:>
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.2796] manager[0x559b78b1f0]: monitoring kernel firmware directory '/lib/firmware'.
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.2799] monitoring ifupdown state file '/run/network/ifstate'.
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.2807] session-monitor: failed to create systemd-logind monitor: -2
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.7383] hostname: hostname: using hostnamed
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.7385] hostname: static hostname changed from (none) to "armbian"
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.7470] dns-mgr: init: dns=systemd-resolved rc-manager=unmanaged (auto), plugin=systemd-resolved
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.7590] rfkill0: found Wi-Fi radio killswitch (at /sys/devices/platform/soc/d0000000.apb/d0070000.mmc/mmc_host/mmc0/mmc0:0001/mmc0:0001:1/ieee80211/>
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.7604] manager[0x559b78b1f0]: rfkill: Wi-Fi hardware radio set enabled
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.7605] manager[0x559b78b1f0]: rfkill: WWAN hardware radio set enabled
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.7855] plugin: skip invalid file /usr/lib/aarch64-linux-gnu/NetworkManager/1.46.0/libnm-device-plugin-wifi.so: file has invalid owner (should be ro>
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.7857] plugin: skip invalid file /usr/lib/aarch64-linux-gnu/NetworkManager/1.46.0/libnm-device-plugin-team.so: file has invalid owner (should be ro>
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.7858] plugin: skip invalid file /usr/lib/aarch64-linux-gnu/NetworkManager/1.46.0/libnm-device-plugin-adsl.so: file has invalid owner (should be ro>
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.7859] plugin: skip invalid file /usr/lib/aarch64-linux-gnu/NetworkManager/1.46.0/libnm-device-plugin-wwan.so: file has invalid owner (should be ro>
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.7860] plugin: skip invalid file /usr/lib/aarch64-linux-gnu/NetworkManager/1.46.0/libnm-device-plugin-bluetooth.so: file has invalid owner (should >
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.7861] manager: rfkill: Wi-Fi enabled by radio killswitch; enabled by state file
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.7867] manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.7871] manager: Networking is enabled by state file
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.7928] settings: could not load plugin 'ifupdown' from file '/usr/lib/aarch64-linux-gnu/NetworkManager/1.46.0/libnm-settings-plugin-ifupdown.so': f>
Jan 06 17:50:52 armbian NetworkManager[1243]: [1736157052.7932] settings: Loaded settings plugin: keyfile (internal)
Jan 06 17:50:56 armbian NetworkManager[1243]: [1736157056.9663] dhcp: init: Using DHCP client 'internal'
Jan 06 17:50:56 armbian NetworkManager[1243]: [1736157056.9698] manager: (lo): new Loopback device (/org/freedesktop/NetworkManager/Devices/1)
Jan 06 17:50:56 armbian NetworkManager[1243]: [1736157056.9818] device (lo): state change: unmanaged -> unavailable (reason 'connection-assumed', sys-iface-state: 'external')
Jan 06 17:50:56 armbian NetworkManager[1243]: [1736157056.9853] device (lo): state change: unavailable -> disconnected (reason 'connection-assumed', sys-iface-state: 'external')
Jan 06 17:50:56 armbian NetworkManager[1243]: [1736157056.9901] device (lo): Activation: starting connection 'lo' (e051e4ef-1494-4eb4-b26a-9405024db752)
Jan 06 17:50:56 armbian NetworkManager[1243]: [1736157056.9923] device (eth0): driver '(null)' does not support carrier detection.
Jan 06 17:50:56 armbian NetworkManager[1243]: [1736157056.9941] device (eth0): driver 'meson8b-dwmac' does not support carrier detection.
Jan 06 17:50:56 armbian NetworkManager[1243]: [1736157056.9976] manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
Jan 06 17:50:57 armbian NetworkManager[1243]: [1736157057.0005] device (eth0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Jan 06 17:50:58 armbian NetworkManager[1243]: [1736157058.5939] manager: (ip6tnl0): new IPTunnel device (/org/freedesktop/NetworkManager/Devices/3)
Jan 06 17:50:58 armbian NetworkManager[1243]: [1736157058.6028] manager: (sit0): new IPTunnel device (/org/freedesktop/NetworkManager/Devices/4)
Jan 06 17:50:58 armbian NetworkManager[1243]: [1736157058.6055] manager: (wlan0): 'wifi' plugin not available; creating generic device
Jan 06 17:50:58 armbian NetworkManager[1243]: [1736157058.6123] manager: (wlan0): new Generic device (/org/freedesktop/NetworkManager/Devices/5)
Jan 06 17:50:58 armbian NetworkManager[1243]: [1736157058.6142] device (wlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Jan 06 17:50:58 armbian NetworkManager[1243]: [1736157058.7851] failed to open /run/network/ifstate
Jan 06 17:50:58 armbian systemd[1]: Started NetworkManager.service - Network Manager.

@Coffee-with-salt
Copy link
Author

问题已经解决 根据 [1736157052.7855] plugin: skip invalid file /usr/lib/aarch64-linux-gnu/NetworkManager/1.46.0/libnm-device-plugin-wifi.so: file has invalid owner (should be root).
这句话 发现libnm-device-plugin-wifi.so的文件属组不是root 然后很奇怪的发现 我的很多目录包括etc和home的属组都是1023 不明白为什么,把/usr/lib属组改为root后 再次重启netwrokmanager wifi就正常了

@Coffee-with-salt Coffee-with-salt changed the title t95zplus wifi ap6255 t95zplus ap6255 wifi不能使用 Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant