Verizon V620 wireless card
John Nielsen <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Message-ID | <[email protected]> |
I just want to report that I got this card working on my laptop running 6-STABLE. (This should be a reply to this message but I couldn't find it locally): http://lists.freebsd.org/pipermail/freebsd-mobile/2006-December/009404.html Unlike the OP, the usb hub was recognized on my machine and gave me a ugen0 device associated with the CDMA modem. So all I had to do was get the modem to attach to ucom or similar. After a couple false starts I got a cue from this message: http://lists.freebsd.org/pipermail/freebsd-hackers/2005-June/012512.html The attached patch lets the card attach as a ubsa device. I'm also attaching the ppp.conf file I hacked up (it's been a while since I've made any ppp chat scripts so I'm sure it could be done more elegantly). Here are the relevant bits of dmesg with the card inserted: cbb0: <TI1520 PCI-CardBus Bridge> at device 11.0 on pci0 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: <TI1520 PCI-CardBus Bridge> at device 11.1 on pci0 cardbus1: <CardBus bus> on cbb1 pccard1: <16-bit PCCard bus> on cbb1 ... cardbus0: CIS pointer is 0! cardbus0: Resource not specified in CIS: id=10, size=1000 ohci3: <NEC uPD 9210 USB controller> mem 0x88001000-0x88001fff irq 9 at device 0.1 on cardbus0 ohci3: [GIANT-LOCKED] usb4: OHCI version 1.0 usb4: <NEC uPD 9210 USB controller> on ohci3 usb4: USB revision 1.0 uhub4: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub4: 2 ports with 2 removable, self powered ucom0: Novatel Wireless Inc. Novatel Wireless Merlin CDMA, rev 1.10/0.00, addr 2 ucom0: ubsa_request: STALLED ucom0: ubsa_request: STALLED ... (lots more STALLED messages) Despite the error messages it connects and works just fine, with performance similar to what I see in Windows (which isn't great in this area). evs: Did you take ohci out of your kernel by any chance? I'm open to feedback on what the STALLED messages might mean and how to get rid of them. JN _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-mobile To unsubscribe, send any mail to "[email protected]"
v620.patch
(text/x-diff, 1.5 KB)
--- usbdevs.orig Mon Jan 22 12:57:30 2007
+++ usbdevs Sun Feb 4 00:11:33 2007
@@ -510,6 +510,7 @@
vendor MOBILITY 0x1342 Mobility
vendor LINKSYS4 0x13b1 Linksys
vendor SHARK 0x13d2 Shark
+vendor NOVATEL 0x1410 Novatel Wireless
vendor RADIOSHACK 0x1453 Radio Shack
vendor SILICOM 0x1485 Silicom
vendor RALINK 0x148f Ralink Technology
@@ -1340,6 +1341,9 @@
/* NovaTech Products */
product NOVATECH NV902 0x9020 NovaTech NV-902W
+/* Novatel Products */
+product NOVATEL CDMA_MODEM 0x1110 Novatel Wireless Merlin CDMA
+
/* Olympus products */
product OLYMPUS C1 0x0102 C-1 Digital Camera
product OLYMPUS C700 0x0105 C-700 Ultra Zoom
--- ubsa.c.orig Sun Feb 4 23:19:49 2007
+++ ubsa.c Sun Feb 4 15:20:36 2007
@@ -224,6 +224,8 @@
{ USB_VENDOR_GOHUBS, USB_PRODUCT_GOHUBS_GOCOM232 },
/* Peracom */
{ USB_VENDOR_PERACOM, USB_PRODUCT_PERACOM_SERIAL1 },
+ /* Novatel */
+ { USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_CDMA_MODEM },
/* Vodafone */
{ USB_VENDOR_VODAFONE, USB_PRODUCT_VODAFONE_MC3G },
{ 0, 0 }
--- usb_quirks.c.orig Mon Jan 22 12:57:30 2007
+++ usb_quirks.c Sun Feb 4 16:23:33 2007
@@ -104,6 +104,10 @@
ANY, { UQ_ASSUME_CM_OVER_DATA }},
{ USB_VENDOR_SUNTAC, USB_PRODUCT_SUNTAC_AS64LX,
0x100, { UQ_ASSUME_CM_OVER_DATA }},
+ { USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_CDMA_MODEM,
+ ANY, { UQ_ASSUME_CM_OVER_DATA }},
{ USB_VENDOR_MOTOROLA2, USB_PRODUCT_MOTOROLA2_A41XV32X,
ANY, { UQ_ASSUME_CM_OVER_DATA }},
/* Devices which should be ignored by uhid */
ppp.conf
(text/plain, 1.3 KB)
################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by [email protected] # # See /usr/share/examples/ppp/ for some examples # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.10 2004/11/19 17:12:56 obrien Exp $ ################################################################# default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) # Ensure that "device" references the correct serial port # for your modem. (cuad0 = COM1, cuad1 = COM2) # set device /dev/cuaU0 # set speed 115200 set speed 230400 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180 # 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) papchap: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATDT#777\\T TIMEOUT 40 CONNECT" set phone #777 set login set authname set authkey accept PAP # set authname USERNAME # set authkey PASSWORD set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR # Add a (sticky) default route