[SOLVED] HP latptop WI-FI not working (LM19 MATE)

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.
f1conni

[SOLVED] HP latptop WI-FI not working (LM19 MATE)

Post by f1conni »

Hi,
i have looked for a solution on some previous posts,copied and executed all the commands but it didn't help me.
Mind offering help?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
JoeFootball
Level 13
Level 13
Posts: 4673
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: HP latptop WI-FI not working (LM19 MATE)

Post by JoeFootball »

f1conni wrote:Mind offering help?
You can try some of the ideas on the "How to solve internet connection problems" article from the Easy Linux Tips Project.

On my HP laptop, it was Section 1.7 from there which had the solution for me. Yours may differ, so be sure to read the other options as well.

Joe
f1conni

Re: HP latptop WI-FI not working (LM19 MATE)

Post by f1conni »

Thanks for the response!

First off,we already have the problem - i have a Realtek RTL8821 CE - and there is no mention of it on the page you have sent me. When I was googling for it after that, found this link:

https://askubuntu.com/questions/1071299 ... untu-18-04

I tried to do the steps mentioned,but even after downloading it still doesn't work.

Maybe there isn't a driver for it?

Also, I was stumbeling on

https://bugs.launchpad.net/ubuntu/+sour ... ug/1740231

and found a file - but I am not certain if it is it.

Any sugesstions?
User avatar
lsemmens
Level 11
Level 11
Posts: 3951
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: HP latptop WI-FI not working (LM19 MATE)

Post by lsemmens »

Hi f1conni can you give some more information on your system, please. My HP laptops bot worked "out of the box" with WIFI, so I'm sure there's something we can do to help

Please, can you post the results of inxi -Fxzd.
open a terminal - little black icon with $ sign in the corner,
type in the inxi - Fxzd command
cut and paste the results back here - put the results between [ code][/ code] tags (</> icon at the top of the reply box)
One of our expurts may be able to be more specific with their help.
Fully mint Household
Out of my mind - please leave a message
f1conni

Re: HP latptop WI-FI not working (LM19 MATE)

Post by f1conni »

Code: Select all

CPU~Dual core AMD A9-9425 RADEON R5 5 COMPUTE CORES 2C+3G (-MCP-) speed/max~2057/3100 MHz Kernel~4.15.0-39-generic x86_64 Up~48 min Mem~1827.1/3895.4MB HDD~1128.2GB(1.0% used) Procs~174 Client~Shell inxi~2.3.56
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: HP latptop WI-FI not working (LM19 MATE)

Post by JeremyB »

See viewtopic.php?f=49&t=281786#p1554082 if it is the rtl8821ce
f1conni

Re: HP latptop WI-FI not working (LM19 MATE)

Post by f1conni »

Code: Select all

