[Seek Help] usb驱动也加载了,怎么还是没有呢
Tofloor
poster avatar
158******75
deepin
2022-03-05 00:29
Author

tplink的 300M无线网卡

截图_选择区域_20220304152215.png

截图_选择区域_20220304152319.png

截图_选择区域_20220304152346.png

百度上 可能 硬件id 对不上,我也加了

echo "2357 0135" | sudo tee /sys/bus/usb/drivers/rtl8192cu/new_id

windows下驱动是这样子的

QQ截图20220304162857.png

Reply Favorite View the author
All Replies
lcw0268
deepin
2022-03-05 01:02
#1
It has been deleted!
林统度
deepin
2022-03-05 01:33
#2

试一试下载驱动重新安装tail

Reply View the author
158******75
deepin
2022-03-05 05:36
#3
lcw0268 It has been deleted!

我不知道是什么芯片,买的时候写着 TL-WN832N 300M

Reply View the author
lcw0268
deepin
2022-03-05 06:17
#4
It has been deleted!
Zz
deepin
2022-04-04 17:22
#5

这款应该是8188GU芯片

Reply View the author
高兴福
deepin
2023-04-18 23:44
#6
It has been deleted!
高兴福
deepin
2023-04-18 23:49
#7

下载这个https://github.com/BrightX/rtl8192fu

修改os_dep\linux\usb_intf.c,大约在250行位置,修改如下

#ifdef CONFIG_RTL8192F

/ === Realtek demoboard === /
{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDER_ID_REALTEK, 0xF192, 0xff, 0xff, 0xff), .driver_info = RTL8192F}, /* 8192FU 22 /
{USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0135, 0xff, 0xff, 0xff), .driver_info = RTL8192F}, /
增加这行 /
{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDER_ID_REALTEK, 0xA725, 0xff, 0xff, 0xff), .driver_info = RTL8192F}, /
8725AU 2
2 */
#endif

最后按上面的github链接编译安装,在ubuntu22.04上亲测有效

sudo usb_modeswitch -K -v 0bda -p a192
[sudo] g 的密码:
Look for default devices ...
Found devices in default mode (1)
Access device 009 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
with class 8
Use endpoints 0x0b (out) and 0x8a (in)
Sending standard EJECT sequence
Looking for active drivers ...
OK, driver detached
Set up interface 0
Use endpoint 0x0b for message sending ...
Trying to send message 1 to endpoint 0x0b ...
OK, message successfully sent
Read the response to message 1 (CSW) ...
Response successfully read (13 bytes), status 1
Trying to send message 2 to endpoint 0x0b ...
OK, message successfully sent
Read the response to message 2 (CSW) ...
Response successfully read (13 bytes), status 0
Trying to send message 3 to endpoint 0x0b ...
OK, message successfully sent
Read the response to message 3 (CSW) ...
Device seems to have vanished after reading. Good.
Device is gone, skip any further commands
-> Run lsusb to note any changes. Bye!

lsusb -tv
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 6: Dev 10, If 0, Class=Vendor Specific Class, Driver=rtl8192fu, 480M
ID 2357:0135 TP-Link
|__ Port 8: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
ID 413c:2107 Dell Computer Corp. KB212-B Quiet Key Keyboard

Reply View the author