Subject: Re: Re: Novatel Wireless 3G card support ?
To: Greg Troxel <gdt@ir.bbn.com>
From: Joel CARNAT <joel@carnat.net>
List: port-i386
Date: 02/25/2007 00:46:52
--xHFwDpU9dbj6ez1V
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Feb 23 2007 - 17:43, Greg Troxel wrote:
> >> See src/sys/dev/usbdevs, and edit them the new values in.
> >> Regenerate by 'make -f Makefile.usbdevs'.
> >
> > in sys/dev/usb/usbdevs, there already is a NOVATEL definition:
> > vendor NOVATEL          0x09d7  NovAtel
> >
> > but I also found:
> > vendor DELL             0x413c  Dell
> >
>=20
> I'd just add the 8116 in the Dell section.  Until you get something to
> actually work it doesn't matter much, and even then the important
> thing is to associate the vendor/product tuple with the right driver.

I modified the files, compiled the kernel, rebooted but the device is
still defined as ugen0. Here's my modifications:
--- usbdevs.orig        2007-02-23 21:27:20.000000000 +0100
+++ usbdevs     2007-02-23 21:35:22.000000000 +0100
@@ -816,4 +816,5 @@
 product DELL TM1180            0x8100  TrueMobile 1180 WLAN
 product DELL TM350             0x8103  TrueMobile 350 Bluetooth USB
Adapter
+product DELL HSDPA             0x8116  Novatel Wireless HSDPA Modem
=20
 /* DeLorme products */
--- ugensa.c.orig       2006-10-11 16:32:28.000000000 +0200
+++ ugensa.c    2007-02-23 21:37:12.000000000 +0100
@@ -96,4 +96,5 @@
        { USB_VENDOR_QUALCOMM_K, USB_PRODUCT_QUALCOMM_K_CDMA_MSM_K },
        { USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_AIRCARD580 },
+       { USB_VENDOR_DELL, USB_PRODUCT_DELL_HSDPA },
 };
 #define ugensa_lookup(v, p) usb_lookup(ugensa_devs, v, p)

Thoses files are the source file from -netbsd-4 (as this is what I run
on my laptop).  I also tried booting a -current kernel from
NetBSD-daily/HEAD/200702190000Z .

According to cvsweb.netbsd.org, the only differences (related to my
card) for thoses files between -netbsd-4 and -current are the support
for "Novatel Merlin, used in VZ V620". So I suppose trying to modify
ugensa.c and usbdevs from -current wouldn't work better, would it ?

TIA,
	Jo



--xHFwDpU9dbj6ez1V
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iD8DBQFF4M5s0/VH7L7F7Y4RAm7oAJ9yokT1D0Pn0RMEKBf44CanzhIZtACcD/I3
aU17Rygzr0y0Ac8hpJ17EDY=
=S+TC
-----END PGP SIGNATURE-----

--xHFwDpU9dbj6ez1V--