filip@filip-HP-Laptop-15-db0xxx:~$ sudo apt install git build-essential dkms
[sudo] password for filip: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
dkms is already the newest version (2.3-3ubuntu9.2).
git is already the newest version (1:2.17.1-1ubuntu0.3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
filip@filip-HP-Laptop-15-db0xxx:~$ git clone https://github.com/tomaspinho/rtl8821ce.git
fatal: destination path 'rtl8821ce' already exists and is not an empty directory.
filip@filip-HP-Laptop-15-db0xxx:~$ cd rtl8821ce
filip@filip-HP-Laptop-15-db0xxx:~/rtl8821ce$ sudo ./dkms-install.sh
About to run dkms install steps...
Error! DKMS tree already contains: rtl8821ce-1.0.0
You cannot add the same module/version combo more than once.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' -j4 KVER=4.15.0-39-generic.............^C
I already did something simular,seeing the commands from another forum(can't remember where sadly).Tried it now and theese are the results.
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: HP latptop WI-FI not working (LM19 MATE)

Post by JeremyB »

What happens with

Code: Select all

sudo modprobe -v 8821ce
f1conni

Re: HP latptop WI-FI not working (LM19 MATE)

Post by f1conni »

Code: Select all

modprobe: FATAL: Module 8821ce not found in directory /lib/modules/4.15.0-39-generic
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: HP latptop WI-FI not working (LM19 MATE)

Post by JeremyB »

do

Code: Select all

cd rtl8821ce
sudo ./dkms-remove.sh
cd
rm -rf rtl8821ce
Check

Code: Select all

ls /usr/src | grep rtl8821; dkms status
Post results
f1conni

Re: HP latptop WI-FI not working (LM19 MATE)

Post by f1conni »

Code: Select all

Finished running dkms removal steps.
filip@filip-HP-Laptop-15-db0xxx:~/rtl8821ce$ cd
filip@filip-HP-Laptop-15-db0xxx:~$ rm -rf rtl8821ce
filip@filip-HP-Laptop-15-db0xxx:~$ ls /usr/src | grep rtl8821; dkms status
rtlwifi-new, 0.6, 4.15.0-39-generic, x86_64: installed (original_module exists)
filip@filip-HP-Laptop-15-db0xxx:~$ 
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: HP latptop WI-FI not working (LM19 MATE)

Post by JeremyB »

Code: Select all

sudo dkms remove rtlwifi-new/0.6 --all
sudo rm -rf /usr/src/rtlwifi-new-0.6
reboot
Then try the commands from viewtopic.php?f=49&t=281786#p1554082
f1conni

Re: HP latptop WI-FI not working (LM19 MATE)

Post by f1conni »

Nope. Still doesn't work sadly...
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: HP latptop WI-FI not working (LM19 MATE)

Post by JeremyB »

Any errors running the commands? See the wireless script in my signature and post results
f1conni

Re: HP latptop WI-FI not working (LM19 MATE)

Post by f1conni »

Code: Select all

filip@filip-HP-Laptop-15-db0xxx:~$ wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && chmod +x wireless-info && ./wireless-info
--2018-11-18 20:45:26--  https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info
Resolving github.com (github.com)... 140.82.118.4, 140.82.118.3
Connecting to github.com (github.com)|140.82.118.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/UbuntuForums/wireless-info/master/wireless-info [following]
--2018-11-18 20:45:26--  https://raw.githubusercontent.com/UbuntuForums/wireless-info/master/wireless-info
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.192.133, 151.101.128.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17452 (17K) [text/plain]
Saving to: ‘wireless-info’

wireless-info       100%[===================>]  17,04K  --.-KB/s    in 0,04s   

Last-modified header missing -- time-stamps turned off.
2018-11-18 20:45:27 (411 KB/s) - ‘wireless-info’ saved [17452/17452]

[sudo] password for filip: 

Results saved in "/home/filip/wireless-info.txt".

filip@filip-HP-Laptop-15-db0xxx:~$ cat wireless-info.txt | nc termbin.com 9999
http://termbin.com/ztvj
filip@filip-HP-Laptop-15-db0xxx:~$ 
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: HP latptop WI-FI not working (LM19 MATE)

Post by JeremyB »

What is result for

Code: Select all

locate 8821ce.ko
f1conni

Re: HP latptop WI-FI not working (LM19 MATE)

Post by f1conni »

nothing appeared
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: HP latptop WI-FI not working (LM19 MATE)

Post by JeremyB »

Not sure what is happening but try

Code: Select all

cd rtl8821ce
make
sudo make install
Reboot

I am really not sure why the mokutil --sb-state is showing

SecureBoot disabled
Platform is in Setup Mode

Did you delete some keys in BIOS rather than just disable Secure Boot?
f1conni

Re: HP latptop WI-FI not working (LM19 MATE)

Post by f1conni »

Hmmm I don't think so.Anyway,here are the results before I reboot.

Code: Select all

filip@filip-HP-Laptop-15-db0xxx:~$ cd rtl8821ce
filip@filip-HP-Laptop-15-db0xxx:~/rtl8821ce$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-39-generic/build M=/home/filip/rtl8821ce  modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-39-generic'
Makefile:975: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
  CC [M]  /home/filip/rtl8821ce/core/rtw_cmd.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_security.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_debug.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_io.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_ioctl_query.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_ioctl_set.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_ieee80211.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_mlme.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_mlme_ext.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_mi.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_wlan_util.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_vht.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_pwrctrl.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_rf.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_recv.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_sta_mgt.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_ap.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_xmit.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_p2p.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_tdls.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_br_ext.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_iol.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_sreset.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_btcoex_wifionly.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_btcoex.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_beamforming.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_odm.o
  CC [M]  /home/filip/rtl8821ce/core/efuse/rtw_efuse.o
  CC [M]  /home/filip/rtl8821ce/os_dep/osdep_service.o
  CC [M]  /home/filip/rtl8821ce/os_dep/linux/os_intfs.o
  CC [M]  /home/filip/rtl8821ce/os_dep/linux/pci_intf.o
  CC [M]  /home/filip/rtl8821ce/os_dep/linux/pci_ops_linux.o
  CC [M]  /home/filip/rtl8821ce/os_dep/linux/ioctl_linux.o
  CC [M]  /home/filip/rtl8821ce/os_dep/linux/xmit_linux.o
  CC [M]  /home/filip/rtl8821ce/os_dep/linux/mlme_linux.o
  CC [M]  /home/filip/rtl8821ce/os_dep/linux/recv_linux.o
  CC [M]  /home/filip/rtl8821ce/os_dep/linux/ioctl_cfg80211.o
  CC [M]  /home/filip/rtl8821ce/os_dep/linux/rtw_cfgvendor.o
  CC [M]  /home/filip/rtl8821ce/os_dep/linux/wifi_regd.o
  CC [M]  /home/filip/rtl8821ce/os_dep/linux/rtw_android.o
  CC [M]  /home/filip/rtl8821ce/os_dep/linux/rtw_proc.o
  CC [M]  /home/filip/rtl8821ce/os_dep/linux/ioctl_mp.o
  CC [M]  /home/filip/rtl8821ce/hal/hal_intf.o
  CC [M]  /home/filip/rtl8821ce/hal/hal_com.o
  CC [M]  /home/filip/rtl8821ce/hal/hal_com_phycfg.o
  CC [M]  /home/filip/rtl8821ce/hal/hal_phy.o
  CC [M]  /home/filip/rtl8821ce/hal/hal_dm.o
  CC [M]  /home/filip/rtl8821ce/hal/hal_btcoex_wifionly.o
  CC [M]  /home/filip/rtl8821ce/hal/hal_btcoex.o
  CC [M]  /home/filip/rtl8821ce/hal/hal_mp.o
  CC [M]  /home/filip/rtl8821ce/hal/hal_mcc.o
  CC [M]  /home/filip/rtl8821ce/hal/hal_hci/hal_pci.o
  CC [M]  /home/filip/rtl8821ce/hal/led/hal_pci_led.o
  CC [M]  /home/filip/rtl8821ce/hal/hal_halmac.o
  CC [M]  /home/filip/rtl8821ce/hal/rtl8821c/rtl8821c_halinit.o
  CC [M]  /home/filip/rtl8821ce/hal/rtl8821c/rtl8821c_mac.o
  CC [M]  /home/filip/rtl8821ce/hal/rtl8821c/rtl8821c_cmd.o
  CC [M]  /home/filip/rtl8821ce/hal/rtl8821c/rtl8821c_phy.o
  CC [M]  /home/filip/rtl8821ce/hal/rtl8821c/rtl8821c_dm.o
  CC [M]  /home/filip/rtl8821ce/hal/rtl8821c/rtl8821c_ops.o
  CC [M]  /home/filip/rtl8821ce/hal/rtl8821c/hal8821c_fw.o
  CC [M]  /home/filip/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halinit.o
  CC [M]  /home/filip/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halmac.o
  CC [M]  /home/filip/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_io.o
  CC [M]  /home/filip/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_xmit.o
  CC [M]  /home/filip/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_recv.o
/home/filip/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_recv.c: In function ‘rtl8821ce_rx_mpdu’:
/home/filip/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_recv.c:274:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (pattrib->pkt_rpt_type == C2H_PACKET)
     ^~
/home/filip/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_recv.c:278:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
      rtw_free_recvframe(precvframe, pfree_recv_queue);
      ^~~~~~~~~~~~~~~~~~
  CC [M]  /home/filip/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_led.o
  CC [M]  /home/filip/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_ops.o
  CC [M]  /home/filip/rtl8821ce/hal/efuse/rtl8821c/HalEfuseMask8821C_PCIE.o
  CC [M]  /home/filip/rtl8821ce/hal/halmac/halmac_api.o
  CC [M]  /home/filip/rtl8821ce/hal/halmac/halmac_88xx/halmac_api_88xx.o
  CC [M]  /home/filip/rtl8821ce/hal/halmac/halmac_88xx/halmac_func_88xx.o
  CC [M]  /home/filip/rtl8821ce/hal/halmac/halmac_88xx/halmac_api_88xx_usb.o
  CC [M]  /home/filip/rtl8821ce/hal/halmac/halmac_88xx/halmac_api_88xx_sdio.o
  CC [M]  /home/filip/rtl8821ce/hal/halmac/halmac_88xx/halmac_api_88xx_pcie.o
  CC [M]  /home/filip/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_8821c_pwr_seq.o
  CC [M]  /home/filip/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c.o
  CC [M]  /home/filip/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_func_8821c.o
  CC [M]  /home/filip/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c_usb.o
  CC [M]  /home/filip/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c_sdio.o
  CC [M]  /home/filip/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c_pcie.o
  CC [M]  /home/filip/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_8821c_phy.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_debug.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_antdiv.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_antdect.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_interface.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_hwconfig.o
/home/filip/rtl8821ce/hal/phydm/phydm_hwconfig.c: In function ‘odm_rx_phy_status_jaguar_series_parsing’:
/home/filip/rtl8821ce/hal/phydm/phydm_hwconfig.c:1310:45: warning: ‘EVM’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       p_phy_info->rx_mimo_signal_quality[i] = EVM;
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/halphyrf_ce.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_dig.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_pathdiv.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_rainfo.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_dynamicbbpowersaving.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_powertracking_ce.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_dynamictxpower.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_adaptivity.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_cfotracking.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_noisemonitor.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_acs.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_beamforming.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_dfs.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/txbf/halcomtxbf.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/txbf/haltxbfinterface.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/txbf/phydm_hal_txbf_api.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_adc_sampling.o
/home/filip/rtl8821ce/hal/phydm/phydm_adc_sampling.c: In function ‘phydm_la_buffer_allocate’:
/home/filip/rtl8821ce/hal/phydm/phydm_adc_sampling.c:46:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
   } else
     ^~~~
/home/filip/rtl8821ce/hal/phydm/phydm_adc_sampling.c:48:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
    ret = true;
    ^~~
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_kfree.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_ccx.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/phydm_psd.o
  CC [M]  /home/filip/rtl8821ce/hal/btc/halbtc8723bwifionly.o
  CC [M]  /home/filip/rtl8821ce/hal/btc/halbtc8822bwifionly.o
  CC [M]  /home/filip/rtl8821ce/hal/btc/halbtc8821cwifionly.o
  CC [M]  /home/filip/rtl8821ce/hal/btc/halbtc8192e1ant.o
  CC [M]  /home/filip/rtl8821ce/hal/btc/halbtc8192e2ant.o
  CC [M]  /home/filip/rtl8821ce/hal/btc/halbtc8723b1ant.o
  CC [M]  /home/filip/rtl8821ce/hal/btc/halbtc8723b2ant.o
  CC [M]  /home/filip/rtl8821ce/hal/btc/halbtc8812a1ant.o
  CC [M]  /home/filip/rtl8821ce/hal/btc/halbtc8812a2ant.o
  CC [M]  /home/filip/rtl8821ce/hal/btc/halbtc8821a1ant.o
  CC [M]  /home/filip/rtl8821ce/hal/btc/halbtc8821a2ant.o
  CC [M]  /home/filip/rtl8821ce/hal/btc/halbtc8703b1ant.o
  CC [M]  /home/filip/rtl8821ce/hal/btc/halbtc8723d1ant.o
  CC [M]  /home/filip/rtl8821ce/hal/btc/halbtc8723d2ant.o
  CC [M]  /home/filip/rtl8821ce/hal/btc/halbtc8822b1ant.o
  CC [M]  /home/filip/rtl8821ce/hal/btc/halbtc8822b2ant.o
  CC [M]  /home/filip/rtl8821ce/hal/btc/halbtc8821c1ant.o
/home/filip/rtl8821ce/hal/btc/halbtc8821c1ant.c: In function ‘halbtc8821c1ant_set_ext_ant_switch’:
/home/filip/rtl8821ce/hal/btc/halbtc8821c1ant.c:2333:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
/home/filip/rtl8821ce/hal/btc/halbtc8821c1ant.c:2333:30: note: did you mean to use logical not?
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
                              !
/home/filip/rtl8821ce/hal/btc/halbtc8821c1ant.c:2337:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
/home/filip/rtl8821ce/hal/btc/halbtc8821c1ant.c:2337:30: note: did you mean to use logical not?
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
                              !
/home/filip/rtl8821ce/hal/btc/halbtc8821c1ant.c:2348:31: warning: ‘~’ on a boolean expression [-Wbool-operation]
    switch_polatiry_inverse =  ~switch_polatiry_inverse;
                               ^
/home/filip/rtl8821ce/hal/btc/halbtc8821c1ant.c:2348:31: note: did you mean to use logical not?
    switch_polatiry_inverse =  ~switch_polatiry_inverse;
                               ^
                               !
  CC [M]  /home/filip/rtl8821ce/hal/btc/halbtc8821c2ant.o
/home/filip/rtl8821ce/hal/btc/halbtc8821c2ant.c: In function ‘halbtc8821c2ant_monitor_wifi_ctr’:
/home/filip/rtl8821ce/hal/btc/halbtc8821c2ant.c:454:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  if ((coex_dm->bt_status ==
  ^~
/home/filip/rtl8821ce/hal/btc/halbtc8821c2ant.c:461:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   if (cck_cnt > 250) {
   ^~
/home/filip/rtl8821ce/hal/btc/halbtc8821c2ant.c: In function ‘halbtc8821c2ant_set_ext_ant_switch’:
/home/filip/rtl8821ce/hal/btc/halbtc8821c2ant.c:2064:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
/home/filip/rtl8821ce/hal/btc/halbtc8821c2ant.c:2064:30: note: did you mean to use logical not?
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
                              !
/home/filip/rtl8821ce/hal/btc/halbtc8821c2ant.c:2068:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
/home/filip/rtl8821ce/hal/btc/halbtc8821c2ant.c:2068:30: note: did you mean to use logical not?
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
                              !
/home/filip/rtl8821ce/hal/btc/halbtc8821c2ant.c:2079:31: warning: ‘~’ on a boolean expression [-Wbool-operation]
    switch_polatiry_inverse =  ~switch_polatiry_inverse;
                               ^
/home/filip/rtl8821ce/hal/btc/halbtc8821c2ant.c:2079:31: note: did you mean to use logical not?
    switch_polatiry_inverse =  ~switch_polatiry_inverse;
                               ^
                               !
  CC [M]  /home/filip/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_bb.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_mac.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_rf.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/rtl8821c/phydm_hal_api8821c.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/rtl8821c/phydm_regconfig8821c.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/rtl8821c/halphyrf_8821c.o
  CC [M]  /home/filip/rtl8821ce/hal/phydm/rtl8821c/phydm_iqk_8821c.o
  CC [M]  /home/filip/rtl8821ce/platform/platform_ops.o
  CC [M]  /home/filip/rtl8821ce/core/rtw_mp.o
  LD [M]  /home/filip/rtl8821ce/8821ce.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/filip/rtl8821ce/8821ce.mod.o
  LD [M]  /home/filip/rtl8821ce/8821ce.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-39-generic'
filip@filip-HP-Laptop-15-db0xxx:~/rtl8821ce$ sudo make install
[sudo] password for filip: 
install -p -m 644 8821ce.ko  /lib/modules/4.15.0-39-generic/kernel/drivers/net/wireless/
/sbin/depmod -a 4.15.0-39-generic
filip@filip-HP-Laptop-15-db0xxx:~/rtl8821ce$ 
f1conni

Re: HP latptop WI-FI not working (LM19 MATE)

Post by f1conni »

Yes! It Works! Thank You So Much!

Treat yourself with a nice cold beer. You deserve it! :D :D :D
Locked

Return to “Hardware Support”