lwfinger / rtl8852au

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

getting a few errors on debian 11

wp-coin opened this issue · comments

when I hit make I get

/bin/sh: 1: /usr/src/linux-headers-5.10.0-20-common/scripts/pahole-flags.sh: not found
/bin/sh: 1: /usr/src/linux-headers-5.10.0-20-common/scripts/pahole-flags.sh: not found
/bin/sh: 1: /usr/src/linux-headers-5.10.0-20-common/scripts/pahole-flags.sh: not found


however it did install in the right directory

insmod /lib/modules/5.10.0-20-amd64/kernel/drivers/net/wireless/realtek/rtw89/8852au.ko 

I am trying to make it work with USB-AX55 Nano

not sure if it is supported or not

here is the source code for windows driver
https://www.asus.com/networking-iot-servers/adapters/all-series/usb-ax55-nano/helpdesk_download/?model2Name=USB-AX55-Nano

Tell me the output of 'lsusb'. That will tell if it is supported.

Those build warnings are not important. I do not know which package has pahole-flags.sh.

Get rid of that line you added to /lib/udev/rules.d/40-usb_modeswitch.rules. If you look at the lsusb line, it shows a wifi device, not a USB disk. It has already been mode switched.

I added your USB ID to the RTW8852AU table. Do a git pull, make, and sudo make install. The device should be recognized from then on.

The one thing that may happen is that your device might be an RTW8852BU. If that is the case, this driver will not work.

Does it work? I have no idea of the relationship between the 8832BU and any other of the Realtek chips.

Do you really expect me to fix the build errors for a driver that I have never seen, and certainly do not maintain? If I were interested in any consulting work, I would consider it, but I am not!

Never mind I fixed it myself, turns out c code and PHP are very much alike ;)