Search Linux Wireless

Issues with rtw_8723de and rtw_pci drivers from rtw88 for Realtek RTL8723DE module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Larry Finger, I forgot to send the email with the subject only
realised that the email had no subject after the email had been sent.
Did not expect a reply because of that. By default Gmail does not
notify me that I have sent an email without a subject. I tried sending
emails to linux-wireless@xxxxxxxxxxxxxxx but they failed because the
emails were required to be in plain text format to avoid spam and
viruses like the Outlook Virus. Googled the solution and switched to
plain text mode in gmail. Saved the attached logs from the terminal
using the txt extension. I apologize for any inconveniences caused. I
re-explain the issue below and add an issue that I did not mention in
the previous email and the ones that failed to send. I suspect the USB
errors are from the btusb driver and I do not have any usb device
connected when the driver fails.

Linux Distro: Linux Mint 20 Cinnamon (Ubuntu 20.04 base)
PC: HP Notebook 15-bs1xx

Network Devices:
Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
Device-2: Realtek RTL8723DE 802.11b/g/n PCIe Adapter driver: rtw_pci
Device-3: Realtek 802.11n WLAN Adapter type: USB driver: btusb

I suspect snapd to be the cause of the errors. Linux Mint 20 uses the
driver (rtw_pci) that comes with Ubuntu's stock kernel 5.4 and newer
if it exists. The errors also occur when using the rtw_8723de driver
as obtained, built and installed using make from Larry Finger's rtw88
GitHub Repo. Without snapd the driver only fails at least once if I
switch the kernel to Liquorix custom ubuntu latest kernels. Could not
remove snapd because some snaps are critically required and the
flatpaks of the required packages do not work as expected due to a
flatpak issue.

When installing snapd for the first time and when snapd is still
installed: updating network related packages except wpa_supplicant,
changing a setting in a network related configuration file, disabling
bluetooth via systemd and creating a startup custom command to block
bluetooth using rfkill via Startup applications in Cinnamon desktop
and rebooting to confirm the changes cause the driver to fail and
become unavailable. The errors that are logged every time the driver
fails are in the attached 'log1.txt' file and in 'log2.txt' file
contains some errors that have occurred when bluetooth is disabled via
systemd and then reboot. Some logs in 'log2.txt' are understandable,
especially the pulseaudio ones. In the 'log3.txt'  file contains a
repeating error that seems firmware related that is logged only when
the driver is in use. After a reboot after the driver failure the
driver works in most cases but in some cases a power reset fixed the
issue and the driver may fail again when doing the mentioned tasks as
snapd is still installed.

If ethernet connection is used when installing and setting up Linux
mint 20 while the WiFi driver (rtw_pci) is loaded, when using WiFi
after the set up, pages load slow even if the connection is very fast
and solved by disabling WiFi power management by setting wifi
powersave to 2. Disabling WiFi power management causes the module to
become unresponsive after at least an hour of streaming to the point
that the login pages of the main router and the WiFi range extender
that is connected to the main router via cable could not load. The
driver is only best stable with default power management if I use WiFi
to install and set up Linux Mint 20 and not using ethernet when the
WiFi is still on and also not setting the crda regdomain to my current
region but leave it on generic mode.

