ok I tried the wifi ideapad solution, need help [solved]

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
AndyMH
Level 21
Level 21
Posts: 13696
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: ok I tried the wifi ideapad solution, need help

Post by AndyMH »

make fails to work

Code: Select all

apt install build-essential
I suspect you are missing some of the packages required.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
wutsinterweb
Level 6
Level 6
Posts: 1042
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: ok I tried the wifi ideapad solution, need help

Post by wutsinterweb »

I turned off fast boot and ran that command, make still throws up the erros
I've been using Mint for over 4 years, but I'm still a slow learner. I have a website: https://pickfetish.com. It is dedicated to guitar/instrument picks.
User avatar
wutsinterweb
Level 6
Level 6
Posts: 1042
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: ok I tried the wifi ideapad solution, need help

Post by wutsinterweb »

Code: Select all

mark@markidea2:~/rtl8852be$ make
#rm -f .symvers.8852be
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.0.0-1012-oem/build M=/home/mark/rtl8852be  modules
make[1]: Entering directory '/usr/src/linux-headers-6.0.0-1012-oem'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
  You are using:           gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
  CC [M]  /home/mark/rtl8852be/platform/platform_linux_pc_pci.o
/home/mark/rtl8852be/platform/platform_linux_pc_pci.c: In function ‘pci_cache_wback’:
/home/mark/rtl8852be/platform/platform_linux_pc_pci.c:21:17: error: implicit declaration of function ‘pci_dma_sync_single_for_device’; did you mean ‘dma_sync_single_for_device’? [-Werror=implicit-function-declaration]
   21 |                 pci_dma_sync_single_for_device(hwdev, *bus_addr, size,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 dma_sync_single_for_device
/home/mark/rtl8852be/platform/platform_linux_pc_pci.c: In function ‘pci_cache_inv’:
/home/mark/rtl8852be/platform/platform_linux_pc_pci.c:30:17: error: implicit declaration of function ‘pci_dma_sync_single_for_cpu’; did you mean ‘dma_sync_single_for_cpu’? [-Werror=implicit-function-declaration]
   30 |                 pci_dma_sync_single_for_cpu(hwdev, *bus_addr, size, direction);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 dma_sync_single_for_cpu
/home/mark/rtl8852be/platform/platform_linux_pc_pci.c: In function ‘pci_get_bus_addr’:
/home/mark/rtl8852be/platform/platform_linux_pc_pci.c:39:29: error: implicit declaration of function ‘pci_map_single’; did you mean ‘dma_map_single’? [-Werror=implicit-function-declaration]
   39 |                 *bus_addr = pci_map_single(hwdev, vir_addr, size, direction);
      |                             ^~~~~~~~~~~~~~
      |                             dma_map_single
/home/mark/rtl8852be/platform/platform_linux_pc_pci.c: In function ‘pci_unmap_bus_addr’:
/home/mark/rtl8852be/platform/platform_linux_pc_pci.c:50:17: error: implicit declaration of function ‘pci_unmap_single’; did you mean ‘dma_unmap_single’? [-Werror=implicit-function-declaration]
   50 |                 pci_unmap_single(hwdev, *bus_addr, size, direction);
      |                 ^~~~~~~~~~~~~~~~
      |                 dma_unmap_single
/home/mark/rtl8852be/platform/platform_linux_pc_pci.c: In function ‘pci_free_noncache_mem’:
/home/mark/rtl8852be/platform/platform_linux_pc_pci.c:97:17: error: implicit declaration of function ‘pci_free_consistent’ [-Werror=implicit-function-declaration]
   97 |                 pci_free_consistent(pdev, size, vir_addr, *bus_addr);
      |                 ^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:257: /home/mark/rtl8852be/platform/platform_linux_pc_pci.o] Error 1
make[1]: *** [Makefile:1856: /home/mark/rtl8852be] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.0.0-1012-oem'
make: *** [Makefile:637: modules] Error 2
mark@markidea2:~/rtl8852be$ 

