From owner-freebsd-chat@FreeBSD.ORG Wed Oct 29 17:35:43 2008 Return-Path: Delivered-To: chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDD0D1065677 for ; Wed, 29 Oct 2008 17:35:43 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from cpsmtpo-eml01.kpnxchange.com (cpsmtpo-eml01.KPNXCHANGE.COM [213.75.38.150]) by mx1.freebsd.org (Postfix) with ESMTP id 728058FC1D for ; Wed, 29 Oct 2008 17:35:43 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hpsmtp-eml06.kpnxchange.com ([213.75.38.106]) by cpsmtpo-eml01.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 29 Oct 2008 18:23:22 +0100 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by hpsmtp-eml06.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 29 Oct 2008 18:23:21 +0100 Received: (qmail 62562 invoked by uid 98); 29 Oct 2008 17:23:21 -0000 Received: from 89.200.106.43 (nick@89.200.106.43) by uitsmijter.van-laarhoven.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.92/5270. f-prot: 4.6.7/3.16.15. spamassassin: 3.2.3. Clear:RC:0(89.200.106.43):SA:0(4.4/5.0):. Processed in 9.893133 secs); 29 Oct 2008 17:23:21 -0000 X-Spam-Status: No, score=4.4 required=5.0 X-Spam-Level: ++++ Received: from unknown (HELO van-laarhoven.org) (nick@89.200.106.43) by uitsmijter.van-laarhoven.org with SMTP; 29 Oct 2008 17:23:10 -0000 Received: (nullmailer pid 1964 invoked by uid 1001); Wed, 29 Oct 2008 17:23:04 -0000 From: Nick Hibma To: chat@freebsd.org Date: Wed, 29 Oct 2008 18:23:03 +0100 User-Agent: KMail/1.9.7 References: <200810290808.m9T88tDD016760@svn.freebsd.org> In-Reply-To: <200810290808.m9T88tDD016760@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810291823.04066.nick@van-laarhoven.org> X-OriginalArrivalTime: 29 Oct 2008 17:23:21.0907 (UTC) FILETIME=[0ADC3030:01C939EB] Cc: Subject: Re: svn commit: r184436 - head/sys/dev/usb X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2008 17:35:43 -0000 Just in case anyone was wondering whether this mobile office UMTS/HSDPA rubbish actually works: The commit below was done while in the train pulling into Hilversum. I am writing this message again while in the train, after updating the page on http://people.freebsd.org/~n_hibma/u3g.html mentioning the fact that the driver actually works on FreeBSD 6-STABLE if ucom.c is patched with the patch given there, using ssh with decent latency. Not that anyone cares, really. Nick > Author: n_hibma > Date: Wed Oct 29 08:08:55 2008 > New Revision: 184436 > URL: http://svn.freebsd.org/changeset/base/184436 > > Log: > Add the device ID for the mass storage device that appears before the > modem appears to facilitate faster switching to modem mode. > > Modified: > head/sys/dev/usb/u3g.c > head/sys/dev/usb/usbdevs > > Modified: head/sys/dev/usb/u3g.c > ========================================================================= >===== --- head/sys/dev/usb/u3g.c Wed Oct 29 07:16:49 2008 (r184435) > +++ head/sys/dev/usb/u3g.c Wed Oct 29 08:08:55 2008 (r184436) > @@ -51,14 +51,12 @@ > #endif > #include "usbdevs.h" > > -//#define U3G_DEBUG > +#define U3G_DEBUG > #ifdef U3G_DEBUG > #define DPRINTF(x...) do { if (u3gdebug) device_printf(sc->sc_dev, > ##x); } while (0) -#define DPRINTFN(n, x...) do { if (u3gdebug > (n)) > device_printf(self, ##x); } while (0) int u3gdebug = 1; > #else > #define DPRINTF(x...) /* nop */ > -#define DPRINTFN(n, x...) /* nop */ > #endif > > #define U3G_MAXPORTS 4 > @@ -135,7 +133,8 @@ static const struct u3g_dev_type_s u3g_d > {{ USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GTMAXHSUPA > }, U3GSP_HSDPA, U3GFL_NONE }, {{ USB_VENDOR_OPTION, > USB_PRODUCT_OPTION_VODAFONEMC3G }, U3GSP_UMTS, U3GFL_NONE }, /* OEM: > Qualcomm, Inc. */ > - {{ USB_VENDOR_QUALCOMMINC, USB_PRODUCT_QUALCOMMINC_CDMA_MSM > }, U3GSP_CDMA, U3GFL_STUB_WAIT }, + {{ USB_VENDOR_QUALCOMMINC, > USB_PRODUCT_QUALCOMMINC_ZTE_STOR }, U3GSP_CDMA, U3GFL_SCSI_EJECT }, + {{ > USB_VENDOR_QUALCOMMINC, USB_PRODUCT_QUALCOMMINC_CDMA_MSM > }, U3GSP_CDMA, U3GFL_SCSI_EJECT }, /* OEM: Huawei */ > {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE > }, U3GSP_HSDPA, U3GFL_HUAWEI_INIT }, {{ USB_VENDOR_HUAWEI, > USB_PRODUCT_HUAWEI_E220 }, U3GSP_HSPA, U3GFL_HUAWEI_INIT }, > > Modified: head/sys/dev/usb/usbdevs > ========================================================================= >===== --- head/sys/dev/usb/usbdevs Wed Oct 29 07:16:49 2008 (r184435) > +++ head/sys/dev/usb/usbdevs Wed Oct 29 08:08:55 2008 (r184436) > @@ -1996,6 +1996,7 @@ product QUALCOMM CDMA_MSM 0x6000 CDMA Te > product QUALCOMM2 RWT_FCT 0x3100 RWT FCT-CDMA 2000 1xRTT modem > product QUALCOMM2 CDMA_MSM 0x3196 CDMA Technologies MSM modem > product QUALCOMMINC CDMA_MSM 0x0001 CDMA Technologies MSM modem > +product QUALCOMMINC ZTE_STOR 0x2000 USB ZTE Storage > > /* Qtronix products */ > product QTRONIX 980N 0x2011 Scorpion-980N keyboard > _______________________________________________ > svn-src-all@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/svn-src-all > To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"