高中生
最后登录1970-1-1
在线时间 小时
注册时间2023-3-9
|
各位,下午好!
我淘了一个LBC0 WiFi板子,安装了最新的image。登录后,但看不到 wlan0 网卡,这是什么原因?
0. uname
Linux lubancat 4.19.232 #1 SMP Sat Mar 11 17:38:42 CST 2023 aarch64 aarch64 aarch64 GNU/Linux
1. 登录后,ip指令
cat@lubancat:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 46:bb:b1:8a:7d:97 brd ff:ff:ff:ff:ff:ff
inet 192.168.137.111/24 brd 192.168.137.255 scope global dynamic noprefixroute usb0
valid_lft 604775sec preferred_lft 604775sec
inet6 fe80::679d:1b77:9647:cc73/64 scope link noprefixroute
valid_lft forever preferred_lft forever
cat@lubancat:~$
2. dmesg信息
cat@lubancat:~$ dmesg | grep wlan
[ 0.404949] usbcore: registered new interface driver rndis_wlan
[ 1.352380] [WLAN_RFKILL]: Enter rfkill_wlan_init
[ 1.352964] [WLAN_RFKILL]: Enter rfkill_wlan_probe
[ 1.353040] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = rtl8821cu
[ 1.353061] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
[ 1.353082] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
[ 1.353122] [WLAN_RFKILL]: wlan_platdata_parse_dt: WIFI,poweren_gpio = 17 flags = 1.
[ 1.353164] [WLAN_RFKILL]: wlan_platdata_parse_dt: The ref_wifi_clk not found !
[ 1.353186] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[ 1.353239] [WLAN_RFKILL]: Exit rfkill_wlan_probe
cat@lubancat:~$ dmesg | grep usb
[ 1.656971] phy phy-fe8a0000.usb2-phy.1: charger = USB_SDP_CHARGER
[ 1.729623] usb 1-1: New USB device found, idVendor=0bda, idProduct=c820, bcdDevice= 2.00
[ 1.729682] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1.729706] usb 1-1: Product: 802.11ac NIC
[ 1.729722] usb 1-1: Manufacturer: Realtek
[ 1.729740] usb 1-1: SerialNumber: 123456
3. systemctl status
wpa_supplicant 服务是启动的。
● lubancat
State: degraded
Jobs: 0 queued
Failed: 3 units
Since: Fri 2017-08-04 17:00:07 CST; 5 years 7 months ago
CGroup: /
├─user.slice
│ └─user-1000.slice
│ ├─user@1000.service
│ │ └─init.scope
│ │ ├─467 /lib/systemd/systemd --user
│ │ └─471 (sd-pam)
│ └─session-c1.scope
│ ├─391 sshd: cat [priv]
│ ├─539 sshd: cat@pts/0
│ ├─542 -bash
│ ├─577 systemctl status
│ └─578 pager
├─init.scope
│ └─1 /sbin/init
└─system.slice
├─systemd-udevd.service
│ └─161 /lib/systemd/systemd-udevd
├─cron.service
│ └─229 /usr/sbin/cron -f -P
├─system-serial\x2dgetty.slice
│ └─serial-getty@ttyFIQ0.service
│ └─357 /sbin/agetty -o -p -- \u --keep-baud 115200,38400,9600 ttyFIQ0 vt220
├─polkit.service
│ └─235 /usr/libexec/polkitd --no-debug
├─networkd-dispatcher.service
│ └─234 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
├─bluetooth.service
│ └─228 /usr/lib/bluetooth/bluetoothd
├─wpa_supplicant.service
│ └─241 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
├─ModemManager.service
│ └─265 /usr/sbin/ModemManager
├─systemd-journald.service
│ └─131 /lib/systemd/systemd-journald
├─ssh.service
│ └─362 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
├─bluez-alsa.service
│ └─261 /usr/bin/bluealsa
├─NetworkManager.service
│ └─231 /usr/sbin/NetworkManager --no-daemon
├─vsftpd.service
│ └─358 /usr/sbin/vsftpd /etc/vsftpd.conf
├─rsyslog.service
│ └─239 /usr/sbin/rsyslogd -n -iNONE
├─cups-browsed.service
│ └─365 /usr/sbin/cups-browsed
├─cups.service
│ ├─347 /usr/sbin/cupsd -l
│ └─364 /usr/lib/cups/notifier/dbus dbus://
├─systemd-resolved.service
│ └─224 /lib/systemd/systemd-resolved
├─ntp.service
│ └─361 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 102:103
├─dbus.service
│ └─230 @dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
├─system-getty.slice
│ └─getty@tty1.service
│ └─354 /sbin/agetty -o -p -- \u --noclear tty1 linux
├─avahi-daemon.service
│ ├─227 avahi-daemon: running [lubancat.local]
│ └─242 avahi-daemon: chroot helper
└─systemd-logind.service
└─240 /lib/systemd/systemd-logind
4. systemctl failed
cat@lubancat:~$ sudo systemctl list-units --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● adbd.service loaded failed failed adbd for ubuntu
● rkwifibt.service loaded failed failed LSB: Setup rockchip platform environment
第二个failed,不知什么原因
5. dmesg - bluetooth related
cat@lubancat:~$ dmesg | grep Bluetooth
[ 0.161918] Bluetooth: Core ver 2.22
[ 0.162044] Bluetooth: HCI device and connection manager initialized
[ 0.162093] Bluetooth: HCI socket layer initialized
[ 0.162137] Bluetooth: L2CAP socket layer initialized
[ 0.162208] Bluetooth: SCO socket layer initialized
[ 1.345195] Bluetooth: RFCOMM TTY layer initialized
[ 1.345233] Bluetooth: RFCOMM socket layer initialized
[ 1.345275] Bluetooth: RFCOMM ver 1.11
[ 1.345304] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 1.345329] Bluetooth: HIDP socket layer initialized
[ 6.029117] Bluetooth: hci0: command 0x1001 tx timeout
[ 13.922644] Bluetooth: hci0: RTL: HCI_OP_READ_LOCAL_VERSION failed (-110)
|
|