-
Notifications
You must be signed in to change notification settings - Fork 8
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
Post boot logs after driver installation #5
Comments
I cannot apply greearb/linux-6.5-be200@04725f4 because those definitions have been moved into a shared header. If I change the shared header, the dkms module will have a different understanding of the device structrures as compared to the mt76 core that's already present in the module, leading to more issues. Instead I'm adding more logging to help pinpoint failures. |
@samveen sure thing, waiting for the next update, will send you all the logs. |
@sohamxda7 Pull and test |
@sohamxda7 I need you to check the differences between the private In case the headers are not identical, then I'll need to rethink the structure of the code here, and maybe duplicate everything instead of using the existing modules. |
@samveen okay, so in easy words what should I do now? Please guide me |
|
I've been reading the kernel source, and I am seeing the need to modify the mt76 module completely instead of using the existing mt76 module, integrating the code in this repo into the mod rather than writing a complementary module. Let me see what see what I can do. @sohamxda7 can you also provide me the output of |
I have an asus vivobook too I give you the lspci and lsusb hoping you understand better the architecture of the laptop
|
From what I can make out now, I will need to restructure the build to duplicate the entire mt76 module code into the mt7902 module, and make it completely independent so that more debugging statements can be added. This will take me some time. |
Sorry, i was busy in other works, I will send you as soon as possible, please tell me if you need any other details as well. |
More detailed explaination of the issue is as follows:
The possible solution I thought was to duplicate all objects of the mt76 function required by the mt7902 module into the namespace of the mt7902 module with a custom prefix, so that there is no more dependency on the mt76 module. However that requires a lot of time, which I'm short of. In case you have the time, would you create a PR after prefixing all the function and structure definitions in For example in https://github.com/samveen/mt7902-dkms/blob/master/mt76/mt792x.h , struct mt792x_phy { would become struct mt7902_mt792x_phy { Where ever static inline u8 mt792x_acpi_get_flags(struct mt792x_phy *phy) That would change to static inline u8 mt7902_mt792x_acpi_get_flags(struct mt7902_mt792x_phy *phy) The code calling it would change to match. |
just ran a Also should the |
The sed above would alter the The rename should break the compile, as the newly renamed functions do not exist. Once that breaks, the matching C files from the @DarkMatter-999 Lakshyajeet, would you create a WIP PR with all the changes, so that the changes are reviewable? That'll allow quicker turnaround for any visible issues. |
Okay so from what I understand, I need to copy all the functions with the same content and just change the function and struct names to reflect the new names right? Or would changing the includes back manually would work |
Using on my asus vivobook 15. Followed all of your installation step as well as used that get firmware script.
I have attached full dmesg logs. The driver seems to throw the following error:
logs.txt
By the way, if possible take a look at this: greearb/linux-6.5-be200@2230751
The text was updated successfully, but these errors were encountered: