From owner-freebsd-mobile@FreeBSD.ORG Mon Sep 5 17:38:00 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F9661065670 for ; Mon, 5 Sep 2011 17:38:00 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) by mx1.freebsd.org (Postfix) with ESMTP id 62E618FC1D for ; Mon, 5 Sep 2011 17:38:00 +0000 (UTC) Received: from pi by home.opsec.eu with local (Exim 4.72 (FreeBSD)) (envelope-from ) id 1R0d7R-000CSE-KX for freebsd-mobile@freebsd.org; Mon, 05 Sep 2011 19:38:01 +0200 Date: Mon, 5 Sep 2011 19:38:01 +0200 From: Kurt Jaeger To: freebsd-mobile@freebsd.org Message-ID: <20110905173801.GQ28186@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: Ericsson F5521gw hayes command set and descriptions ? 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 Sep 2011 17:38:00 -0000 Hi! Does anyone have pointers to Ericsson F5521gw GSM/UMTS/HDSPA/GPS documentation ? It speaks hayes commands, but the generic PIN command (AT+CPIN=nnnn) does not work... Thanks for any pointers. -- pi@opsec.eu +49 171 3101372 9 years to go ! From owner-freebsd-mobile@FreeBSD.ORG Tue Sep 6 10:14:31 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5549106564A for ; Tue, 6 Sep 2011 10:14:31 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) by mx1.freebsd.org (Postfix) with ESMTP id A59238FC0C for ; Tue, 6 Sep 2011 10:14:31 +0000 (UTC) Received: from pi by home.opsec.eu with local (Exim 4.72 (FreeBSD)) (envelope-from ) id 1R0sfm-0003S9-CB; Tue, 06 Sep 2011 12:14:30 +0200 Date: Tue, 6 Sep 2011 12:14:30 +0200 From: Kurt Jaeger To: Maciej Milewski Message-ID: <20110906101430.GT28186@home.opsec.eu> References: <20110905173801.GQ28186@home.opsec.eu> <4E65F0BC.1000109@dat.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E65F0BC.1000109@dat.pl> Cc: freebsd-mobile@freebsd.org Subject: Re: Ericsson F5521gw hayes command set and descriptions ? 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: Tue, 06 Sep 2011 10:14:32 -0000 Hi! > > Does anyone have pointers to Ericsson F5521gw GSM/UMTS/HDSPA/GPS > > documentation ? It speaks hayes commands, but the generic PIN command > > (AT+CPIN=nnnn) does not work... > > > > Thanks for any pointers. > Does it present more than one serial port to system? If so, then one of > the ports might be data port while the other command port. It presents three ports: umodem0: on usbus1 umodem0: data interface 2, has CM over data, has break umodem1: on usbus1 umodem1: data interface 4, has CM over data, has break umodem2: on usbus1 umodem2: data interface 10, has CM over data, has break I tried this on all of them: AT+CPIN=nnnn ERROR -- pi@opsec.eu +49 171 3101372 9 years to go ! From owner-freebsd-mobile@FreeBSD.ORG Tue Sep 6 10:24:39 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52F2B106566B for ; Tue, 6 Sep 2011 10:24:39 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id CB4FF8FC0A for ; Tue, 6 Sep 2011 10:24:38 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 5B36C49; Tue, 6 Sep 2011 12:06:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lrsVqhp1TNWL; Tue, 6 Sep 2011 12:06:48 +0200 (CEST) Received: from [10.0.6.80] (unknown [212.69.68.42]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id 62D3448; Tue, 6 Sep 2011 12:06:48 +0200 (CEST) Message-ID: <4E65F0BC.1000109@dat.pl> Date: Tue, 06 Sep 2011 12:06:52 +0200 From: Maciej Milewski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.1) Gecko/20110831 Thunderbird/6.0.1 MIME-Version: 1.0 To: Kurt Jaeger References: <20110905173801.GQ28186@home.opsec.eu> In-Reply-To: <20110905173801.GQ28186@home.opsec.eu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: Ericsson F5521gw hayes command set and descriptions ? 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: Tue, 06 Sep 2011 10:24:39 -0000 On 05.09.2011 19:38, Kurt Jaeger wrote: > Hi! > > Does anyone have pointers to Ericsson F5521gw GSM/UMTS/HDSPA/GPS > documentation ? It speaks hayes commands, but the generic PIN command > (AT+CPIN=nnnn) does not work... > > Thanks for any pointers. > Does it present more than one serial port to system? If so, then one of the ports might be data port while the other command port. From owner-freebsd-mobile@FreeBSD.ORG Tue Sep 6 10:46:02 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F3151065672 for ; Tue, 6 Sep 2011 10:46:02 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id 3B3ED8FC18 for ; Tue, 6 Sep 2011 10:46:02 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 44B0549; Tue, 6 Sep 2011 12:46:01 +0200 (CEST) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id H4D_BU21dtmK; Tue, 6 Sep 2011 12:45:58 +0200 (CEST) Received: from [10.0.6.80] (unknown [212.69.68.42]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id E46E337; Tue, 6 Sep 2011 12:45:57 +0200 (CEST) Message-ID: <4E65F9EA.50203@dat.pl> Date: Tue, 06 Sep 2011 12:46:02 +0200 From: Maciej Milewski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.1) Gecko/20110831 Thunderbird/6.0.1 MIME-Version: 1.0 To: Kurt Jaeger References: <20110905173801.GQ28186@home.opsec.eu> <4E65F0BC.1000109@dat.pl> <20110906101430.GT28186@home.opsec.eu> In-Reply-To: <20110906101430.GT28186@home.opsec.eu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: Ericsson F5521gw hayes command set and descriptions ? 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: Tue, 06 Sep 2011 10:46:02 -0000 On 06.09.2011 12:14, Kurt Jaeger wrote: > It presents three ports: > > umodem0: on usbus1 > umodem0: data interface 2, has CM over data, has break > umodem1: on usbus1 > umodem1: data interface 4, has CM over data, has break > umodem2: on usbus1 > umodem2: data interface 10, has CM over data, has break > > I tried this on all of them: > > AT+CPIN=nnnn > ERROR The link [1] mentions something about using USB Ethernet instead of USB Serial with this device. Can you try unloading umodem and loading if_cdce? That's my last idea in this subject I think. Insecure solution would be removing PIN from the SIM but it'll tell you if the modem even can connect to the network. 1. https://bugzilla.gnome.org/show_bug.cgi?id=650740#c15 Maciek From owner-freebsd-mobile@FreeBSD.ORG Tue Sep 6 11:06:35 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D66B0106564A for ; Tue, 6 Sep 2011 11:06:35 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) by mx1.freebsd.org (Postfix) with ESMTP id 964308FC17 for ; Tue, 6 Sep 2011 11:06:35 +0000 (UTC) Received: from pi by home.opsec.eu with local (Exim 4.72 (FreeBSD)) (envelope-from ) id 1R0tUC-0004JN-6s for freebsd-mobile@freebsd.org; Tue, 06 Sep 2011 13:06:36 +0200 Date: Tue, 6 Sep 2011 13:06:36 +0200 From: Kurt Jaeger To: freebsd-mobile@freebsd.org Message-ID: <20110906110636.GU28186@home.opsec.eu> References: <20110905173801.GQ28186@home.opsec.eu> <4E65F0BC.1000109@dat.pl> <20110906101430.GT28186@home.opsec.eu> <20110906104109.GA32351@sh4-5.1blu.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110906104109.GA32351@sh4-5.1blu.de> Subject: Re: Ericsson F5521gw hayes command set and descriptions ? 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: Tue, 06 Sep 2011 11:06:35 -0000 Hi! > > I tried this on all of them: > > > > AT+CPIN=nnnn > > ERROR > > Try first > > AT+CPIN? > > does this give "SIM PIN" at all? if yes, try: No, none of the three ports return this. -- pi@opsec.eu +49 171 3101372 9 years to go ! From owner-freebsd-mobile@FreeBSD.ORG Tue Sep 6 11:32:44 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 092BF106566C for ; Tue, 6 Sep 2011 11:32:44 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) by mx1.freebsd.org (Postfix) with ESMTP id 81F2D8FC08 for ; Tue, 6 Sep 2011 11:32:40 +0000 (UTC) Received: from [192.168.1.2] (host86-181-45-206.range86-181.btcentralplus.com [86.181.45.206]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id p86BLDT1089786; Tue, 6 Sep 2011 12:21:13 +0100 (BST) (envelope-from rb@gid.co.uk) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Bob Bishop In-Reply-To: <20110906101430.GT28186@home.opsec.eu> Date: Tue, 6 Sep 2011 12:21:08 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <3827E25E-B3FA-4D98-AC48-F40B30A80390@gid.co.uk> References: <20110905173801.GQ28186@home.opsec.eu> <4E65F0BC.1000109@dat.pl> <20110906101430.GT28186@home.opsec.eu> To: Kurt Jaeger X-Mailer: Apple Mail (2.1084) Cc: Maciej Milewski , freebsd-mobile@freebsd.org Subject: Re: Ericsson F5521gw hayes command set and descriptions ? 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: Tue, 06 Sep 2011 11:32:44 -0000 Hi, On 6 Sep 2011, at 11:14, Kurt Jaeger wrote: > I tried this on all of them: >=20 > AT+CPIN=3Dnnnn > ERROR So you are talking to the modem OK, it just doesn't like that control = sequence. -- Bob Bishop rb@gid.co.uk From owner-freebsd-mobile@FreeBSD.ORG Tue Sep 6 11:58:11 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AEFE106566B for ; Tue, 6 Sep 2011 11:58:11 +0000 (UTC) (envelope-from lars.engels@0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) by mx1.freebsd.org (Postfix) with ESMTP id 49B0F8FC0C for ; Tue, 6 Sep 2011 11:58:11 +0000 (UTC) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) by mail.0x20.net (Postfix) with ESMTP id 6CDE36A61F2 for ; Tue, 6 Sep 2011 13:42:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail.0x20.net Received: from mail.0x20.net ([217.69.76.211]) by mail.0x20.net (mail.0x20.net [217.69.76.211]) (amavisd-new, port 10024) with ESMTP id zGYrrSdhGngg for ; Tue, 6 Sep 2011 13:42:36 +0200 (CEST) Received: from 0x20.net (0x20.net [217.69.76.212]) (Authenticated sender: lala) by mail.0x20.net (Postfix) with ESMTPA id 2476F6A61DD for ; Tue, 6 Sep 2011 13:42:36 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 06 Sep 2011 13:42:36 +0200 From: Lars Engels To: In-Reply-To: <20110905173801.GQ28186@home.opsec.eu> References: <20110905173801.GQ28186@home.opsec.eu> Message-ID: <8e00512a6ea97d55d5a98f5b451b1c91@mail.0x20.net> X-Sender: lars.engels@0x20.net User-Agent: Roundcube Webmail/0.5.4 Subject: Re: Ericsson F5521gw hayes command set and descriptions ? 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: Tue, 06 Sep 2011 11:58:11 -0000 On Mon, 5 Sep 2011 19:38:01 +0200, Kurt Jaeger wrote: > Hi! > > Does anyone have pointers to Ericsson F5521gw GSM/UMTS/HDSPA/GPS > documentation ? It speaks hayes commands, but the generic PIN command > (AT+CPIN=nnnn) does not work... > > Thanks for any pointers. Have you tried AT+CPIN? to check if a PIN is needed? From owner-freebsd-mobile@FreeBSD.ORG Tue Sep 6 12:26:08 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2042106566B for ; Tue, 6 Sep 2011 12:26:08 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9F7128FC13 for ; Tue, 6 Sep 2011 12:26:08 +0000 (UTC) Received: from pi by home.opsec.eu with local (Exim 4.72 (FreeBSD)) (envelope-from ) id 1R0ujB-0005aQ-Cr for freebsd-mobile@freebsd.org; Tue, 06 Sep 2011 14:26:09 +0200 Date: Tue, 6 Sep 2011 14:26:09 +0200 From: Kurt Jaeger To: freebsd-mobile@freebsd.org Message-ID: <20110906122609.GV28186@home.opsec.eu> References: <20110905173801.GQ28186@home.opsec.eu> <4E65F0BC.1000109@dat.pl> <20110906101430.GT28186@home.opsec.eu> <4E65F9EA.50203@dat.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E65F9EA.50203@dat.pl> Subject: Re: Ericsson F5521gw hayes command set and descriptions ? 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: Tue, 06 Sep 2011 12:26:09 -0000 Hi! > > umodem0: on usbus1 > > umodem0: data interface 2, has CM over data, has break > > umodem1: on usbus1 > > umodem1: data interface 4, has CM over data, has break > > umodem2: on usbus1 > > umodem2: data interface 10, has CM over data, has break > > > > I tried this on all of them: > > > > AT+CPIN=nnnn > > ERROR > > The link [1] mentions something about using USB Ethernet instead of USB > Serial with this device. Can you try unloading umodem and loading if_cdce? This might be the case: cdce0: on usbus1 ue0: on cdce0 ue0: Ethernet address: 02:80:37:ec:02:00 And indeed, ue0 is listed with ifconfig: $ ifconfig ue0 ue0: flags=8802 metric 0 mtu 1500 ether 02:80:37:ec:02:00 nd6 options=29 > That's my last idea in this subject I think. Insecure solution would be > removing PIN from the SIM but it'll tell you if the modem even can > connect to the network. I'll investigate this, thanks! -- pi@opsec.eu +49 171 3101372 9 years to go ! From owner-freebsd-mobile@FreeBSD.ORG Tue Sep 6 18:38:17 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7C64106566B for ; Tue, 6 Sep 2011 18:38:17 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 846068FC19 for ; Tue, 6 Sep 2011 18:38:17 +0000 (UTC) Received: from [89.204.137.132] (helo=tiny.Sisis.de.) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1R0zEE-0001Qz-Jx for freebsd-mobile@freebsd.org; Tue, 06 Sep 2011 19:14:32 +0200 Received: from tiny.Sisis.de. (localhost [127.0.0.1]) by tiny.Sisis.de. (8.14.3/8.14.3) with ESMTP id p86HG6k5001086 for ; Tue, 6 Sep 2011 19:16:07 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de. (8.14.3/8.14.3/Submit) id p86HG5Wb001085 for freebsd-mobile@freebsd.org; Tue, 6 Sep 2011 19:16:05 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de.: guru set sender to guru@unixarea.de using -f Date: Tue, 6 Sep 2011 19:16:05 +0200 From: Matthias Apitz To: freebsd-mobile@freebsd.org Message-ID: <20110906171604.GA1069@tiny> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.19 (2009-01-05) X-Con-Id: 51246 X-Originating-IP: 89.204.137.132 Subject: Re: Lenovo X121e, UMTS, WLAN, X11... X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2011 18:38:17 -0000 El día Wednesday, August 31, 2011 a las 12:53:47PM +0100, Tom Evans escribió: > On Sun, Aug 28, 2011 at 1:13 PM, Kurt Jaeger wrote: > > Hi! > > > > I got the new Lenovo X121e model (intel cpu version) to play with... > > > > I'm running freebsd 9.0-beta1 on it. fbsd 8.2 did not detect the alc0 > > ethernet connection. > > > > X11 works in vesa (1024x768). > > - The touchpad is annoying (does anyone know how to deactivate it?) > > On my Dell laptop, the touchpad is just reported as a PS/2 mouse, and > is handled by moused. moused allows you to toggle whether a particular > moused is enabled by sending it a SIGUSR1, and so I have this script > attached to an icon on my taskbar: Similar problem: I have a Dell M4400 laptop and I *only* want to use the touchpad but *not* the small mouse bubble between the keys G-H-B. It's very disturbing while writing stuff, for example in vim, and you touch as an accident this bubble and the focus went away to some other window (or to another tab in the messanger where you have in one tab your wife and in the other your girlfriend :-) , imagine this...) It seems that both acts as PS/2 and from the point of view of the system as only one device, or? Any ideas? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From owner-freebsd-mobile@FreeBSD.ORG Wed Sep 7 09:05:28 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E30A106564A for ; Wed, 7 Sep 2011 09:05:28 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gx0-f178.google.com (mail-gx0-f178.google.com [209.85.161.178]) by mx1.freebsd.org (Postfix) with ESMTP id 0EE8A8FC1A for ; Wed, 7 Sep 2011 09:05:27 +0000 (UTC) Received: by gxk8 with SMTP id 8so5355698gxk.37 for ; Wed, 07 Sep 2011 02:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=wN0vbdh+HxPEjKGZ9oNhHxOrLHO7l8h+x2/4xGGI4zg=; b=TOZRmm1LFsQQTX8DNE5pX+wJxePr9GzBpHd7D6LvHjvW84zzEfsU7Gum+38CooMq9M AcYoo5OBicepvXlS3jdxuJvmyXSAms6ZFy1Ze2U7lEh7TkZEubLFl90hglnREBg3mR91 2yVpCew6qi1yvRbyTdYzxi4hvXhmERRjx4/Ks= MIME-Version: 1.0 Received: by 10.236.191.101 with SMTP id f65mr30543592yhn.61.1315384800447; Wed, 07 Sep 2011 01:40:00 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.236.103.6 with HTTP; Wed, 7 Sep 2011 01:40:00 -0700 (PDT) Date: Wed, 7 Sep 2011 16:40:00 +0800 X-Google-Sender-Auth: X6X2JDqAzdAK5nMovcPSpXOoYC4 Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Net , freebsd-current , freebsd-mobile@freebsd.org Subject: [ANNOUNCE] 802.11n TX aggregation support for Atheros 11n NICs 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: Wed, 07 Sep 2011 09:05:28 -0000 Hi all, I apologise up front for the cross-posting. Please redirect all future queries about this to freebsd-wireless@freebsd.org. I guess the cat is out of the bag (and it hasn't killed anyone yet.) For the last 6 or so months, the if_ath driver and net80211 802.11n support has been updated to (hopefully) be usable, both in station and hostap modes. Users could use ath(4) in -HEAD as an 11n station or hostap by just disabling ampdutx. I've been doing that successfully for a few months now at home, with respectable (> 200mbit UDP, ~ 100mbit TCP) throughput in the receive direction (as AMPDU RX now works well.) Through the gracious sponsorship of Hobnob, Inc., (and the completion of my bachelors degree in something completely unrelated to all of this!) I've dived in head-first into the 802.11n TX aggregation support. As I type this, I have an EEEPC 701 w/ an AR9280 currently spitting out a 130mbit/sec TCP stream to a Ubiquiti Routerstation Pro MIPS board w/ an AR9160 (5ghz HT/40/shortgi mode.) They're both running FreeBSD. A user asked about the state of this code on the -wireless list a couple days ago and has reported that his AR5416 based NIC is happily performing much the same way. So, since it's passed my "works for someone who isn't me!" test, I've decided to make a wider announcement. There's still a -lot- to do. Specifically (this isn't an exhaustive list): * There are locking issues with ath/net80211 which need to be resolved before this is merged back into -HEAD. * There's currently no support for HT RTS/CTS frame protection. I can add it easily enough, but I first have to add the AR5416 workarounds (8k limitation on RTS protected frames) before I can do that. * The AMPDU code is currently not sending BAR frames. This requires a little more fore-thought and net80211 reorganisation before they can be queued and sent. * Don't try to do a UDP iperf test before you establish AMPDU, or you'll fill the hardware TX queue with UDP frames and then end up with no frames available to send the ADDBA management frames. Oops! :) * The rate control module (sample) supports 11n and some basic TX aggregation stuff, but it isn't optimal. It's only "good enough" for me to not have to care about rate control causing large issues. Something needs to be done before it's merged into -HEAD - either a replacement needs to be written, or minstrel_ht needs to be ported. * There's no hardware power saving support in place at the moment. This means it'll draw a lot of power in station mode. * There's no MIMO PS support. Same caveat as the above. * adhoc, ahdemo, TDMA and IBSS modes likely won't work just yet. I'm not likely to begin looking at those until all the net80211 and ath driver changes are in place and tested. * I haven't yet added "filtered frames" support, so there's going to be a lot of packet loss in hostap mode when a station decides to go into power-saving or off-channel mode (eg to do a scan). * There are still (very) occasional TX-side hangs which I'm seeing. I'm trying to get to the bottom of this. * I've not tested this -at all- on multi-CPU/multi-core setups, primarily because I don't run freebsd+wifi on anything like that just yet. * net80211 AMPDU TX is based on QoS/WME Access Category (AC) numbers, rather than the full set of available TIDs. This is likely going to need to change (and the ieee80211 superg support tested/updated) before this can be merged into -HEAD as I've been told it's quite valid to expect multiple aggregation sessions in the same AC. What does work (what have I tested): * HT/20 and HT/40 support; * 2 and 5ghz support; * station and and hostap modes; * AR5416/AR5418, AR9160, AR9280 chipsets. I haven't tested AR9285 or AR9287 yet; * HT/20 and HT/40 interoperability support - ie, a HT/40 AP can have HT/20 and HT/40 nodes associated. 11a/11bg nodes can also associate but the current lack of HT frame protection is likely to cause significant interference; * ADDBA negotiation (with the above caveat that buffer management needs to be tidied up in my codebase, or you could end up with no TX buffers..) * ath_rate_sample knows enough about 11n and aggregation to make decent enough rate choices, but it isn't optimal by any means. * Software retransmission of aggregate frames, including doing new rate lookups so frames aren't simply retried at a bad rate. What I'm currently working on: * verifying that AR5212 series NICs haven't been broken by this. If someone has AR5210/AR5211 series PCMCIA hardware that they'd be able to send to me I'll also give them a test and verify I haven't broken them; * fixing TX side hangs; * HT protection support, w/ the AR5416 workarounds as needed; * Filtered-frame support; * More debugging and better behaviour during channel scan / off channel behaviour and during an interface reset. All of that said, it's working for me and it's working for someone else, so if you're interested in trying it out, I'm happy to take bug reports and feedback. But since I'm still actively developing it, please understand if I'm unable to provide you with a lot of personal hand-holding. If you're up for picking some area of the driver (eg porting minstrel_ht rate control, for example) then I'll be very happy to work with you to get it tested and integrated. I'll write up a Wiki page with the current state of the project and some instructions on how to do things like enable debugging, get statistics using athstats/wlanstats, TODO/issue lists and such. If you'd like to try it out, you'll need to grab it from svn://svn.freebsd.org/base/user/adrian/if_ath_tx/ . You'll have to add a few options to your kernel config: options ATH_ENABLE_11N options ATH_DEBUG options AH_DEBUG options ATH_DIAGAPI options IEEE80211_DEBUG .. the latter four are so you can actually use the debug tools. To preempt some questions - no, I have no plans to get this into 9.0-RELEASE. And no, I have no current plans to backport this to 9.X when it's stable and working: * I don't (yet) want to try and maintain two branches - 9.x and -HEAD - during active development (and this is still under active development); * There are some intrusive net80211 changes which need to occur which will break kernel ABIs and I'd to only break the ABI -once- in 9.X. That said, I do my current testing on an older -HEAD install (on the EEEPC) but compile up net80211 + ath + ath_pci as modules. This also requires you to compile up copies of athstats and wlanstats from the if_ath_tx branch in order to get debugging information. I'll post some instructions on how I achieve this as it's quite tricky to get all the correct environment variables setup so things are built correctly. Finally! I'd like to thank Hobnob, Inc. for their generous sponsorship to date! None of this would have happened without their continuing support. I'd also like to thank the ath9k/openwrt developers who have been very helpful in answering questions about how all of this holds together (including Felix Fietkau who I've been pestering incessantly with chipset, 11n and rate control questions - and we've discovered a few bugs in ath9k along the way.) Last and not least! I'd like to thank Atheros/Qualcomm and the dedicated team of (software, hardware) engineers who have been very helpful in providing me with chip documentation and reference driver source code. They've also answered questions about their hardware and helping me trace down bugs. (Yes: I did say "Atheros", "Documentation" and "Reference Driver Source." No, this isn't 2005 any longer. People still seem to think FreeBSD's ath(4) support uses a binary HAL. Go figure.) Enjoy! Adrian From owner-freebsd-mobile@FreeBSD.ORG Wed Sep 7 09:12:59 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D1B8106566C; Wed, 7 Sep 2011 09:12:59 +0000 (UTC) (envelope-from owner-freebsd-net@freebsd.org) Received: from mx1.citizen.co.jp (mx1.citizen.co.jp [61.200.23.195]) by mx1.freebsd.org (Postfix) with ESMTP id 538D78FC15; Wed, 7 Sep 2011 09:12:57 +0000 (UTC) Received: from unknown (HELO smtpsv01.citizen.co.jp) ([10.195.200.80]) by mx1.citizen.co.jp with ESMTP; 07 Sep 2011 17:43:01 +0900 Received: from smtpsv01-a.citizen.co.jp (localhost.localdomain [127.0.0.1]) by smtpsv01.citizen.co.jp (Postfix) with ESMTP id 5A8E67F6D6; Wed, 7 Sep 2011 17:43:01 +0900 (JST) Received: from SMLDSD.SML.CITIZEN.CO.JP (smldsd.sml.citizen.co.jp [10.144.1.16]) by smtpsv01-a.citizen.co.jp (Postfix) with ESMTP id 9E4927F6CB; Wed, 7 Sep 2011 17:43:00 +0900 (JST) Received: from smtpsv01.citizen.co.jp ([10.195.200.80]) by SMLDSD.SML.CITIZEN.CO.JP (Lotus Domino Release 7.0.1FP1) with ESMTP id 2011090716403924-1042 ; Wed, 7 Sep 2011 16:40:39 +0800 Received: from smtpsv01-a.citizen.co.jp (localhost.localdomain [127.0.0.1]) by smtpsv01.citizen.co.jp (Postfix) with ESMTP id 48A6C7F6D6 for ; Wed, 7 Sep 2011 17:40:39 +0900 (JST) Received: from mx1.citizen.co.jp (mx1.citizen.co.jp [61.200.23.195]) by smtpsv01-a.citizen.co.jp (Postfix) with ESMTP id 3392D7F6CB for ; Wed, 7 Sep 2011 17:40:39 +0900 (JST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtQAAM0sZ05Fk1M1kWdsb2JhbABCqAMIFAEBAQEJCwsHFAUhgUgBAQQBAQ8CLAEFCAIeCwECAQIBAgYCBRAzCAMBHgUBCQMBBQEqBwQBBBgEAYdXmEQKjhKOeAIDBoZlBIdpiTSCEoxsPIN4 Received: from mx2.freebsd.org ([69.147.83.53]) by mx1.citizen.co.jp with ESMTP; 07 Sep 2011 17:40:38 +0900 Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id A0FAC1635B1; Wed, 7 Sep 2011 08:40:13 +0000 (UTC) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id BD48F106571F; Wed, 7 Sep 2011 08:40:11 +0000 (UTC) (envelope-from owner-freebsd-net@freebsd.org) Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5E3F106564A; Wed, 7 Sep 2011 08:40:01 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gw0-f49.google.com (mail-gw0-f49.google.com [74.125.83.49]) by mx1.freebsd.org (Postfix) with ESMTP id 4AF6E8FC16; Wed, 7 Sep 2011 08:40:00 +0000 (UTC) Received: by gwb1 with SMTP id 1so4624184gwb.36 for ; Wed, 07 Sep 2011 01:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=wN0vbdh+HxPEjKGZ9oNhHxOrLHO7l8h+x2/4xGGI4zg=; b=TOZRmm1LFsQQTX8DNE5pX+wJxePr9GzBpHd7D6LvHjvW84zzEfsU7Gum+38CooMq9M AcYoo5OBicepvXlS3jdxuJvmyXSAms6ZFy1Ze2U7lEh7TkZEubLFl90hglnREBg3mR91 2yVpCew6qi1yvRbyTdYzxi4hvXhmERRjx4/Ks= MIME-Version: 1.0 Received: by 10.236.191.101 with SMTP id f65mr30543592yhn.61.1315384800447; Wed, 07 Sep 2011 01:40:00 -0700 (PDT) Received: by 10.236.103.6 with HTTP; Wed, 7 Sep 2011 01:40:00 -0700 (PDT) X-Google-Sender-Auth: X6X2JDqAzdAK5nMovcPSpXOoYC4 From: Adrian Chadd X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Errors-To: owner-freebsd-net@freebsd.org Sender: John/SML To: support@pvd.citizen.co.jp Message-ID: Date: Wed, 7 Sep 2011 16:42:58 +0800 X-MIMETrack: Itemize by SMTP Server on SMLDSD/SML(Release 7.0.1FP1 | May 25, 2006) at 09/07/2011 04:40:39 PM, Serialize by Router on SMLDSD/SML(Release 7.0.1FP1 | May 25, 2006) at 09/07/2011 04:43:00 PM, Serialize complete at 09/07/2011 04:43:00 PM Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Net , freebsd-current , freebsd-mobile@freebsd.org Subject: [ANNOUNCE] 802.11n TX aggregation support for Atheros 11n NICs X-BeenThere: freebsd-mobile@freebsd.org List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2011 09:12:59 -0000 Hi all, I apologise up front for the cross-posting. Please redirect all future queries about this to freebsd-wireless@freebsd.org. I guess the cat is out of the bag (and it hasn't killed anyone yet.) For the last 6 or so months, the if_ath driver and net80211 802.11n support has been updated to (hopefully) be usable, both in station and hostap modes. Users could use ath(4) in -HEAD as an 11n station or hostap by just disabling ampdutx. I've been doing that successfully for a few months now at home, with respectable (> 200mbit UDP, ~ 100mbit TCP) throughput in the receive direction (as AMPDU RX now works well.) Through the gracious sponsorship of Hobnob, Inc., (and the completion of my bachelors degree in something completely unrelated to all of this!) I've dived in head-first into the 802.11n TX aggregation support. As I type this, I have an EEEPC 701 w/ an AR9280 currently spitting out a 130mbit/sec TCP stream to a Ubiquiti Routerstation Pro MIPS board w/ an AR9160 (5ghz HT/40/shortgi mode.) They're both running FreeBSD. A user asked about the state of this code on the -wireless list a couple days ago and has reported that his AR5416 based NIC is happily performing much the same way. So, since it's passed my "works for someone who isn't me!" test, I've decided to make a wider announcement. There's still a -lot- to do. Specifically (this isn't an exhaustive list): * There are locking issues with ath/net80211 which need to be resolved before this is merged back into -HEAD. * There's currently no support for HT RTS/CTS frame protection. I can add it easily enough, but I first have to add the AR5416 workarounds (8k limitation on RTS protected frames) before I can do that. * The AMPDU code is currently not sending BAR frames. This requires a little more fore-thought and net80211 reorganisation before they can be queued and sent. * Don't try to do a UDP iperf test before you establish AMPDU, or you'll fill the hardware TX queue with UDP frames and then end up with no frames available to send the ADDBA management frames. Oops! :) * The rate control module (sample) supports 11n and some basic TX aggregation stuff, but it isn't optimal. It's only "good enough" for me to not have to care about rate control causing large issues. Something needs to be done before it's merged into -HEAD - either a replacement needs to be written, or minstrel_ht needs to be ported. * There's no hardware power saving support in place at the moment. This means it'll draw a lot of power in station mode. * There's no MIMO PS support. Same caveat as the above. * adhoc, ahdemo, TDMA and IBSS modes likely won't work just yet. I'm not likely to begin looking at those until all the net80211 and ath driver changes are in place and tested. * I haven't yet added "filtered frames" support, so there's going to be a lot of packet loss in hostap mode when a station decides to go into power-saving or off-channel mode (eg to do a scan). * There are still (very) occasional TX-side hangs which I'm seeing. I'm trying to get to the bottom of this. * I've not tested this -at all- on multi-CPU/multi-core setups, primarily because I don't run freebsd+wifi on anything like that just yet. * net80211 AMPDU TX is based on QoS/WME Access Category (AC) numbers, rather than the full set of available TIDs. This is likely going to need to change (and the ieee80211 superg support tested/updated) before this can be merged into -HEAD as I've been told it's quite valid to expect multiple aggregation sessions in the same AC. What does work (what have I tested): * HT/20 and HT/40 support; * 2 and 5ghz support; * station and and hostap modes; * AR5416/AR5418, AR9160, AR9280 chipsets. I haven't tested AR9285 or AR9287 yet; * HT/20 and HT/40 interoperability support - ie, a HT/40 AP can have HT/20 and HT/40 nodes associated. 11a/11bg nodes can also associate but the current lack of HT frame protection is likely to cause significant interference; * ADDBA negotiation (with the above caveat that buffer management needs to be tidied up in my codebase, or you could end up with no TX buffers..) * ath_rate_sample knows enough about 11n and aggregation to make decent enough rate choices, but it isn't optimal by any means. * Software retransmission of aggregate frames, including doing new rate lookups so frames aren't simply retried at a bad rate. What I'm currently working on: * verifying that AR5212 series NICs haven't been broken by this. If someone has AR5210/AR5211 series PCMCIA hardware that they'd be able to send to me I'll also give them a test and verify I haven't broken them; * fixing TX side hangs; * HT protection support, w/ the AR5416 workarounds as needed; * Filtered-frame support; * More debugging and better behaviour during channel scan / off channel behaviour and during an interface reset. All of that said, it's working for me and it's working for someone else, so if you're interested in trying it out, I'm happy to take bug reports and feedback. But since I'm still actively developing it, please understand if I'm unable to provide you with a lot of personal hand-holding. If you're up for picking some area of the driver (eg porting minstrel_ht rate control, for example) then I'll be very happy to work with you to get it tested and integrated. I'll write up a Wiki page with the current state of the project and some instructions on how to do things like enable debugging, get statistics using athstats/wlanstats, TODO/issue lists and such. If you'd like to try it out, you'll need to grab it from svn://svn.freebsd.org/base/user/adrian/if_ath_tx/ . You'll have to add a few options to your kernel config: options ATH_ENABLE_11N options ATH_DEBUG options AH_DEBUG options ATH_DIAGAPI options IEEE80211_DEBUG .. the latter four are so you can actually use the debug tools. To preempt some questions - no, I have no plans to get this into 9.0-RELEASE. And no, I have no current plans to backport this to 9.X when it's stable and working: * I don't (yet) want to try and maintain two branches - 9.x and -HEAD - during active development (and this is still under active development); * There are some intrusive net80211 changes which need to occur which will break kernel ABIs and I'd to only break the ABI -once- in 9.X. That said, I do my current testing on an older -HEAD install (on the EEEPC) but compile up net80211 + ath + ath_pci as modules. This also requires you to compile up copies of athstats and wlanstats from the if_ath_tx branch in order to get debugging information. I'll post some instructions on how I achieve this as it's quite tricky to get all the correct environment variables setup so things are built correctly. Finally! I'd like to thank Hobnob, Inc. for their generous sponsorship to date! None of this would have happened without their continuing support. I'd also like to thank the ath9k/openwrt developers who have been very helpful in answering questions about how all of this holds together (including Felix Fietkau who I've been pestering incessantly with chipset, 11n and rate control questions - and we've discovered a few bugs in ath9k along the way.) Last and not least! I'd like to thank Atheros/Qualcomm and the dedicated team of (software, hardware) engineers who have been very helpful in providing me with chip documentation and reference driver source code. They've also answered questions about their hardware and helping me trace down bugs. (Yes: I did say "Atheros", "Documentation" and "Reference Driver Source." No, this isn't 2005 any longer. People still seem to think FreeBSD's ath(4) support uses a binary HAL. Go figure.) Enjoy! Adrian _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"