From owner-freebsd-wireless@FreeBSD.ORG Fri Aug 17 09:00:48 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 097F1106564A for ; Fri, 17 Aug 2012 09:00:48 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 771618FC0C for ; Fri, 17 Aug 2012 09:00:47 +0000 (UTC) Received: by lbbgk8 with SMTP id gk8so2386449lbb.13 for ; Fri, 17 Aug 2012 02:00:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=mJLRj8LM78bWA1W+vI+YlTu0iI0IWnUTFu45tTTLj88=; b=lrcLx/alRxsw4uuok+lGM127xJ0pSPCuQBo3fBSI37LNJ9z5cmqxEjYMk27A5GgyFj nJCSXZb11dvz8Ko6ZcJxe+sRY2Pnk7nd3WWzmXhRuuFaHJ1Qc7mkYcdDiPCP1u+W5C5a COI3keZa/vzKMsnh2x5LsF/jdXi1Dm6Ats5rBJqsKK6DlvWF4g58J9k7f0CPVXJQgUvH tItQ5tJe7FDq2EHsGQIGmvBNg7XKgzwLFhJJJZyIvQLcKv0tbEF7gjO8p35hbfyktDu5 IunYfqgUmDiGkZ2tjC3oP3E+7jxyn44rI1LWln9hM+ygIzckunUV9/L1X6FWOi+0Qh6k gs2g== MIME-Version: 1.0 Received: by 10.152.132.233 with SMTP id ox9mr4120642lab.25.1345194046348; Fri, 17 Aug 2012 02:00:46 -0700 (PDT) Received: by 10.152.144.66 with HTTP; Fri, 17 Aug 2012 02:00:46 -0700 (PDT) X-Originating-IP: [79.140.39.245] In-Reply-To: References: Date: Fri, 17 Aug 2012 11:00:46 +0200 Message-ID: From: Bernhard Schmidt To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlGX6EKm7khtYArZe4+vcp/xhkdKgxzbHL03VeT7mr22zLC2eQ7M/7EK62dsGseYJOfuQi6 Cc: freebsd-wireless@freebsd.org, weongyo@freebsd.org Subject: Re: [bwn] bcm4311 Acer Aspire One rf switch 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: Fri, 17 Aug 2012 09:00:48 -0000 On Sun, Aug 12, 2012 at 4:54 AM, Adrian Chadd wrote: > Irs very likely an acpi problem. Therell be some IO line hooked in that > acpi controls. Not sure about that, the Linux driver polls the hardware for the RF kill state, that smells like that there is no event at all. > On Aug 11, 2012 7:02 PM, "skydrome" wrote: > >> I have the same setup as this person here >> http://forums.freebsd.org/archive/index.php/t-29407.html >> >> the exactly problem is when issuing: >> wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf >> >> RF Switch LED on laptop blinks once and i receive message: >> bwn0: firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a) >> wlan0: ieee80211_new_state_locked: pending INIT -> SCAN transition lost >> bwn0: status of RF switch is changed to OFF >> bwn0: please turn on the RF switch >> >> Now the problem is is that the aspire one bios has no bios control for >> explicitly en|dis|abling the rf switch, in fact, i cannot turn it off. >> When i switch it, it remains on (light is on) >> >> Ive tried editing if_bwn.c, removing the check for rf_onoff() but to >> no avail, ill have to read the source more in depth. >> I wonder what else i can do to resolve this issue. >> >> Extra Info: >> on linux (specifically archlinux), the rf switch doesnt do anything, >> doesnt even trigger a acpi event. On fbsd no acpi event is trigger >> either (debug.acpi.enabel_debug_object=1) Does it make a difference if you reload the driver? eg. unload the module, change switch state, reload driver? -- Bernhard