买了个TL-WDN5200H无线usb网卡,但是发现它居然不支持Linux,但是我有时需要在Linux上使用,这就尴尬了.于是到网上搜索资料,终于解决了这个问题. 首先编译安装:https://github.com/Yuan-W/rtl8821cu 使用lsusb命令观察网卡的编号(插拔前后的变化) Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 093a:2510 Pix
该C#代码实现监控USB接口是否有设备接入或拨出,包括多个U盘. using System; using System.IO; using System.Runtime.InteropServices; using System.Windows.Forms; namespace MyApplication { public partial class Form1 : Form { const int WM_DEVICECHANGE = 0x0219; // 发生设备变动 const int DB
重新编译内核(2.6.29) 2.6.29内核 Device Drivers ---> USB support ---> USB Gadget Support ---> 其中 USB Peripheral Controller 选 S3C2410 USB Device Controller 然后再选一个内核自带的Gadget驱动程序来做演示,这里就选 Ethernet Gadget (with CDC Ethernet suppor