From owner-freebsd-wireless@FreeBSD.ORG Mon Dec 19 04:42:04 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24196106566B for ; Mon, 19 Dec 2011 04:42:04 +0000 (UTC) (envelope-from moonlightakkiy@yahoo.ca) Received: from nm15.bullet.mail.sp2.yahoo.com (nm15.bullet.mail.sp2.yahoo.com [98.139.91.85]) by mx1.freebsd.org (Postfix) with SMTP id E967E8FC0A for ; Mon, 19 Dec 2011 04:42:03 +0000 (UTC) Received: from [98.139.91.70] by nm15.bullet.mail.sp2.yahoo.com with NNFMP; 19 Dec 2011 04:42:03 -0000 Received: from [98.136.185.28] by tm10.bullet.mail.sp2.yahoo.com with NNFMP; 19 Dec 2011 04:42:03 -0000 Received: from [127.0.0.1] by smtp109.mail.gq1.yahoo.com with NNFMP; 19 Dec 2011 04:42:03 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1324269723; bh=aQCkhZ8LkF9VEYuvzcHCBJzBGOAnAtwAmQRBtm5MW1M=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Received:MIME-Version:Received:Received:In-Reply-To:References:Date:Message-ID:Subject:From:To:Cc:Content-Type; b=ByiNscWfC+z2351f4qxBTtDXYiXul1cE6WezJ6hJJcRRX2fdsA+Gsvtq9nRclwWFP7lNsM0zB+4Nc5kBqTQuHnjqf+X2abv3LJfkDVr6Y23pF2pySZfpxwF0/HO8U/NRxEm+Ocn0QxbCZ88HE3UUSAWM9pz6wbogMIJg3Ft8Cw8= X-Yahoo-Newman-Id: 725645.92973.bm@smtp109.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: FqaWzrcVM1lt0jq2VTNUoqzbAmq81YmMYbIepcfG8kKofaQ DD_UMbBsDdwAv8QCkaqlLxmRwqa_glZBinNSvx2vcse_mZBVRZJv70JPZaqg YWgdYHirmVnDB7iHKsSCnWN_ecBQWp.79jh9gEa.XUtUAuCYO1NFsqneBjgg XjI09BhxTNHPPOLHODE.p4.yjj4GT0_1X169ST6HWNwMLkJRWbtAxmiTMHiA zTNnhkzCkiJVTdTeKImhb_DVAf8Nj5.AkSZfFAY_Wz25nybzO0iDSLMfIJZt MDY31a0mLdjyWg1DJvw3VzZc4z0B7pGHG15CvERh_P7L9blpyYWo8rY_Zo4l d._4135WmOpi6Nl_NoWO0CKRWJ2loxYMFRT1u0JLdFVctHgEvQpvMkkjTAOj QEDlxzhXUtgBbz8ZPb5aa7rfWiGfFXv7DhzCHeklXZw-- X-Yahoo-SMTP: Xr6qjFWswBAEmd20sAvB4Q3keqXvXsIH9TjJ Received: from mail-iy0-f182.google.com (moonlightakkiy@209.85.210.182 with plain) by smtp109.mail.gq1.yahoo.com with SMTP; 18 Dec 2011 20:42:03 -0800 PST Received: by iadj38 with SMTP id j38so5724794iad.13 for ; Sun, 18 Dec 2011 20:42:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.219.135 with SMTP id po7mr25912970igc.11.1324269722975; Sun, 18 Dec 2011 20:42:02 -0800 (PST) Received: by 10.231.190.81 with HTTP; Sun, 18 Dec 2011 20:42:02 -0800 (PST) In-Reply-To: <201112190411.28991.erichfreebsdlist@ovitrap.com> References: <201112171258.56891.erichfreebsdlist@ovitrap.com> <201112180759.03722.erichfreebsdlist@ovitrap.com> <201112190411.28991.erichfreebsdlist@ovitrap.com> Date: Sun, 18 Dec 2011 21:42:02 -0700 Message-ID: From: PseudoCylon To: Erich Dollansky Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org, Bernhard Schmidt Subject: Re: Zyxel NWD210N not accepted at boot time but after plugging it in again X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 04:42:04 -0000 On Sun, Dec 18, 2011 at 2:11 PM, Erich Dollansky wrote: > Hi, > > On Sunday 18 December 2011 12:32:46 PseudoCylon wrote: >> On Sat, Dec 17, 2011 at 5:59 PM, Erich Dollansky >> wrote: >> > Hi, >> > >> > On Sunday 18 December 2011 06:45:18 PseudoCylon wrote: >> >> On Sat, Dec 17, 2011 at 6:11 AM, Bernhard Schmidt wrote: >> >> > On Saturday 17 December 2011 06:58:56 Erich Dollansky wrote: >> >> > >> >> > run(4) tries to load the firmware on attach at which point the root >> >> > filesystem isn't yet mounted. Actually I think the prefered behaviour >> >> > is to load it during init, not sure this is possible for run(4) >> >> > though. Someone should check this. :) >> >> > >> >> mmm... It seems "someone" is me. >> >> >> >> At the quick look, the firmware could be loaded during the init. Give >> >> me a few days, I will try to change. >> >> >> > if you need more information, just ask me. Please do not wonder if you do not get them at the spot. I am in a very remote location where electricity is cut off during the day. >> > >> Actually, it was quite straight forward. The patch follows. >> >> Also, a tarball is attached which include patch to man.4/run.4 and new >> firmware. I don't know what has been changed, but I'd appreciate if >> you try new firmware out. > > after installing the patch and rebooting the machine, the interface came up as expected. I could not test the new firmware as I did not find the location where to store it. > Good to hear. The original firmware is in /usr/src/sys/contrib/dev/run The easiest way is over write the firmware, cd to /usr/src/sys/modules/runfw, make, and install. The patched if_run will prints out firmware version. Old one is 0.17, new one is 0.236 AK