From owner-freebsd-wireless@FreeBSD.ORG Fri Aug 17 14:36:20 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 593E5106564A; Fri, 17 Aug 2012 14:36:20 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id ED22B8FC17; Fri, 17 Aug 2012 14:36:19 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q7HEaJ4E059808; Fri, 17 Aug 2012 08:36:19 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q7HEaJPf059805; Fri, 17 Aug 2012 08:36:19 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 17 Aug 2012 08:36:19 -0600 (MDT) From: Warren Block To: Bernhard Schmidt In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Fri, 17 Aug 2012 08:36:19 -0600 (MDT) 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 14:36:20 -0000 On Fri, 17 Aug 2012, Bernhard Schmidt wrote: > 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? Earlier Aspire Ones with Atheros cards needed a couple of entries in /etc/sysctl.conf to make the switch and LED work correctly: dev.ath.0.ledpin=3 dev.ath.0.softled=1 Does that apply to bwn?