Skip to content
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

ID 0bda:a192 Realtek #142

Open
ieow opened this issue Dec 6, 2019 · 4 comments
Open

ID 0bda:a192 Realtek #142

ieow opened this issue Dec 6, 2019 · 4 comments

Comments

@ieow
Copy link

ieow commented Dec 6, 2019

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
Copy link
Owner

FreedomBen commented Dec 6, 2019

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
Copy link
Author

ieow commented Dec 7, 2019

Yes, I did

@FreedomBen
Copy link
Owner

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
Copy link
Author

ieow commented Dec 9, 2019

Thanks.
I will check it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants