-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rtl8852be Higole Gole1 Pro mini PC #242
Comments
The 8852be driver was not included in the kernel until v6.3. That kernel will soon be appearing in some distros, but not yet. You obviously found this repo, which backports the kernel driver from kernel 6.4+ to older kernels. All you need to do is install git and do a 'git clone https://github.com/lwfinger/rtw89.git' and 'cd rtw89'. Then install the pre-requisites as described in README.md. Finally, do 'make' and 'sudo make install', then reboot and wireless should be working. If you have already done this, and not gotten anywhere, then run 'lspci -nn' and post the output. |
Yes have tried the steps on Debian and Arch based distros. With arch have also tried with the DKMS from AUR with no luck. I have various wireless adapters I install drivers for all the time with no issue, this is why im so stumped. Here is output of lspci -nn.
|
The 10ec:b852 device is handled by this driver. Do the following from the rtw89 directory: Attach the file build.txt. |
Heres the build.txt. Very confused why it says "device or resource busy"
|
The driver was already loaded. I forgot the unload step. Do a reboot, then run the command 'lsmod | grep rtw' and post the output. |
Edit: ended up all wonky so spaced them out. `rtw89_8852be 16384 0 rtw_8852b 360448 1 rtw89_8852be rtw89pci 86016 1 rtw89_8852be rtw89core 626688 2 rtw89pci,rtw_8852b mac80211 1490944 2 rtw89pci,rtw89core cfg80211 1277952 4 rtw89core,mac80211,88XXau,rtw_8852b |
All of your posts are wonky. Are you posting them from Windows? You have a mixture of modules from the kernel, and those from this repo. That is guaranteed to fail, as I state in the first paragraph of README.md. Blacklist rtw89_8852be. |
I'm posting from my main machine that runs Artix, connected to Higole machine over ssh. There are a bunch of different ways of blacklisting modules I'm finding. Some in grub file, some in a blacklist.conf in modprobe.d. How should I blacklist rtw89_8852be? |
The best way is in modules.d. I do not know how one would do it with grub. |
i have made a blacklist.conf with here is updated lsmod rtw_8852b 360448 1 rtw_8852be rtw89pci 86016 1 rtw_8852be rtw89core 626688 2 rtw89pci,rtw_8852b mac80211 1490944 2 rtw89pci,rtw89core cfg80211 1277952 4 rtw89core,mac80211,88XXau,rtw_8852b |
That is the right list. Does it work? If not, there is something funny about you user-space wireless stuff. Are you using NetworkManager or something else? One thing to try: sudo iw dev scan | egrep "signal|SSID" Post the output. |
No luck. Updated today to Kernel 6.3.1 and thought something would work if that kernel does include this driver. Still no luck. going to install OS again from scratch, if still dosent work will try installing this driver again. |
Fresh install of Endeavor OS with up to date kernel. no wireless. I blacklisted rtw89_8852be in modprobe.d, then installed rtw89 using the arch method. Still no wireless. When doing a 'dmesg -t | grep wlan' nothing returns, and nothing shows with ifconfig. Will comment here again if I figure anything out so others can find it. For now, totally lost. Using an external adapter is okay, but is a pain |
What does the output of 'sudo dmesg | less' tell you? Are you missing firmware? |
Yes, the bottom of this page details how to install firmware for this specific chipset. Tried, still no wireless. |
Please post the output of 'lspci -nn'. |
|
OK, you do have an RTW8852BE device. Run the command 'sudo dmesg > dmesg.txt' and attach dmesg.txt to this issue. |
Why cannot you follow directions. It is one thing to try to look past the missing line breaks for something short like the lspci output, but much more effort for the entire dmesg output. If you want help, USE the cammand I gave you. It will produce a file. ATTACH the file. |
Thank you. Your problem is here: What you should see is: On my system, the command 'md5sum /lib/firmware/rtw89/*' shows (in part): 97cc27ddbaacfcfd9f4b4ad425d114d3 /lib/firmware/rtw89/rtw8852b_fw-1.bin The files that end in .xz are compressed by my distro (openSUSE). The others come from the linux-firmware repo directly. |
Okay, great. What is the solution? How do I get it to work properly? |
Do your firmware files match mine? |
I have no idea what the "Arch" method of installing the driver is. Do the following: Then reboot. After the reboot, do the 'sudo dmesg > dmesg.txt' and attach dmesg.txt. |
I did it this way. From your guide. For Arch: After installing the necessary kernel headers and base-devel, git clone https://aur.archlinux.org/rtw89-dkms-git.git I will uninstall and try that way, and post dmesg |
I uninstalled rtw89-dkms-git and installed the way you mentioned. here is dmesg |
here is list from /lib/firmware/rtw89 rtw8852a_fw.bin.xz |
You still do not have suitable firmware. See your most recent dmesg.txt. A list of your firmware is not sufficient. I need 'md5sum /lib/firmware/rtw89/*'. That will not only list the firmware names, but check the contents of the file! |
okay, where do i get the firmware?
|
As I suspected, your firmware does not match the latest from Realtek. Go to https://lwfinger.com/download/ to get the latest. |
Awesome. I download all of them? or just the rtw8852b ones? And then i move them to /lib/firmware/rtw89 correct? |
downloaded and replaced them and rebooted. Here is output of md5sum /lib/firmware/rtw89/*
Still no wireless. I ran dmesg again |
I am not quite sure why you closed this issue. Obviously, your problem was not with the firmware. One thing I do not understand is the "rtw89_8852be 0000:02:00.0: xtal si not ready(R): offset=41" message. It arises because the code is unable to read one of the registers. I sent a question to my contact at Realtek, but it will likely take him a while. One thing we can do is to try a couple of module parameters that control the actions on the PCIe bus. These parameters have helped users of newer HP and Lenovo laptops overcome some of the problems with their faulty BIOSs. It is possible that this unit has the same kind of problem. Run the command 'sudo nano /usr/lib/modprobe.d/70-rtw8852be.conf' Once you have created this file, run the following commands: If you did it right, the line that shows the insmod for rtw89pci should end with the parameters in the two lines in the files. Make a new copy of dmesg.txt and attach it here. |
I did not close it on purpose I'm not sure how it happened. Not easy working on that tiny screen ha must've accidently touched something. I will try this when I have some time again to mess with it. Re-opening, sorry about that |
@lwfinger Hi, I've got one of these little guys as well. It seems that I can't get any firmware version, old or new, to load in the rtw89_8852be driver. I tried with this repo, that didn't work, so I wondered if the in-tree module in 6.3 would work. Nope, same issue, but I can see they're very similar codebases. This is what I get in both versions, with any version of rtw8852b_fw.bin from any of many git revisions in the linux-firmware tree I've tried. I've tried the modprobe.d method of passing those args to the rtw89pci drivers, and I did also see the |
This repo does not have any firmware in it. Usually, you would get that from your distro. Please run the following commend and post the results: md5sum /lib/firmware/rtw89/* On my system, for the RTW8852BE, I get the following: The .xz versions come from my distro, and the non-xz varieties come from the linux-firmware repo. If your files differ, you can download them at https://lwfinger.com/download/, and then use 'sudo cp' to copy them to /usr/lib/firmware/rtw89/. |
Yes, I know the rtw89 driver (yours and mainline) contains no firmware. I have only one firmware file in that directory at the moment, because I deleted all the others to rule out interference, I can reinstall the linux-firmware package if for whatever reason I need them. I think this is a similar issue with the hardware as gdan342, because we have the same device with the same wireless chip. I hear wireless works on Windows 11, so perhaps there's a hardware quirk that the Windows driver is handling that the Linux driver isn't aware of. |
It could be that there is something funky about this device; however, my budget does not allow speinding $199 for a test device. Who knows what the Windows driver does? I created a new branch (test) with a number of printouts. Please check it out and build with git checkout origin/test -b test Then reboot. After the firmware load fails, run the command 'sudo dmesg -t > dmesg.txt' and attach dmesg.txt to this issue so that I can see the results of my debugging messages. Thanks. |
Same problem here. |
What am I supposed to do with that? You can untar that and build it yourself. |
I also bought 6 of them. They were supposed to support Linux out-of-the-box. Wifi only works under Windows 11. It's a huge bummer. @HeXis-YS and @gdan342 the devices come without serial number written to the BIOS (only "Default string") and no auto-start function. I posted about this and several other issues here: https://4pda.to/forum/index.php?showtopic=1072665 (use Google Chrome for live translation) |
@lwfinger I read through your answers and highly appreciate your support so far! I'm using IGEL OS12 on a Higole X133 which is based on Ubuntu 20.04 Focal and has Kernel 6.1.42. I reproduced all steps and was not able to make it work. Additionally to that I'm working with IGEL and have them figure this out, since we have enterprise support. My dmesg.log is exactly the same as with gdan342. I tried placing the
Let me know if you are willing to receive a test-device. I can surely supply one! |
They send me a similar one: rtl8852BE_WiFi_linux_v1.19.7.0-18-gee24b6aac.20230614_PC.tar.gz |
@Tomblarom - That is not firmware. It is the vendor driver. If you build and install it, does it work? If that does not compile, you might also checkout https://github.com/rtw8852be.git. That is from the same source, but will build on kernels through 6.7. See what you geet with it. Usually, I woulld be happy to receive a test device, but I am not sure how I will be feeling the next 4 weeks as I will be undergoing a new medical procedure. |
who has higole 1 pro please send me the touch screen driver |
|
Myself and a few others amongst the community who have this device are having issues getting wireless to work on linux. I have tried multiple distros, installing from source, installing from AUR with no luck. There is no technical documentation for this device for linux use, no forums or anything yet. I am no expert, novice at best. Its been a few days and many hours trying to get this driver to work. If anyone could point me in the right direction, I would be forever thankful. I'm wanting to make a guide so others don't run into this issue with this device, but for the life of me cannot figure it out on my own.
The text was updated successfully, but these errors were encountered: