Comments (11)
I've experienced the same problem yesterday on Arch Linux. With the LTS kernel (5.15), it does work perfectly fine though.
Maybe I can look into these API changes when I find some time for it, but that won't be in the next 10 days.
from rtl8852be.
Every time the kernel is updated, there is an API interface change, and then all drivers have to be changed. This is arch Linux?
Yes, this is archlinux. After upgrading the kernel to 5.18.1 yesterday, the compilation failed. Now it has been downgraded to 5.17.9. As I am not familiar with this knowledge, this question is for your reference.
from rtl8852be.
This seems to be due to a change in the API interface.
Try changing "pci_" to "dma_" might fix the problem?
from rtl8852be.
Every time the kernel is updated, there is an API interface change, and then all drivers have to be changed. This is arch Linux?
from rtl8852be.
@Phosphenius @lexiaoyao12138
Ref1
Ref2
Theoretically, by changing this API, the code can adapt to the latest kernel (I think), but more tests are needed
from rtl8852be.
I have just push a new version on "dev" branch, hope you test for it when available, thanks.
from rtl8852be.
I have just build it successfully using kernel5.18.0-1-MANJARO
, with "a fair amount of compiler warnings", expect more hardware testing and feedback.
from rtl8852be.
Thank you so much! Your work is very much appreciated.
I can now successfully build against 5.18.1-arch1-1
and so far the WiFi is working perfectly with some occasional errors showing up in dmesg
.
from rtl8852be.
Thank you so much! Your work is very much appreciated.
I can now successfully build against
5.18.1-arch1-1
and so far the WiFi is working perfectly with some occasional errors showing up indmesg
.
Did you mean _rtw_memcpy(pnetdev->dev_addr, mac, ETH_ALEN);
That‘s an existing bug, I’ll check it out, any ideas are welcomed.
from rtl8852be.
Actually, The latest update on code(with a mount of #ifdef
) looks ugly. I truly believe the newer kernel (>5.18) delete the ‘’pci-dma-compat.h’’ , but I’m not sure since other network repo didn’t bring out related issue.
from rtl8852be.
Actually, The latest update on code(with a mount of
#ifdef
) looks ugly. I truly believe the newer kernel (>5.18) delete the ‘’pci-dma-compat.h’’ , but I’m not sure since other network repo didn’t bring out related issue.
Alright, the API change is here.
torvalds/linux@a2e7596
from rtl8852be.
Related Issues (13)
- archlinux compile error HOT 20
- _rtw_memcpy building warnings
- make error HOT 1
- what is the difference? and how to install from source on arch based os ? HOT 7
- Doesn't work on kernel version 5.18.16 HOT 12
- modprobe: ERROR: could not insert '8852be': Invalid argument HOT 3
- Compile failed when i update the new kernal 5.19.2. HOT 5
- RedmiBook Pro 15s 蓝牙模块异常 HOT 9
- thinkbook14+ 网卡 8852be arch 5.17.5 使用 git:dev-linux5.17 分支编译失败 HOT 16
- 该驱动的5.17分支在5.15版本内核编译失败的问题 HOT 9
- How to add up-to-date linux kernels hosted runner to test? HOT 2
- Testing Result Feedback HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtl8852be.