The current Realtek WiFi USB Linux driver had supported lots more than 10 vip/pid USB WiFi devices. However, some customers want to add new vid/pid(s) into the Realtek WiFi USB Linux driver by themselves. This document will describe the way to let the driver to support the devices with new vid/pid.
The line 62 of os_dep\linux\usb_intf.c file describes all the vid/pids which the Realtek WiFi USB Linux driver supports currently. For the new vid/pid(s) which want to be supported, they can be added into the USB id table named “rtw_usb_id_tbl” array variable.
Ex:
static struct usb_device_id rtw_usb_id_tbl[] ={
//92CU
// Realtek demoboard*/
{USB_DEVICE(0x0bda, 0x8176)},//8188cu 1*1
{USB_DEVICE(0x0bda, 0x8177)},//8191cu 1*2
{USB_DEVICE(0x0bda, 0x8178)},//8192cu 2*2
{USB_DEVICE(0x0bda, 0x8191)},
/****** 8188CU ********/
{USB_DEVICE(0x07B8, 0x8189)},//Funai - Abocom
{USB_DEVICE(0x2019, 0xED17)},//PCI - Edimax
{USB_DEVICE(0x0DF6, 0x0052)}, //Sitecom - Edimax
{USB_DEVICE(0x7392, 0x7811)},//Edimax - Edimax
{USB_DEVICE(0x07B8, 0x8188)},//Abocom - Abocom
{USB_DEVICE(0x0EB0, 0x9071)},//NO Brand - Etop
{USB_DEVICE(0x06F8, 0xE033)},//Hercules - Edimax
{USB_DEVICE(0x103C, 0x1629)},//HP - Lite-On
//{USB_DEVICE(0x0DF6, 0x0052)},//Sitecom - Edimax V18
// {USB_DEVICE(0x0EB0, 0x9071)},//NO Brand - Etop V18
// {USB_DEVICE(0x06F8, 0xE033)},//Hercules - Edimax V18
{USB_DEVICE(0x2001, 0x3308)},//D-Link - Alpha
/****** 8192CU ********/
{USB_DEVICE(0x07b8, 0x8178)},//Funai -Abocom
{USB_DEVICE(0x2001, 0x3307)},//D-Link-Cameo
{USB_DEVICE(0x2001, 0x330A)},//D-Link-Alpha
{USB_DEVICE(0x2001, 0x3309)},//D-Link-Alpha
{USB_DEVICE(0x0586, 0x341F)},//Zyxel -Abocom
{} <- the new vid/pid can be added here
};
After adding the new vid/pid into the rtw_usb_id_tbl table, the driver has to be re-compiled. The new driver image will be created and it can support the device with the new vid/pid.
mb7375