From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 19:46:36 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E76E1065680 for ; Fri, 27 Jun 2008 19:46:36 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id AE0598FC22 for ; Fri, 27 Jun 2008 19:46:35 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ug-out-1314.google.com with SMTP id q2so16330uge.37 for ; Fri, 27 Jun 2008 12:46:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent:sender; bh=IfSSSLTXsDVi1dqMahKB5SqKZBADlcniqvT9ijCCZ+o=; b=ZcjVyTdlmgO/MfWvG5aG570NGbsDQ79difm27z2KEW2rZC/ex7PScjbTRo4KLur1Zs CPTVDMX56NOaRj8gufD0oIfWk1BG1FI0i5sD7BdlPz4g2BilQIlL6oGprNZXwe/kqy5k LsVNTgbNxk5PQ/nH5/SjswO5THmpWYPVKDKvU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent:sender; b=WIZkqnmD/gi0qEII9Ac/HP9R3tpXUX5g2yrxybkOtvWkAx7NpO2dXdEbEG5R2oT5Ob /At2jc9JeqCY8CVqZPtVa3AFTs+jVFZdq70yUTWcYPdtZM4NZIrcyBBACSbs4yoKXp6m Ql17qrcu2LszfyuNgyszoIDVUlm/NY47iKxgo= Received: by 10.210.37.16 with SMTP id k16mr1458748ebk.194.1214595995021; Fri, 27 Jun 2008 12:46:35 -0700 (PDT) Received: from phi.local ( [89.214.166.113]) by mx.google.com with ESMTPS id u14sm4946594gvf.6.2008.06.27.12.46.31 (version=SSLv3 cipher=RC4-MD5); Fri, 27 Jun 2008 12:46:34 -0700 (PDT) Date: Fri, 27 Jun 2008 20:44:47 +0100 From: Rui Paulo To: Matthias Apitz Message-ID: <20080627194447.GA34524@phi.local> References: <20080626075545.GA2964@rebelion.Sisis.de> <20080626231603.GC6875@phi.local> <20080627080203.GA19602@rebelion.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080627080203.GA19602@rebelion.Sisis.de> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: Rui Paulo Cc: freebsd-hackers@freebsd.org, james@nighthack.org Subject: Re: eeePC 900 && turning off wireless (ath0) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 19:46:36 -0000 On Fri, Jun 27, 2008 at 10:02:03AM +0200, Matthias Apitz wrote: > Hello Rui, > > I recompiled the kernel to have if_ath out of the kernel, but as a > loaded module at boot: > > $ kldstat > Id Refs Address Size Name > 1 14 0xc0400000 8c7098 kernel > 2 1 0xc0cc8000 1242c if_ath.ko > 3 3 0xc0cdb000 46324 ath_hal.ko > 4 2 0xc0d22000 4218 ath_rate.ko > 5 1 0xc0d27000 14324 snd_hda.ko > 6 2 0xc0d3c000 4a5ac sound.ko > 7 1 0xc0d87000 6a32c acpi.ko > 8 1 0xc4394000 22000 linux.ko > > I can unload if_ath, ath_hal and ath_rate which drops the interface > ath0, but even in this case Fn+F2 has no affect at all; any idea? Oh, then I guess the 900 is different. > I've had a look into the Xandros Linux and they do it with ACPI events, > dropping the modules and others; I could provide their script > /etc/acpi/wlan.sh if someone wants to have a look into; If turning off WLAN is now done via ACPI events, then the patch I committed to HEAD will probably help. I'll MFC it in a week, but if you can give it a try, that would be great. Please contact me off-list if you need assistance. Regards, -- Rui Paulo