FreedomBen / rtl8188ce-linux-driver

This modified version of the RealTek WiFi driver fixes some issues with RealTek cards on Linux.
GNU General Public License v2.0
491 stars 109 forks source link

ID 0bda:a192 Realtek #142

Open ieow opened 4 years ago

ieow commented 4 years ago

Hi, I am trying to use Mecury MW300UH with realtek id below. Bus 001 Device 002: ID 0bda:a192 Realtek Semiconductor Corp.

I tried install.sh but still failed to detect the realtek card. Could I add the ID to the list and re-install? If I could, which file should I edit? Thanks.

FreedomBen commented 4 years ago

Hi @ieow . Did you see this message?

[*] I wasn't able to find a Realtek card on your machine.  Do you want to proceed anyway? (Y/N)

(I'm just trying to figure out what point you got blocked. It's been years since I've been in that part of the code so don't know off the top of my head which direction to point you)

ieow commented 4 years ago

Yes, I did

FreedomBen commented 4 years ago

You probably need to add support then to functions.sh . If you want to skip the detection step you could apply this patch. Copy this to a file and run git apply <file>

diff --git a/install.sh b/install.sh
index 21a9f09..2178b34 100755
--- a/install.sh
+++ b/install.sh
@@ -7,7 +7,7 @@ else
     . "$(readlink -f functions.sh)"
 fi

-if ! $(pciDetectsRealtekCard || usbDetectsRealtekCard); then
+if ! $(true || usbDetectsRealtekCard); then
     echo -en "${yellow}[*] I wasn't able to find a Realtek card on your machine.  Do you want to proceed anyway? (Y/N)${restore}: "
     read PROCEED

I don't know if this driver will handle your card or not, but as long as you don't have any other Realtek devices on your system it won't hurt anything.

ieow commented 4 years ago

Thanks. I will check it out.