Subject: Patches for Novatel Wireless Novatel Wireless HSDPA Modem
To: None <current-users@netbsd.org>
From: Marcin Michal Jessa <lists@yazzy.org>
List: current-users
Date: 11/29/2007 18:35:05
Hi Guys.

I patched src/sys/dev/usb/usbdevs and src/sys/dev/usb/ugensa.c
adding new Product ID for my Dell HSDPA modem.
It has the Dell Vendor ID (0x413c) although it still presents itself in 
dmesg as Novatel:
ugensa0: Novatel Wireless Novatel Wireless HSDPA Modem, rev 1.10/0.00, 
addr 3
The card works great in NetBSD (I am online with it now).
Here are the trivial patches for NetBSD 4.99.38 :

# diff -up /usr/src/sys/dev/usb/ugensa.c ugensa.c
--- /usr/src/sys/dev/usb/ugensa.c       2007-10-25 21:32:15.000000000 +0200
+++ ugensa.c    2007-11-29 18:16:32.000000000 +0100
@@ -95,6 +95,7 @@ static const struct usb_devno ugensa_dev
        { USB_VENDOR_QUALCOMM_K, USB_PRODUCT_QUALCOMM_K_CDMA_MSM_K },
        { USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_AIRCARD580 },
        { USB_VENDOR_NOVATEL2, USB_PRODUCT_NOVATEL2_CDMA_MODEM },
+       { USB_VENDOR_DELL, USB_PRODUCT_DELL_HSDPA },
 };
 #define ugensa_lookup(v, p) usb_lookup(ugensa_devs, v, p)
 


# diff -up /usr/src/sys/dev/usb/usbdevs usbdevs
--- /usr/src/sys/dev/usb/usbdevs        2007-11-25 10:16:49.000000000 +0100
+++ usbdevs     2007-11-29 16:21:48.000000000 +0100
@@ -902,6 +902,7 @@ product DELL X3                     0x4002  Axim X3 PDA
 product DELL X30               0x4003  Axim X30 PDA
 product DELL BC02              0x8000  BC02 Bluetooth USB Adapter
 product DELL TM1180            0x8100  TrueMobile 1180 WLAN
+product DELL HSDPA             0x8137  Dell/Novatel Wireless HSDPA Modem
 product DELL TM350             0x8103  TrueMobile 350 Bluetooth USB Adapter
 
 /* DeLorme products */




Cheers,
Marcin Jessa.