A user solved his/her RTL8723DE problems by changing the module to an
intel ax200 if I can recall correctly because he/she was tired of the
issues of his/her RTL8723DE and will avoid HP laptops in future and
probably Lenovo laptops if he/she knew about the wrong antenna
information encoded to the WLAN device but they 'fix' the issue by
patching the Windows driver.
-- Logs begin at Sun 2020-07-12 08:43:51 EAT, end at Mon 2020-07-13 09:15:38 EAT. --
Jul 12 12:32:32 tony-pc kernel: usb 2-4: device descriptor read/64, error -71
Jul 12 12:32:32 tony-pc kernel: usb 2-4: device descriptor read/64, error -71
Jul 12 12:32:33 tony-pc kernel: usb 2-4: device descriptor read/64, error -71
Jul 12 12:32:33 tony-pc kernel: usb 2-4: device descriptor read/64, error -71
Jul 12 12:32:34 tony-pc kernel: usb 2-4: device not accepting address 2, error -71
Jul 12 12:32:34 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to poll offset=0x5 mask=0x1 value=0x0
Jul 12 12:32:34 tony-pc kernel: rtw_pci 0000:0d:00.0: mac power on failed
Jul 12 12:32:34 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to power on mac
Jul 12 12:32:34 tony-pc kernel: rtw_pci 0000:0d:00.0: leave idle state failed
Jul 12 12:32:34 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to leave ips state
Jul 12 12:32:34 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to leave idle state
Jul 12 12:32:34 tony-pc kernel: usb 2-4: device not accepting address 2, error -71
Jul 12 12:32:34 tony-pc kernel: usb 2-4: device descriptor read/64, error -71
Jul 12 12:32:35 tony-pc kernel: usb 2-4: device descriptor read/64, error -71
Jul 12 12:32:35 tony-pc kernel: usb 2-4: device descriptor read/64, error -71
Jul 12 12:32:35 tony-pc kernel: usb 2-4: device descriptor read/64, error -71
Jul 12 12:32:36 tony-pc kernel: usb 2-4: device not accepting address 6, error -71
Jul 12 12:32:37 tony-pc kernel: usb 2-4: device not accepting address 7, error -71
Jul 12 12:32:37 tony-pc kernel: usb usb2-port4: unable to enumerate USB device
Jul 12 12:32:37 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to poll offset=0x5 mask=0x3 value=0x0
Jul 12 12:32:37 tony-pc kernel: rtw_pci 0000:0d:00.0: mac power on failed
Jul 12 12:32:37 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to power on mac
Jul 12 12:32:37 tony-pc kernel: rtw_pci 0000:0d:00.0: leave idle state failed
Jul 12 12:32:37 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to leave ips state
Jul 12 12:32:37 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to leave idle state
Jul 12 12:32:38 tony-pc pulseaudio[1452]: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.
Jul 12 12:32:43 tony-pc pulseaudio[1573]: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.
Jul 12 12:32:55 tony-pc pulseaudio[1573]: snd_pcm_avail() returned a value that is exceptionally large: 413284 bytes (2152 ms).
Jul 12 12:32:55 tony-pc pulseaudio[1573]: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
Jul 12 12:32:55 tony-pc pulseaudio[1573]: snd_pcm_dump():
Jul 12 12:32:55 tony-pc pulseaudio[1573]: Soft volume PCM
Jul 12 12:32:55 tony-pc pulseaudio[1573]: Control: PCM Playback Volume
Jul 12 12:32:55 tony-pc pulseaudio[1573]: min_dB: -51
Jul 12 12:32:55 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to poll offset=0x5 mask=0x3 value=0x0
Jul 12 12:32:55 tony-pc kernel: rtw_pci 0000:0d:00.0: mac power on failed
Jul 12 12:32:55 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to power on mac
Jul 12 12:32:55 tony-pc kernel: rtw_pci 0000:0d:00.0: leave idle state failed
Jul 12 12:32:55 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to leave ips state
Jul 12 12:32:55 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to leave idle state
Jul 12 12:32:55 tony-pc pulseaudio[1573]: max_dB: 0
Jul 12 12:32:55 tony-pc pulseaudio[1573]: resolution: 256
Jul 12 12:32:55 tony-pc pulseaudio[1573]: Its setup is:
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   stream       : PLAYBACK
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   access       : MMAP_INTERLEAVED
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   format       : S16_LE
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   subformat    : STD
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   channels     : 2
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   rate         : 48000
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   exact rate   : 48000 (48000/1)
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   msbits       : 16
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   buffer_size  : 16384
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   period_size  : 8192
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   period_time  : 170666
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   tstamp_mode  : ENABLE
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   tstamp_type  : MONOTONIC
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   period_step  : 1
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   avail_min    : 15503
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   period_event : 0
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   start_threshold  : -1
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   stop_threshold   : 4611686018427387904
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   silence_threshold: 0
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   silence_size : 0
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   boundary     : 4611686018427387904
Jul 12 12:32:55 tony-pc pulseaudio[1573]: Slave: Hardware PCM card 1 'HDA Intel PCH' device 0 subdevice 0
Jul 12 12:32:55 tony-pc pulseaudio[1573]: Its setup is:
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   stream       : PLAYBACK
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   access       : MMAP_INTERLEAVED
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   format       : S16_LE
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   subformat    : STD
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   channels     : 2
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   rate         : 48000
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   exact rate   : 48000 (48000/1)
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   msbits       : 16
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   buffer_size  : 16384
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   period_size  : 8192
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   period_time  : 170666
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   tstamp_mode  : ENABLE
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   tstamp_type  : MONOTONIC
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   period_step  : 1
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   avail_min    : 15503
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   period_event : 0
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   start_threshold  : -1
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   stop_threshold   : 4611686018427387904
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   silence_threshold: 0
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   silence_size : 0
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   boundary     : 4611686018427387904
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   appl_ptr     : 203111
Jul 12 12:32:55 tony-pc pulseaudio[1573]:   hw_ptr       : 290048
Jul 12 12:33:28 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to poll offset=0x5 mask=0x3 value=0x0
Jul 12 12:33:28 tony-pc kernel: rtw_pci 0000:0d:00.0: mac power on failed
Jul 12 12:33:28 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to power on mac
Jul 12 12:33:28 tony-pc kernel: rtw_pci 0000:0d:00.0: leave idle state failed
Jul 12 12:33:28 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to leave ips state
Jul 12 12:33:28 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to leave idle state
-- Logs begin at Sun 2020-07-12 08:43:51 EAT, end at Mon 2020-07-13 09:18:57 EAT. --
Jul 12 12:37:48 tony-pc kernel: usb 2-4: device descriptor read/64, error -71
Jul 12 12:37:49 tony-pc kernel: usb 2-4: device descriptor read/64, error -71
Jul 12 12:37:49 tony-pc kernel: usb 2-4: device descriptor read/64, error -71
Jul 12 12:37:49 tony-pc kernel: usb 2-4: device descriptor read/64, error -71
Jul 12 12:37:50 tony-pc kernel: usb 2-4: device not accepting address 2, error -71
Jul 12 12:37:51 tony-pc kernel: usb 2-4: device not accepting address 2, error -71
Jul 12 12:37:51 tony-pc kernel: usb 2-4: device descriptor read/64, error -71
Jul 12 12:37:51 tony-pc kernel: usb 2-4: device descriptor read/64, error -71
Jul 12 12:37:51 tony-pc kernel: usb 2-4: device descriptor read/64, error -71
Jul 12 12:37:52 tony-pc kernel: usb 2-4: device descriptor read/64, error -71
Jul 12 12:37:53 tony-pc kernel: usb 2-4: device not accepting address 6, error -71
Jul 12 12:37:53 tony-pc kernel: usb 2-4: device not accepting address 7, error -71
Jul 12 12:37:53 tony-pc kernel: usb usb2-port4: unable to enumerate USB device
Jul 12 12:37:55 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to poll offset=0x5 mask=0x1 value=0x0
Jul 12 12:37:55 tony-pc kernel: rtw_pci 0000:0d:00.0: mac power on failed
Jul 12 12:37:55 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to power on mac
Jul 12 12:38:01 tony-pc wpa_supplicant[985]: Could not set interface wlo1 flags (UP): Invalid argument
Jul 12 12:38:01 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to poll offset=0x5 mask=0x3 value=0x0
Jul 12 12:38:01 tony-pc kernel: rtw_pci 0000:0d:00.0: mac power on failed
Jul 12 12:38:01 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to power on mac
Jul 12 12:38:01 tony-pc wpa_supplicant[985]: nl80211: Could not set interface 'wlo1' UP
Jul 12 12:38:07 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to poll offset=0x5 mask=0x3 value=0x0
Jul 12 12:38:07 tony-pc kernel: rtw_pci 0000:0d:00.0: mac power on failed
Jul 12 12:38:07 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to power on mac
Jul 12 12:38:07 tony-pc wpa_supplicant[985]: Could not set interface wlo1 flags (UP): Invalid argument
Jul 12 12:38:07 tony-pc NetworkManager[949]: <error> [1594546687.2796] sup-iface[0x5639d1211900,wlo1]: error adding interface: wpa_supplicant couldn't grab this interface.
Jul 12 12:38:07 tony-pc wpa_supplicant[985]: WEXT: Could not set interface 'wlo1' UP
Jul 12 12:38:07 tony-pc wpa_supplicant[985]: wlo1: Failed to initialize driver interface
Jul 12 12:38:23 tony-pc wpa_supplicant[985]: Could not set interface wlo1 flags (UP): Invalid argument
Jul 12 12:38:23 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to poll offset=0x5 mask=0x3 value=0x0
Jul 12 12:38:23 tony-pc kernel: rtw_pci 0000:0d:00.0: mac power on failed
Jul 12 12:38:23 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to power on mac
Jul 12 12:38:23 tony-pc wpa_supplicant[985]: nl80211: Could not set interface 'wlo1' UP
Jul 12 12:38:29 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to poll offset=0x5 mask=0x3 value=0x0
Jul 12 12:38:29 tony-pc kernel: rtw_pci 0000:0d:00.0: mac power on failed
Jul 12 12:38:29 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to power on mac
Jul 12 12:38:29 tony-pc wpa_supplicant[985]: Could not set interface wlo1 flags (UP): Invalid argument
Jul 12 12:38:29 tony-pc wpa_supplicant[985]: WEXT: Could not set interface 'wlo1' UP
Jul 12 12:38:29 tony-pc wpa_supplicant[985]: wlo1: Failed to initialize driver interface
Jul 12 12:38:29 tony-pc NetworkManager[949]: <error> [1594546709.7417] sup-iface[0x5639d12119f0,wlo1]: error adding interface: wpa_supplicant couldn't grab this interface.
Jul 12 12:38:45 tony-pc wpa_supplicant[985]: Could not set interface wlo1 flags (UP): Invalid argument
Jul 12 12:38:45 tony-pc wpa_supplicant[985]: nl80211: Could not set interface 'wlo1' UP
Jul 12 12:38:45 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to poll offset=0x5 mask=0x3 value=0x0
Jul 12 12:38:45 tony-pc kernel: rtw_pci 0000:0d:00.0: mac power on failed
Jul 12 12:38:45 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to power on mac
Jul 12 12:38:51 tony-pc wpa_supplicant[985]: Could not set interface wlo1 flags (UP): Invalid argument
Jul 12 12:38:51 tony-pc wpa_supplicant[985]: WEXT: Could not set interface 'wlo1' UP
Jul 12 12:38:51 tony-pc wpa_supplicant[985]: wlo1: Failed to initialize driver interface
Jul 12 12:38:51 tony-pc NetworkManager[949]: <error> [1594546731.7218] sup-iface[0x5639d1211ae0,wlo1]: error adding interface: wpa_supplicant couldn't grab this interface.
Jul 12 12:38:51 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to poll offset=0x5 mask=0x3 value=0x0
Jul 12 12:38:51 tony-pc kernel: rtw_pci 0000:0d:00.0: mac power on failed
Jul 12 12:38:51 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to power on mac
Jul 13 08:51:04 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to send h2c command
Jul 13 08:55:32 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to send h2c command
Jul 13 08:57:00 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to send h2c command
Jul 13 08:57:56 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to send h2c command
Jul 13 09:04:12 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to send h2c command
Jul 13 09:05:00 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to send h2c command
Jul 13 09:06:21 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to send h2c command
Jul 13 09:10:49 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to send h2c command
Jul 13 09:13:21 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to send h2c command
Jul 13 09:15:38 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to send h2c command
Jul 13 09:21:30 tony-pc kernel: rtw_pci 0000:0d:00.0: failed to send h2c command

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux