From owner-freebsd-drivers@FreeBSD.ORG Wed Jul 2 20:48:28 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D76A106567D for ; Wed, 2 Jul 2008 20:48:28 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.177]) by mx1.freebsd.org (Postfix) with ESMTP id 0BA5C8FC26 for ; Wed, 2 Jul 2008 20:48:27 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: by ik-out-1112.google.com with SMTP id c30so283610ika.3 for ; Wed, 02 Jul 2008 13:48:26 -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:mime-version:content-type:content-transfer-encoding :content-disposition; bh=m9uIqiZWEeqr8Q9mp1Ds3+anqDr3d2fg+Mtdh14yU7M=; b=EocuM3h3Oaqb1O31GvXyxtTitylYcQ3pTmbEFmxZ2CloFuOMyEK0lTv+7X0XgWJTNa Wi8/UcEKSDfyZ0WCgdOQEBrPNhgIicW2XZ/NIeziCmIJ8thVICxKHwwkLcnB+LIjlVBs 9ejJycKF5uJgrCdAuZ+0LwIZoII9AHIs9ZId0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type :content-transfer-encoding:content-disposition; b=T0CUmohjy8+dQ7UK+DYOsc9VSeuCfgeqlLp8b1bxfZ0C81SVIY0zeBQBYL+X46DOO9 GexLaCGZ1Ci/BG7QilnuRARg1C+eg5BWJVdHEYUitBSbBDysst2ONCZSgqJSZY4wn3Fu TCrgoygPM6kkETz4Nfmn0J63ffeqyZDMvrhHs= Received: by 10.210.35.5 with SMTP id i5mr7035612ebi.5.1215031706609; Wed, 02 Jul 2008 13:48:26 -0700 (PDT) Received: by 10.210.34.1 with HTTP; Wed, 2 Jul 2008 13:48:26 -0700 (PDT) Message-ID: <3c0b01820807021348k5effa9aej799bfc7fdc66214f@mail.gmail.com> Date: Wed, 2 Jul 2008 16:48:26 -0400 From: "Alexander Sack" To: freebsd-drivers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-questions@freebsd.org Subject: RT2790 Wireless miniCard - ral not working on Eee Box X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2008 20:48:28 -0000 Hi Everybody: I cc'ed questions since if this turns out NOT be a driver related issue then hopefully someone can tell me what's going on. I have a Asus Eee Box PC with Intel Atom NS270 1.6Ghz model B202. I've installed FreeBSD 7.0-i386-RELEASE and currently going to try 7.0-i386-STABLE on it. I've done a lot of Googling and Nabbling to no avail! :D! My first issue is the onboard wireless card, PCI id: 1814:0781: RT2790 Wireless 802.11n 1T/2R miniCard, does not work. It looks like its a ral derivative which the driver doesn't recognize (from the driver source as well as man, looks like it doesn't even support this family of chipset). Is there a driver for this chipset? If not, why not? :D! Thanks! -aps From owner-freebsd-drivers@FreeBSD.ORG Thu Jul 3 19:02:42 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3B261065670 for ; Thu, 3 Jul 2008 19:02:41 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id 87B698FC19 for ; Thu, 3 Jul 2008 19:02:41 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so345011nfh.33 for ; Thu, 03 Jul 2008 12:02:40 -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 :content-transfer-encoding:content-disposition:references; bh=JUM0i/TK58+xLQiHloLUtbL7zohzX66ppMhBtjgmqqw=; b=HsynNxz80YE0XMFMnGWwqfnUvLH3q51Pl9tubL0C6VYmGClb4+ojLbKXbjQKv967aQ 9X4mgzvcqK4Nphq7Ok4uh1xfOACz60WfdAIGQ4rdgFE7znoHuCD1wJKHva8bNMlkuhiu uBAZ6NXFULEowCosYWuEDNOZzey3I5M0aP9Gs= 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:content-transfer-encoding:content-disposition :references; b=hir7/zd7gZmyKR93DcPFUsZLDw2rK1uY9GH/qzWdf8PKO+cWtmZZpqjkNOTt1oYjlO lKXi0T4sSmGwnhmxvbF4yw8bWH9uxYWgwzBrc+j0XvxzoBGo8QyB0X7q/AKqcyX0Qjy7 gT8XDGIFcb4A2d39WfGx7P1sl96LK74dEuo9o= Received: by 10.210.74.17 with SMTP id w17mr43037eba.180.1215111759827; Thu, 03 Jul 2008 12:02:39 -0700 (PDT) Received: by 10.210.34.1 with HTTP; Thu, 3 Jul 2008 12:02:39 -0700 (PDT) Message-ID: <3c0b01820807031202x27d9c6c2j61c574589eec93f8@mail.gmail.com> Date: Thu, 3 Jul 2008 15:02:39 -0400 From: "Alexander Sack" To: "David Gurvich" In-Reply-To: <3c0b01820807030515v438adb7bid337fdf8a2feff07@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3c0b01820807021348k5effa9aej799bfc7fdc66214f@mail.gmail.com> <20080702185133.3b423e1f@verizon.net> <3c0b01820807030515v438adb7bid337fdf8a2feff07@mail.gmail.com> Cc: freebsd-drivers@freebsd.org Subject: Re: RT2790 Wireless miniCard - ral not working on Eee Box X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2008 19:02:42 -0000 Moving this to freebsd-drivers since it is NOW definitely a driver issue.... Actually I do see the rt2x00 open source project for Linux which I suppose will support this chipset in time. I had the impression the ral driver was based off OpenBSD (I believe that is mentioned in the man page). I'm wondering if the rt2x00 stack would be beneficial to FreeBSD in order to keep in sync with the development being done. Perhaps I'm not in the know....but I thought I would ask to learn. -aps From owner-freebsd-drivers@FreeBSD.ORG Thu Jul 3 21:04:34 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7308D1065673 for ; Thu, 3 Jul 2008 21:04:34 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.177]) by mx1.freebsd.org (Postfix) with ESMTP id 081F58FC13 for ; Thu, 3 Jul 2008 21:04:33 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: by ik-out-1112.google.com with SMTP id c30so503426ika.3 for ; Thu, 03 Jul 2008 14:04: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:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=hap+kKLzANktoRdkXPDGcmlkhtMNgtypmqh7FfkSvXE=; b=Di9Ryuzpi8QqQE7GlB46IEe2bYIcS+xZBDGFFFBb52VDJ7bRmhZQVR8pxNd15s9gSb 8EkOldA8Ojh1CVlsLvYRYfdlxIIobYWqwi9JTKsZ2Vo7dH2pNBud6RAyLGHKKXMGOGNb K6hM4TZJTo1+ipowbofRZydeYXUsFSxyQo8Xk= 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:content-transfer-encoding:content-disposition :references; b=s0LiV0eO1Nru++1Ky1HHhZ14VvwqNo7LpeWde/J4vqFmX7aSr2Iwwa1+DW9QslJTx9 l2zB3Cc9OLTnt7qBTOu8u4NlT2Jxn8ogGcVaKRmdxoW+FfAvPhfZrsXsCxLDLh/F8JLk eugch07UVJIeEQTDXG+WxCALvV3uwgqjooC/w= Received: by 10.210.50.6 with SMTP id x6mr54680ebx.87.1215119072386; Thu, 03 Jul 2008 14:04:32 -0700 (PDT) Received: by 10.210.34.1 with HTTP; Thu, 3 Jul 2008 14:04:32 -0700 (PDT) Message-ID: <3c0b01820807031404o5d1ff616k9041e2466183cde9@mail.gmail.com> Date: Thu, 3 Jul 2008 17:04:32 -0400 From: "Alexander Sack" To: "Sam Leffler" In-Reply-To: <486D383B.7010500@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3c0b01820807021348k5effa9aej799bfc7fdc66214f@mail.gmail.com> <20080702185133.3b423e1f@verizon.net> <3c0b01820807030515v438adb7bid337fdf8a2feff07@mail.gmail.com> <3c0b01820807031202x27d9c6c2j61c574589eec93f8@mail.gmail.com> <486D383B.7010500@freebsd.org> Cc: freebsd-drivers@freebsd.org, David Gurvich Subject: Re: RT2790 Wireless miniCard - ral not working on Eee Box X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2008 21:04:34 -0000 On Thu, Jul 3, 2008 at 4:36 PM, Sam Leffler wrote: > Alexander Sack wrote: >> >> Moving this to freebsd-drivers since it is NOW definitely a driver >> issue.... >> >> Actually I do see the rt2x00 open source project for Linux which I >> suppose will support this chipset in time. I had the impression the >> ral driver was based off OpenBSD (I believe that is mentioned in the >> man page). >> >> I'm wondering if the rt2x00 stack would be beneficial to FreeBSD in >> order to keep in sync with the development being done. Perhaps I'm >> not in the know....but I thought I would ask to learn. >> > > If this is an 11n part then it's likely based on a 2860 part and there > currently is no driver for freebsd. I have a partly finished driver for > HEAD but no time. Also the info we received from ralink is incomplete and > they don't answer queries. Sam, thanks for the heads up. Yes it is, its a 11n minicard. Btw, I'm a happy user of I believe some of the ath work you've done in the past so thanks! :D! May I ask how far along are you? And if this is something you can hand over to someone else to finish? I was going to ask ralink for a spec sheet in an attempt to see if something could be done. I *thought* they were open source friendly? Btw, about my other point, so does FreeBSD have a separate ralink stack from the rt2x00 project? (I haven't peeked at the source yet, I was hoping perhaps it had support for the card and could be ported over, etc.). -aps From owner-freebsd-drivers@FreeBSD.ORG Thu Jul 3 21:12:00 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF27F1065676 for ; Thu, 3 Jul 2008 21:12:00 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 69EFD8FC17 for ; Thu, 3 Jul 2008 21:12:00 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m63KaB9U080696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Jul 2008 13:36:12 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <486D383B.7010500@freebsd.org> Date: Thu, 03 Jul 2008 13:36:11 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Alexander Sack References: <3c0b01820807021348k5effa9aej799bfc7fdc66214f@mail.gmail.com> <20080702185133.3b423e1f@verizon.net> <3c0b01820807030515v438adb7bid337fdf8a2feff07@mail.gmail.com> <3c0b01820807031202x27d9c6c2j61c574589eec93f8@mail.gmail.com> In-Reply-To: <3c0b01820807031202x27d9c6c2j61c574589eec93f8@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: freebsd-drivers@freebsd.org, David Gurvich Subject: Re: RT2790 Wireless miniCard - ral not working on Eee Box X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2008 21:12:01 -0000 Alexander Sack wrote: > Moving this to freebsd-drivers since it is NOW definitely a driver issue.... > > Actually I do see the rt2x00 open source project for Linux which I > suppose will support this chipset in time. I had the impression the > ral driver was based off OpenBSD (I believe that is mentioned in the > man page). > > I'm wondering if the rt2x00 stack would be beneficial to FreeBSD in > order to keep in sync with the development being done. Perhaps I'm > not in the know....but I thought I would ask to learn. > If this is an 11n part then it's likely based on a 2860 part and there currently is no driver for freebsd. I have a partly finished driver for HEAD but no time. Also the info we received from ralink is incomplete and they don't answer queries. Sam From owner-freebsd-drivers@FreeBSD.ORG Thu Jul 3 21:19:36 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FF8B106567E for ; Thu, 3 Jul 2008 21:19:36 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 2D1BA8FC16 for ; Thu, 3 Jul 2008 21:19:36 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m63LJY7O081009 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Jul 2008 14:19:35 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <486D4266.7040705@freebsd.org> Date: Thu, 03 Jul 2008 14:19:34 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Alexander Sack References: <3c0b01820807021348k5effa9aej799bfc7fdc66214f@mail.gmail.com> <20080702185133.3b423e1f@verizon.net> <3c0b01820807030515v438adb7bid337fdf8a2feff07@mail.gmail.com> <3c0b01820807031202x27d9c6c2j61c574589eec93f8@mail.gmail.com> <486D383B.7010500@freebsd.org> <3c0b01820807031404o5d1ff616k9041e2466183cde9@mail.gmail.com> In-Reply-To: <3c0b01820807031404o5d1ff616k9041e2466183cde9@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: freebsd-drivers@freebsd.org, David Gurvich Subject: Re: RT2790 Wireless miniCard - ral not working on Eee Box X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2008 21:19:36 -0000 Alexander Sack wrote: > On Thu, Jul 3, 2008 at 4:36 PM, Sam Leffler wrote: > >> Alexander Sack wrote: >> >>> Moving this to freebsd-drivers since it is NOW definitely a driver >>> issue.... >>> >>> Actually I do see the rt2x00 open source project for Linux which I >>> suppose will support this chipset in time. I had the impression the >>> ral driver was based off OpenBSD (I believe that is mentioned in the >>> man page). >>> >>> I'm wondering if the rt2x00 stack would be beneficial to FreeBSD in >>> order to keep in sync with the development being done. Perhaps I'm >>> not in the know....but I thought I would ask to learn. >>> >>> >> If this is an 11n part then it's likely based on a 2860 part and there >> currently is no driver for freebsd. I have a partly finished driver for >> HEAD but no time. Also the info we received from ralink is incomplete and >> they don't answer queries. >> > > Sam, thanks for the heads up. Yes it is, its a 11n minicard. Btw, > I'm a happy user of I believe some of the ath work you've done in the > past so thanks! :D! > "11n" may be misleading here; the 2661 parts are described as MIMO and sometimes marketed as pre-11n but are not capable of 802.11n as currently spec'd. The PCI id you stated previously doesn't match any of the ones I know are 2860-based. > May I ask how far along are you? And if this is something you can > hand over to someone else to finish? I was going to ask ralink for a > spec sheet in an attempt to see if something could be done. I > *thought* they were open source friendly? > I can hand the driver over to someone (I offered it to several developers already). I stopped when I went to add WME support and hit issues w/ apparent DMA alignment requirements. I asked Ralink to clarify the datasheet they provided (which says nothing) but they have not responded to that question or other critical questions we need answers to for 11n and multi-bss support. > Btw, about my other point, so does FreeBSD have a separate ralink > stack from the rt2x00 project? (I haven't peeked at the source yet, I > was hoping perhaps it had support for the card and could be ported > over, etc.). > > We don't need a separate stack; we have a common 802.11 framework that drivers share. This makes our drivers usually 1/4th - 1/10'th the size of other systems. Sam