PINE64
Wifi doesn't work correctly - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook (https://forum.pine64.org/forumdisplay.php?fid=76)
+--- Forum: Linux on Pinebook (https://forum.pine64.org/forumdisplay.php?fid=79)
+--- Thread: Wifi doesn't work correctly (/showthread.php?tid=12645)



Wifi doesn't work correctly - Fredric92 - 12-28-2020

I use the default Linux image, and everything's updated.
After using it for a while, the wifi stopped working properly, requiring me to 'ifconfig wlan0 up', and if that doesn't work, reboot the machine. I am using employee monitoring systems, but even if I disable it, it doesn't help. If I have it plugged into AC power with the power supply adapter, I'll only get 10 minutes to watch fullscreen 720p Youtube before the wifi goes out. I checked the Syslog, and I see a bunch of wifi-related errors when this happens - lots of assert failures, a note saying the chip has hanged, and it shuts off the wifi.
Does this happen to anyone else? Is this normal, or did I get a faulty one?



RE: Wifi doesn't work correctly - Jean-Marc LACROIX - 08-10-2021

Hello,

Please could you give us more information about your configuration ?., thanks in advance (!)
I have also one issue with Wifi. But in my case, not possible to start Wlan interface, because not
detected on boot.
My running kernel is based on Debian release

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.10.0-0.bpo.5-arm64 (debian-kernel@lists.debian.org) (gcc-8 (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1 SMP Debian 5.10.24-1~bpo10+1 (2021-03-29)
[ 0.000000] Machine model: Pinebook
[ 0.000000] efi: UEFI not found.

Later, in the kernel boot, it seems that hardware is correctly detected, because ....
[ 3.079479] sun50i-a64-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
... but i suspect there is many issue with this Debian Kernel (or DTS ?) because i
have also ...

[ 4.867024] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[ 4.933603] sun4i-usb-phy 1c19400.phy: Couldn't get regulator usb0_vbus... Deferring probe
[ 4.942933] sun50i-a64-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator
[ 4.976407] sun50i-a64-pinctrl 1c20800.pinctrl: Couldn't get bank PG regulator
[ 4.983798] sun50i-a64-pinctrl 1c20800.pinctrl: request() failed for pin 192
[ 4.987169] sun50i-a64-pinctrl 1c20800.pinctrl: Couldn't get bank PC regulator
[ 4.988155] sun4i-usb-phy 1c19400.phy: Couldn't get regulator usb0_vbus... Deferring probe
[ 4.990915] sun50i-a64-pinctrl 1c20800.pinctrl: pin-192 (1c10000.mmc) status -517
[ 4.990928] sun50i-a64-pinctrl 1c20800.pinctrl: could not request pin 192 (PG0) from group PG0 on device 1c20800.pinctrl
[ 4.990936] sunxi-mmc 1c10000.mmc: Error applying setting, reverse things back
[ 4.993111] usbcore: registered new interface driver usbfs
[ 4.998217] sun50i-a64-pinctrl 1c20800.pinctrl: request() failed for pin 69
[ 5.006723] usbcore: registered new interface driver hub
[ 5.011871] sun4i-usb-phy 1c19400.phy: Couldn't get regulator usb0_vbus... Deferring probe
[ 5.013189] sun50i-a64-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator
[ 5.013987] sun50i-a64-pinctrl 1c20800.pinctrl: pin-69 (1c11000.mmc) status -517
[ 5.014004] sun50i-a64-pinctrl 1c20800.pinctrl: could not request pin 69 (PC5) from group PC5 on device 1c20800.pinctrl
[ 5.014951] sun50i-a64-pinctrl 1c20800.pinctrl: Couldn't get bank PG regulator
[ 5.014960] sun50i-a64-pinctrl 1c20800.pinctrl: request() failed for pin 192
[ 5.014966] sun50i-a64-pinctrl 1c20800.pinctrl: pin-192 (1c10000.mmc) status -517
[ 5.014974] sun50i-a64-pinctrl 1c20800.pinctrl: could not request pin 192 (PG0) from group PG0 on device 1c20800.pinctrl
[ 5.014980] sunxi-mmc 1c10000.mmc: Error applying setting, reverse things back
[ 5.038606] sun50i-a64-pinctrl 1c20800.pinctrl: supply vcc-ph not found, using dummy regulator
[ 5.044703] sunxi-mmc 1c11000.mmc: Error applying setting, reverse things back
[ 5.058063] sun4i-usb-phy 1c19400.phy: Couldn't get regulator usb0_vbus... Deferring probe
[ 5.069900] usbcore: registered new device driver usb
[ 5.077603] sun50i-a64-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator
[ 5.086163] axp20x-rsb sunxi-rsb-3a3: AXP20x variant AXP803 found
[ 5.095228] sun50i-a64-pinctrl 1c20800.pinctrl: Couldn't get bank PG regulator
[ 5.096255] sun4i-usb-phy 1c19400.phy: Couldn't get regulator usb0_vbus... Deferring probe
[ 5.098105] sun50i-a64-pinctrl 1c20800.pinctrl: Couldn't get bank PC regulator
[ 5.098117] sun50i-a64-pinctrl 1c20800.pinctrl: request() failed for pin 69
[ 5.098123] sun50i-a64-pinctrl 1c20800.pinctrl: pin-69 (1c11000.mmc) status -517
[ 5.098132] sun50i-a64-pinctrl 1c20800.pinctrl: could not request pin 69 (PC5) from group PC5 on device 1c20800.pinctrl
[ 5.098139] sunxi-mmc 1c11000.mmc: Error applying setting, reverse things back
[ 5.119210] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.121583] axp20x-rsb sunxi-rsb-3a3: AXP20X driver loaded
[ 5.124182] sun4i-usb-phy 1c19400.phy: Couldn't get regulator usb0_vbus... Deferring probe
[ 5.125642] sun50i-a64-pinctrl 1c20800.pinctrl: request() failed for pin 192
[ 5.125664] sun50i-a64-pinctrl 1c20800.pinctrl: pin-192 (1c10000.mmc) status -517
[ 5.128397] sun50i-a64-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator
[ 5.131242] sun50i-a64-pinctrl 1c20800.pinctrl: Couldn't get bank PC regulator
[ 5.131254] sun50i-a64-pinctrl 1c20800.pinctrl: request() failed for pin 69

As a result, i have installed one usb external dongle to bridge Ethernet
ansible@pinebook-290:~$ lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 2: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 3: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
ansible@pinebook-290:~$