From owner-freebsd-wireless@freebsd.org Fri Nov 20 03:56:24 2015 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F9E0A32EDE for ; Fri, 20 Nov 2015 03:56:24 +0000 (UTC) (envelope-from serge0x76@gmail.com) Received: from mail-qk0-x235.google.com (mail-qk0-x235.google.com [IPv6:2607:f8b0:400d:c09::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3DE681E8B for ; Fri, 20 Nov 2015 03:56:24 +0000 (UTC) (envelope-from serge0x76@gmail.com) Received: by qkas77 with SMTP id s77so33125928qka.0 for ; Thu, 19 Nov 2015 19:56:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=7h7CM+WsfkIBeT4hPIVeWgiAp6Qy8/iDxHt3X9BqDCY=; b=sQngt9jO7ORDxX0d7AXWaw+pSKVLfzl747f7MeBnBIVg9z2i05L5hXkPozG++9M+t1 wBC1F/OwRj1K5H1RqAZDEMdISiwiWx9oC/huTdAMsfOUrYG/MUB3uSubHUViHq3Q6Rvq S1npsxtwzt/f5rhgYdlThRJOKlwRIlz/qbeVuZrLREKfuegHNWHj8bem1ySnzJl8aIIW 7i4xaHDLwpa/i/1BA/wtu/OTiUS0DVWRc+z3pj6rqB/62BI9/a3BmHgYV5nQBcEKWB/W HLzDLcF6acSXGYwRYHSGS4F4EqIEyRtlffnYHQQWCNNYtlwFbyJXNhRHmkcCSS9jP7xV veCA== MIME-Version: 1.0 X-Received: by 10.55.21.65 with SMTP id f62mr10932486qkh.46.1447991783112; Thu, 19 Nov 2015 19:56:23 -0800 (PST) Received: by 10.55.179.2 with HTTP; Thu, 19 Nov 2015 19:56:23 -0800 (PST) Date: Thu, 19 Nov 2015 22:56:23 -0500 Message-ID: Subject: USB WiFi works only after cold reboot From: Serge Voilokov To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Fri, 20 Nov 2015 03:56:24 -0000 Hi, I have a problem on Raspberry PI-A with Realtek WiFi adapter. After reboot on watchdog or kernel panic wifi doesn't init properly. Sometimes wlan0 is not created, sometimes ethernet address is ff:ff:ff:ff:ff:ff, firmware loading errors, etc. After cold reboot it works file. How can I avoid the cold reboot? Now on boot I do several attempts of 'usbconfig reset' until wifi starts working. It doesn't seem reliable. Is the other way to make cold reset of usb and/or wifi without rebooting the OS? Thanks, --serge