From owner-freebsd-mobile@FreeBSD.ORG Mon Feb 5 05:17:46 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8EA8F16A400 for ; Mon, 5 Feb 2007 05:17:46 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id 6440613C46B for ; Mon, 5 Feb 2007 05:17:46 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from insp.local (jn@c-76-23-109-98.hsd1.sc.comcast.net [76.23.109.98]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id l154eLAE046896; Sun, 4 Feb 2007 23:40:21 -0500 (EST) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-mobile@freebsd.org Date: Sun, 4 Feb 2007 23:40:13 -0500 User-Agent: KMail/1.9.5 X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*. X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: evs@telod.net Subject: Verizon V620 wireless card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Feb 2007 05:17:46 -0000 --Boundary-00=_uUrxFywZMjriaBO Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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: at device 11.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: at device 11.1 on pci0 cardbus1: 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: mem 0x88001000-0x88001fff irq 9 at device 0.1 on cardbus0 ohci3: [GIANT-LOCKED] usb4: OHCI version 1.0 usb4: 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 --Boundary-00=_uUrxFywZMjriaBO Content-Type: text/x-diff; charset="us-ascii"; name="v620.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="v620.patch" --- 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 */ --Boundary-00=_uUrxFywZMjriaBO Content-Type: text/plain; charset="us-ascii"; name="ppp.conf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ppp.conf" ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # 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 --Boundary-00=_uUrxFywZMjriaBO--