Noob here, under which directory are my wifi adapter drivers located? I want to copy and transfer the entire folder to a USB.
I bought a Libre Le Potato and I installed their version of Raspberry Pi OS. However, the USB Wifi adapter(TP-Link TL-WN725N) I bought for it doesn't work.
Libre's version of Raspbian uses Kernel version 6.0.12-00858-gb98721ea4575 and when I went to TP Link's website, the customer service agent told they don't have a driver that could work for my OS.
I read from another user, that Libre's version of Ubuntu does support my USB Wifi adapter, and when I installed it, it did work. So somehow I should be able to copy Ubuntu's drivers and transfer it right? I'm not sure if both OS are 32 bit or 64 bit or if each one is different, but if they're both the same it shouldn't conflict because they're both based off Debian?
How would I go about transferring the drivers, assuming its compatible? I think it would be easier to just copy the entire folder, but where is that folder?
So somehow I should be able to copy Ubuntu's drivers and transfer it right?
It is not an easy task for a beginner. Nor an easy task for most experienced professionals!
Transplanting "drivers" (kernel modules) is roughly like transplanting a random bicycle wheel. LOTS could go wrong --wrong diameter, wrong width, brake incompatibility, etc-- that makes the final result unusable or downright broken.
An experienced mechanic can do it, though, and make it look easy.
Similarly, transplanting Linux kernel code might work...or might not. It has a much higher likelihood of working if you have experience compiling kernels, working with version control system, patching source code, and debugging USB hardware in general.
Essentially, what you must do is locate the appropriate kernel module ("driver") source code, then add that code to your own kernel modules source code, then recompile your kernel. Then test and debug and re-compile a few times until it begins to work.
Alternately, you could simply exchange the WiFi dongle for an older model this is compatible. If yours were a newly-released, bleeding-edge hardware, you could also just hang onto it until future kernels do provide compatibility.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments