From owner-freebsd-hardware@FreeBSD.ORG Sun Oct 5 10:36:06 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0B581065687; Sun, 5 Oct 2008 10:36:06 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 7366F8FC13; Sun, 5 Oct 2008 10:36:05 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id m95Aa3Cp010125 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 5 Oct 2008 12:36:04 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by cicely5.cicely.de (8.14.2/8.14.2) with ESMTP id m95Aa0KB043202 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 5 Oct 2008 12:36:01 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id m95Aa0ji010251; Sun, 5 Oct 2008 12:36:00 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id m95AZxlD010250; Sun, 5 Oct 2008 12:35:59 +0200 (CEST) (envelope-from ticso) Date: Sun, 5 Oct 2008 12:35:59 +0200 From: Bernd Walter To: Dieter Message-ID: <20081005103559.GI3228@cicely7.cicely.de> References: <20080925190022.GB93308@cicely7.cicely.de> <200810042129.VAA24823@sopwith.solgatos.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200810042129.VAA24823@sopwith.solgatos.com> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED=-1.8, AWL=0.069, BAYES_00=-2.599 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on spamd.cicely.de Cc: freebsd-alpha@freebsd.org, freebsd-usb@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: alpha/127248: System crashes when many (7) serial port terminals (vt320-vt510) connected to the server via com to usb adapter and 2-usb hubs. X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 10:36:07 -0000 On Sat, Oct 04, 2008 at 02:29:08PM +0100, Dieter wrote: > > > Surely a "good" USB to RS-232 bridge (if one exists?) or a RS-232 > > > filter/isolator (assuming they exist?) would be *far* less expensive > > > than the server class alpha you suggest below. > > > > It depend on how much RS232 you need and how many slots the OP has free. > > Nevertheless a "good" RS232 bridge if needed in number are not cheap > > either - ntoe that you can get affordable PCI extenders as well. > > The PCI expanders I've seen cost almost as much as getting an entire > additional machine. For PCI you are right, but Exsys for example makes extenders with PCIe uplinks for a good price. > > Well the AS4100 I have already has 8 slots which is not that uncommon > > for alpha servers. > > I'd call an alpha with only 8 slots a workstation class machine. It > wouldn't take much to fill up 8 slots. It is not the biggest server class, but I wouldn't put it on my desk either. > > > USB to RS-232 bridge could be a good solution, if I knew which > > > make&model of bridge worked well with *BSD. Poking around on the web > > > I can't even find what chip they have inside. > > > > Really forget about USB to RS232. > > It is not the chip which is the problem it is the principal. > > You really need galvanic isolation, because USB can't handle ground > > loops, which no cheap device has. > > You can use any kind of chip with propper isolation, but then it > > is likely more expensive than any other kind of solution. > > I assume this is marketing driven. Adding a few optos can't > increase the manufacturing cost *that* much. Sounds like a > market opportunity for someone. You also need a DC-DC converter to get power behind the isolation and 8 opto channels. It wouldn't increase manufactoring costs that much if produced in numbers, but it would make these devices about two or three times bigger. Another point is the additional power requirement. There are alternatives for optos, that don't consume that much power, but they are more expensive and you still have the loss for the DC-DC. Power consumption is an important factor for mobile computing. So yes - this is marketing driven, but not only for prices. I produce 12V adapters myself, so I know the size requirements for adding DCDC converters. Guess I will add optos one day. But even those without are already too expensive for adding terminals compared to e.g. ethernet based RS232. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-hardware@FreeBSD.ORG Tue Oct 7 21:45:25 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A5FE1065693 for ; Tue, 7 Oct 2008 21:45:25 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hpsmtp-eml14.kpnxchange.com (hpsmtp-eml14.KPNXCHANGE.COM [213.75.38.114]) by mx1.freebsd.org (Postfix) with ESMTP id 1B68C8FC22 for ; Tue, 7 Oct 2008 21:45:24 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from cpsmtpi-eml06.kpnxchange.com ([213.75.38.136]) by hpsmtp-eml14.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 7 Oct 2008 23:33:21 +0200 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by cpsmtpi-eml06.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 7 Oct 2008 23:33:21 +0200 Received: (qmail 31621 invoked by uid 98); 7 Oct 2008 21:33:20 -0000 Received: from 10.66.0.135 (nick@10.66.0.135) 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:1(10.66.0.135):. Processed in 0.052156 secs); 07 Oct 2008 21:33:20 -0000 Received: from unknown (HELO van-laarhoven.org) (nick@10.66.0.135) by uitsmijter.van-laarhoven.org with SMTP; 7 Oct 2008 21:33:20 -0000 Received: (nullmailer pid 98091 invoked by uid 1001); Tue, 07 Oct 2008 21:33:19 -0000 From: Nick Hibma To: freebsd-hardware@freebsd.org Date: Tue, 7 Oct 2008 23:33:17 +0200 User-Agent: KMail/1.9.7 References: <1e31c7980805130830w15aa90a0jfe19a279a4e6a628@mail.gmail.com> <482ABC29.9030002@FreeBSD.org> <1e31c7980805160832j7aac492v77469255f483490f@mail.gmail.com> In-Reply-To: <1e31c7980805160832j7aac492v77469255f483490f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810072333.18566.nick@van-laarhoven.org> X-OriginalArrivalTime: 07 Oct 2008 21:33:21.0586 (UTC) FILETIME=[52471120:01C928C4] Subject: Re: Modem GPRS USB X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 21:45:25 -0000 > May 16 12:17:08 vinnix ppp[1262]: tun0: Warning: 0.0.0.0: Change route > failed: errno: No such process > May 16 12:17:08 vinnix ppp[1262]: tun0: Warning: ff02:5::: Change route > failed: errno: Network is unreachable > > The PPP fails to get a default route, after connect. > Can you help-me with this? You might not get a valid route from the PPP server or you need to add the following to /etc/ppp/ppp.linkup shell route delete default shell route add default -interface INTERFACE to use the interface instead of the destination IP address. You can try this manually after PPP has established a connection. Nick From owner-freebsd-hardware@FreeBSD.ORG Tue Oct 7 22:03:43 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B18C1065697 for ; Tue, 7 Oct 2008 22:03:43 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hpsmtp-eml19.kpnxchange.com (hpsmtp-eml19.KPNXCHANGE.COM [213.75.38.84]) by mx1.freebsd.org (Postfix) with ESMTP id DEBB98FC08 for ; Tue, 7 Oct 2008 22:03:42 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hpsmtp-eml10.kpnxchange.com ([213.75.38.110]) by hpsmtp-eml19.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 8 Oct 2008 00:03:41 +0200 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by hpsmtp-eml10.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 8 Oct 2008 00:03:40 +0200 Received: (qmail 31953 invoked by uid 98); 7 Oct 2008 22:03:40 -0000 Received: from 10.66.0.135 (nick@10.66.0.135) 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:1(10.66.0.135):. Processed in 0.763644 secs); 07 Oct 2008 22:03:40 -0000 Received: from unknown (HELO van-laarhoven.org) (nick@10.66.0.135) by uitsmijter.van-laarhoven.org with SMTP; 7 Oct 2008 22:03:39 -0000 Received: (nullmailer pid 98405 invoked by uid 1001); Tue, 07 Oct 2008 22:03:39 -0000 From: Nick Hibma To: freebsd-hardware@freebsd.org Date: Wed, 8 Oct 2008 00:03:37 +0200 User-Agent: KMail/1.9.7 References: <1e31c7980805130830w15aa90a0jfe19a279a4e6a628@mail.gmail.com> In-Reply-To: <1e31c7980805130830w15aa90a0jfe19a279a4e6a628@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810080003.38358.nick@van-laarhoven.org> X-OriginalArrivalTime: 07 Oct 2008 22:03:41.0142 (UTC) FILETIME=[8ED14760:01C928C8] Cc: Poul-Henning Kamp , =?iso-8859-1?q?Vin=EDcius?= =?iso-8859-1?q?_Abrah=E3o?= Subject: Re: Modem GPRS USB - testers needed for 3G USB based data cards. X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 22:03:43 -0000 Would you mind trying the driver below, after patching in the appropriate IDs and removing ubsa from the kernel/unloading it? http://people.freebsd.org/~n_hibma/ It's a driver that currently supports Option and Huawei USB based PCMCIA cards. It supports multiple serial ports on the devices, which is neat if you want to find out signal strength while PPP is connected. It also includes the reset needed for the Huawei to change it from a umass to a ucom device. Other people currently using the ubsa driver for 3G cards, like Novatal, Sierra and Qualcomm, might want to try this driver out as well. Once this driver hits the tree (once I have rebuilt my CURRENT machine), devices from ubsa will be transferred across. These devices have a) high data transfer rates, b) usually have multiple serial ports listed in USB interfaces, c) need extra initialisation to change appearance and d) do not support nor need the setting of serial port settings as the serial port is simply used for transferring serial data, not driving an actual serial port. So they should have their own driver. Cheers, Nick > Hi People, > > First, sorry about my poor english. > I have modem usb: hsdpa/edge/gprs, but I don't know how to > make this work. This is the description about the device: > > umass0: 1.10/0.00, addr 2> on uhub2 > cd0 at umass-sim0 bus 0 target 0 lun 0 > cd0: Removable CD-ROM SCSI-2 device > cd0: 1.000MB/s transfers > cd0: cd present [4623 x 2048 byte records] > GEOM_LABEL: Label for provider cd0 is iso9660/ONDAMODEM > > At my kernel configuration file we find: > device ugen # Generic > device ucom # Modem UCOM > device ugencom # Modem CDMA MSM > device umodem # Modem COM > > Thanks in advice for any light. > > Best regards, > Vinnix > _______________________________________________ > freebsd-hardware@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > To unsubscribe, send any mail to > "freebsd-hardware-unsubscribe@freebsd.org" From owner-freebsd-hardware@FreeBSD.ORG Wed Oct 8 07:46:37 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 119641065689 for ; Wed, 8 Oct 2008 07:46:37 +0000 (UTC) (envelope-from freebsd-hardware@dino.sk) Received: from loki.netlab.sk (loki.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 7BCAC8FC1D for ; Wed, 8 Oct 2008 07:46:36 +0000 (UTC) (envelope-from freebsd-hardware@dino.sk) Received: from via.dino.sk (home.dino.sk [84.245.95.252]) (AUTH: PLAIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by loki.netlab.sk with esmtp; Wed, 08 Oct 2008 09:30:49 +0200 id 0002E010.48EC61A9.00004B08 From: Milan Obuch To: freebsd-hardware@freebsd.org Date: Wed, 8 Oct 2008 09:34:57 +0200 User-Agent: KMail/1.9.10 References: <1e31c7980805130830w15aa90a0jfe19a279a4e6a628@mail.gmail.com> <200810080003.38358.nick@van-laarhoven.org> In-Reply-To: <200810080003.38358.nick@van-laarhoven.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810080934.58273.freebsd-hardware@dino.sk> Cc: Poul-Henning Kamp , =?iso-8859-1?q?Vin=EDcius_Abrah=E3o?= , Nick Hibma Subject: Re: Modem GPRS USB - testers needed for 3G USB based data cards. X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 07:46:37 -0000 On Wednesday 08 October 2008 00:03:37 Nick Hibma wrote: > Would you mind trying the driver below, after patching in the appropriate > IDs and removing ubsa from the kernel/unloading it? > > http://people.freebsd.org/~n_hibma/ > > It's a driver that currently supports Option and Huawei USB based PCMCIA > cards. It supports multiple serial ports on the devices, which is neat if > you want to find out signal strength while PPP is connected. It also > includes the reset needed for the Huawei to change it from a umass to a > ucom device. > I tried building under both 7.1-PRERELASE from Sep 19 and 8.0-CURRENT (two days old or so). It builds under the former, but does not build under the latter, complaining about missing TS_CALLOUT. That beeing said, under 7.1 it kldloads/kldunloads, and as soon as I have an access to Huawei E220 (temporary), I will test whether it works. Is there anything special necessary to use this driver? Or is it just like using normal modem with ppp? I would like to know because my access to this device is currently limited only for some occasions. Regards, Milan From owner-freebsd-hardware@FreeBSD.ORG Wed Oct 8 07:47:55 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABB69106568D for ; Wed, 8 Oct 2008 07:47:55 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hpsmtp-eml16.kpnxchange.com (hpsmtp-eml16.KPNXCHANGE.COM [213.75.38.116]) by mx1.freebsd.org (Postfix) with ESMTP id 3A47E8FC1C for ; Wed, 8 Oct 2008 07:47:55 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hpsmtp-eml10.kpnxchange.com ([213.75.38.110]) by hpsmtp-eml16.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 8 Oct 2008 09:47:53 +0200 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by hpsmtp-eml10.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 8 Oct 2008 09:47:53 +0200 Received: (qmail 42917 invoked by uid 98); 8 Oct 2008 07:47:53 -0000 Received: from 77.62.185.192 (nick@77.62.185.192) 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(77.62.185.192):SA:0(0.8/5.0):. Processed in 6.044806 secs); 08 Oct 2008 07:47:53 -0000 X-Spam-Status: No, score=0.8 required=5.0 X-Spam-Level: Received: from unknown (HELO van-laarhoven.org) (nick@77.62.185.192) by uitsmijter.van-laarhoven.org with SMTP; 8 Oct 2008 07:47:46 -0000 Received: (nullmailer pid 1713 invoked by uid 1001); Wed, 08 Oct 2008 07:47:41 -0000 From: Nick Hibma To: Milan Obuch Date: Wed, 8 Oct 2008 09:47:40 +0200 User-Agent: KMail/1.9.7 References: <1e31c7980805130830w15aa90a0jfe19a279a4e6a628@mail.gmail.com> <200810080003.38358.nick@van-laarhoven.org> <200810080934.58273.freebsd-hardware@dino.sk> In-Reply-To: <200810080934.58273.freebsd-hardware@dino.sk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810080947.40594.nick@van-laarhoven.org> X-OriginalArrivalTime: 08 Oct 2008 07:47:53.0554 (UTC) FILETIME=[2BAEE320:01C9291A] Cc: freebsd-hardware@freebsd.org Subject: Re: Modem GPRS USB - testers needed for 3G USB based data cards. X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 07:47:55 -0000 > I tried building under both 7.1-PRERELASE from Sep 19 and 8.0-CURRENT > (two days old or so). It builds under the former, but does not build > under the latter, complaining about missing TS_CALLOUT. Thanks. I will check into that this week. > That beeing said, under 7.1 it kldloads/kldunloads, and as soon as I have > an access to Huawei E220 (temporary), I will test whether it works. Is > there anything special necessary to use this driver? Or is it just like > using normal modem with ppp? I would like to know because my access to > this device is currently limited only for some occasions. Nope. You will get multiple /dev/cuaUX devices (4 in this case I believe) and you need to pick /dev/cuaU0. Start ppp with your usual entry and before typing dial you set the device to set device /dev/cuaU0 Don't forget to set the baud rate to 115200 or higher to set buffering correctly in the TTY layer. Oh no, that still needs fixing in the ucom driver. You will get lots of warnings. Increase 256 to 1024 in the following line: #define U3GBUFSZ 256 The problem here is that ucom doesn't properly initialise the tty struct. Setting this value isn't the proper way of doing this but it works. With screen /dev/cuaU2 and then typing in AT+CSQ you can view signal strength. Depending on the device the following commands you can try (while on the move): AT+CREG=1 GSM connection status AT+CGREG=1 GPRS connection status AT+CREG=2 GSM connection status including mast IDs AT+CGREG=2 GPRS connection status including mast IDs AT_OSSYS=1 Async selected system reporting (Option) AT_OSQI=1 Async Signal Quality Reporting (Option) Thanks for testing. Cheers, Nick From owner-freebsd-hardware@FreeBSD.ORG Wed Oct 8 09:46:21 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF02C1065694 for ; Wed, 8 Oct 2008 09:46:21 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from cpsmtpo-eml04.kpnxchange.com (cpsmtpo-eml04.KPNXCHANGE.COM [213.75.38.153]) by mx1.freebsd.org (Postfix) with ESMTP id 7FE4D8FC1F for ; Wed, 8 Oct 2008 09:46:21 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hpsmtp-eml04.kpnxchange.com ([213.75.38.104]) by cpsmtpo-eml04.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 8 Oct 2008 11:46:20 +0200 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by hpsmtp-eml04.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 8 Oct 2008 11:46:19 +0200 Received: (qmail 48815 invoked by uid 98); 8 Oct 2008 09:46:19 -0000 Received: from 132.229.99.21 (nick@132.229.99.21) 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(132.229.99.21):SA:0(-10.9/5.0):. Processed in 4.439849 secs); 08 Oct 2008 09:46:19 -0000 X-Spam-Status: No, score=-10.9 required=5.0 X-Spam-Level: Received: from unknown (HELO van-laarhoven.org) (nick@132.229.99.21) by uitsmijter.van-laarhoven.org with SMTP; 8 Oct 2008 09:46:14 -0000 Received: (nullmailer pid 3382 invoked by uid 1001); Wed, 08 Oct 2008 09:46:13 -0000 From: Nick Hibma To: Nicolai Petri Date: Wed, 8 Oct 2008 11:46:12 +0200 User-Agent: KMail/1.9.7 References: <48EC7785.8030303@catpipe.net> In-Reply-To: <48EC7785.8030303@catpipe.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810081146.13435.nick@van-laarhoven.org> X-OriginalArrivalTime: 08 Oct 2008 09:46:19.0548 (UTC) FILETIME=[B72F85C0:01C9292A] Cc: freebsd-hardware@freebsd.org Subject: Re: Problem / question about u3g driver X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 09:46:22 -0000 I'll look into your question on the config descriptor index. I'm not sure which device we have to test, but I will get back to you for testing. Wrt to current: I have not yet done any porting of the driver there so I don't know why you have problems. I will do so hopefully this week so I can commit the driver and MFC shortly afterwards. Be patient. My time for FBSD work is limited. None of this is rocket science, so it will get there in time. For now you have your patched ubsa driver in any case. Thanks for the testing! Nick > Hi, > > PHK pointed me to the u3g driver on your site. I did a quick test on > -current which wasn't that successful. > > To make a bit of context I made a patch for ubsa.c which allows my > Huawei E220 usb device to work (it's based on phk's latest commit to > -current) > > This part works great - but what I found out during my investigation was > that according to atleast netbsd it's an error to use 1 as config_index. > It should be 0. > This removes my configure "STALLED" messages and makes the device attach > proberly (after the reprobe). So my questions is if you know > what is the correct index - I can see that the u3g driver uses 1 as > config index but what i fear is that this is actually > different for different devices. > > I hope you can shed some light on this. > > Back to my testing of the u3g driver on current with the E220 adapter I > get instant crash when attach fails - I'll do a backtrace later but my > best bet is that it's the config index that needs to be changed. > > I'll look forward to hearing from you. > > Cheers, > Nicolai Petri > > Ps. I have made a patch for freebsd-stable which makes huawei devices > work - only thing I'm puzzled about is the change of config index from 1 > to 0. It can be found here : > http://hobbes.bsd-dk.dk/~npp/ubsa.patch-stable From owner-freebsd-hardware@FreeBSD.ORG Wed Oct 8 16:17:47 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DA1D1065687 for ; Wed, 8 Oct 2008 16:17:47 +0000 (UTC) (envelope-from soala@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 728568FC1B for ; Wed, 8 Oct 2008 16:17:46 +0000 (UTC) (envelope-from soala@gmx.de) Received: (qmail 14318 invoked by uid 0); 8 Oct 2008 15:51:05 -0000 Received: from 212.202.232.138 by www011.gmx.net with HTTP; Wed, 08 Oct 2008 17:51:04 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" Date: Wed, 08 Oct 2008 17:51:04 +0200 From: soala@gmx.de Message-ID: <20081008155104.181990@gmx.net> MIME-Version: 1.0 To: freebsd-hardware@freebsd.org X-Authenticated: #4215554 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX1+SXyRc53mSE1pQoaZCv1Z+9Twwk+4Pmv4BGENwAo cfU3uBQf0vNZTfazAtQbVthc4xgr/qalJsvw== Content-Transfer-Encoding: 8bit X-GMX-UID: 0OHffFU1f2IsOFU6LGxowld4dWxlc5at X-FuHaFi: 0.72 X-Mailman-Approved-At: Wed, 08 Oct 2008 16:49:37 +0000 Subject: Chipset Driver X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 16:17:47 -0000 Hello, I use FreeBSD 6.2 and have the chipset "Mobile Intel 945GM Express + ICH7". Do you have any chipset driver for me? I have problem with my SATA connectors - the SATA speed is so slow.... Please help me Thank you Best regards Andi -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger From owner-freebsd-hardware@FreeBSD.ORG Wed Oct 8 18:39:09 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0A10106568A for ; Wed, 8 Oct 2008 18:39:09 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA03.emeryville.ca.mail.comcast.net (qmta03.emeryville.ca.mail.comcast.net [76.96.30.32]) by mx1.freebsd.org (Postfix) with ESMTP id 86FB48FC13 for ; Wed, 8 Oct 2008 18:39:09 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA11.emeryville.ca.mail.comcast.net ([76.96.30.36]) by QMTA03.emeryville.ca.mail.comcast.net with comcast id QC421a00D0mlR8UA3Jf903; Wed, 08 Oct 2008 18:39:09 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA11.emeryville.ca.mail.comcast.net with comcast id QJf81a0052P6wsM8XJf8K4; Wed, 08 Oct 2008 18:39:08 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=uiYm9bNwA1xg_S-VoGEA:9 a=DZpyhc7GjUOYkGueqMG605G9GQAA:4 a=EoioJ0NPDVgA:10 a=_RhRFcbxBZMA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 23689C9419; Wed, 8 Oct 2008 11:39:08 -0700 (PDT) Date: Wed, 8 Oct 2008 11:39:08 -0700 From: Jeremy Chadwick To: soala@gmx.de Message-ID: <20081008183908.GA83512@icarus.home.lan> References: <20081008155104.181990@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081008155104.181990@gmx.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-hardware@freebsd.org Subject: Re: Chipset Driver X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 18:39:09 -0000 On Wed, Oct 08, 2008 at 05:51:04PM +0200, soala@gmx.de wrote: > Hello, > > I use FreeBSD 6.2 and have the chipset "Mobile Intel 945GM Express + ICH7". > Do you have any chipset driver for me? > I have problem with my SATA connectors - the SATA speed is so slow.... > Please help me Does the problem go away if you run 7.0 or 7.1-PRERELEASE? BTW, the ICH7 is the piece which controls SATA, not the 945GM. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-hardware@FreeBSD.ORG Thu Oct 9 03:21:34 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03170106568F for ; Thu, 9 Oct 2008 03:21:34 +0000 (UTC) (envelope-from kungfujesus06@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id A39908FC0C for ; Thu, 9 Oct 2008 03:21:33 +0000 (UTC) (envelope-from kungfujesus06@gmail.com) Received: by gxk14 with SMTP id 14so8947301gxk.19 for ; Wed, 08 Oct 2008 20:21:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=sIluEBFbn5XcXmb6+OGljJ0CYsHC17z4BhrU3KmcJ5M=; b=gkuc/KZCwB6M7kD5f5kZ/L1/xo9VEQ02/rCu1PUzcWV5VRnd+vWxNACpJTi/hjsBGD wibQmalV0UEZM2UYPukg/sWFrQXY8jnCkYr46r61UdlHy/jBnlKWf9dMUK0PfcZ86vDF 2dxY0aS9VcCoWWjHb/UnN1eKSJURfKKvI558w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=qJsKashB7eFK5+ON601aBpHza3B85L/crdPf8yYTI4+5mjfL0+46ygmoMts23XsMkr QRpcN62igZWsZMHrZPp7Un+CFSRr2UYRO73lmZRG5aNrcNgrXUR9tupYo+5LsQ3evUdN /a7In0KuJdp1/12qMOv+C0Fvauww2OWEXtb3c= Received: by 10.150.133.18 with SMTP id g18mr12232721ybd.137.1223521066786; Wed, 08 Oct 2008 19:57:46 -0700 (PDT) Received: by 10.150.177.6 with HTTP; Wed, 8 Oct 2008 19:57:46 -0700 (PDT) Message-ID: <96af083b0810081957x6dc89c5dy65c8d2b8bee3b2e1@mail.gmail.com> Date: Wed, 8 Oct 2008 22:57:46 -0400 From: "Adam Stylinski" To: freebsd-hardware@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Generic Marvell 88SX7042 Cards X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 03:21:34 -0000 Hello, I've been scouring through the Hardware Support list to find that nothing under this chipset seems to be supported. Linux recently supports this with the sata_mv module and I was wondering if there was any effort to port a driver to BSD. I have a Rosewill RC-218 card, which is a non-raid SATA-II Controller with 4 ports. I would like to expand my zraid with this card. Any more information to the progress of this would be extremely appreciated. Thanks. From owner-freebsd-hardware@FreeBSD.ORG Thu Oct 9 20:44:44 2008 Return-Path: Delivered-To: hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D4331065692; Thu, 9 Oct 2008 20:44:44 +0000 (UTC) (envelope-from jgrosch@mooseriver.com) Received: from gdead.mooseriver.com (gdead.mooseriver.com [205.166.121.45]) by mx1.freebsd.org (Postfix) with ESMTP id 6145F8FC08; Thu, 9 Oct 2008 20:44:44 +0000 (UTC) (envelope-from jgrosch@mooseriver.com) Received: by gdead.mooseriver.com (Postfix, from userid 2010) id 71D9563333; Thu, 9 Oct 2008 13:25:23 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gdead.mooseriver.com X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from mooseriver.com (berkeley.mooseriver.com [75.61.201.134]) by gdead.mooseriver.com (Postfix) with ESMTP id 026CE63330; Thu, 9 Oct 2008 13:25:22 -0700 (PDT) Received: by mooseriver.com (Postfix, from userid 0) id CB2C22F7108; Thu, 9 Oct 2008 13:25:21 -0700 (PDT) Date: Thu, 9 Oct 2008 13:25:21 -0700 From: Josef Grosch To: questions@freebsd.org Message-ID: <20081009202521.GA57222@mooseriver.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Organization: Moose River, LLC Cc: hackers@freebsd.org, hardware@freebsd.org Subject: FreeBSD support for HP DL180/G5 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jgrosch@MooseRiver.com List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 20:44:44 -0000 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Does anyone have experience running FreeBSD 6.x and 7.x on an HP DL180/G5? The company I work for is looking to get a number of these to be put in production. Your general impressions would be a good start. Josef --=20 Josef Grosch | Another day closer to a | FreeBSD 6.3 jgrosch@MooseRiver.com | Micro$oft free world | Berkeley, Ca. --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFI7miry8prLS1GYSERAgbPAKChLT0QDIVGiWzZWpkU8+pZDGK3UACeOhBd kNsXOyeO+6oD5pQ9HX0bBWs= =lon3 -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF-- From owner-freebsd-hardware@FreeBSD.ORG Thu Oct 9 21:53:04 2008 Return-Path: Delivered-To: hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C3921065686 for ; Thu, 9 Oct 2008 21:53:04 +0000 (UTC) (envelope-from subhro.kar@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id 3C2B38FC12 for ; Thu, 9 Oct 2008 21:53:04 +0000 (UTC) (envelope-from subhro.kar@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so342216wfg.7 for ; Thu, 09 Oct 2008 14:53:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=vdhiMfaVat00+0HeVl6MJX3fOyxMORM1095aS3tg5Zg=; b=GqY8T0PXZqAfC3m0hgkASennqoI5UMAIoBpiadpSojcbs8Cks6k6W9PaaeargysBaC oV0XIVQCVKFZ5nUJtwUtGECEIcj91Ly6EbqdpLHPbYYOLZGSGMcqMYDQQPPY17z0E5Ts MmhY77MgDAITB5I43aiLoo1hzM1UMqIb232OQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=JdsKQyzbTlCLnrWwzHICk7FDpod36QqCgF/dVGGjF8xB/yJ0pZyjsqxGW30CKetIYX 1KJ9IQ1Y/MYliNWKPMPPDA0wX0EbJ7/TUhS27pU54PfZSb4xlEGTqJDU/Ik7Ns0BDuaM lWJGUxckkU1Ux0Ga0k9aVrvDVJ6n0nEJb7BYU= Received: by 10.114.26.18 with SMTP id 18mr905374waz.162.1223587373989; Thu, 09 Oct 2008 14:22:53 -0700 (PDT) Received: by 10.114.15.4 with HTTP; Thu, 9 Oct 2008 14:22:53 -0700 (PDT) Message-ID: Date: Fri, 10 Oct 2008 02:52:53 +0530 From: Subhro To: jgrosch@mooseriver.com In-Reply-To: <20081009202521.GA57222@mooseriver.com> MIME-Version: 1.0 References: <20081009202521.GA57222@mooseriver.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: hackers@freebsd.org, questions@freebsd.org, hardware@freebsd.org Subject: Re: FreeBSD support for HP DL180/G5 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 21:53:04 -0000 HP produces pretty good boxes and historically I have been able to get them working without any troubles. However I would say DL180 is a pretty non customizable box. The hardware works perfectly with FreeBSD 7.0. I didnt try it with 6.3, so cant comment on that. However I would say DL380 is a better off. The main advantage of DL3xx boxes are there is a lot of room to play with add-on cards. Also not all the latest and greatest processors are available with DL1xx family of servers. Also make sure that you go for an external RAID controller like 3ware or Areca. I prefer Areca more :-D. The HP RAID controller cant take the beating I give to it. Thanks Subhro On Fri, Oct 10, 2008 at 1:55 AM, Josef Grosch wrote: > > Does anyone have experience running FreeBSD 6.x and 7.x on an HP DL180/G5? > The company I work for is looking to get a number of these to be put in > production. Your general impressions would be a good start. > > > > Josef > > -- > Josef Grosch | Another day closer to a | FreeBSD 6.3 > jgrosch@MooseRiver.com | Micro$oft free world | Berkeley, Ca. > From owner-freebsd-hardware@FreeBSD.ORG Thu Oct 9 21:56:21 2008 Return-Path: Delivered-To: hardware@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 053721065689 for ; Thu, 9 Oct 2008 21:56:21 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hpsmtp-eml16.kpnxchange.com (hpsmtp-eml16.KPNXCHANGE.COM [213.75.38.116]) by mx1.freebsd.org (Postfix) with ESMTP id 59AF88FC14 for ; Thu, 9 Oct 2008 21:56:20 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hpsmtp-eml09.kpnxchange.com ([213.75.38.109]) by hpsmtp-eml16.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 9 Oct 2008 23:44:16 +0200 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by hpsmtp-eml09.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 9 Oct 2008 23:44:14 +0200 Received: (qmail 93779 invoked by uid 98); 9 Oct 2008 21:44:12 -0000 Received: from 10.66.0.135 (nick@10.66.0.135) 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:1(10.66.0.135):. Processed in 0.808936 secs); 09 Oct 2008 21:44:12 -0000 Received: from unknown (HELO van-laarhoven.org) (nick@10.66.0.135) by uitsmijter.van-laarhoven.org with SMTP; 9 Oct 2008 21:44:11 -0000 Received: (nullmailer pid 6612 invoked by uid 1001); Thu, 09 Oct 2008 21:44:10 -0000 From: Nick Hibma To: FreeBSD CURRENT Mailing List Date: Thu, 9 Oct 2008 23:44:09 +0200 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810092344.10388.nick@van-laarhoven.org> X-OriginalArrivalTime: 09 Oct 2008 21:44:14.0825 (UTC) FILETIME=[2C76ED90:01C92A58] Cc: FreeBSD Hardware Mailing list , Andrea Guzzo Subject: Request for testers: Option 3G cards, also Sierra, Huawei and Novatel X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 21:56:21 -0000 Just now I have committed a driver for Option and Huawei cards previously supported by the ubsa driver. More information is in the commit message. I am looking for people who would be able to provide more information after testing with the 3G cards branded by: OEM: Merlin Huawei Option Sierra Novatel Qualcomm Rebranded: Dell Vodafone Note: The driver can be copied across to FreeBSD 7-STABLE if you copy the sys/modules/u3g directory and sys/dev/usb/u3g.c and sys/dev/usb/usbdevs files from HEAD and _move_ the ID from ubsa to u3g. More information can be found on http://people.freebsd.org/~n_hibma/u3g.html Thanks, Nick ---------- Forwarded Message ---------- Subject: svn commit: r183735 - in head: share/man/man4 sys/conf sys/dev/usb sys/i386/conf sys/modules sys/modules/u3g Date: Thu October 9 2008 From: Nick Hibma To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Author: n_hibma Date: Thu Oct 9 21:25:01 2008 New Revision: 183735 URL: http://svn.freebsd.org/changeset/base/183735 Log: Say hello to the u3g driver, implementing support for 3G modems. This was located in the ubsa driver, but should be moved into a separate driver: - 3G modems provide multiple serial ports to allow AT commands while the PPP connection is up. - 3G modems do not provide baud rate or other serial port settings. - Huawei cards need specific initialisation. - ubsa is for Belkin adapters, an Linuxy choice for another device like 3G. Speeds achieved here with a weak signal at best is ~40kb/s (UMTS). No spooky STALLED messages as well. Next: Move over all entries for Sierra and Novatel cards once I have found testers, and implemented serial port enumeration for Sierra (or rather have Andrea Guzzo do it). They list all endpoints in 1 iface instead of 4 ifaces. Submitted by: aguzzo@anywi.com MFC after: 3 weeks Added: head/share/man/man4/u3g.4 (contents, props changed) head/sys/dev/usb/u3g.c (contents, props changed) head/sys/modules/u3g/ head/sys/modules/u3g/Makefile (contents, props changed) Modified: head/share/man/man4/Makefile head/sys/conf/NOTES head/sys/conf/files head/sys/dev/usb/ubsa.c head/sys/dev/usb/usbdevs head/sys/i386/conf/GENERIC head/sys/modules/Makefile Modified: head/share/man/man4/Makefile ============================================================================== --- head/share/man/man4/Makefile Thu Oct 9 20:51:25 2008 (r183734) +++ head/share/man/man4/Makefile Thu Oct 9 21:25:01 2008 (r183735) @@ -384,6 +384,7 @@ MAN= aac.4 \ twe.4 \ tx.4 \ txp.4 \ + u3g.4 \ uark.4 \ uart.4 \ ubsa.4 \ Added: head/share/man/man4/u3g.4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/u3g.4 Thu Oct 9 21:25:01 2008 (r183735) @@ -0,0 +1,100 @@ +.\" +.\" Copyright (c) 2008 AnyWi Technologies +.\" All rights reserved. +.\" +.\" This code is derived from uark.c +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.\" $FreeBSD$ +.\" +.Dd October 7, 2008 +.Dt U3G 4 +.Os +.Sh NAME +.Nm u3g +.Nd USB support for 3G datacards +.Sh SYNOPSIS +To compile this driver into the kernel, +place the following lines in your +kernel configuration file: +.Bd -ragged -offset indent +.Cd "device u3g" +.Cd "device ucom" +.Ed +.Pp +Alternatively, to load the driver as a +module at boot time, place the following line in +.Xr loader.conf 5 : +.Bd -literal -offset indent +u3g_load="YES" +.Ed +.Sh DESCRIPTION +The +.Nm +driver provides support for the multiple USB-to-serial interfaces exposed by +many 3G usb/pccard modems. +.Pp +The device is accessed through the +.Xr ucom 4 +driver which makes it behave like a +.Xr tty 4 . +.Sh HARDWARE +The +.Nm +driver supports the following adapters: +.Pp +.Bl -bullet -compact +.It +Option Globetrotter 3G Fusion (only 3G part, not WLAN) +.It +Option Globetrotter 3G Fusion Quad (only 3G part, not WLAN) +.It +Option Globetrotter 3G Quad +.It +Option Globetrotter 3G +.It +Vodafone Mobile Connect Card 3G +.It +Huawei E220 (E270?) +.It +Huawei Mobile +.El +.Pp +The supported 3G cards provide the necessary modem port for ppp, +pppd, or mpd connections as well as extra ports (depending on the specific +device) to provide other functions (diagnostic port, SIM toolkit port) +.Sh SEE ALSO +.Xr tty 4 , +.Xr ucom 4 , +.Xr usb 4 , +.Xr ubsa 4 +.Sh HISTORY +The +.Nm +driver +appeared in +.Fx 7.0 . +The +.Xr ubsa 4 +manual page was modified for +.Nm +by +.An Andrea Guzzo Aq aguzzo@anywi.com +in September 2008. +.Sh AUTHORS +The +.Nm +driver was written by +.An Andrea Guzzo Aq aguzzo@anywi.com . +Hardware for testing provided by AnyWi Technologies, Leiden, NL. Modified: head/sys/conf/NOTES ============================================================================== --- head/sys/conf/NOTES Thu Oct 9 20:51:25 2008 (r183734) +++ head/sys/conf/NOTES Thu Oct 9 21:25:01 2008 (r183735) @@ -2416,6 +2416,8 @@ device uscanner # # USB serial support device ucom +# USB support for 3G modem cards by Option, Huawei and Sierra +device u3g # USB support for Technologies ARK3116 based serial adapters device uark # USB support for Belkin F5U103 and compatible serial adapters @@ -2441,7 +2443,6 @@ device aue # ASIX Electronics AX88172 USB 2.0 ethernet driver. Used in the # LinkSys USB200M and various other adapters. - device axe # Modified: head/sys/conf/files ============================================================================== --- head/sys/conf/files Thu Oct 9 20:51:25 2008 (r183734) +++ head/sys/conf/files Thu Oct 9 21:25:01 2008 (r183735) @@ -1327,6 +1327,7 @@ dev/usb/ohci_pci.c optional ohci pci dev/usb/sl811hs.c optional slhci dev/usb/slhci_pccard.c optional slhci pccard dev/usb/uark.c optional uark +dev/usb/u3g.c optional u3g dev/usb/ubsa.c optional ubsa dev/usb/ubser.c optional ubser dev/usb/ucom.c optional ucom Added: head/sys/dev/usb/u3g.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/usb/u3g.c Thu Oct 9 21:25:01 2008 (r183735) @@ -0,0 +1,330 @@ +/* + * Copyright (c) 2008 AnyWi Technologies + * Author: Andrea Guzzo + * * based on uark.c 1.1 2006/08/14 08:30:22 jsg * + * * parts from ubsa.c 183348 2008-09-25 12:00:56Z phk * + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * $FreeBSD$ + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +#include + +#include "usbdevs.h" + +#ifdef U3G_DEBUG +#define DPRINTFN(n, x) do { if (u3gdebug > (n)) printf x; } while (0) +int u3gtebug = 0; +#else +#define DPRINTFN(n, x) +#endif +#define DPRINTF(x) DPRINTFN(0, x) + +#define U3GBUFSZ 1024 +#define U3G_MAXPORTS 4 + +struct u3g_softc { + struct ucom_softc sc_ucom[U3G_MAXPORTS];; + device_t sc_dev; + usbd_device_handle sc_udev; + u_char sc_msr; + u_char sc_lsr; + u_char numports; + + usbd_interface_handle sc_intr_iface; /* interrupt interface */ +#ifdef U3G_DEBUG + int sc_intr_number; /* interrupt number */ + usbd_pipe_handle sc_intr_pipe; /* interrupt pipe */ + u_char *sc_intr_buf; /* interrupt buffer */ +#endif + int sc_isize; +}; + +struct ucom_callback u3g_callback = { + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, +}; + +static const struct usb_devno u3g_devs[] = { + /* OEM: Option */ + { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3G }, + { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3GQUAD }, + { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3GPLUS }, + { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GTMAX36 }, + { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_VODAFONEMC3G }, + /* OEM: Huawei */ + { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE }, + { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220 }, + + { 0, 0 } +}; + +#ifdef U3G_DEBUG +static void +u3g_intr(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status) +{ + struct u3g_softc *sc = (struct u3g_softc *)priv; + device_printf(sc->sc_dev, "INTERRUPT CALLBACK\n"); +} +#endif + +static int +u3g_huawei_reinit(usbd_device_handle dev) +{ + /* The Huawei device presents itself as a umass device with Windows + * drivers on it. After installation of the driver, it reinits into a + * 3G serial device. + */ + usb_device_request_t req; + usb_config_descriptor_t *cdesc; + + /* Get the config descriptor */ + cdesc = usbd_get_config_descriptor(dev); + if (cdesc == NULL) + return (UMATCH_NONE); + + /* One iface means umass mode, more than 1 (4 usually) means 3G mode */ + if (cdesc->bNumInterface > 1) + return (UMATCH_VENDOR_PRODUCT); + + req.bmRequestType = UT_WRITE_DEVICE; + req.bRequest = UR_SET_FEATURE; + USETW(req.wValue, UF_DEVICE_REMOTE_WAKEUP); + USETW(req.wIndex, UHF_PORT_SUSPEND); + USETW(req.wLength, 0); + + (void) usbd_do_request(dev, &req, 0); + + return UMATCH_NONE; /* mismatch; it will be gone and reappear */ +} + +static int +u3g_match(device_t self) +{ + struct usb_attach_arg *uaa = device_get_ivars(self); + + if (uaa->iface != NULL) + return (UMATCH_NONE); + + if (uaa->vendor == USB_VENDOR_HUAWEI) + return u3g_huawei_reinit(uaa->device); + + if (usb_lookup(u3g_devs, uaa->vendor, uaa->product)) + return UMATCH_VENDOR_PRODUCT; + + return UMATCH_NONE; +} + +static int +u3g_attach(device_t self) +{ + struct u3g_softc *sc = device_get_softc(self); + struct usb_attach_arg *uaa = device_get_ivars(self); + usbd_device_handle dev = uaa->device; + usbd_interface_handle iface; + usb_interface_descriptor_t *id; + usb_endpoint_descriptor_t *ed; + usbd_status error; + int i, n; + usb_config_descriptor_t *cdesc; + struct ucom_softc *ucom = NULL; + char devnamefmt[32]; + + sc->sc_dev = self; +#ifdef DEBUG + sc->sc_intr_number = -1; + sc->sc_intr_pipe = NULL; +#endif + /* Move the device into the configured state. */ + error = usbd_set_config_index(dev, 1, 1); + if (error) { + device_printf(self, "failed to set configuration: %s\n", + usbd_errstr(error)); + goto bad; + } + + /* get the config descriptor */ + cdesc = usbd_get_config_descriptor(dev); + + if (cdesc == NULL) { + device_printf(self, "failed to get configuration descriptor\n"); + goto bad; + } + + sc->sc_udev = dev; + sc->numports = (cdesc->bNumInterface <= U3G_MAXPORTS)?cdesc->bNumInterface:U3G_MAXPORTS; + for ( i = 0; i < sc->numports; i++ ) { + ucom = &sc->sc_ucom[i]; + + ucom->sc_dev = self; + ucom->sc_udev = dev; + error = usbd_device2interface_handle(dev, i, &iface); + if (error) { + device_printf(ucom->sc_dev, + "failed to get interface, err=%s\n", + usbd_errstr(error)); + ucom->sc_dying = 1; + goto bad; + } + id = usbd_get_interface_descriptor(iface); + ucom->sc_iface = iface; + + ucom->sc_bulkin_no = ucom->sc_bulkout_no = -1; + for (n = 0; n < id->bNumEndpoints; n++) { + ed = usbd_interface2endpoint_descriptor(iface, n); + if (ed == NULL) { + device_printf(ucom->sc_dev, + "could not read endpoint descriptor\n"); + goto bad; + } + if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && + UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) + ucom->sc_bulkin_no = ed->bEndpointAddress; + else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && + UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) + ucom->sc_bulkout_no = ed->bEndpointAddress; + } + if (ucom->sc_bulkin_no == -1 || ucom->sc_bulkout_no == -1) { + device_printf(ucom->sc_dev, "missing endpoint\n"); + goto bad; + } + ucom->sc_parent = sc; + ucom->sc_ibufsize = U3GBUFSZ; + ucom->sc_obufsize = U3GBUFSZ; + ucom->sc_ibufsizepad = U3GBUFSZ; + ucom->sc_opkthdrlen = 0; + + ucom->sc_callback = &u3g_callback; + + sprintf(devnamefmt,"U%d.%%d", device_get_unit(self)); + DPRINTF(("u3g: in=0x%x out=0x%x, devname=%s\n", + ucom->sc_bulkin_no, ucom->sc_bulkout_no, devnamefmt)); +#if __FreeBSD_version < 800000 + ucom_attach_tty(ucom, TS_CALLOUT, devnamefmt, i); +#else + ucom_attach_tty(ucom, devnamefmt, i); +#endif + } +#ifdef U3G_DEBUG + if (sc->sc_intr_number != -1 && sc->sc_intr_pipe == NULL) { + sc->sc_intr_buf = malloc(sc->sc_isize, M_USBDEV, M_WAITOK); + error = usbd_open_pipe_intr(sc->sc_intr_iface, + sc->sc_intr_number, + USBD_SHORT_XFER_OK, + &sc->sc_intr_pipe, + sc, + sc->sc_intr_buf, + sc->sc_isize, + u3g_intr, + 100); + if (error) { + device_printf(self, + "cannot open interrupt pipe (addr %d)\n", + sc->sc_intr_number); + goto bad; + } + } +#endif + device_printf(self, "configured %d serial ports (/dev/cuaU%d.X)", + sc->numports, device_get_unit(self)); + + return 0; + +bad: + DPRINTF(("u3g_attach: ATTACH ERROR\n")); + ucom->sc_dying = 1; + return ENXIO; +} + +static int +u3g_detach(device_t self) +{ + struct u3g_softc *sc = device_get_softc(self); + int rv = 0; + int i; + + DPRINTF(("u3g_detach: sc=%p\n", sc)); + + for (i = 0; i < sc->numports; i++) { + if(sc->sc_ucom[i].sc_udev) { + sc->sc_ucom[i].sc_dying = 1; + rv = ucom_detach(&sc->sc_ucom[i]); + if(rv != 0) { + device_printf(self, "Can't deallocat port %d", i); + return rv; + } + } + } + +#ifdef U3G_DEBUG + if (sc->sc_intr_pipe != NULL) { + int err = usbd_abort_pipe(sc->sc_intr_pipe); + if (err) + device_printf(self, + "abort interrupt pipe failed: %s\n", + usbd_errstr(err)); + err = usbd_close_pipe(sc->sc_intr_pipe); + if (err) + device_printf(self, + "close interrupt pipe failed: %s\n", + usbd_errstr(err)); + free(sc->sc_intr_buf, M_USBDEV); + sc->sc_intr_pipe = NULL; + } +#endif + + return 0; +} + +static device_method_t u3g_methods[] = { + /* Device interface */ + DEVMETHOD(device_probe, u3g_match), + DEVMETHOD(device_attach, u3g_attach), + DEVMETHOD(device_detach, u3g_detach), + + { 0, 0 } +}; + +static driver_t u3g_driver = { + "ucom", + u3g_methods, + sizeof (struct u3g_softc) +}; + +DRIVER_MODULE(u3g, uhub, u3g_driver, ucom_devclass, usbd_driver_load, 0); +MODULE_DEPEND(u3g, usb, 1, 1, 1); +MODULE_DEPEND(u3g, ucom, UCOM_MINVER, UCOM_PREFVER, UCOM_MAXVER); Modified: head/sys/dev/usb/ubsa.c ============================================================================== --- head/sys/dev/usb/ubsa.c Thu Oct 9 20:51:25 2008 (r183734) +++ head/sys/dev/usb/ubsa.c Thu Oct 9 21:25:01 2008 (r183735) @@ -161,8 +161,6 @@ SYSCTL_INT(_hw_usb_ubsa, OID_AUTO, debug struct ubsa_softc { struct ucom_softc sc_ucom; - int sc_huawei; - int sc_iface_number; /* interface number */ usbd_interface_handle sc_intr_iface; /* interrupt interface */ @@ -228,24 +226,11 @@ static const struct ubsa_product { { USB_VENDOR_GOHUBS, USB_PRODUCT_GOHUBS_GOCOM232 }, /* Peracom */ { USB_VENDOR_PERACOM, USB_PRODUCT_PERACOM_SERIAL1 }, - /* Dell version of the Novatel 740 */ - { USB_VENDOR_DELL, USB_PRODUCT_DELL_U740 }, - /* Option Vodafone MC3G */ - { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_VODAFONEMC3G }, - /* Option GlobeTrotter 3G */ - { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3G }, - /* Option GlobeTrotter 3G QUAD */ - { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3GQUAD }, - /* Option GlobeTrotter 3G+ */ - { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3GPLUS }, - /* Option GlobeTrotter Max 3.6 */ - { USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GTMAX36 }, - /* Huawei Mobile */ - { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE }, - { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E270 }, + /* Merlin */ { USB_VENDOR_MERLIN, USB_PRODUCT_MERLIN_V620 }, /* Qualcomm, Inc. ZTE CDMA */ { USB_VENDOR_QUALCOMMINC, USB_PRODUCT_QUALCOMMINC_CDMA_MSM }, + /* Novatel */ { USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_CDMA_MODEM }, /* Novatel Wireless Merlin ES620 */ { USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_ES620 }, @@ -256,6 +241,8 @@ static const struct ubsa_product { /* Novatel Wireless Merlin U740 */ { USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_U740 }, { USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_U740_2 }, + /* Dell version of the Novatel 740 */ + { USB_VENDOR_DELL, USB_PRODUCT_DELL_U740 }, /* Novatel Wireless Merlin U950D */ { USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_U950D }, /* Novatel Wireless Merlin V620 */ @@ -341,52 +328,6 @@ MODULE_DEPEND(ubsa, usb, 1, 1, 1); MODULE_DEPEND(ubsa, ucom, UCOM_MINVER, UCOM_PREFVER, UCOM_MAXVER); MODULE_VERSION(ubsa, UBSA_MODVER); -/* - * Huawei Exxx radio devices have a built in flash disk which is their - * default power up configuration. This allows the device to carry its - * own installation software. - * - * Instead of following the USB spec, and create multiple configuration - * descriptors for this, the devices expects the driver to send - * UF_DEVICE_REMOTE_WAKEUP to endpoint 2 to reset the device, so it - * reprobes, now with the radio exposed. - */ - -static usbd_status -ubsa_huawei(device_t self, struct usb_attach_arg *uaa) { - usb_device_request_t req; usbd_device_handle dev; - usb_config_descriptor_t *cdesc; - - if (self == NULL) - return (UMATCH_NONE); - if (uaa == NULL) - return (UMATCH_NONE); - dev = uaa->device; - if (dev == NULL) - return (UMATCH_NONE); - /* get the config descriptor */ - cdesc = usbd_get_config_descriptor(dev); - if (cdesc == NULL) - return (UMATCH_NONE); - - if (cdesc->bNumInterface > 1) - return (0); - - /* Bend it like Beckham */ - device_printf(self, "Kicking Huawei device into radio mode\n"); - memset(&req, 0, sizeof req); - req.bmRequestType = UT_WRITE_DEVICE; - req.bRequest = UR_SET_FEATURE; - USETW(req.wValue, UF_DEVICE_REMOTE_WAKEUP); - USETW(req.wIndex, 2); - USETW(req.wLength, 0); - - /* We get error return, but it works */ - (void)usbd_do_request(dev, &req, 0); - return (UMATCH_NONE); -} - - static int ubsa_match(device_t self) { @@ -399,9 +340,6 @@ ubsa_match(device_t self) for (i = 0; ubsa_products[i].vendor != 0; i++) { if (ubsa_products[i].vendor == uaa->vendor && ubsa_products[i].product == uaa->product) { - if (uaa->vendor == USB_VENDOR_HUAWEI && - ubsa_huawei(self, uaa)) - break; return (UMATCH_VENDOR_PRODUCT); } } @@ -424,9 +362,6 @@ ubsa_attach(device_t self) dev = uaa->device; ucom = &sc->sc_ucom; - if (uaa->vendor == USB_VENDOR_HUAWEI) - sc->sc_huawei = 1; - /* * initialize rts, dtr variables to something * different from boolean 0, 1 @@ -575,8 +510,6 @@ ubsa_request(struct ubsa_softc *sc, u_in usbd_status err; /* The huawei Exxx devices support none of these tricks */ - if (sc->sc_huawei) - return (0); req.bmRequestType = UT_WRITE_VENDOR_DEVICE; req.bRequest = request; USETW(req.wValue, value); Modified: head/sys/dev/usb/usbdevs ============================================================================== --- head/sys/dev/usb/usbdevs Thu Oct 9 20:51:25 2008 (r183734) +++ head/sys/dev/usb/usbdevs Thu Oct 9 21:25:01 2008 (r183735) @@ -1434,7 +1434,7 @@ product HTC SMARTPHONE 0x0a51 SmartPhon /* HUAWEI products */ product HUAWEI MOBILE 0x1001 Huawei Mobile -product HUAWEI E270 0x1003 Huawei HSPA modem +product HUAWEI E220 0x1003 Huawei HSDPA modem /* HUAWEI 3com products */ product HUAWEI3COM WUB320G 0x0009 Aolynk WUB320g Modified: head/sys/i386/conf/GENERIC ============================================================================== --- head/sys/i386/conf/GENERIC Thu Oct 9 20:51:25 2008 (r183734) +++ head/sys/i386/conf/GENERIC Thu Oct 9 21:25:01 2008 (r183735) @@ -304,6 +304,7 @@ device urio # Diamond Rio 500 MP3 play device uscanner # Scanners # USB Serial devices device ucom # Generic com ttys +device u3g # USB-based 3G modems (Option, Huawei, Sierra) device uark # Technologies ARK3116 based serial adapters device ubsa # Belkin F5U103 and compatible serial adapters device uftdi # For FTDI usb serial adapters Modified: head/sys/modules/Makefile ============================================================================== --- head/sys/modules/Makefile Thu Oct 9 20:51:25 2008 (r183734) +++ head/sys/modules/Makefile Thu Oct 9 21:25:01 2008 (r183735) @@ -269,6 +269,7 @@ SUBDIR= ${_3dfx} \ twe \ tx \ txp \ + u3g \ uark \ uart \ ubsa \ Added: head/sys/modules/u3g/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/modules/u3g/Makefile Thu Oct 9 21:25:01 2008 (r183735) @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../dev/usb + +KMOD= u3g +SRCS= u3g.c ucomvar.h opt_usb.h device_if.h bus_if.h usbdevs.h + +.include _______________________________________________ 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" ------------------------------------------------------- From owner-freebsd-hardware@FreeBSD.ORG Fri Oct 10 02:27:04 2008 Return-Path: Delivered-To: hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E03C1065694 for ; Fri, 10 Oct 2008 02:27:04 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.238]) by mx1.freebsd.org (Postfix) with ESMTP id 4C90C8FC12 for ; Fri, 10 Oct 2008 02:27:04 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: by wx-out-0506.google.com with SMTP id s17so143269wxc.7 for ; Thu, 09 Oct 2008 19:27:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:message-id :in-reply-to:references:date:subject:from:to:cc:user-agent :mime-version:content-type:content-transfer-encoding:x-priority :importance:sender; bh=JdgUShrufDVC/ajoVao/GHjFLgpkisEr82XSB1WoDzs=; b=ZlWuCYHwWOGDQOK8ZuBFPloG3J6x2syDVy0XZbCE8b9C8lhnwLJ7KdMAclDpBBTKvV PnPCpJZbwHbbkHe5OJZU8q56HeOIcsm7SjWvyiTnViwmqbH0D1myWEuuattvXgE1wS66 J8cr6NqRCltqqi4bTgloYlwCowclSiDmrMvkU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:in-reply-to:references:date:subject:from:to:cc :user-agent:mime-version:content-type:content-transfer-encoding :x-priority:importance:sender; b=uV5psWnlg8UwgeNJh+s37yJABpI4XHDnbc3vw7Z9NV6GgKbiZfORxwbbPTOeLd7vdz 19AbDPw1InPacIgcRuLJooVLF5jgFjZJCGgS1UgnqAPNAap9xpXqTKW1Ejy1qYtuMuH7 tcSiWNRursJj1lJ0xU4g1XRj1GRv1vPu3KV5U= Received: by 10.70.10.3 with SMTP id 3mr934295wxj.28.1223604204129; Thu, 09 Oct 2008 19:03:24 -0700 (PDT) Received: from cygnus.homeunix.com ([189.71.68.38]) by mx.google.com with ESMTPS id h35sm1177007wxd.3.2008.10.09.19.03.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Oct 2008 19:03:23 -0700 (PDT) Received: by cygnus.homeunix.com (Postfix, from userid 80) id E815FB81F6; Thu, 9 Oct 2008 23:03:14 -0300 (BRT) Received: from 189.92.15.9 (SquirrelMail authenticated user matheus) by cygnus.homeunix.com with HTTP; Thu, 9 Oct 2008 23:03:14 -0300 (BRT) Message-ID: <08cc4125205c11d9df338d6ee95a1d35.squirrel@cygnus.homeunix.com> In-Reply-To: <200810092344.10388.nick@van-laarhoven.org> References: <200810092344.10388.nick@van-laarhoven.org> Date: Thu, 9 Oct 2008 23:03:14 -0300 (BRT) From: "Nenhum_de_Nos" To: "Nick Hibma" User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Sender: Nenhum_de_Nos Cc: Andrea Guzzo , FreeBSD CURRENT Mailing List , FreeBSD Hardware Mailing list Subject: Re: Request for testers: Option 3G cards, also Sierra, Huawei and Novatel X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 02:27:04 -0000 hi, this works for huwaei E226 as well ? I'm willing to test this on stable this weekend :) I did tried the umass-out-of-kernel way and although it did connected, it created a route to 127.0.0.1 and no navigation worked. matheus -- We will call you cygnus, The God of balance you shall be