Patch for D-Link DWM-222

jaileDemon jailedemon at googlemail.com
Thu Oct 12 20:17:21 UTC 2017


Hi,

I got a D-Link DWM-222 LTE Dongle which did not work on my FreeBSD 
10-STABLE Installation. Adding some lines of code made it work.

Could someone who has the necessary privileges please review and add 
this code to the FreeBSD Sources, so that FreeBSD supports this piece of 
Hardware.

Thank you very much,

Daniel



Index: sys/dev/usb/serial/u3g.c
===================================================================
--- sys/dev/usb/serial/u3g.c	(revision 324156)
+++ sys/dev/usb/serial/u3g.c	(working copy)
@@ -241,6 +241,8 @@
  	U3G_DEV(DLINK, DWR510, 0),
  	U3G_DEV(DLINK, DWM157_CD, U3GINIT_SCSIEJECT),
  	U3G_DEV(DLINK, DWM157, 0),
+	U3G_DEV(DLINK, DWM222_CD, U3GINIT_SCSIEJECT),
+	U3G_DEV(DLINK, DWM222, 0),
  	U3G_DEV(DLINK3, DWM652, 0),
  	U3G_DEV(HP, EV2200, 0),
  	U3G_DEV(HP, HS2300, 0),
Index: sys/dev/usb/usbdevs
===================================================================
--- sys/dev/usb/usbdevs	(revision 324156)
+++ sys/dev/usb/usbdevs	(working copy)
@@ -1653,6 +1653,8 @@
  product DLINK DWR510		0x7e12	DWR-510
  product DLINK DWM157		0x7d02  DWM-157
  product DLINK DWM157_CD		0xa707  DWM-157 CD-ROM Mode
+product DLINK DWM222		0x7e35	DWM-222
+product DLINK DWM222_CD		0xab00	DWM-222 CD-ROM Mode
  product DLINK RTL8188CU		0x3308	RTL8188CU
  product	DLINK RTL8192CU_1	0x3307	RTL8192CU
  product	DLINK RTL8192CU_2	0x3309	RTL8192CU







More information about the freebsd-drivers mailing list