I've been using Mint for over 4 years, but I'm still a slow learner. I have a website: https://pickfetish.com. It is dedicated to guitar/instrument picks.
User avatar
wutsinterweb
Level 6
Level 6
Posts: 1042
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: ok I tried the wifi ideapad solution, need help

Post by wutsinterweb »

Code: Select all

mark@markidea2:~/rtl8852be$ apt install build-essential
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.9ubuntu3).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
mark@markidea2:~/rtl8852be$ 

I've been using Mint for over 4 years, but I'm still a slow learner. I have a website: https://pickfetish.com. It is dedicated to guitar/instrument picks.
User avatar
wutsinterweb
Level 6
Level 6
Posts: 1042
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: ok I tried the wifi ideapad solution, need help

Post by wutsinterweb »

Code: Select all

mark@markidea2:~$ sudo apt-get install mokutil && mokutil --sb-state
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
mokutil is already the newest version (0.4.0-1ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
SecureBoot disabled
mark@markidea2:~$ sudo apt-get install gcc git build-essential linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.9ubuntu3).
gcc is already the newest version (4:11.2.0-1ubuntu1).
git is already the newest version (1:2.34.1-1ubuntu1.8).
linux-headers-6.0.0-1012-oem is already the newest version (6.0.0-1012.12).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
mark@markidea2:~$ git clone https://github.com/lwfinger/rtw89.git
fatal: destination path 'rtw89' already exists and is not an empty directory.
mark@markidea2:~$ cd rtw89
mark@markidea2:~/rtw89$ ls
cam.c       mac.c           rtw8852a_rfk.h        rtw8852c_rfk.c
cam.h       mac.h           rtw8852a_rfk_table.c  rtw8852c_rfk.h
chan.c      Makefile        rtw8852a_rfk_table.h  rtw8852c_rfk_table.c
chan.h      openssl.conf    rtw8852a_table.c      rtw8852c_rfk_table.h
coex.c      pci.c           rtw8852a_table.h      rtw8852c_table.c
coex.h      pci.h           rtw8852b.c            rtw8852c_table.h
core.c      phy.c           rtw8852be.c           rtw89core.mod
core.h      phy.h           rtw8852b.h            sar.c
debian      ps.c            rtw8852b_rfk.c        sar.h
debug.c     ps.h            rtw8852b_rfk.h        ser.c
debug.h     README.md       rtw8852b_rfk_table.c  ser.h
efuse.c     regd.c          rtw8852b_rfk_table.h  sign-file
efuse.h     reg.h           rtw8852b_table.c      suspend_rtw89
fw.c        rtw8852a.c      rtw8852b_table.h      txrx.h
fw.h        rtw8852ae.c     rtw8852c.c            util.h
LICENSE     rtw8852a.h      rtw8852ce.c           wow.c
mac80211.c  rtw8852a_rfk.c  rtw8852c.h            wow.h
mark@markidea2:~/rtw89$ make
make -C /lib/modules/6.0.0-1012-oem/build M=/home/mark/rtw89 modules
make[1]: Entering directory '/usr/src/linux-headers-6.0.0-1012-oem'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
  You are using:           gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
  CC [M]  /home/mark/rtw89/core.o
/home/mark/rtw89/core.c: In function ‘rtw89_core_send_nullfunc’:
/home/mark/rtw89/core.c:2356:66: error: ‘struct ieee80211_bss_conf’ has no member named ‘assoc’
 2356 |        if (vif->type != NL80211_IFTYPE_STATION || !vif->bss_conf.assoc)
      |                                                                 ^

make[2]: *** [scripts/Makefile.build:257: /home/mark/rtw89/core.o] Error 1
make[1]: *** [Makefile:1856: /home/mark/rtw89] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.0.0-1012-oem'
make: *** [Makefile:86: all] Error 2
mark@markidea2:~/rtw89$ sudo make install
make -C /lib/modules/6.0.0-1012-oem/build M=/home/mark/rtw89 modules
make[1]: Entering directory '/usr/src/linux-headers-6.0.0-1012-oem'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
  You are using:           gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
  CC [M]  /home/mark/rtw89/core.o
/home/mark/rtw89/core.c: In function ‘rtw89_core_send_nullfunc’:
/home/mark/rtw89/core.c:2356:66: error: ‘struct ieee80211_bss_conf’ has no member named ‘assoc’
 2356 |        if (vif->type != NL80211_IFTYPE_STATION || !vif->bss_conf.assoc)
      |                                                                 ^

make[2]: *** [scripts/Makefile.build:257: /home/mark/rtw89/core.o] Error 1
make[1]: *** [Makefile:1856: /home/mark/rtw89] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.0.0-1012-oem'
make: *** [Makefile:86: all] Error 2
mark@markidea2:~/rtw89$ 

I've been using Mint for over 4 years, but I'm still a slow learner. I have a website: https://pickfetish.com. It is dedicated to guitar/instrument picks.
User avatar
wutsinterweb
Level 6
Level 6
Posts: 1042
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: ok I tried the wifi ideapad solution, need help

Post by wutsinterweb »

Is it a bad idea to talk to the dev (finger) directly? I'm afraid to bother him/her.
I've been using Mint for over 4 years, but I'm still a slow learner. I have a website: https://pickfetish.com. It is dedicated to guitar/instrument picks.
sleeper12
Level 21
Level 21
Posts: 14517
Joined: Thu May 25, 2017 3:22 pm

Re: ok I tried the wifi ideapad solution, need help

Post by sleeper12 »

I'm rather stumped, but see if this makes any difference:

Code: Select all

sudo apt-get update

Code: Select all

sudo apt-get install make gcc linux-headers-$(uname -r) build-essential git
Reboot
User avatar
wutsinterweb
Level 6
Level 6
Posts: 1042
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: ok I tried the wifi ideapad solution, need help

Post by wutsinterweb »

Code: Select all

mark@markidea2:~$ sudo apt-get update
[sudo] password for mark:                
Ign:1 http://packages.linuxmint.com vera InRelease
Hit:2 http://packages.linuxmint.com vera Release                               
Hit:4 http://archive.ubuntu.com/ubuntu jammy InRelease                         
Get:5 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Get:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [107 kB]
Fetched 217 kB in 1s (284 kB/s)                                    
Reading package lists... Done
mark@markidea2:~$ sudo apt-get install make gcc linux-headers-$(uname -r) build-essential git
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.9ubuntu3).
gcc is already the newest version (4:11.2.0-1ubuntu1).
make is already the newest version (4.3-4.1build1).
git is already the newest version (1:2.34.1-1ubuntu1.8).
linux-headers-6.0.0-1012-oem is already the newest version (6.0.0-1012.12).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mark@markidea2:~$ 
I've been using Mint for over 4 years, but I'm still a slow learner. I have a website: https://pickfetish.com. It is dedicated to guitar/instrument picks.
User avatar
wutsinterweb
Level 6
Level 6
Posts: 1042
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: ok I tried the wifi ideapad solution, need help

Post by wutsinterweb »

no joy didn't update anything
I've been using Mint for over 4 years, but I'm still a slow learner. I have a website: https://pickfetish.com. It is dedicated to guitar/instrument picks.
User avatar
wutsinterweb
Level 6
Level 6
Posts: 1042
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: ok I tried the wifi ideapad solution, need help

Post by wutsinterweb »

should I email the dev?
I've been using Mint for over 4 years, but I'm still a slow learner. I have a website: https://pickfetish.com. It is dedicated to guitar/instrument picks.
sleeper12
Level 21
Level 21
Posts: 14517
Joined: Thu May 25, 2017 3:22 pm

Re: ok I tried the wifi ideapad solution, need help

Post by sleeper12 »

wutsinterweb wrote: Fri Mar 24, 2023 12:20 pm should I email the dev?
I doubt you would get an answer, but your choice.
sleeper12
Level 21
Level 21
Posts: 14517
Joined: Thu May 25, 2017 3:22 pm

Re: ok I tried the wifi ideapad solution, need help

Post by sleeper12 »

Maybe you tried this before ( :?: ), but if not, #9 here:
https://easylinuxtipsproject.blogspot.c ... k.html#ID9
User avatar
wutsinterweb
Level 6
Level 6
Posts: 1042
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: ok I tried the wifi ideapad solution, need help

Post by wutsinterweb »

Yup, I tried it before, no joy.

I wonder if the dev reads here and might see what the make error is and update his code?

In the mean time, I ordered a USB WIFI device, but I need the USB Port so eventually I pray this can be solved. I'm bummed, but this is what I get for going for a brand new laptop, hah.
I've been using Mint for over 4 years, but I'm still a slow learner. I have a website: https://pickfetish.com. It is dedicated to guitar/instrument picks.
sleeper12
Level 21
Level 21
Posts: 14517
Joined: Thu May 25, 2017 3:22 pm

Re: ok I tried the wifi ideapad solution, need help

Post by sleeper12 »

You could try your previous kernel, but not sure if that would help either.
User avatar
wutsinterweb
Level 6
Level 6
Posts: 1042
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: ok I tried the wifi ideapad solution, need help

Post by wutsinterweb »

Yeah, thought about that, how would I do so?
I've been using Mint for over 4 years, but I'm still a slow learner. I have a website: https://pickfetish.com. It is dedicated to guitar/instrument picks.
User avatar
SMG
Level 25
Level 25
Posts: 31723
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: ok I tried the wifi ideapad solution, need help

Post by SMG »

wutsinterweb wrote: Fri Mar 24, 2023 12:20 pm should I email the dev?
No.
wutsinterweb wrote: Thu Mar 23, 2023 9:34 pm tried this but make throws up errors

https://askubuntu.com/questions/1412450 ... k-10ecb852
Try reading the second answer (copied below) which is from Larry Finger
The driver rtl8852be is obsolete, and generally inferior to the one now in https://github.com/lwfinger/rtw89.git, which parallels the code that will be in kernel 6.2 when it is released in 2-3 months. The repo https://github.com/lwfinger/rtw8852be.git will be deleted on Dec. 1.
The 6.2 mainline kernel was released the middle of February. You could see if it is available through the PPA. Mainline – Another Tool to Install Latest Kernel in Ubuntu / Linux Mint
Image
A woman typing on a laptop with LM20.3 Cinnamon.
sleeper12
Level 21
Level 21
Posts: 14517
Joined: Thu May 25, 2017 3:22 pm

Re: ok I tried the wifi ideapad solution, need help

Post by sleeper12 »

wutsinterweb wrote: Fri Mar 24, 2023 1:40 pm Yeah, thought about that, how would I do so?
You can do so in Grub, Advanced Options. Choose your previous kernel, remove the 6.0 kernel in Update Manager, View, Linux Kernels & reboot.
User avatar
wutsinterweb
Level 6
Level 6
Posts: 1042
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: ok I tried the wifi ideapad solution, need help

Post by wutsinterweb »

that didnt help make still fails
I've been using Mint for over 4 years, but I'm still a slow learner. I have a website: https://pickfetish.com. It is dedicated to guitar/instrument picks.
sleeper12
Level 21
Level 21
Posts: 14517
Joined: Thu May 25, 2017 3:22 pm

Re: ok I tried the wifi ideapad solution, need help

Post by sleeper12 »

Let's see what this shows:

Code: Select all

uname -r && dkms status
User avatar
wutsinterweb
Level 6
Level 6
Posts: 1042
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: ok I tried the wifi ideapad solution, need help

Post by wutsinterweb »

6.0.0-1012-oem
I've been using Mint for over 4 years, but I'm still a slow learner. I have a website: https://pickfetish.com. It is dedicated to guitar/instrument picks.
Locked

Return to “Networking”