From owner-freebsd-wireless@freebsd.org Sat Nov 28 00:01:01 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 A98EBA3AC7B for ; Sat, 28 Nov 2015 00:01:01 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::232]) (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 757951C57 for ; Sat, 28 Nov 2015 00:01:01 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igcph11 with SMTP id ph11so34631177igc.1 for ; Fri, 27 Nov 2015 16:01:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oQF+altkMVxYoa+IICpjIO0aeWxoJYKAIImnjJSDvWY=; b=MsH2E8ujsa4rurd98pxoYHKl00/9NHWQ9UmiP0NKrP+IP+uBgs39eF2XGVwGpECUQR uppvTxZ/qqId5/ztJ7fvWBwdyZ3MoJio0jxbMt8G7oP0O2kR5AIrVRDzkvubG5zNMxUt hy7HtjSAa078Del6xm+X6OYhkyXpkNGN2UGYS+QqbRJnU+tKB8OBxhNuU3+DLFhNAQkP ljfzeqwGqdfiyqxjMSqUUVO+VqDeyjXm85ihDH4Bw3mWIGjH44LGiY9PWODC6wzagjXl vPi5VhYrQQdPItnXT6T62NzC3kY3pujyD3PNl1M5TPMRcWn0UvLST+E5bRv0scy0qGC3 ie8w== MIME-Version: 1.0 X-Received: by 10.50.66.144 with SMTP id f16mr10060342igt.22.1448668860779; Fri, 27 Nov 2015 16:01:00 -0800 (PST) Received: by 10.36.217.196 with HTTP; Fri, 27 Nov 2015 16:01:00 -0800 (PST) In-Reply-To: References: Date: Fri, 27 Nov 2015 16:01:00 -0800 Message-ID: Subject: Re: USB WiFi works only after cold reboot From: Adrian Chadd To: Serge Voilokov Cc: "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: Sat, 28 Nov 2015 00:01:01 -0000 Ok. so it looks like something is getting wedged at device attach time. I think avos fixed a few things for returning errors but I don't think it solves the problem. can you try updating it to the latest -HEAD and trying again? Thanks, -adrian On 19 November 2015 at 20:57, Serge Voilokov wrote: > Realtek: > > urtwn0: 2> on usbus0 > urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R > > From: > https://www.adafruit.com/products/814 > > > On Thu, Nov 19, 2015 at 11:36 PM, Adrian Chadd wrote: >> It looks like it's reading some invalid data via the EEPROM. I've seen >> it do it yet and I haven't sat down to figure it out. >> >> Which device is it? >> >> >> -a >> >> >> On 19 November 2015 at 19:56, Serge Voilokov wrote: >>> 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 >>> _______________________________________________ >>> freebsd-wireless@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"