HP 15q-by004az Realtek rtl8111 wifi not working at all

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
DanielShip

HP 15q-by004az Realtek rtl8111 wifi not working at all

Post by DanielShip »

Hi. I'm a total newbie. I have tried searching many forums and tried many solutions given there, but nothing worked.
I installed Linux Mint 18.2, 64bit cinnamon, upgraded the kernel to 4.12.13, tried 5 or 6 different things I found online but cannot get the wifi to work at all. Before I updated the kernel, it said "cable unplugged". after updating the kernel, the connection doesn't appear at all. I don't have an ethernet connection to check but internet works through usb.

inxi gives:

Code: Select all

CPU~Dual core AMD A9-9420 RADEON R5 5 COMPUTE CORES 2C+3G (-MCP-) speed/max~1762/3000 MHz Kernel~4.13.12-041312-generic x86_64 Up~21 min Mem~911.4/3898.7MB HDD~1000.2GB(1.2% used) Procs~164 Client~Shell inxi~2.2.35

Here is what comes from lspci -v:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1576
	Subsystem: Hewlett-Packard Company Device 8331
	Flags: bus master, fast devsel, latency 0

00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 1577
	Subsystem: Hewlett-Packard Company Device 8331
	Flags: bus master, fast devsel, latency 0, IRQ 24
	Capabilities: <access denied>

00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 98e4 (rev da) (prog-if 00 [VGA controller])
	Subsystem: Hewlett-Packard Company Device 8331
	Flags: bus master, fast devsel, latency 0, IRQ 35
	Memory at e0000000 (64-bit, prefetchable) [size=128M]
	Memory at e8800000 (64-bit, prefetchable) [size=8M]
	I/O ports at 5000 [size=256]
	Memory at e8500000 (32-bit, non-prefetchable) [size=256K]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15b3
	Subsystem: Hewlett-Packard Company Device 8331
	Flags: bus master, fast devsel, latency 0, IRQ 37
	Memory at e8560000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
	Flags: fast devsel

00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 26
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 00004000-00004fff
	Memory behind bridge: e8400000-e84fffff
	Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 27
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 00003000-00003fff
	Memory behind bridge: e8300000-e83fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 28
	Bus: primary=00, secondary=03, subordinate=05, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: e9000000-e90fffff
	Prefetchable memory behind bridge: 00000000e8000000-00000000e80fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
	Flags: fast devsel

00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1578
	Subsystem: Hewlett-Packard Company Device 8331
	Flags: bus master, fast devsel, latency 0, IRQ 3
	Memory at e8540000 (64-bit, prefetchable) [size=128K]
	Memory at e8200000 (32-bit, non-prefetchable) [size=1M]
	Memory at e856f000 (32-bit, non-prefetchable) [size=4K]
	Memory at e856a000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>

00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157d
	Flags: fast devsel

00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Device 157a
	Subsystem: Hewlett-Packard Company Device 8331
	Flags: bus master, fast devsel, latency 0, IRQ 38
	Memory at e8564000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 20) (prog-if 30 [XHCI])
	Subsystem: Hewlett-Packard Company FCH USB XHCI Controller
	Flags: bus master, fast devsel, latency 0, IRQ 18
	Memory at e8568000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd

00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 4b) (prog-if 01 [AHCI 1.0])
	Subsystem: Hewlett-Packard Company FCH SATA Controller [AHCI mode]
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
	I/O ports at 5118 [size=8]
	I/O ports at 5124 [size=4]
	I/O ports at 5110 [size=8]
	I/O ports at 5120 [size=4]
	I/O ports at 5100 [size=16]
	Memory at e856c000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ahci
	Kernel modules: ahci

00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 49) (prog-if 20 [EHCI])
	Subsystem: Hewlett-Packard Company FCH USB EHCI Controller
	Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18
	Memory at e856d000 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: ehci-pci


00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 4b)
	Subsystem: Hewlett-Packard Company FCH SMBus Controller
	Flags: 66MHz, medium devsel
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c_piix4, sp5100_tco

00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
	Subsystem: Hewlett-Packard Company FCH LPC Bridge
	Flags: bus master, 66MHz, medium devsel, latency 0

00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b0
	Flags: fast devsel

00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b1
	Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b2
	Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b3
	Flags: fast devsel
	Capabilities: <access denied>

00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b4
	Flags: fast devsel
	Kernel driver in use: fam15h_power
	Kernel modules: fam15h_power

00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b5
	Flags: fast devsel

01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330] (rev ff) (prog-if ff)
	!!! Unknown header type 7f
	Kernel driver in use: radeon
	Kernel modules: radeon, amdgpu

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
	Flags: fast devsel, IRQ 5
	I/O ports at 3000 [size=256]
	Memory at e8304000 (64-bit, non-prefetchable) [size=4K]
	Memory at e8300000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel modules: r8168

03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device d723
	DeviceName:  
	Subsystem: Hewlett-Packard Company Device 8319
	Flags: fast devsel, IRQ 5
	I/O ports at 2000 [size=256]
	Memory at e9000000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>

I already tried installing r8168-dkms but still have no wifi.
Help!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: HP 15q-by004az Realtek rtl8111 wifi not working at all

Post by JeremyB »

Your wifi is not yet supported in any Linux kernel, your wifi is

Code: Select all

03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device d723
   DeviceName:  
   Subsystem: Hewlett-Packard Company Device 8319
   Flags: fast devsel, IRQ 5
   I/O ports at 2000 [size=256]
   Memory at e9000000 (64-bit, non-prefetchable) [size=64K]
   Capabilities: <access denied>
It is a Realtek RTL8723DE chipset, no real ETA on a Linux driver but supposedly before the end of the year
DanielShip

Re: HP 15q-by004az Realtek rtl8111 wifi not working at all

Post by DanielShip »

Thanks for the reply. Is it possible to use the Windows driver?
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: HP 15q-by004az Realtek rtl8111 wifi not working at all

Post by JeremyB »

I doubt it is possible to use Windows drivers as ndiswrapper only works with WinXP drivers
DanielShip

Re: HP 15q-by004az Realtek rtl8111 wifi not working at all

Post by DanielShip »

Thanks Jeremy. So how will I know when the driver is available? And one more question: is this related to bluetooth? My bluetooth also doesn't work.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: HP 15q-by004az Realtek rtl8111 wifi not working at all

Post by JeremyB »

I have heard that Realtek might provide the source code by the end of the year
deepclutch
Level 1
Level 1
Posts: 18
Joined: Wed Jan 11, 2012 9:54 am

Re: HP 15q-by004az Realtek rtl8111 wifi not working at all

Post by deepclutch »

Someone else made an unofficial Linux driver available for RTL8723DE module: https://github.com/smlinux/rtl8723de

You have to clone git source or extract zip and cd into rtl8723de directory in a terminal, do a "make", then sudo make install (if successful). To get WiFi working, sudo modprobe 8723de.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: HP 15q-by004az Realtek rtl8111 wifi not working at all

Post by JeremyB »

To install the module for the RTL8723DE chipset, first determine your kernel using uname -r if your kernel is lower than 4.11, do

Code: Select all

sudo apt-get install build-essential dkms
git clone -b 4.10-down https://github.com/jeremyb31/rtl8723de.git
sudo dkms add ./rtl8723de
sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
Then reboot

If you have kernel 4.11 and newer do

Code: Select all

sudo apt-get install build-essential dkms
git clone https://github.com/jeremyb31/rtl8723de.git
sudo dkms add ./rtl8723de
sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
Then reboot
Locked

Return to “Hardware Support”